1 2015-01-08 Richard Henderson <rth@redhat.com>
3 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4 (CFLAGS-tst-execstack-prog.c): Likewise.
5 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
7 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
8 Sandra Loosemore <sandra@codesourcery.com>
9 Andrew Jenner <andrew@codesourcery.com>
10 Joseph Myers <joseph@codesourcery.com>
11 Nathan Sidwell <nathan@codesourcery.com>
13 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
14 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
15 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
16 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
18 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
19 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
21 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
22 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
26 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
28 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
31 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34 timespec struct member in syscall macro.
35 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
36 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
37 first timeval struct member in syscall macro.
38 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40 2015-01-07 Joseph Myers <joseph@codesourcery.com>
43 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
44 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
45 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
46 __feupdateenv and define as weak alias of __feupdateenv. Use
48 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
50 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
51 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
52 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
53 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
55 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
56 __feupdateenv and define as weak alias of __feupdateenv. Use
58 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
60 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
61 __feupdateenv and define as weak alias of __feupdateenv. Use
63 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
65 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
66 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
67 (__feupdateenv): Likewise.
68 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
69 __feupdateenv and define as weak alias of __feupdateenv. Use
71 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
72 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
74 * sysdeps/tile/math_private.h (__feupdateenv): New inline
76 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
78 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
79 __feupdateenv instead of feupdateenv.
80 (default_libc_feupdateenv_test): Likewise.
81 (libc_feresetround_ctx): Likewise.
83 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
88 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
90 * posix/regcomp.c (parse_bracket_exp): Initialize type to
91 COLL_SYM in a couple of places to avoid uninitialized variable
92 wanings on tilegx gcc 4.8.2.
94 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
96 * sysdeps/aarch64/strcpy.S: New file.
97 * sysdeps/aarch64/stpcpy.S: New file.
100 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
102 * sysdeps/aarch64/strrchr.S: New file.
105 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
108 * stdlib/setenv.c: Fix memory leak when setting large,
111 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
114 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
115 and tabs from buffer before parsing fstab entry.
116 * misc/tst-mntent.c (main): Add test for mount entry with
117 trailing spaces and tabs.
119 2015-01-06 Joseph Myers <joseph@codesourcery.com>
122 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
123 * math/fesetround.c (fesetround): Rename to __fesetround and
124 define as weak alias of __fesetround. Use libm_hidden_weak.
125 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
126 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
127 * sysdeps/arm/fesetround.c (fesetround): Likewise.
128 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
129 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
130 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
131 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
132 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
133 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
135 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
136 __fesetround_inline instead of __fesetround.
137 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
138 __fesetround and define as weak alias of __fesetround. Use
139 libm_hidden_weak. Call __fesetround_inline instead of
141 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
142 __fesetround and define as weak alias of __fesetround. Use
144 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
146 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
147 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
148 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
149 * sysdeps/tile/math_private.h (__fesetround): New inline function.
150 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
151 __fesetround and define as weak alias of __fesetround. Use
153 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
154 __fesetround instead of fesetround.
155 (default_libc_feholdexcept_setround): Likewise.
156 (libc_feholdsetround_ctx): Likewise.
157 (libc_feholdsetround_noex_ctx): Likewise.
160 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
161 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
162 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
163 and define as weak alias of __fesetenv. Use libm_hidden_weak.
164 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
165 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
166 define as weak alias of __fesetenv. Use libm_hidden_weak.
167 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
168 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
169 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
170 define as weak alias of __fesetenv. Use libm_hidden_weak.
171 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
172 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
173 define as weak alias of __fesetenv. Use libm_hidden_weak.
174 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
176 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
177 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
179 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
180 define as weak alias of __fesetenv. Use libm_hidden_weak.
181 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
182 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
183 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
184 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
185 and define as weak alias of __fesetenv. Use libm_hidden_weak.
186 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
187 __fesetenv instead of fesetenv.
188 (libc_feresetround_noex_ctx): Likewise.
189 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
190 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
191 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
192 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
193 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
194 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
195 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
196 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
197 (__feupdateenv): Likewise.
198 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
199 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
200 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
201 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
203 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
206 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
207 addresses have been freed.
209 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
211 * resolv/res_init.c (__res_vinit): Improve comments about nserv
214 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
216 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
217 Clean up check_pf allocation pattern. addresses
219 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
221 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
222 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
223 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
224 * nptl/pthread_exit.c (__pthread_exit): Likewise.
225 * nptl/pthread_join.c (pthread_join): Likewise.
226 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
227 * sysdeps/posix/waitid.c (__waitid): Likewise.
228 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
229 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
230 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
231 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
232 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
234 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
235 (__libc_pread64): Likewise.
236 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
237 (__libc_pwrite): Likewise.
238 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
239 (__libc_pwrite64): Likewsie.
240 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
241 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
242 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
243 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
244 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
245 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
246 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
250 (__libc_pread64): Likewise.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
254 (__libc_pwrite64): Likewise.
255 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
256 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
257 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
258 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
259 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
260 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
261 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
262 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
263 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
264 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
265 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
266 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
267 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
268 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
269 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
270 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
273 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
275 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
276 (CFLAGS-test-double.c): Likewise.
277 (CFLAGS-test-ldouble.c): Likewise.
278 (CPPFLAGS-test-ifloat.c): Likewise.
279 (CPPFLAGS-test-idouble.c): Likewise.
280 (CPPFLAGS-test-ildoubl.c): Likewise.
281 (CFLAGS-test-test-fenv.c): Remove variable.
282 (CFLAGS-test-misc.c): Likewise.
284 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
287 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
288 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
289 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
290 CLOCKS_PER_SEC == 1000000.
291 * time/clocktest.c (main): Replace %ld with %jd and cast to
294 2015-01-05 Roland McGrath <roland@hack.frob.com>
296 * sysdeps/generic/unwind-resume.h: New file.
297 * sysdeps/gnu/unwind-resume.c: Include it.
298 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
299 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
301 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
302 global rather than static.
303 (_Unwind_Resume): Update user.
304 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
305 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
306 rather than static. Add __attribute__ ((cold)).
307 (_Unwind_Resume, __gcc_personality_v0): Update callers.
308 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
309 * sysdeps/arm/arm-unwind-resume.S: New file.
310 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
311 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
312 * sysdeps/arm/Makefile [$(subdir) = csu]
313 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
314 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
315 Add rt-arm-unwind-resume.
317 (libpthread-sysdep_routines, libpthread-shared-only-routines):
318 Add pt-arm-unwind-resume.
319 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
320 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
322 2015-01-05 Joseph Myers <joseph@codesourcery.com>
325 * include/fenv.h (__feholdexcept): Declare. Use
327 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
328 define as weak alias of __feholdexcept. Use libm_hidden_weak.
329 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
330 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
331 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
332 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
333 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
334 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
335 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
336 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
337 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
338 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
339 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
340 (feholdexcept): Likewise.
341 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
342 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
343 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
344 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
345 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
346 __feholdexcept instead of feholdexcept.
347 (default_libc_feholdexcept_setround): Likewise.
349 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
351 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
352 to avoid using stl/str to align destination.
354 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
356 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
358 2015-01-05 Joseph Myers <joseph@codesourcery.com>
361 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
362 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
363 Define as weak alias not strong alias.
365 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
367 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
371 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
373 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
374 for __vdso_* functions in declarations.
375 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
377 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
378 INTERNAL_VSYSCALL): Use struct return types to check for error.
380 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
381 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
382 function with cast from llround().
383 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
384 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
387 2015-01-05 Joseph Myers <joseph@codesourcery.com>
390 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
391 Define as weak alias not strong alias.
394 * ctype/ctype-c99.c: New file. isblank implementation moved from
396 * ctype/ctype-extn.c: ... here.
397 (__isblank_l): Move to ...
398 * ctype/ctype-c99_l.c: ... here. New file.
399 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
400 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
402 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
403 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
404 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
405 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
406 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
409 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
410 (posix_fadvise64): Define as weak alias not strong alias.
411 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
412 (posix_fallocate64): Likewise.
413 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
415 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
416 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
417 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
418 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
419 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
421 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
424 * NEWS: Mention bug fix.
425 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
426 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
427 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
428 (HOST_STACK_END_ADDR): Likewise.
430 2015-01-02 Joseph Myers <joseph@codesourcery.com>
433 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
434 * math/fegetround.c (fegetround): Rename to __fegetround and
435 define as weak alias of __fegetround. Use libm_hidden_weak.
436 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
437 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
438 * sysdeps/arm/fegetround.c (fegetround): Likewise.
439 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
440 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
441 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
442 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
443 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
444 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
445 Undefine after rather than before function definition; use
446 parentheses around function name in definition.
447 (__fegetround): Also undefine macro after function definition.
448 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
449 __fegetround and define as weak alias of __fegetround. Use
450 libm_hidden_weak. Do not undefine as macro.
451 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
453 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
454 __fegetround and define as weak alias of __fegetround. Use
456 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
457 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
458 * sysdeps/tile/math_private.h (__fegetround): New inline function.
459 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
460 __fegetround and define as weak alias of __fegetround. Use
462 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
463 __fegetround instead of fegetround.
466 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
467 Condition macro definition on [__USE_MISC].
470 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
471 (struct sigaction): Change type of sa_flags field to int.
474 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
475 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
478 * nptl/version.c (banner): Use single year in copyright notice.
480 * NEWS: Update copyright dates.
481 * catgets/gencat.c (print_version): Likewise.
482 * csu/version.c (banner): Likewise.
483 * debug/catchsegv.sh: Likewise.
484 * debug/pcprofiledump.c (print_version): Likewise.
485 * debug/xtrace.sh (do_version): Likewise.
486 * elf/ldconfig.c (print_version): Likewise.
487 * elf/ldd.bash.in: Likewise.
488 * elf/pldd.c (print_version): Likewise.
489 * elf/sotruss.sh: Likewise.
490 * elf/sprof.c (print_version): Likewise.
491 * iconv/iconv_prog.c (print_version): Likewise.
492 * iconv/iconvconfig.c (print_version): Likewise.
493 * locale/programs/locale.c (print_version): Likewise.
494 * locale/programs/localedef.c (print_version): Likewise.
495 * login/programs/pt_chown.c (print_version): Likewise.
496 * malloc/memusage.sh (do_version): Likewise.
497 * malloc/memusagestat.c (print_version): Likewise.
498 * malloc/mtrace.pl: Likewise.
499 * manual/libc.texinfo: Likewise.
500 * nptl/version.c (banner): Likewise.
501 * nscd/nscd.c (print_version): Likewise.
502 * nss/getent.c (print_version): Likewise.
503 * nss/makedb.c (print_version): Likewise.
504 * posix/getconf.c (main): Likewise.
505 * scripts/test-installation.pl: Likewise.
506 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
508 2015-01-02 Will Newton <will.newton@linaro.org>
510 * sysdeps/arm/armv7/configure: Removed.
511 * sysdeps/arm/armv7/configure.ac: Likewise.
513 2015-01-02 Joseph Myers <joseph@codesourcery.com>
515 * All files with FSF copyright notices: Update copyright dates
516 using scripts/update-copyrights.
517 * intl/plural.c: Regenerated.
518 * locale/programs/charmap-kw.h: Likewise.
519 * locale/programs/locfile-kw.h: Likewise.
521 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
523 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
525 2014-12-31 Joseph Myers <joseph@codesourcery.com>
528 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
529 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
530 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
531 and define as weak alias of __fegetenv. Use libm_hidden_weak.
532 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
533 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
534 define as weak alias of __fegetenv. Use libm_hidden_weak.
535 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
536 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
537 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
538 define as weak alias of __fegetenv. Use libm_hidden_weak.
539 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
540 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
541 define as weak alias of __fegetenv. Use libm_hidden_weak.
542 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
544 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
545 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
547 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
548 define as weak alias of __fegetenv. Use libm_hidden_weak.
549 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
550 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
551 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
552 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
553 and define as weak alias of __fegetenv. Use libm_hidden_weak.
554 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
555 __fegetenv instead of fegetenv.
556 (libc_feholdsetround_noex_ctx): Likewise.
558 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
560 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
561 (Elf_MIPS_ABIFlags_v0): New structure.
562 (EF_MIPS_FP64): Define.
563 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
564 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
565 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
566 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
567 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
568 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
569 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
570 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
571 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
572 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
573 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
574 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
575 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
576 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
577 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
578 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
579 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
580 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
581 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
582 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
583 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
584 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
586 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
588 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
589 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
590 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
591 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
592 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
593 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
594 * sysdeps/mips/tst-abi-interlink.c: Likewise.
595 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
596 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
597 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
598 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
599 record the current FP ABI extension.
600 (mips-mode-switch): Define to show if kernel headers support mode
602 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
603 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
604 supported SYSV ABI version to 3.
605 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
608 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
609 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
611 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
613 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
615 2014-12-31 Joseph Myers <joseph@codesourcery.com>
617 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
618 __fegetround and redefine to call __fegetround. Remove condition
619 on [!__NO_MATH_INLINES].
620 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
622 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
623 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
625 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
626 instead of <fenv_libc.h>.
627 (__llrintl): Call fegetround instead of __fegetround.
628 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
629 instead of <fenv_libc.h>.
630 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
631 (__lrintl): Call fegetround instead of __fegetround.
632 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
633 instead of <fenv_libc.h>.
634 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
635 (__rintl): Call fegetround instead of __fegetround.
637 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
639 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
642 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
645 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
646 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
647 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
649 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
651 * sysdeps/i386/tls-macros.h: Include <features.h>.
652 (TLS_LE): Use non-PIC version for GCC >= 5.0.
656 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
657 define for GCC >= 5.0.
659 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
661 * math/test-fenv.c (test_single_exception, set_single_exc,
662 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
663 feexcp_mask_test, feenable_test, fe_single_test): Add
664 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
665 case where they are not used.
666 * math/libm-test.inc: Likewise.
667 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
668 unused in the absence of FP rounding/exception support.
669 * stdio-common/tst-printf-round.c: Likewise.
670 * stdlib/tst-strtod-round.c: Likewise.
671 * stdlib/tst-strtod-underflow.c: Likewise.
673 2014-12-30 Joseph Myers <joseph@codesourcery.com>
676 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
677 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
678 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
679 __feraiseexcept and define as weak alias of __feraiseexcept. Use
681 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
682 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
683 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
685 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
686 __feraiseexcept and define as weak alias of __feraiseexcept. Use
688 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
690 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
691 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
692 __feraiseexcept and define as weak alias of __feraiseexcept. Use
694 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
696 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
697 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
698 (__feraiseexcept): Likewise.
699 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
700 __feraiseexcept and define as weak alias of __feraiseexcept. Use
702 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
703 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
705 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
706 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
708 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
710 (feraiseexcept): Define as weak not strong alias. Use
712 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
713 New inline function. Factored out of ...
714 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
715 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
716 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
718 * math/w_acos.c (__acos): Likewise.
719 * math/w_asin.c (__asin): Likewise.
720 * math/w_ilogb.c (__ilogb): Likewise.
721 * math/w_j0.c (y0): Likewise.
722 * math/w_j1.c (y1): Likewise.
723 * math/w_jn.c (yn): Likewise.
724 * math/w_log.c (__log): Likewise.
725 * math/w_log10.c (__log10): Likewise.
726 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
727 * sysdeps/aarch64/fpu/math_private.h
728 (libc_feupdateenv_test_aarch64): Likewise.
729 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
730 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
731 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
732 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
733 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
734 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
735 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
736 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
737 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
738 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
740 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
743 * io/test-utime.c (main): Replace %ld with %jd and cast to
745 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
746 * nptl/tst-mutex5.c: Include <stdint.h>.
747 (do_test): Replace %ld with %jd and cast to intmax_t.
748 * posix/tst-regex.c (run_test): Likewise.
749 (run_test_backwards): Likewise.
750 * rt/tst-clock.c: Include <stdint.h>.
751 (clock_test): Replace %ld with %jd and cast to intmax_t.
752 * rt/tst-cpuclock1.c: Include <stdint.h>.
753 (do_test): Replace %lu with %ju and cast to uintmax_t.
754 * rt/tst-cpuclock2.c: Include <stdint.h>.
755 (do_test): Replace %lu with %ju and cast to uintmax_t.
756 * rt/tst-mqueue1.c: Include <stdint.h>.
757 (check_attrs): Replace %ld with %jd and cast to intmax_t.
758 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
760 * rt/tst-mqueue4.c (do_test): Likewise.
761 * rt/tst-timer4.c: Include <stdint.h>.
762 (check_ts): Replace %ld with %jd and cast to intmax_t.
764 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
765 and cast to intmax_t.
766 * sysdeps/pthread/tst-timer.c (main): Likewise.
767 * time/clocktest.c (main): Likewise.
768 * time/tst-posixtz.c (do_test): Likewise.
769 * timezone/tst-timezone.c (main): Likewise.
771 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
772 H.J. Lu <hongjiu.lu@intel.com>
774 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
775 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
776 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
777 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
778 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
779 version if bit_Fast_Unaligned_Load is set.
780 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
781 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
782 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
783 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
784 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
785 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
787 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
788 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
789 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
791 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
792 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
793 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
794 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
796 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
798 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
799 instead of #if to avoid a Wundef warning.
800 * stdlib/tst-limits.c (do_test): Likewise.
802 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
803 parallel other exception macros.
804 (fegetenv): Convert from macro to extern inline so that it applies
805 retroactively to inline functions already seen by the compiler.
806 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
808 * posix/Makefile (before-compile): Use $(objpfx) for
809 posix-conf-vars-def.h.
811 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
813 * posix/getconf.c (main): Use size_t for type of I.
814 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
817 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
818 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
819 * posix/posix-envs.def: Likewise.
820 * sysdeps/posix/sysconf.c: Likewise.
821 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
822 (specs): Remove array.
823 * scripts/gen-posix-conf-vars.awk: Support generation of specs
826 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
827 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
828 (__sysconf): Use CONF_IS_* macros.
830 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
831 ($(objpfx)posix-conf-vars-def.h): New target.
832 * posix/posix-conf-vars.list: New file.
833 * posix/posix-conf-vars.h: New file.
834 * posix/confstr.c: Include posix-conf-vars.h.
835 (confstr): Use CONF_IS_* macros.
836 * posix/posix-envs.def: Include posix-conf-vars.h. Use
838 * scripts/gen-posix-conf-vars.awk: New file.
840 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
842 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
843 fegetround): Add no-op macros to avoid linknamespace issues.
845 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
846 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
848 * sysdeps/unix/sysv/linux/tile/sysdep.h
849 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
850 assembly-specific section to avoid a redefinition warning.
852 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
853 long before casting to pointer to avoid a cast warning.
855 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
857 * sysdeps/tile/tilegx/Implies: New file.
859 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
861 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
863 2014-12-23 Florian Weimer <fweimer@redhat.com>
865 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
867 2014-12-22 Joseph Myers <joseph@codesourcery.com>
869 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
871 * sysdeps/unix/sysv/linux/utimes.c: Do not include
873 (__utimes) [__NR_utimes]: Make code unconditional.
874 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
875 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
876 (__ASSUME_UTIMES): Do not undefine.
877 * sysdeps/unix/sysv/linux/tile/kernel-features.h
878 (__ASSUME_UTIMES): Likewise.
879 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
880 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
881 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
882 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
884 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
886 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
888 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
891 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
892 alias to weak alias for j0l, y0l.
893 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
894 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
897 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
900 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
902 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
903 to zero if not already defined.
905 2014-12-22 Joseph Myers <joseph@codesourcery.com>
908 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
909 (__kernel_standard_f): Remove. Moved to k_standardf.c.
910 (__kernel_standard_l): Remove. Moved to k_standardl.c with
911 (char *) casts added.
912 * sysdeps/ieee754/k_standardf.c: New file.
913 * sysdeps/ieee754/k_standardl.c: Likewise.
914 * math/Makefile (libm-support): Remove k_standard.
915 (libm-calls): Add k_standard.
917 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
919 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
920 Optimize to avoid an unnecessary FPCR read.
922 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
924 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
925 Optimize to reduce FPCR/FPSR accesses.
927 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
929 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
930 Call libc_fetestexcept_aarch64.
932 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
934 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
935 Call libc_fesetround_aarch64.
937 2014-12-22 Joseph Myers <joseph@codesourcery.com>
940 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
941 (__bind): Do not define as weak alias.
942 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
944 (__getsockname): Do not define as weak alias.
946 2014-12-22 Will Newton <will.newton@linaro.org>
948 * manual/install.texi: Document that we require bison 2.7
950 * INSTALL: Regenerate.
951 * configure.ac: Use AC_CHECK_PROG_VER instead of
952 AC_PATH_PROG when checking for bison and check for
953 version 2.7 or above.
954 * configure: Regenerate.
956 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
959 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
960 * sysdeps/tile/ffsll.c (ffsll): To here.
962 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
964 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
966 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
968 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
970 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
971 hidden ___tls_get_addr.
972 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
973 hidden __tls_get_addr.
974 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
975 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
978 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
980 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
983 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
985 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
986 from "call _dl_init@PLT".
987 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
989 2014-12-21 Anders Kaseorg <andersk@mit.edu>
991 * manual/search.texi: (Array Sort Function): Clarify stable sorting
994 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
996 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
998 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1001 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1004 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1006 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1008 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1009 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1010 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1011 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1012 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1014 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1016 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1017 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1018 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1019 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1020 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1022 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1024 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1026 * string/strncat.c (STRNCAT): Simplify implementation.
1028 2014-12-19 David S. Miller <davem@davemloft.net>
1030 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1031 access the quad as both a long double and as a series of 4 words.
1033 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1034 link_map->l_info array access.
1036 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1038 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1040 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1041 * math/atest-exp2.c (TIMEOUT): Likewise.
1042 * math/atest-sincos.c (TIMEOUT): Likewise.
1044 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1046 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1047 -Wno-error with -fno-builtin-lround.
1049 2014-12-19 Torvald Riegel <triegel@redhat.com>
1051 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1052 Contains futex constants and functions moved over from ...
1053 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1054 <lowlevellock-futex.h>.
1055 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1056 (lll_timedwait_tid): Add comments and parentheses around macro
1059 2014-12-19 Torvald Riegel <triegel@redhat.com>
1061 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1062 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1063 (__lll_private_flag): Remove.
1064 (lll_futex_wait): Likewise.
1065 (lll_futex_timed_wait): Likewise.
1066 (lll_futex_wake): Likewise.
1067 (lll_futex_requeue): Likewise.
1068 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1069 (__lll_timedwait_tid): Spell out argument names.
1070 (lll_timedwait_tid): Add comments and parentheses around macro
1072 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1073 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1075 2014-12-19 Torvald Riegel <triegel@redhat.com>
1077 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1078 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1079 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1080 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1081 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1082 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1083 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1084 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1085 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1086 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1087 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1088 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1089 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1090 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1091 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1092 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1093 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1094 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1095 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1097 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1099 * sysdeps/x86_64/x32/Makefile: New file.
1101 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1103 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1104 1L with (mp_limb_t) 1.
1106 2014-12-17 Roland McGrath <roland@hack.frob.com>
1108 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1109 * nptl/libc_pthread_init.c: ... here.
1110 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1111 * nptl/register-atfork.c: ... here.
1113 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1114 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1115 Use assert_perror to check its return value.
1116 (__gai_create_helper_thread): Likewise.
1118 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1120 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1122 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1125 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1127 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1129 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1131 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1133 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1134 (profil_counter): Likewise.
1135 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1136 (profil_counter): Likewise.
1137 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1139 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1141 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1142 (profil_counter): Likewise.
1143 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1145 [!__profil_counter] (profil_counter): Define as weak alias of
1147 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1148 (profil_counter): Rename to __profil_counter.
1149 [!__profil_counter] (profil_counter): Define as weak alias of
1151 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1152 (profil_counter): Rename to __profil_counter.
1153 [!__profil_counter] (profil_counter): Define as weak alias of
1155 * sysdeps/posix/profil.c: Update comment referring to
1157 (__profil): Use __profil_counter instead of profil_counter.
1158 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1159 __profil_counter. Use __profil_counter_ushort and
1160 __profil_counter_uint in definitions.
1161 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1162 instead of profil_counter_uint and profil_counter_ushort.
1165 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1166 define as weak alias of __inet_makeaddr.
1167 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1168 as weak alias of __inet_addr.
1169 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1170 as weak alias of __inet_pton. Use libc_hidden_weak.
1171 * include/arpa/inet.h (__inet_pton): Declare. Use
1173 (inet_makeaddr): Don't use libc_hidden_proto.
1174 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1175 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1176 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1177 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1179 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1180 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1182 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1184 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1186 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1188 * stdio-common/bug-vfprintf-nargs.c (do_test):
1189 Cast value to intptr_t to avoid format warning
1190 for usage with PRIdPTR printing macro.
1192 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1194 * libio/tst-widetext.c (do_test):
1195 Use format type %td instead of %Zd for ptrdiff_t
1196 in order to avoid format warning.
1198 2014-12-17 Andreas Schwab <schwab@suse.de>
1200 * nscd/mem.c (gc): Add size_t cast to match printf format.
1202 2014-12-16 Roland McGrath <roland@hack.frob.com>
1204 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1205 (init): Apply PTR_MANGLE to pointers before storing them.
1206 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1209 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1212 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1213 define as weak alias of __memrchr.
1214 (__memrchr): Do not define as strong alias of memrchr.
1215 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1217 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1218 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1219 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1222 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1223 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1224 (if_indextoname): Rename to __if_indextoname and define as weak
1225 alias of __if_indextoname. Use libc_hidden_weak.
1226 (if_freenameindex): Rename to __if_freenameindex and define as
1227 weak alias of __if_freenameindex.
1228 (if_nameindex): Rename to __if_nameindex and define as weak alias
1230 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1231 __if_nametoindex and define as weak alias of __if_nametoindex.
1232 Use libc_hidden_weak.
1233 (if_freenameindex): Rename to __if_freenameindex and define as
1234 weak alias of __if_freenameindex.
1235 (if_nameindex): Rename to __if_nameindex and define as weak alias
1237 (if_indextoname): Rename to __if_indextoname and define as weak
1238 alias of __if_indextoname. Use libc_hidden_weak.
1239 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1240 __if_nametoindex and define as weak alias of __if_nametoindex.
1241 Use libc_hidden_weak.
1242 (if_freenameindex): Rename to __if_freenameindex and define as
1243 weak alias of __if_freenameindex. Use libc_hidden_weak.
1244 (if_nameindex_netlink): Use __if_freenameindex instead of
1246 (if_nameindex): Rename to __if_nameindex and define as weak alias
1247 of __if_nameindex. Use libc_hidden_weak.
1248 (if_indextoname): Rename to __if_indextoname and define as weak
1249 alias of __if_indextoname. Use libc_hidden_weak.
1250 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1252 [!_ISOMAC] (__if_freenameindex): Likewise.
1253 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1255 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1257 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1258 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1259 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1260 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1261 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1262 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1263 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1265 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1267 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1268 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1270 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1272 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1273 subscript above bounds'
1275 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1278 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1280 * libio/tst-fopenloc.c: Use test-skeleton.c.
1282 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1283 (entry): Rename to ITEM.
1284 (do_test, comp): Adjust.
1286 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1288 2014-12-16 Torvald Riegel <triegel@redhat.com>
1290 * string/tester.c: Include <libc-internal.h>.
1291 (test_memset): Ignore -Wmemset-transposed-args.
1293 2014-12-16 Torvald Riegel <triegel@redhat.com>
1295 * misc/tst-mntent2.c (do_test): Fix warning.
1297 2014-12-16 Torvald Riegel <triegel@redhat.com>
1299 * elf/tst-unique4lib.cc(a): Mark as used.
1301 2014-12-16 Florian Weimer <fweimer@redhat.com>
1304 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1307 2014-12-16 Allan McRae <allan@archlinux.org>
1309 * stdio-common/Makefile (tests): Re-add bug26.
1311 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1314 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1317 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1319 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1320 (__lll_lock_wait): Likewise.
1321 (__lll_timedlock_wait): Likewise.
1322 (__lll_timedwait_tid): Likewise.
1323 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1324 (__lll_robust_timedlock_wait): Likewise.
1325 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1326 (lll_cond_trylock): Likewise.
1327 (__lll_lock): Likewise.
1328 (__lll_robust_lock): Likewise.
1329 (__lll_cond_lock): Likewise.
1330 (lll_robust_cond_lock): Likewise.
1331 (__lll_timedlock): Likewise.
1332 (__lll_robust_timedlock): Likewise.
1333 (__lll_unlock): Likewise.
1334 (__lll_robust_unlock): Likewise.
1335 (lll_wait_tid): Likewise.
1336 (lll_timedwait_tid): Likewise.
1338 2014-12-15 Torvald Riegel <triegel@redhat.com>
1340 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1342 2014-12-15 Torvald Riegel <triegel@redhat.com>
1344 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1346 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1348 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1349 * stdio-common/tst-sprintf.c: Likewise.
1351 2014-12-15 Torvald Riegel <triegel@redhat.com>
1353 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1355 2014-12-15 Jeff Law <law@redhat.com>
1358 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1359 on the heap. (CVE-2012-3406)
1360 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1361 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1362 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1364 2014-12-15 Will Newton <will.newton@linaro.org>
1366 * manual/install.texi: Bump required version of texinfo
1368 * INSTALL: Regenerated.
1369 * configure.ac: Check for makeinfo version 4.7 and above.
1370 * configure: Regenerated.
1372 2014-12-12 Roland McGrath <roland@hack.frob.com>
1374 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1375 PREFIX, string constant to insert between directory and name.
1376 * sysdeps/posix/shm_open.c: Update caller.
1377 * sysdeps/posix/shm_unlink.c: Likewise.
1378 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1379 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1380 (SEM_SHM_PREFIX): New macro.
1381 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1382 [$(have-thread-library) = no].
1383 * nptl/Makefile (libpthread-routines): Add shm-directory.
1384 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1385 * sysdeps/nptl/shm-directory.h: New file.
1386 * sysdeps/posix/shm-directory.c
1387 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1388 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1389 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1391 (__where_is_shmfs): Function removed.
1392 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1394 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1396 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1398 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1399 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1400 unconditional for use inside libpthread.
1401 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1403 2014-12-12 Roland McGrath <roland@hack.frob.com>
1405 * nptl/pthread_getaffinity.c: New file.
1406 * nptl/pthread_setaffinity.c: New file.
1407 * nptl/pthread_getname.c: New file.
1408 * nptl/pthread_setname.c: New file.
1410 * nptl/pthread_create.c (START_THREAD_DEFN)
1411 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1413 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1414 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1416 * resolv/res_send.c (send_vc): Disable warning resplen may
1417 be used uninitialized.
1419 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1422 (ATTR_NULL): New define checks ATTR against NULL.
1423 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1424 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1426 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1430 (mem2mem_check): Revert my previous change.
1431 (malloc_check_get_size): Revert my previous change.
1432 (mem2chunk_check): Revert my previous change.
1434 2014-12-11 Roland McGrath <roland@hack.frob.com>
1436 * sysdeps/posix/shm-directory.c: New file.
1437 * sysdeps/posix/shm-directory.h: New file.
1438 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1439 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1440 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1441 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1442 Transmute EPERM to EACCES.
1443 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1445 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1446 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1448 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1450 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1451 pointer and cast to uintptr_t.
1452 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1453 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1454 Add cast to avoid warning.
1455 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1457 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1459 * nptl/semaphore.h: Move to ...
1460 * sysdeps/pthread/semaphore.h: ... here.
1461 * Makefile (installed-headers): Change nptl/semaphore.h to
1462 sysdeps/pthread/semaphore.h.
1464 2014-12-11 Roland McGrath <roland@hack.frob.com>
1466 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1467 generated error format strings.
1469 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1470 -Wformat-extra-args warnings for scanf formats.
1471 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1472 test of zero-length format (duh).
1473 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1474 corner-case scanf format test.
1475 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1476 generated fprintf format string.
1477 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1478 corner-case sprintf format tests.
1479 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1480 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1481 -Wformat-extra-args warnings throughout.
1482 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1483 (CFLAGS-scanf4.c): Likewise.
1484 (CFLAGS-scanf7.c): Likewise.
1485 (CFLAGS-tst-sprintf.c): Likewise.
1486 (CFLAGS-tst-printf.c): Likewise.
1487 (CFLAGS-tst-printfsz.c): Likewise.
1489 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1491 * include/cpio.h: New file.
1492 * include/fmtmsg.h: Likewise.
1494 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1495 corresponding format argument to size_t.
1496 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1498 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1499 corresponding format argument to size_t.
1500 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1502 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1503 corresponding format argument to size_t.
1504 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1505 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1506 (CFLAGS-tst-mbswcs2.c): Likewise.
1507 (CFLAGS-tst-mbswcs3.c): Likewise.
1508 (CFLAGS-tst-mbswcs4.c): Likewise.
1509 (CFLAGS-tst-mbswcs5.c): Likewise.
1510 (CFLAGS-tst-trans.c): Likewise
1512 2014-12-11 Roland McGrath <roland@hack.frob.com>
1514 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1515 rather than assuming they won't contain any '%'s.
1517 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1519 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1520 inhibit_loop_to_libcall to avoid recursive calls.
1521 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1522 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1524 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1526 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1529 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1531 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1532 integer value instead of boolean.
1534 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1536 * malloc/malloc.c: Fix powerof2 check.
1538 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1540 * locale/programs/locfile.h (maybe_swap_uint32):
1541 Remove inline and add unused attribute.
1543 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1545 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1546 Truncating assembler expression to a .long expression.
1548 2014-12-11 Andreas Schwab <schwab@suse.de>
1550 * elf/rtld.c (struct map_args): Constify str member.
1551 (do_preload): Constify fname argument.
1553 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1555 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1556 constants definition.
1558 2014-12-11 Andreas Schwab <schwab@suse.de>
1561 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1562 FORCE_ELISION instead of DO_ELISION.
1563 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1565 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1568 * iconvdata/gconv-modules: Remove duplicate entry.
1570 2014-12-11 Will Newton <will.newton@linaro.org>
1572 Merge gettext 0.19.3 into intl/.
1574 This involves a number of cosmetic changes to comments
1575 and ANSI function definitions and prototypes throughout
1576 all the files. The gettext copyright header is used but
1577 with the date ranges taken from the glibc copy.
1579 * NEWS: Add gettext merge to 2.21.
1580 * intl/bindtextdom.c: Switch to gettext copyright.
1581 Use ANSI definitions and prototypes.
1582 Use gl_* locking primitives rather than __libc_* ones.
1583 Use __builtin_expect rather than __glibc_likely/unlikely.
1584 * intl/dcgettext.c: Switch to gettext copyright.
1585 Use ANSI definitions and prototypes.
1586 * intl/dcigettext.c: Switch to gettext copyright.
1587 Use ANSI definitions and prototypes.
1588 (INTDIV0_RAISES_SIGFPE): New define.
1589 Use gl_* locking primitives rather than __libc_* ones.
1590 Include eval-plural.h instead of plural-eval.c.
1591 Use __builtin_expect rather than __glibc_likely/unlikely.
1592 * intl/dcngettext.c: Switch to gettext copyright.
1593 Use ANSI definitions and prototypes.
1594 * intl/dgettext.c: Likewise.
1595 * intl/dngettext.c: Likewise.
1596 * intl/plural-eval.c: Renamed to...
1597 * intl/eval-plural.h: ...this.
1598 * intl/explodename.c: Switch to gettext copyright.
1599 Use ANSI definitions and prototypes.
1600 (_nl_explode_name): Use strchr instead of __rawmemchr.
1601 * intl/finddomain.c: Switch to gettext copyright.
1602 Use ANSI definitions and prototypes.
1603 Use gl_* locking primitives rather than __libc_* ones.
1604 (_nl_find_domain): Use malloc rather than alloca for
1605 allocation of temporary locale name.
1606 * intl/gettext.c: Switch to gettext copyright.
1607 Use ANSI definitions and prototypes.
1608 * intl/gettextP.h: Switch to gettext copyright.
1609 Use ANSI definitions and prototypes.
1610 Use gl_* locking primitives rather than __libc_* ones.
1611 * intl/gmo.h: Switch to gettext copyright.
1612 (struct sysdep_string): Move struct segment_pair outside of
1614 * intl/hash-string.c: Use ANSI definitions and prototypes.
1615 * intl/hash-string.h: Switch to gettext copyright.
1616 Use ANSI definitions and prototypes.
1617 * intl/l10nflist.c: Switch to gettext copyright.
1618 Use ANSI definitions and prototypes.
1619 (_nl_normalize_codeset): Avoid integer overflow.
1620 * intl/loadinfo.h: Switch to gettext copyright.
1621 Use ANSI definitions and prototypes.
1622 (LIBINTL_DLL_EXPORTED): New define.
1623 (PATH_SEPARATOR): New define.
1624 * intl/loadmsgcat.c: Switch to gettext copyright.
1625 * intl/localealias.c: Switch to gettext copyright.
1626 Use ANSI definitions and prototypes.
1627 (_nl_expand_alias): Use PATH_SEPARATOR.
1628 * intl/ngettext.c: Switch to gettext copyright.
1629 Use ANSI definitions and prototypes.
1630 * intl/plural-exp.c: Likewise.
1631 * intl/plural-exp.h: Switch to gettext copyright.
1632 Use ANSI definitions and prototypes.
1633 (struct expression): Move definition of enum operator outside
1634 of struct definition.
1635 * intl/plural.c: Regenerate.
1636 * intl/plural.y: Switch to gettext copyright.
1637 Use ANSI definitions and prototypes.
1639 * intl/textdomain.c: Switch to gettext copyright.
1640 Use ANSI definitions and prototypes.
1641 Use gl_* locking primitives rather than __libc_* ones.
1643 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1645 * debug/warning-nop.c: Add used atrribute.
1647 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1649 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1651 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1652 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1653 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1655 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1656 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1659 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1660 Undefine after defining function. Define as weak alias of
1661 __wcschr. Use libc_hidden_weak.
1662 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1663 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1664 (libc_hidden_def): Also define __GI___wcschr alias.
1665 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1666 __wcschr and define as weak alias of __wcschr.
1667 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1669 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1670 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1671 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1672 libc_hidden_weak. Do not use libc_hidden_def.
1673 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1674 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1675 __GI___wcschr alias.
1676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1677 [IS_IN (libc)] (wcschr): Define as macro expanding to
1679 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1680 [IS_IN (libc)] (__wcschr_power6): Likewise.
1681 [IS_IN (libc)] (__wcschr_power7): Likewise.
1682 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1684 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1686 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1687 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1688 __wcschr and define as weak alias of __wcschr. Use
1689 libc_hidden_builtin_def.
1690 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1691 as weak alias of __wcschr. Use libc_hidden_weak.
1692 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1694 * time/era.c (_nl_init_era_entries): Likewise.
1695 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1697 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1698 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1700 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1702 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1703 format for long int variable.
1705 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1708 * manual/search.texi: (Array Sort Function): Remove claim how to make
1711 2014-12-10 Andreas Schwab <schwab@suse.de>
1714 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1715 user-controlled locks.
1717 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1719 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1722 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1724 * configure.ac (--disable-werror): New configure option.
1725 (enable_werror): New AC_SUBST.
1726 * configure: Regenerated.
1727 * config.make.in (enable-werror): New variable.
1728 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1730 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1731 * manual/install.texi (Configuring and compiling): Document
1733 * INSTALL: Regenerated.
1734 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1735 (CFLAGS-tst-chk2.c): Likewise.
1736 (CFLAGS-tst-chk3.c): Likewise.
1737 (CFLAGS-tst-chk4.cc): Likewise.
1738 (CFLAGS-tst-chk5.cc): Likewise.
1739 (CFLAGS-tst-chk6.cc): Likewise.
1740 (CFLAGS-tst-lfschk1.c): Likewise.
1741 (CFLAGS-tst-lfschk2.c): Likewise.
1742 (CFLAGS-tst-lfschk3.c): Likewise.
1743 (CFLAGS-tst-lfschk4.cc): Likewise.
1744 (CFLAGS-tst-lfschk5.cc): Likewise.
1745 (CFLAGS-tst-lfschk6.cc): Likewise.
1747 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1748 (main): Disable -Wdeprecated-declarations around calls to
1749 register_printf_function.
1751 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1752 (do_test): Disable -Wdiv-by-zero around some calls to
1753 fwrite_unlocked and fread_unlocked.
1755 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1756 (DIAG_POP_NEEDS_COMMENT): Likewise.
1757 (_DIAG_STR1): Likewise.
1758 (_DIAG_STR): Likewise.
1759 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1760 * stdio-common/bug21.c: Include <libc-internal.h>.
1761 (do_test): Disable -Wformat around call to sscanf.
1762 * stdio-common/scanf14.c: Include <libc-internal.h>.
1763 (main): Disable -Wformat around some calls to scanf functions.
1765 2014-12-09 Torvald Riegel <triegel@redhat.com>
1767 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1769 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1772 stack variable alignment.
1774 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1777 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1778 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1779 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1780 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1781 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1782 __getrlimit instead of getrlimit.
1783 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1784 __gettimeofday instead of gettimeofday.
1785 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1787 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1789 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1790 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1792 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1793 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1795 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1797 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1798 for wide-character tests.
1800 2014-12-04 Roland McGrath <roland@hack.frob.com>
1802 * io/openat64.c: #include <libc-internal.h>
1803 (__openat64): Prototypify. Use ignore_value on MODE.
1804 * io/openat.c: Likewise.
1805 * misc/reboot.c: #include <libc-internal.h>
1806 (reboot): Prototypify. Use ignore_value on HOWTO.
1807 * misc/ptrace.c: #include <libc-internal.h>
1808 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1810 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1812 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1813 XPG4, UNIX98 and XOPEN2K.
1814 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1816 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1818 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1820 * libio/fileops.c: Use ISO C style for function definitions.
1821 * libio/iofopen.c: Likewise.
1822 * libio/wfileops.c: Likewise.
1825 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1827 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1828 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1829 (fgets_func): Function pointer to fgets and fgetws.
1830 (do_ftell_test): Add test to verify ftell value after read
1832 (do_test): Set fgets_func.
1834 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1835 O_TRUNC flag for w and w+ modes.
1836 (do_rewind_test): Likewise.
1837 (do_ftell_test): Likewise.
1838 (do_write_test): Likewise.
1841 * libio/fileops.c (do_ftell): Seek only when there are
1843 * libio/wfileops.c (do_ftell_wide): Likewise.
1844 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1846 (do_one_test): Call it.
1848 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1850 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1851 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1852 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1854 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1855 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1856 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1858 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1860 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1862 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1865 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1866 as weak alias of __getifaddrs. Use libc_hidden_weak.
1867 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1868 __freeifaddrs. Use libc_hidden_weak.
1869 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1870 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1871 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1872 __freeifaddrs. Use libc_hidden_weak.
1873 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1874 __getifaddrs and define as weak alias of __getifaddrs. Use
1876 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1877 __freeifaddrs. Use libc_hidden_weak.
1878 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1880 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1881 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1883 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1886 * sysdeps/mips/start.S (__start): Use indirect jump to call
1889 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1891 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1893 * nptl/tst-mutex1.c: Include <stdbool.h>.
1894 [!ATTR] (ATTR_NULL): New macro.
1895 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1896 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1897 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1899 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1903 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1904 Change conditional to [__USE_MISC].
1907 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1909 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1911 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1913 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1915 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1916 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1917 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1918 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1919 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1920 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1921 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1922 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1923 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1925 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1927 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1929 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1930 Remove strpbrk objects.
1931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1932 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1933 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1934 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1935 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1936 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1938 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1939 Remove strcspn objects.
1940 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1941 (__libc_ifunc_impl_list): Remove strcspn implementation.
1942 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1943 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1944 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1945 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1947 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1948 Remove strspn objetcs.
1949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1950 (__libc_ifunc_impl_list): Remove strspn implementation.
1951 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1952 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1953 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1954 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1956 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1960 (mem2mem_check): Add a terminator to the chain of checking blocks.
1961 (malloc_check_get_size): Use it here.
1962 (mem2chunk_check): Ditto.
1964 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1966 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1967 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1969 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1971 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1973 * nptl/nptl-init.c: Include libc-internal.h.
1974 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1976 * elf/ldconfig.c (search_dir): Expand comment.
1978 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1980 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1982 (linknamespace-symlist-stdlibs-tests): Likewise.
1983 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1984 instead of $(objpfx)symlist-stdlibs.
1985 (linknamespace-libs-isoc): New variable.
1986 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1987 (linknamespace-libs-ISO): New variable.
1988 (linknamespace-libs-ISO99): Likewise.
1989 (linknamespace-libs-ISO11): Likewise.
1990 (linknamespace-libs-XPG3): Likewise.
1991 (linknamespace-libs-XPG4): Likewise.
1992 (linknamespace-libs-POSIX): Likewise.
1993 (linknamespace-libs-UNIX98): Likewise.
1994 (linknamespace-libs-XOPEN2K): Likewise.
1995 (linknamespace-libs-POSIX2008): Likewise.
1996 (linknamespace-libs-XOPEN2K8): Likewise.
1997 ($(objpfx)symlist-stdlibs): Replace by
1998 $(linknamespace-symlist-stdlibs-tests). Use
1999 $(linknamespace-libs-$*) as set of libraries.
2000 ($(linknamespace-header-tests)): Update dependencies. Use
2001 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2002 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2003 * conform/linknamespace.pl: Remove comment about considering
2004 definitions of symbols from irrelevant libraries.
2006 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2009 * elf/dl-tls.c: Include <atomic.h>.
2010 (oom): Remove #ifdef SHARED/#endif.
2011 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2012 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2013 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2015 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2016 * nptl/Makefile (tests): Add tst-stack4.
2017 (modules-names): Add tst-stack4mod.
2018 ($(objpfx)tst-stack4): New.
2019 (tst-stack4mod.sos): Likewise.
2020 ($(objpfx)tst-stack4.out): Likewise.
2021 ($(tst-stack4mod.sos)): Likewise.
2023 * nptl/tst-stack4.c: New file.
2024 * nptl/tst-stack4mod.c: Likewise.
2026 2014-11-27 J. Brown <jb999@gmx.de>
2028 * sysdeps/x86/bits/string.h: Add recent CPUs.
2030 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2032 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2035 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2038 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2041 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2043 * nscd/connections.c: Include libc-internal.h because of macro
2046 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2048 * string/bits/string3.h (__warn_memset_zero_len): Don't
2049 declare for gcc newer than 5.0.
2050 (memset): Don't test for zero-length __LEN for gcc newer than
2053 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2055 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2056 size_t for %zu format.
2058 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2059 difference, not %ju.
2061 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2063 * include/libc-internal.h (ignore_value): New macro.
2064 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2067 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2070 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2071 pthread_cleanup_push to void *.
2073 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2078 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2079 instead of 1L << 52.
2081 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2082 * libio/bug-rewind2.c (do_test): Likewise.
2084 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2085 * debug/test-strcpy_chk-ifunc.c: Likewise.
2086 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2087 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2088 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2089 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2090 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2091 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2092 * Rules [$(multi-arch) = no] (tests): Do not filter out
2094 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2095 * debug/Makefile (tests-ifunc): Remove variable.
2096 (tests): Do not add $(tests-ifunc).
2097 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2098 (tests): Do not add $(tests-ifunc).
2099 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2100 [TEST_IFUNC]: Remove conditionals.
2101 * string/test-string.h (TEST_IFUNC): Remove macro.
2102 [TEST_IFUNC]: Remove conditionals.
2104 * string/test-strchr.c [!WIDE] (L): New macro.
2105 [WIDE] (L): Likewise.
2106 (check1): Use CHAR instead of char. Use L on string and character
2109 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2111 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2113 * sysdeps/powerpc/bits/atomic.h
2114 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2115 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2116 (atomic_exchange_and_add_acq): Likewise.
2117 (atomic_exchange_and_add_rel): Likewise.
2118 * sysdeps/powerpc/powerpc32/bits/atomic.h
2119 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2120 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2121 * sysdeps/powerpc/powerpc64/bits/atomic.h
2122 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2123 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2125 2014-11-26 Torvald Riegel <triegel@redhat.com>
2127 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2128 Change synchronization of __sched_fifo_min_prio and
2129 __sched_fifo_max_prio.
2130 * nptl/pthread_mutexattr_getprioceiling.c
2131 (pthread_mutexattr_getprioceiling): Likewise.
2132 * nptl/pthread_mutexattr_setprioceiling.c
2133 (pthread_mutexattr_setprioceiling): Likewise.
2134 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2135 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2138 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2140 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2143 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2145 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2146 third argument const.
2148 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2150 fnmatch: work around GCC compiler warning bug with uninit var
2151 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2152 This works around a bug with x86-64 GCC 4.9.2 and earlier
2153 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2154 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2155 used uninitialized in this function [-Wmaybe-uninitialized]".
2157 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2159 * posix/bug-regex31.c (main): Return RES not 0.
2161 2014-11-25 Anton Blanchard <anton@samba.org>
2163 * sysdeps/powerpc/bits/atomic.h
2164 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2166 2014-11-24 Sterling Augustine <saugustine@google.com>
2168 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2170 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2173 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2175 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2178 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2179 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2181 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2182 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2184 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2186 * string/strncpy.c (strncpy): Improve performance by using memset.
2188 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2190 * string/strcpy.c (strcpy):
2191 Improve performance by using strlen and memcpy.
2193 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2195 * string/strcoll_l.c (get_next_seq): __always_inline.
2196 * string/strcoll_l.c (do_compare): __always_inline.
2198 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2200 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2202 * include/mqueue.h: Likewise.
2203 * include/stdlib.h: Likewise.
2205 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2206 (get_null_defines): Adjust.
2207 * sunrpc/Makefile: Adjust comment.
2208 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2209 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2210 (CFLAGS-interp.c): Likewise.
2211 (CFLAGS-ldconfig.c): Likewise.
2212 (CPPFLAGS-.os): Likewise.
2213 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2214 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2215 * extra-modules.mk (extra-modules.mk): Likewise.
2216 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2217 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2218 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2219 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2220 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2221 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2222 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2223 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2224 * iconvdata/Makefile (CPPFLAGS): Likewise.
2225 (cpp-srcs-left): Add libof for all iconvdata routines.
2226 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2227 * include/assert.h: Likewise.
2228 * include/ctype.h: Likewise.
2229 * include/errno.h: Likewise.
2230 * include/libc-symbols.h: Likewise.
2231 * include/math.h: Likewise.
2232 * include/netdb.h: Likewise.
2233 * include/resolv.h: Likewise.
2234 * include/stdio.h: Likewise.
2235 * include/stdlib.h: Likewise.
2236 * include/string.h: Likewise.
2237 * include/sys/stat.h: Likewise.
2238 * include/wctype.h: Likewise.
2239 * intl/l10nflist.c: Likewise.
2240 * libidn/idn-stub.c: Likewise.
2241 * libio/libioP.h: Likewise.
2242 * nptl/libc_multiple_threads.c: Likewise.
2243 * nptl/pthreadP.h: Likewise.
2244 * posix/regex_internal.h: Likewise.
2245 * resolv/res_hconf.c: Likewise.
2246 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2247 * sysdeps/arm/memmove.S: Likewise.
2248 * sysdeps/arm/sysdep.h: Likewise.
2249 * sysdeps/generic/_itoa.h: Likewise.
2250 * sysdeps/generic/symbol-hacks.h: Likewise.
2251 * sysdeps/gnu/errlist.awk: Likewise.
2252 * sysdeps/gnu/errlist.c: Likewise.
2253 * sysdeps/i386/i586/memcpy.S: Likewise.
2254 * sysdeps/i386/i586/memset.S: Likewise.
2255 * sysdeps/i386/i686/memcpy.S: Likewise.
2256 * sysdeps/i386/i686/memmove.S: Likewise.
2257 * sysdeps/i386/i686/mempcpy.S: Likewise.
2258 * sysdeps/i386/i686/memset.S: Likewise.
2259 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2260 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2261 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2262 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2263 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2264 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2265 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2266 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2267 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2268 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2269 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2270 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2271 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2272 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2273 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2274 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2275 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2276 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2277 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2278 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2279 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2280 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2281 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2282 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2283 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2284 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2285 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2286 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2287 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2288 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2289 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2290 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2292 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2293 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2294 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2295 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2296 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2297 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2298 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2299 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2300 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2301 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2302 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2303 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2304 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2305 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2306 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2307 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2308 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2309 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2310 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2311 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2312 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2313 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2314 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2315 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2316 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2317 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2318 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2320 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2321 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2322 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2323 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2324 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2325 * sysdeps/posix/closedir.c: Likewise.
2326 * sysdeps/posix/opendir.c: Likewise.
2327 * sysdeps/posix/readdir.c: Likewise.
2328 * sysdeps/posix/rewinddir.c: Likewise.
2329 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2330 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2331 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2332 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2333 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2334 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2335 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2336 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2337 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2338 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2339 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2341 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2342 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2345 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2346 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2348 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2349 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2350 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2351 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2352 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2353 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2354 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2355 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2356 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2358 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2360 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2361 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2362 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2365 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2366 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2367 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2368 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2369 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2370 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2371 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2372 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2373 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2374 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2375 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2376 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2377 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2378 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2379 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2380 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2381 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2382 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2383 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2384 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2385 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2386 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2387 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2388 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2389 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2390 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2391 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2392 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2393 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2394 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2395 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2396 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2397 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2398 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2399 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2400 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2401 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2402 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2403 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2404 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2405 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2406 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2407 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2408 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2409 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2410 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2411 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2412 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2413 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2414 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2415 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2416 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2417 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2418 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2419 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2420 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2421 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2423 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2424 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2425 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2426 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2427 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2428 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2429 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2430 * sysdeps/unix/alpha/sysdep.S: Likewise.
2431 * sysdeps/unix/alpha/sysdep.h: Likewise.
2432 * sysdeps/unix/make-syscalls.sh: Likewise.
2433 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2434 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2435 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2436 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2437 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2438 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2439 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2440 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2441 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2442 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2443 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2444 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2445 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2446 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2447 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2448 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2449 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2450 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2451 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2452 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2453 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2454 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2455 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2456 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2457 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2458 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2459 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2462 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2463 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2464 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2465 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2466 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2467 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2468 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2470 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2471 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2472 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2473 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2474 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2475 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2476 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2477 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2480 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2483 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2484 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2485 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2486 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2487 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2488 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2489 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2491 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2492 * sysdeps/x86_64/memcpy.S: Likewise.
2493 * sysdeps/x86_64/memmove.c: Likewise.
2494 * sysdeps/x86_64/memset.S: Likewise.
2495 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2496 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2497 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2498 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2499 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2500 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2501 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2502 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2503 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2504 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2505 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2506 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2507 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2508 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2509 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2510 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2511 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2512 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2513 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2514 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2515 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2516 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2517 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2518 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2519 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2520 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2521 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2522 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2523 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2524 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2525 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2526 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2527 * sysdeps/x86_64/strcmp.S: Likewise.
2529 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2531 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2532 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2533 * elf/rtld-Rules: Likewise.
2534 * elf/setup-vdso.h: Likewise.
2535 * include/assert.h: Likewise.
2536 * include/bits/stdlib-float.h: Likewise.
2537 * include/errno.h: Likewise.
2538 * include/sys/stat.h: Likewise.
2539 * include/unistd.h: Likewise.
2540 * sysdeps/aarch64/setjmp.S: Likewise.
2541 * sysdeps/alpha/setjmp.S: Likewise.
2542 * sysdeps/arm/__longjmp.S: Likewise.
2543 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2544 * sysdeps/arm/setjmp.S: Likewise.
2545 * sysdeps/arm/sysdep.h: Likewise.
2546 * sysdeps/generic/_itoa.h: Likewise.
2547 * sysdeps/generic/dl-sysdep.h: Likewise.
2548 * sysdeps/generic/ldsodefs.h: Likewise.
2549 * sysdeps/i386/dl-tls.h: Likewise.
2550 * sysdeps/i386/setjmp.S: Likewise.
2551 * sysdeps/m68k/setjmp.c: Likewise.
2552 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2553 * sysdeps/mach/hurd/opendir.c: Likewise.
2554 * sysdeps/posix/getcwd.c: Likewise.
2555 * sysdeps/posix/opendir.c: Likewise.
2556 * sysdeps/posix/profil.c: Likewise.
2557 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2558 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2559 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2560 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2561 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2562 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2563 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2564 * sysdeps/s390/dl-tls.h: Likewise.
2565 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2566 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2567 * sysdeps/sh/sh3/setjmp.S: Likewise.
2568 * sysdeps/sh/sh4/setjmp.S: Likewise.
2569 * sysdeps/unix/alpha/sysdep.h: Likewise.
2570 * sysdeps/unix/arm/sysdep.S: Likewise.
2571 * sysdeps/unix/i386/sysdep.S: Likewise.
2572 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2573 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2574 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2575 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2576 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2577 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2578 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2579 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2580 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2581 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2582 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2583 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2584 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2587 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2588 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2590 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2591 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2592 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2595 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2596 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2597 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2599 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2600 * sysdeps/x86_64/setjmp.S: Likewise.
2602 * include/math.h: Use IS_IN instead of IS_IN_libm.
2603 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2604 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2605 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2606 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2607 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2608 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2609 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2610 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2612 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2613 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2614 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2615 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2616 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2617 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2618 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2619 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2620 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2621 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2622 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2623 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2624 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2625 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2626 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2627 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2628 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2629 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2630 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2631 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2632 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2633 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2634 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2635 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2646 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2647 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2648 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2649 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2650 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2651 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2653 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2657 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2658 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2659 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2660 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2661 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2662 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2663 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2664 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2665 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2666 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2667 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2668 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2669 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2670 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2672 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2674 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2675 * nptl/pthreadP.h: Likewise.
2676 * nptl_db/structs.def: Likewise.
2677 * sysdeps/arm/sysdep.h: Likewise.
2678 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2679 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2680 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2681 * sysdeps/unix/alpha/sysdep.h: Likewise.
2682 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2683 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2684 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2685 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2686 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2687 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2688 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2689 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2690 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2691 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2692 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2693 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2694 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2695 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2698 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2699 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2700 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2702 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2703 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2704 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2705 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2706 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2707 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2709 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2710 * nptl/pthreadP.h: Likewise.
2711 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2712 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2713 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2714 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2715 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2716 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2717 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2718 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2719 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2720 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2721 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2722 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2729 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2730 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2731 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2732 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2733 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2734 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2736 * dlfcn/dladdr.c: Use IS_IN.
2737 * dlfcn/dladdr1.c: Likewise.
2738 * dlfcn/dlclose.c: Likewise.
2739 * dlfcn/dlerror.c: Likewise.
2740 * dlfcn/dlinfo.c: Likewise.
2741 * dlfcn/dlmopen.c: Likewise.
2742 * dlfcn/dlopen.c: Likewise.
2743 * dlfcn/dlsym.c: Likewise.
2744 * dlfcn/dlvsym.c: Likewise.
2746 * include/ifaddrs.h: Use IS_IN.
2747 * inet/check_pf.c: Likewise.
2748 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2749 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2751 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2753 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2754 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2756 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2757 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2760 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2762 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2763 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2764 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2765 * include/libc-symbols.h (IS_IN_LIB): New macro.
2766 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2767 * include/netdb.h: Likewise.
2768 * include/stap-probe.h: Remove all uses of IN_LIB.
2770 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2771 instead of IN_MODULE.
2772 * include/libc-symbols.h (IN_MODULE): Define using
2774 (PASTE_NAME, PASTE_NAME1): New macros.
2775 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2777 (STAP_PROBE_ASM): Likewise.
2779 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2781 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2782 __mach_init in dlopened libc.
2784 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2786 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2787 * sysdeps/arm/preconfigure: Regenerate.
2789 2014-11-21 Roland McGrath <roland@hack.frob.com>
2791 * nptl/pthread_create.c (__pthread_create_2_1): Set
2792 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2793 when copying values from IATTR into PD.
2795 2014-11-21 Will Newton <will.newton@linaro.org>
2796 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2798 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2799 Refactor inline-asm. Also add comment.
2801 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2802 ElfW macro instead of hardcoded Elf64 types.
2803 (la_aarch64_gnu_pltenter): Likewise.
2804 * sysdeps/aarch64/dl-machine.h
2805 (elf_machine_runtime_setup): Use ElfW(Addr).
2807 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2808 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2809 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2810 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2811 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2812 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2813 (R_AARCH64_TLS_DTPMOD): This.
2814 (R_AARCH64_TLS_DTPREL64): Rename to ...
2815 (R_AARCH64_TLS_DTPREL): This.
2816 (R_AARCH64_TLS_TPREL64): Rename to ...
2817 (R_AARCH64_TLS_TPREL): This.
2818 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2819 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2820 R_AARCH64_TLS_TPREL64.
2821 (elf_machine_rela): Likewise.
2823 2014-11-21 Torvald Riegel <triegel@redhat.com>
2825 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2826 by setting it to 0. 64b atomics are not supported currently.
2828 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2831 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2832 search domain names.
2834 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2838 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2840 * posix/tst-getaddrinfo5.c: New.
2841 * posix/Makefile (tests): Add it.
2843 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2847 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2848 after parsing line but before break_if_match.
2849 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2850 if there is a protocol mismatch.
2852 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2854 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2855 because the potential race is on the user-supplied stream.
2857 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2859 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2860 string literal if not passed a buffer.
2861 * manual/job.texi (ctermid): Update reasoning, note deviation
2862 from posix, suggest mtasurace when not passed a buffer, for
2863 future non-preliminary safety notes.
2865 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2867 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2868 of not passing it a buffer.
2869 Reported by Peng Haitao.
2871 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2873 * manual/Makefile ($(objpfx)stamp-summary): Require
2874 check-safety.sh to pass.
2875 * manual/check-safety.sh: Wish for verification that every
2876 @deftypefn and @deftypefun is followed by a @safety remark.
2878 2014-11-20 Roland McGrath <roland@hack.frob.com>
2880 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2882 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2883 PTHREAD_CANCEL_ASYNCHRONOUS.
2884 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2887 * nptl/default-sched.h: New file.
2888 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2889 * nptl/pthread_create.c: Include it.
2890 (__pthread_create_2_1): Use collect_default_sched instead of making
2891 Linux syscalls here directly.
2893 2014-11-20 Torvald Riegel <triegel@redhat.com>
2895 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2896 __pthread_once): Use C11 atomics.
2898 2014-11-20 Torvald Riegel <triegel@redhat.com>
2900 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2902 2014-11-20 Torvald Riegel <triegel@redhat.com>
2904 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2905 atomic_thread_fence_acquire, atomic_thread_fence_release,
2906 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2907 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2908 atomic_compare_exchange_weak_relaxed,
2909 atomic_compare_exchange_weak_acquire,
2910 atomic_compare_exchange_weak_release,
2911 atomic_exchange_acquire, atomic_exchange_release,
2912 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2913 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2914 atomic_fetch_and_acquire,
2915 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2917 2014-11-20 Torvald Riegel <triegel@redhat.com>
2919 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2920 USE_ATOMIC_COMPILER_BUILTINS): Define.
2921 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2922 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2923 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2924 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2925 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2926 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2927 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2928 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2929 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2930 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2931 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2932 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2933 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2934 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2935 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2936 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2937 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2938 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2939 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2940 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2941 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2942 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2943 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2944 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2945 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2946 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2947 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2948 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2949 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2950 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2951 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2952 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2953 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2954 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2955 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2956 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2957 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2958 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2959 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2960 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2962 2014-11-19 Roland McGrath <roland@hack.frob.com>
2964 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2965 the sched_priority value here. It was already checked when the user
2966 called pthread_attr_setschedparam.
2968 * nptl/tst-bad-schedattr.c: New file.
2969 * nptl/Makefile (tests): Add it.
2971 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2972 Florian Weimer <fweimer@redhat.com>
2973 Joseph Myers <joseph@codesourcery.com>
2974 Adam Conrad <adconrad@0c3.net>
2975 Andreas Schwab <schwab@suse.de>
2976 Brooks <bmoses@google.com>
2979 * wordexp-test.c (__dso_handle): Add prototype.
2980 (__register_atfork): Likewise.
2981 (__app_register_atfork): New function.
2982 (registered_forks): New global.
2983 (register_fork): New function.
2984 (test_case): Add 3 new tests for WRDE_CMDSUB.
2985 (main): Call __app_register_atfork.
2986 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2987 fork count is non-zero fail the test.
2988 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2990 (parse_dollars): Remove check for WRDE_NOCMD.
2991 (parse_dquote): Likewise.
2993 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2995 * Makeconfig (built-modules): List non-library modules to be
2997 (module-cppflags): Include libc-modules.h for
2998 everything except shlib-versions.v.i.
3000 (before-compile): Add libc-modules.h.
3001 ($(common-objpfx)libc-modules.h,
3002 $(common-objpfx)libc-modules.stmp): New targets.
3003 (common-generated): Add libc-modules.h and libc-modules.stmp.
3004 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3005 * include/libc-symbols.h: Don't include libc-modules.h.
3006 * include/libc-modules.h: Remove file.
3007 * scripts/gen-libc-modules.awk: New script to generate
3009 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3010 Depend on libc-modules.stmp.
3012 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3014 * Makeconfig (in-module): Get value of libof set for the
3016 (CPPFLAGS): Use $(in-module).
3017 * Makerules: Don't suffix routine names for nonlib.
3018 * include/libc-modules.h: New file.
3019 * include/libc-symbols.h: Include libc-modules.h
3020 (IS_IN): New macro to replace IS_IN_* macros.
3021 * elf/Makefile: Set libof-* for each routine.
3022 * elf/rtld-Rules: Likewise.
3023 * extra-modules.mk: Likewise.
3024 * iconv/Makefile: Likewise.
3025 * iconvdata/Makefile: Likewise.
3026 * locale/Makefile: Likewise.
3027 * malloc/Makefile: Likewise.
3028 * nss/Makefile: Likewise.
3029 * sysdeps/gnu/Makefile: Likewise.
3030 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3031 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3032 * sysdeps/s390/s390-64/Makefile: Likewise.
3033 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3034 CPPFLAGS for nscd instead of nonlib.
3036 2014-11-18 Roland McGrath <roland@hack.frob.com>
3038 * nptl/createthread.c: New file.
3040 * nptl/createthread.c: Moved ...
3041 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3043 * nptl/createthread.c: Add proper top-line comment.
3044 (do_clone): Folded into ...
3045 (create_thread): ... here. Take new arguments STOPPED_START and
3046 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3047 increment __nptl_threads, do event-reporting logic, do
3048 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3049 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3050 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3051 just send SIGCANCEL.
3052 * nptl/pthread_create.c: Forward-declare create_thread before
3053 including createthread.c.
3054 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3055 declaration, and new macro START_THREAD_SELF to replace argument.
3056 Remove return statement.
3057 (report_thread_creation): New function.
3058 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3059 synchronization logic, and __nptl_nthreads increment here, around
3060 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3061 PD->parent_cancelhandling here, before create_thread. When
3062 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3063 __deallocate_stack, and ENOMEM translation here.
3065 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3068 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3069 (mptwo): Rename to __mptwo.
3070 (__inv): Use __mptwo instead of mptwo.
3071 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3072 (mptwo): Rename to __mptwo.
3073 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3074 of mpone and __mptwo instead of mptwo.
3075 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3077 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3078 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3079 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3080 of mpone and __mptwo instead of mptwo.
3081 (__mpranred): Use __mpone instead of mpone.
3082 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3084 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3085 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3086 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3087 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3088 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3089 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3090 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3091 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3092 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3093 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3094 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3095 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3096 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3097 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3098 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3099 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3100 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3101 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3102 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3104 2014-11-18 Tom de Vries <tom@codesoucery.com>
3106 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3107 replace BSD Handler xref with BSD Signal Handling.
3109 2014-11-17 Richard Henderson <rth@redhat.com>
3111 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3112 (_FP_PACK_RAW_2): Remove.
3113 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3114 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3115 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3116 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3117 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3118 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3119 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3120 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3121 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3122 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3123 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3124 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3125 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3126 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3127 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3128 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3130 2014-11-14 Roland McGrath <roland@hack.frob.com>
3132 * signal/signal.h [__USE_MISC]
3133 (struct sigvec): Remove type.
3134 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3135 (sigvec): Remove declaration.
3136 * sysdeps/posix/sigvec.c: Moved ...
3137 * signal/sigvec.c: ... here, replacing old file.
3138 (struct sigvec): New type, copied from old signal.h definition.
3139 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3140 (__sigvec): Convert definition to prototype.
3141 (sigvec): Replace weak_alias with compat_symbol.
3142 * signal/Versions (libc: GLIBC_2.21): New version set.
3143 * include/signal.h: Remove __sigvec declaration.
3144 * sysdeps/unix/bsd/sigvec.c: Remove file.
3145 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3146 * manual/signal.texi (BSD Handler): Remove subsection.
3147 Move siginterrupt up to ...
3148 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3149 (Blocking in BSD): Fold subsection into its parent.
3150 * NEWS: Mention sigvec removal.
3152 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3154 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3155 (DLA_FMS): Make definition conditional only on [__FMA4__].
3156 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3159 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3160 Make definition conditional only on [PROF].
3161 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3163 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3164 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3166 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3168 * include/signal.h (__sigpause): Move declaration above call to
3170 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3172 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3173 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3175 2014-11-14 David S. Miller <davem@davemloft.net>
3177 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3178 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3180 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3182 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3183 * configure: Regenerated.
3184 * manual/install.texi (Tools for Compilation): Document a
3185 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3186 compiler verified to work.
3187 * INSTALL: Regenerated.
3189 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3190 redeclare with asm name.
3191 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3192 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3193 including <string.h>.
3194 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3195 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3196 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3197 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3198 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3199 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3200 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3202 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3204 * stdlib/strtol.c (__strtol): Use prototype definition.
3207 * stdlib/strtol.c (SYM__): New macro.
3209 (__strtol): Likewise.
3210 (strtol): Rename to __strtol and define as weak alias of
3211 __strtol. Use libc_hidden_weak.
3213 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3215 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3216 Use numbered labels in inline assembly.
3218 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3220 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3221 Add setjmp LIBC_PROBE.
3222 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3224 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3225 Add longjmp, longjmp_target LIBC_PROBE.
3226 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3229 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3231 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3232 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3233 to get rid of unused variable warning.
3235 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3237 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3238 Check for unwind_backtrace == NULL only in SHARED case.
3239 (__backchain_backtrace): Compile only in SHARED case.
3240 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3242 (__backchain_backtrace): Declare as static.
3244 2014-11-12 Roland McGrath <roland@hack.frob.com>
3246 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3247 (__libc_multiple_threads_ptr): Variable moved ...
3248 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3250 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3252 * conform/GlibcConform.pm: New file.
3253 * conform/conformtest.pl: Use GlibcConform module.
3254 * conform/linknamespace.pl: New file.
3255 * conform/list-header-symbols.pl: Likewise.
3256 * conform/Makefile (linknamespace-symlists-base): New variable.
3257 (linknamespace-symlists-tests): Likewise.
3258 (linknamespace-header-base): Likewise.
3259 (linknamespace-header-tests): Likewise.
3260 (tests-special): Add new tests.
3261 ($(linknamespace-symlists-tests)): New rule.
3262 (linknamespace-libs): New variable.
3263 ($(objpfx)symlist-stdlibs): New rule.
3264 ($(linknamespace-header-tests)): Likewise.
3265 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3266 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3267 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3268 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3269 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3270 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3271 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3272 (test-xfail-ISO/math.h/linknamespace): Likewise.
3273 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3274 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3275 (test-xfail-ISO/time.h/linknamespace): Likewise.
3276 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3277 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3278 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3279 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3280 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3281 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3282 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3283 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3284 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3285 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3286 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3287 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3288 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3289 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3290 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3291 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3292 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3293 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3294 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3295 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3296 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3297 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3298 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3299 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3300 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3301 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3302 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3303 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3304 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3305 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3306 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3307 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3308 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3309 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3310 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3311 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3312 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3313 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3314 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3315 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3316 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3317 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3318 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3319 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3320 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3321 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3322 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3323 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3324 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3325 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3326 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3327 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3328 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3329 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3330 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3331 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3332 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3333 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3334 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3335 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3336 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3337 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3338 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3339 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3340 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3341 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3342 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3343 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3344 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3345 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3346 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3347 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3348 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3349 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3350 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3351 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3352 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3353 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3354 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3355 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3356 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3357 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3358 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3359 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3360 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3361 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3362 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3363 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3364 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3365 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3366 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3367 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3368 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3369 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3370 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3371 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3372 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3373 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3374 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3375 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3376 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3377 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3378 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3379 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3380 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3381 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3382 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3383 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3384 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3385 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3386 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3387 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3388 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3389 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3390 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3391 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3392 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3393 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3394 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3395 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3396 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3397 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3398 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3399 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3400 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3401 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3402 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3403 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3404 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3405 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3406 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3407 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3408 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3409 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3410 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3411 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3412 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3413 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3414 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3415 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3416 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3417 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3418 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3419 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3420 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3421 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3422 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3423 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3424 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3425 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3428 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3432 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3433 (memmem): Rename to __memmem and define as weak alias of
3434 __memmem. Use libc_hidden_weak.
3435 (__memmem): Use libc_hidden_def.
3436 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3437 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3441 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3442 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3443 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3444 and define as weak alias of __fgets_unlocked. Use
3446 (__fgets_unlocked): Use libc_hidden_def.
3447 * include/stdio.h (__fgets_unlocked): Declare. Use
3449 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3450 __fgets_unlocked instead of fgets_unlocked.
3451 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3452 (GET_NPROCS_CONF_PARSER): Likewise.
3453 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3454 (GET_NPROCS_CONF_PARSER): Likewise.
3457 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3458 weak alias of __wmemset. Use libc_hidden_weak.
3459 (__wmemset): Use libc_hidden_def.
3460 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3461 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3465 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3466 with asm name __mempcpy.
3467 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3470 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3471 and define as weak alias of __rawmemchr.
3472 (__rawmemchr): Do not define as strong alias of rawmemchr.
3475 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3477 (qsort): Call __qsort_r instead of qsort_r.
3478 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3479 (__qsort_r): Declare. Call libc_hidden_proto.
3480 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3482 * nscd/gai.c (__qsort_r): Define to qsort_r.
3483 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3484 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3485 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3488 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3489 define as weak alias of __malloc_info.
3492 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3493 as weak alias of __rewinddir. Don't use libc_hidden_def.
3494 (__rewinddir): Use libc_hidden_def.
3495 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3496 as weak alias of __rewinddir. Don't use libc_hidden_def.
3497 (__rewinddir): Use libc_hidden_def.
3498 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3499 weak alias of __rewinddir. Don't use libc_hidden_def.
3500 (__rewinddir): Use libc_hidden_def.
3501 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3502 (__rewinddir): Use libc_hidden_proto.
3503 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3505 (__getcwd): Use __rewinddir instead of rewinddir.
3508 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3509 alias of __fileno. Use libc_hidden_weak.
3510 (__fileno): Use libc_hidden_def.
3511 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3512 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3514 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3516 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3517 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3519 (fread_unlocked): Don't use libc_hidden_ver.
3520 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3521 and define as weak alias of __fread_unlocked. Don't use
3523 (__fread_unlocked): Use libc_hidden_def.
3524 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3525 (ftello): Don't use libc_hidden_proto.
3526 (__ftello): Declare. Use libc_hidden_proto.
3527 (fread_unlocked): Don't use libc_hidden_proto.
3528 (__fread_unlocked): Declare. Use libc_hidden_proto.
3529 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3530 and __ftello instead of fileno, fread_unlocked and ftello.
3532 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3534 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3536 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3538 (_dl_start_user): Likewise.
3539 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3541 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3542 Siddhesh Poyarekar <siddhesh@redhat.com>
3544 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3545 Move argv and envp down instead of moving argc up.
3546 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3548 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3551 * test-skeleton.c (main): Return successful if one of
3552 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3553 * string/tst-strcoll-overflow.c: Define expected status.
3555 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3558 * locale/iso-639.def: Define Bhili and Tulu language codes.
3560 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3562 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3564 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3567 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3569 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3571 * configure.ac: Updated check of minimal required version to
3573 * manual/install.texi (Tools for Compilation): Updated version
3575 * configure: Regenerated.
3576 * INSTALL: Likewise.
3578 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3580 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3583 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3585 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3586 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3587 (__waitpid): Don't define as alias. Use libc_hidden_def not
3589 (waitpid): Define as alias of __waitpid.
3590 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3592 (__waitpid): Don't define as alias. Use libc_hidden_def not
3594 (waitpid): Define as alias of __waitpid.
3595 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3596 __libc_waitpid alias.
3597 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3598 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3600 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3601 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3602 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3604 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3606 (__waitpid): Don't define as alias. Use libc_hidden_def not
3608 (waitpid): Define as alias of __waitpid.
3610 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3612 * manual/llio.texi: Add comment that write safety has been
3615 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3616 (localplt-build-dso): Add elf/ld.so.
3617 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3618 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3621 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3626 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3627 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3628 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3629 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3630 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3631 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3632 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3633 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3634 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3635 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3636 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3638 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3641 * include/libc-symbols.h (INTUSE): Remove macro.
3643 (INTVARDEF): Likewise.
3644 (_INTVARDEF): Likewise.
3645 (INTDEF2): Likewise.
3646 (INTVARDEF2): Likewise.
3647 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3648 rtld_hidden_def instead of INTVARDEF.
3649 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3650 (_dl_starting_up_internal): Remove declaration.
3651 (_dl_starting_up): Use rtld_hidden_proto.
3652 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3654 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3655 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3657 * elf/dl-writev.h (_dl_writev): Likewise.
3658 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3659 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3660 _dl_starting_up_internal.
3662 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3664 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3667 2014-11-05 Will Newton <will.newton@linaro.org>
3669 * benchtests/Makefile: (bench-malloc): Add malloc thread
3670 scalability benchmark.
3671 * benchtests/bench-malloc-threads.c: New file.
3673 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3675 * sysdeps/aarch64/strchrnul.S: New file.
3677 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3679 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3681 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3683 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3685 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3687 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3689 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3692 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3694 * catgets/test-gencat.c: Use test-skeleton.c.
3695 * catgets/tst-catgets.c: Likewise.
3696 * csu/tst-empty.c: Likewise.
3697 * elf/tst-audit2.c: Likewise.
3698 * elf/tst-global1.c: Likewise.
3699 * elf/tst-pathopt.c: Likewise.
3700 * elf/tst-piemod1.c: Likewise.
3701 * elf/tst-tls10.c: Likewise.
3702 * elf/tst-tls11.c: Likewise.
3703 * elf/tst-tls12.c: Likewise.
3704 * gnulib/tst-gcc.c: Likewise.
3705 * iconvdata/tst-e2big.c: Likewise.
3706 * iconvdata/tst-loading.c: Likewise.
3707 * iconv/tst-iconv1.c: Likewise.
3708 * iconv/tst-iconv2.c: Likewise.
3709 * inet/test-inet6_opt.c: Likewise.
3710 * inet/tst-gethnm.c: Likewise.
3711 * inet/tst-network.c: Likewise.
3712 * inet/tst-ntoa.c: Likewise.
3713 * intl/tst-codeset.c: Likewise.
3714 * intl/tst-gettext2.c: Likewise.
3715 * intl/tst-gettext3.c: Likewise.
3716 * intl/tst-ngettext.c: Likewise.
3717 * intl/tst-translit.c: Likewise.
3718 * io/test-stat.c: Likewise.
3719 * libio/test-fmemopen.c: Likewise.
3720 * libio/tst-freopen.c: Likewise.
3721 * libio/tst-sscanf.c: Likewise.
3722 * libio/tst-ungetwc1.c: Likewise.
3723 * libio/tst-ungetwc2.c: Likewise.
3724 * libio/tst-widetext.c: Likewise.
3725 * localedata/tst-ctype.c: Likewise.
3726 * localedata/tst-digits.c: Likewise.
3727 * localedata/tst-leaks.c: Likewise.
3728 * localedata/tst-mbswcs1.c: Likewise.
3729 * localedata/tst-mbswcs2.c: Likewise.
3730 * localedata/tst-mbswcs3.c: Likewise.
3731 * localedata/tst-mbswcs4.c: Likewise.
3732 * localedata/tst-mbswcs5.c: Likewise.
3733 * localedata/tst-setlocale.c: Likewise.
3734 * localedata/tst-trans.c: Likewise.
3735 * localedata/tst-wctype.c: Likewise.
3736 * localedata/tst-xlocale1.c: Likewise.
3737 * login/tst-grantpt.c: Likewise.
3738 * malloc/tst-calloc.c: Likewise.
3739 * malloc/tst-malloc.c: Likewise.
3740 * malloc/tst-mallocstate.c: Likewise.
3741 * malloc/tst-mcheck.c: Likewise.
3742 * malloc/tst-mtrace.c: Likewise.
3743 * malloc/tst-obstack.c: Likewise.
3744 * math/atest-exp2.c: Likewise.
3745 * math/atest-exp.c: Likewise.
3746 * math/atest-sincos.c: Likewise.
3747 * math/test-matherr.c: Likewise.
3748 * math/test-misc.c: Likewise.
3749 * math/test-powl.c: Likewise.
3750 * math/tst-definitions.c: Likewise.
3751 * misc/tst-dirname.c: Likewise.
3752 * misc/tst-efgcvt.c: Likewise.
3753 * misc/tst-fdset.c: Likewise.
3754 * misc/tst-hsearch.c: Likewise.
3755 * misc/tst-mntent2.c: Likewise.
3756 * nptl/tst-sem7.c: Likewise.
3757 * nptl/tst-sem8.c: Likewise.
3758 * nptl/tst-sem9.c: Likewise.
3759 * nss/test-netdb.c: Likewise.
3760 * posix/tst-fnmatch.c: Likewise.
3761 * posix/tst-getlogin.c: Likewise.
3762 * posix/tst-gnuglob.c: Likewise.
3763 * posix/tst-mmap.c: Likewise.
3764 * pwd/tst-getpw.c: Likewise.
3765 * resolv/tst-inet_ntop.c: Likewise.
3766 * rt/tst-timer.c: Likewise.
3767 * stdio-common/test-fseek.c: Likewise.
3768 * stdio-common/test-popen.c: Likewise.
3769 * stdio-common/test-vfprintf.c: Likewise.
3770 * stdio-common/tst-cookie.c: Likewise.
3771 * stdio-common/tst-fileno.c: Likewise.
3772 * stdio-common/tst-gets.c: Likewise.
3773 * stdio-common/tst-obprintf.c: Likewise.
3774 * stdio-common/tst-perror.c: Likewise.
3775 * stdio-common/tst-sprintf2.c: Likewise.
3776 * stdio-common/tst-sprintf3.c: Likewise.
3777 * stdio-common/tst-sprintf.c: Likewise.
3778 * stdio-common/tst-swprintf.c: Likewise.
3779 * stdio-common/tst-tmpnam.c: Likewise.
3780 * stdio-common/tst-unbputc.c: Likewise.
3781 * stdio-common/tst-wc-printf.c: Likewise.
3782 * stdlib/tst-environ.c: Likewise.
3783 * stdlib/tst-fmtmsg.c: Likewise.
3784 * stdlib/tst-limits.c: Likewise.
3785 * stdlib/tst-rand48-2.c: Likewise.
3786 * stdlib/tst-rand48.c: Likewise.
3787 * stdlib/tst-random2.c: Likewise.
3788 * stdlib/tst-random.c: Likewise.
3789 * stdlib/tst-strtol.c: Likewise.
3790 * stdlib/tst-strtoll.c: Likewise.
3791 * stdlib/tst-tls-atexit.c: Likewise.
3792 * stdlib/tst-xpg-basename.c: Likewise.
3793 * string/test-ffs.c: Likewise.
3794 * string/tst-bswap.c: Likewise.
3795 * string/tst-inlcall.c: Likewise.
3796 * string/tst-strtok.c: Likewise.
3797 * string/tst-strxfrm.c: Likewise.
3798 * sysdeps/x86_64/tst-audit10.c: Likewise.
3799 * sysdeps/x86_64/tst-audit3.c: Likewise.
3800 * sysdeps/x86_64/tst-audit4.c: Likewise.
3801 * sysdeps/x86_64/tst-audit5.c: Likewise.
3802 * time/tst-ftime_l.c: Likewise.
3803 * time/tst-getdate.c: Likewise.
3804 * time/tst-mktime3.c: Likewise.
3805 * time/tst-mktime.c: Likewise.
3806 * time/tst-posixtz.c: Likewise.
3807 * time/tst-strptime2.c: Likewise.
3808 * time/tst-strptime3.c: Likewise.
3809 * wcsmbs/tst-btowc.c: Likewise.
3810 * wcsmbs/tst-mbrtowc.c: Likewise.
3811 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3812 * wcsmbs/tst-wchar-h.c: Likewise.
3813 * wcsmbs/tst-wcpncpy.c: Likewise.
3814 * wcsmbs/tst-wcrtomb.c: Likewise.
3815 * wcsmbs/tst-wcsnlen.c: Likewise.
3816 * wcsmbs/tst-wcstof.c: Likewise.
3818 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3821 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3823 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3825 (_dl_mcount): Use rtld_hidden_proto.
3826 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3828 * elf/rtld.c (_rtld_global_ro): Likewise.
3831 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3832 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3833 of _dl_init_internal.
3834 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3835 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3836 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3837 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3838 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3839 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3840 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3841 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3842 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3843 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3844 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3845 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3846 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3847 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3848 * sysdeps/tile/dl-start.S (_start): Likewise.
3849 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3850 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3853 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3854 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3855 (rtld_progname): Make macro definition unconditional.
3856 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3858 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3859 (dl_main): Likewise.
3860 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3861 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3862 instead of _dl_argv_internal.
3863 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3864 __GI__dl_argv instead of INTUSE(_dl_argv).
3865 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3866 __GI__dl_argv instead of _dl_argv_internal.
3868 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3869 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3871 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3872 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3874 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3875 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3877 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3878 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3880 2014-11-04 Andreas Schwab <schwab@suse.de>
3882 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3884 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3886 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3887 mtvsrd instruction in binary form.
3889 2014-11-03 Andreas Schwab <schwab@suse.de>
3892 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3893 for less than MB_LEN_MAX use a local buffer of that size.
3894 * libio/tst-fputws.c: New file.
3895 * libio/Makefile (tests): Add tst-fputws.
3897 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3899 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3900 the size of the fpu_fr.fpu_dregs[] array.
3902 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3904 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3905 (__nanosleep): Do not define as alias.
3906 (nanosleep): Define as alias of __nanosleep.
3907 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3908 __libc_nanosleep name.
3910 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3912 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3913 install.texi in comment.
3915 2014-10-31 Torvald Riegel <triegel@redhat.com>
3917 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3918 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3919 ... add here and use lwsync or sync ...
3920 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3921 ... and add here using lwsync.
3923 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3925 * elf/dl-machine-reject-phdr.h: New file.
3926 * elf/dl-load.c: #include that.
3927 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3928 if that returned true.
3930 2014-10-31 Roland McGrath <roland@hack.frob.com>
3933 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3934 gen-as-const-headers chunk. Add a big scare comment after the last
3935 safe place to touch before-compile.
3937 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3939 * manual/install.texi (Tools for Compilation): Update autoconf
3940 version requirements.
3941 * INSTALL: Regenerated.
3943 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3944 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3945 (__libc_pselect): Likewise.
3948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3953 2014-10-31 Torvald Riegel <triegel@redhat.com>
3955 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3956 correct barrier instruction.
3957 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3959 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3962 2014-10-30 Roland McGrath <roland@hack.frob.com>
3964 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3965 after defining inlines. Instead, just use parens to defeat macro
3966 expansion of __isctype in its declaration.
3968 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3970 * include/sys/uio.h (__libc_readv): Remove declaration.
3971 (__libc_writev): Likewise.
3972 * misc/readv.c (__libc_readv): Rename to __readv.
3973 (__readv): Do not define as alias.
3974 (readv): Define as alias of __readv.
3975 * misc/writev.c (__libc_writev): Rename to __writev.
3976 (__writev): Do not define as alias.
3977 (writev): Define as alias of __writev.
3978 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3979 (__readv): Do not define as alias.
3980 (readv): Define unconditionally as alias of __readv.
3981 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3982 (__writev): Do not define as alias.
3983 (writev): Define unconditionally as alias of __writev.
3984 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3986 (writev): Do not define __libc_writev name.
3988 2014-10-30 Roland McGrath <roland@hack.frob.com>
3990 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3991 (convert_charseq): New function, broken out of ...
3992 (use_from_charmap): ... here. Call it.
3993 (use_to_charmap): Use convert_charseq and free instead of duplicating
3994 its code with a variable-length stack struct.
3996 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3998 * include/fcntl.h (__libc_creat): Remove declaration.
3999 * io/creat.c (__libc_creat): Rename to creat.
4000 (creat): Do not define as alias.
4001 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4002 of creat instead of __libc_creat.
4003 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4005 (creat): Do not define as alias.
4006 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4008 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4013 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4015 * manual/llio.texi: Add comments discussing why write() may be
4016 considered MT-unsafe on Linux.
4018 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4020 * dl-load.c (local_strdup): Remove.
4021 (expand_dynamic_string_token): Use __strdup.
4022 (decompose_rpath): Likewise.
4023 (_dl_map_object): Likewise.
4025 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4028 * sysdeps/generic/unwind-dw2-fde.c
4029 (__register_frame_info_bases_internal): Do not declare.
4030 (__register_frame_info_table_bases_internal): Likewise.
4031 (__deregister_frame_info_bases_internal): Likewise.
4032 (__register_frame_info_bases): Declare and use hidden_proto before
4033 definition. Use hidden_def instead of INTDEF.
4034 (__register_frame_info_table_bases): Likewise.
4035 (__deregister_frame_info_bases): Likewise.
4036 (__register_frame_info): Do not use INTUSE.
4037 (__register_frame): Likewise.
4038 (__register_frame_info_table): Likewise.
4039 (__register_frame_table): Likewise.
4040 (__deregister_frame_info): Likewise.
4041 (__deregister_frame): Likewise.
4043 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4045 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4046 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4048 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4050 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4053 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4056 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4057 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4058 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4059 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4060 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4061 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4062 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4063 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4064 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4065 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4066 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4067 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4068 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4070 (setfsuid): Likewise.
4071 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4072 (setfsuid): Likewise.
4073 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4074 (setfsuid): Likewise.
4075 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4077 (setfsuid): Likewise.
4078 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4079 (setfsuid): Likewise.
4080 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4082 (setfsuid): Likewise.
4084 2014-10-27 Andreas Schwab <schwab@suse.de>
4087 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4088 check for Slow_SSE4_2 feature bit.
4089 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4090 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4091 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4092 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4094 2014-10-24 Roland McGrath <roland@hack.frob.com>
4096 * configure.ac: Validate compiler version with a empirical test of
4097 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4099 * configure: Regenerated.
4101 * inet/htons.c (htons): Prototypify.
4102 * inet/htonl.c (htonl): Likewise.
4104 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4106 * string/strncat.c (strncat): Improve performance by using strlen.
4108 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4110 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4112 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4114 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4115 Call libc_fetestexcept_aarch64.
4117 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4119 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4120 Call libc_feholdexcept_aarch64.
4122 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4124 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4125 Call get_rounding_mode.
4127 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4129 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4132 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4134 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4137 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4140 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4141 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4142 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4143 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4144 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4145 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4146 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4147 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4148 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4149 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4150 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4151 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4152 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4153 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4154 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4155 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4156 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4157 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4158 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4159 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4160 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4161 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4162 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4163 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4164 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4165 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4166 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4167 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4168 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4169 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4170 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4171 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4172 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4173 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4174 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4175 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4176 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4177 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4178 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4179 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4180 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4182 (geteuid): Likewise.
4185 (getresgid): Likewise.
4186 (getresuid): Likewise.
4187 (getgroups): Likewise.
4188 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4189 (geteuid): Likewise.
4192 (getresgid): Likewise.
4193 (getresuid): Likewise.
4194 (getgroups): Likewise.
4195 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4196 (geteuid): Likewise.
4199 (getresgid): Likewise.
4200 (getresuid): Likewise.
4201 (getgroups): Likewise.
4202 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4204 (geteuid): Likewise.
4207 (getresgid): Likewise.
4208 (getresuid): Likewise.
4209 (getgroups): Likewise.
4210 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4211 (geteuid): Likewise.
4214 (getresgid): Likewise.
4215 (getresuid): Likewise.
4216 (getgroups): Likewise.
4217 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4219 (geteuid): Likewise.
4222 (getgroups): Likewise.
4225 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4226 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4227 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4228 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4229 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4230 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4231 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4232 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4233 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4234 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4235 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4236 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4237 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4239 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4242 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4246 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4254 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4256 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4259 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4261 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4264 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4266 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4267 Remove unused include.
4269 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4271 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4272 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4273 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4274 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4276 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4277 Helge Deller <deller@gmx.de>
4280 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4281 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4282 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4284 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4287 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4288 Remove macro definition.
4289 (__ashrdi3_v_glibc20): Likewise.
4290 (__lshrdi3_v_glibc20): Likewise.
4291 (__cmpdi2_v_glibc20): Likewise.
4292 (__ucmpdi2_v_glibc20): Likewise.
4293 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4294 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4295 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4296 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4297 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4298 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4300 2014-10-22 Roland McGrath <roland@hack.frob.com>
4302 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4303 old GNU extension [0] syntax.
4304 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4305 alloca rather than an array member with variable length.
4306 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4307 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4308 (parse_opt): ... here. Likewise use alloca there.
4309 Validate the -i argument before checking for rootness.
4310 (send_shutdown): New function, broken out of ...
4311 (parse_opt): ... here.
4313 2014-10-22 Roland McGrath <roland@hack.frob.com>
4315 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4316 macro to get at the _rt_local_ro field.
4317 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4318 ([PIC] case) or _dl_hwcap ([!PIC] case).
4319 * sysdeps/arm/setjmp.S: Likewise.
4321 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4322 * sysdeps/arm/configure.ac: New check to define it.
4323 * sysdeps/arm/configure: Regenerated.
4324 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4325 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4326 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4327 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4328 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4329 Use move/movt pair instead of a load.
4330 (LDST_GLOBAL): Macro removed.
4331 (LDR_GLOBAL): New macro replaces it.
4332 (LDR_HIDDEN): New macro.
4333 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4334 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4336 * setjmp/tst-setjmp-static.c: New file.
4337 * setjmp/Makefile (tests): Add it.
4338 (tests-static): New variable.
4340 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4343 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4345 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4348 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4350 2014-10-21 Roland McGrath <roland@hack.frob.com>
4352 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4354 2014-10-20 Roland McGrath <roland@hack.frob.com>
4356 * io/fts.c (dirent_not_directory): New function.
4357 (fts_build): Call it.
4359 2014-10-20 Roland McGrath <roland@hack.frob.com>
4361 * nptl/version.c (__nptl_main): Use normal __write rather than
4363 (banner): Update copyright years.
4365 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4367 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4368 * nptl/pthread_cond_timedwait.c: Likewise.
4369 * nptl/pthread_mutex_timedlock.c: Likewise.
4370 * nptl/sem_timedwait.c: Likewise.
4372 * sysdeps/nptl/bits/libc-lock.h
4373 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4374 (__libc_lock_init_recursive): Return void, not 0.
4375 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4376 (__libc_rwlock_init): Likewise.
4377 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4379 2014-10-20 Torvald Riegel <triegel@redhat.com>
4382 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4383 (__pthread_once_slow): ... here.
4384 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4385 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4387 2014-10-20 Torvald Riegel <triegel@redhat.com>
4390 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4391 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4392 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4393 * nptl/pthread_once.c (__pthread_once): Likewise.
4396 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4399 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4401 (writev): Use __libc_writev as strong name.
4402 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4403 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4405 2014-10-17 Roland McGrath <roland@hack.frob.com>
4407 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4409 * sysdeps/i386/nptl/tls.h
4410 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4411 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4413 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4414 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4415 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4416 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4417 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4418 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4420 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4421 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4423 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4425 (__pthread_mutex_init): ... here. Call it.
4426 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4427 Conditionalize PI cases on [__NR_futex].
4428 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4429 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4430 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4432 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4433 conditional on [SIGSETXID].
4434 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4435 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4436 is defined. Likewise for SIGSETXID.
4437 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4438 Conditionalize definitions on [SIGSETXID].
4439 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4440 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4441 unblocking on [SIGCANCEL].
4443 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4444 [__NR_set_robust_list].
4446 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4448 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4449 (do_compare): Likewise.
4451 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4454 * string/strcoll_l.c: Don't include stdio.h.
4455 (coll_seq): Remove members idxarr and rulearr.
4456 (get_next_seq_cached): Remove function.
4457 (get_next_seq): Likewise.
4458 (get_next_seq_nocache): Rename to get_next_seq.
4459 (do_compare): Remove function.
4460 (do_compare_nocache): Rename to do_compare.
4461 (STRCOLL): Remove weight and rules cache.
4463 2014-10-16 Roland McGrath <roland@hack.frob.com>
4465 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4466 * sysdeps/arm/sfp-machine.h: ... to here.
4467 * sysdeps/arm/Implies: Remove arm/soft-fp.
4469 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4471 * conform/data/sys/utsname.h-data (*_t): Allow.
4472 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4473 [POSIX] (WEXITED): Do not expect constant.
4474 [POSIX] (WSTOPPED): Likewise.
4475 [POSIX] (WNOHANG): Likewise.
4476 [POSIX] (WNOWAIT): Likewise.
4477 [POSIX] (siginfo_t): Do not expect type or elements.
4478 [POSIX] (pid_t): Do not expect type.
4479 [POSIX] (signal.h): Do not allow header.
4480 [POSIX] (sys/resource.h): Likewise.
4481 [POSIX] (si_*): Do not allow pattern.
4482 [POSIX] (W*): Likewise.
4483 [POSIX] (P_*): Likewise.
4484 [POSIX] (BUS_*): Likewise.
4485 [POSIX] (CLD_*): Likewise.
4486 [POSIX] (FPE_*): Likewise.
4487 [POSIX] (ILL_*): Likewise.
4488 [POSIX] (POLL_*): Likewise.
4489 [POSIX] (SEGV_*): Likewise.
4490 [POSIX] (SI_*): Likewise.
4491 [POSIX] (TRAP_*): Likewise.
4492 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4495 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4498 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4499 infinite loop when __recvmsg returns 0.
4501 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4503 * CANCEL-FCT-WAIVE: Remove file.
4504 * CANCEL-FILE-WAIVE: Likewise.
4507 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4508 instead of INTVARDEF.
4509 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4510 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4511 rtld_hidden_data_def instead of INTVARDEF.
4512 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4513 * elf/dl-deps.c (expand_dst): Likewise.
4514 * elf/dl-load.c (_dl_dst_count): Likewise.
4515 (_dl_dst_substitute): Likewise.
4516 (decompose_rpath): Likewise.
4517 (_dl_init_paths): Likewise.
4518 (open_path): Likewise.
4519 (_dl_map_object): Likewise.
4520 * elf/rtld.c (dl_main): Likewise.
4521 (process_dl_audit): Likewise.
4522 (process_envvars): Likewise.
4523 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4525 (__libc_enable_secure): Use rtld_hidden_proto.
4527 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4530 (add_path): New function broken out of _dl_rtld_di_serinfo.
4531 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4533 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4535 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4536 parentheses around macro arguments.
4537 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4538 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4539 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4540 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4541 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4542 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4543 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4544 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4545 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4546 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4547 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4548 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4549 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4550 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4551 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4552 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4553 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4554 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4555 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4556 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4557 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4558 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4559 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4560 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4561 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4562 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4563 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4564 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4565 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4566 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4567 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4568 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4569 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4570 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4571 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4572 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4574 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4575 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4576 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4577 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4578 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4579 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4580 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4581 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4582 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4583 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4584 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4585 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4586 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4587 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4588 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4589 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4590 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4591 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4592 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4593 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4594 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4595 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4596 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4597 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4598 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4599 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4600 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4601 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4602 (_FP_FRAC_SRS_1): Likewise.
4603 (_FP_FRAC_CLZ_1): Likewise.
4604 (_FP_MUL_MEAT_1_imm): Likewise.
4605 (_FP_MUL_MEAT_1_wide): Likewise.
4606 (_FP_MUL_MEAT_1_hard): Likewise.
4607 (_FP_SQRT_MEAT_1): Likewise.
4608 (_FP_FRAC_ASSEMBLE_1): Likewise.
4609 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4610 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4611 (__FP_CLZ_2): Likewise.
4612 (_FP_MUL_MEAT_2_wide): Likewise.
4613 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4614 (_FP_MUL_MEAT_2_gmp): Likewise.
4615 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4616 (_FP_SQRT_MEAT_2): Likewise.
4617 (_FP_FRAC_ASSEMBLE_2): Likewise.
4618 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4619 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4620 (_FP_FRAC_CLZ_4): Likewise.
4621 (_FP_MUL_MEAT_4_wide): Likewise.
4622 (_FP_MUL_MEAT_4_gmp): Likewise.
4623 (_FP_SQRT_MEAT_4): Likewise.
4624 (_FP_FRAC_ASSEMBLE_4): Likewise.
4625 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4626 * soft-fp/op-common.h (_FP_CMP): Likewise.
4627 (_FP_CMP_EQ): Likewise.
4628 (_FP_CMP_UNORD): Likewise.
4629 (_FP_TO_INT): Likewise.
4630 (_FP_FROM_INT): Likewise.
4631 [!__FP_CLZ] (__FP_CLZ): Likewise.
4632 (_FP_DIV_HELP_imm): Likewise.
4633 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4635 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4636 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4637 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4638 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4639 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4640 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4641 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4642 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4643 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4644 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4645 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4646 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4647 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4648 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4649 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4650 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4651 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4652 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4653 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4654 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4655 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4656 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4657 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4658 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4659 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4660 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4661 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4662 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4663 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4664 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4665 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4666 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4667 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4668 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4669 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4670 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4671 (FP_UNPACK_RAW_SP): Likewise.
4672 (FP_PACK_RAW_S): Likewise.
4673 (FP_PACK_RAW_SP): Likewise.
4674 (FP_UNPACK_S): Likewise.
4675 (FP_UNPACK_SP): Likewise.
4676 (FP_UNPACK_SEMIRAW_S): Likewise.
4677 (FP_UNPACK_SEMIRAW_SP): Likewise.
4678 (FP_PACK_S): Likewise.
4679 (FP_PACK_SP): Likewise.
4680 (FP_PACK_SEMIRAW_S): Likewise.
4681 (FP_PACK_SEMIRAW_SP): Likewise.
4682 (_FP_SQRT_MEAT_S): Likewise.
4683 (FP_CMP_S): Likewise.
4684 (FP_CMP_EQ_S): Likewise.
4685 (FP_CMP_UNORD_S): Likewise.
4686 (FP_TO_INT_S): Likewise.
4687 (FP_FROM_INT_S): Likewise.
4689 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4691 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4692 (FP_EX_INVALID_IMZ): Likewise.
4693 (FP_EX_INVALID_IMZ_FMA): Likewise.
4694 (FP_EX_INVALID_ISI): Likewise.
4695 (FP_EX_INVALID_ZDZ): Likewise.
4696 (FP_EX_INVALID_IDI): Likewise.
4697 (FP_EX_INVALID_SQRT): Likewise.
4698 (FP_EX_INVALID_CVI): Likewise.
4699 (FP_EX_INVALID_VC): Likewise.
4700 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4701 "invalid" exceptions.
4702 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4703 (_FP_ADD_INTERNAL): Likewise.
4704 (_FP_MUL): Likewise.
4705 (_FP_FMA): Likewise.
4706 (_FP_DIV): Likewise.
4707 (_FP_CMP_CHECK_NAN): Likewise.
4708 (_FP_SQRT): Likewise.
4709 (_FP_TO_INT): Likewise.
4710 (FP_EXTEND): Likewise.
4712 2014-10-09 Allan McRae <allan@archlinux.org>
4714 * po/fr.po: Update French translation from translation project.
4716 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4719 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4721 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4722 (__cxa_atexit): Use libc_hidden_proto.
4723 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4726 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4728 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4729 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4730 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4731 [!_ISOMAC] (__iswctype_internal): Likewise.
4732 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4733 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4735 (fcntl): Remove __fcntl_internal alias.
4736 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4737 __connect_internal alias.
4738 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4741 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4742 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4744 (_FP_CHECK_FLUSH_ZERO): New macro.
4745 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4746 (_FP_CMP): Likewise.
4747 (_FP_CMP_EQ): Likewise.
4748 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4750 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4751 (FP_TRUNC): Likewise.
4753 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4754 treated as invalid conversion, not as normal exponent.
4756 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4757 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4758 (_FP_CMP_EQ): Likewise.
4759 (_FP_CMP_UNORD): Likewise.
4760 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4761 (FP_CMP_EQ_D): Likewise.
4762 (FP_CMP_UNORD_D): Likewise.
4763 * soft-fp/extended.h (FP_CMP_E): Likewise.
4764 (FP_CMP_EQ_E): Likewise.
4765 (FP_CMP_UNORD_E): Likewise.
4766 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4767 (FP_CMP_EQ_Q): Likewise.
4768 (FP_CMP_UNORD_Q): Likewise.
4769 * soft-fp/single.h (FP_CMP_S): Likewise.
4770 (FP_CMP_EQ_S): Likewise.
4771 (FP_CMP_UNORD_S): Likewise.
4772 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4773 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4774 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4775 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4776 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4777 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4778 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4779 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4780 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4781 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4782 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4783 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4784 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4786 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4788 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4789 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4791 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4793 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4794 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4795 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4796 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4798 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4800 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4801 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4803 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4805 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4806 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4807 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4808 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4811 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4812 a subnormal result, set the underflow exception if trapping on
4813 underflow is enabled.
4814 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4815 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4816 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4818 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4819 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4820 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4821 * soft-fp/extendxftf2.c (__extendxftf2): Use
4822 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4824 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4825 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4826 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4827 FP_HANDLE_EXCEPTIONS.
4828 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4829 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4830 FP_HANDLE_EXCEPTIONS.
4831 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4832 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4833 FP_HANDLE_EXCEPTIONS.
4834 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4835 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4836 FP_HANDLE_EXCEPTIONS.
4838 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4841 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4842 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4844 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4845 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4847 (__adjtimex): Define using libc_hidden_ver.
4848 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4850 (ntp_gettime): Call __adjtimex directly.
4851 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4853 (ntp_gettimex): Call __adjtimex directly.
4854 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4855 __adjtimex_internal alias.
4857 2014-10-08 Roland McGrath <roland@hack.frob.com>
4860 * nscd/nscd.c (more_help): Rewrite list of tables collection
4861 using xstrdup and asprintf.
4863 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4865 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4866 Roland McGrath <roland@hack.frob.com>
4868 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4869 (do_lookup_unique): ... local function 'enter' here; update callers.
4871 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4873 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4874 compat_symbol calls on [SHARED].
4875 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4876 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4878 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4879 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4880 (oldsetrlimit): Remove.
4881 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4883 (lchown): New syscall entry.
4884 (oldsetrlimit): Remove.
4885 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4886 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4887 (oldsetrlimit): Remove.
4888 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4891 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4892 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4893 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4894 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4895 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4896 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4898 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4903 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4905 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4906 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4907 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4908 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4909 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4911 (__old_sem_post): Likewise.
4913 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4915 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4916 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4917 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4918 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4919 Use INLINE_VSYSCALL macro.
4920 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4921 __vdso_clock_gettime.
4922 * sysdeps/unix/sysv/linux/tile/init-first.c
4923 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4924 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4925 __vdso_clock_gettime.
4927 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4928 to set up frame more cleanly.
4930 * sysdeps/tile/memcmp.c: New file.
4932 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4934 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4935 * sysdeps/tile/tilegx/strcasestr.c: New file.
4936 * sysdeps/tile/tilegx/strnlen.c: New file.
4937 * sysdeps/tile/tilegx/strstr.c: New file.
4939 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4941 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4943 * nptl/tst-setuid3.c: Write errors to stdout.
4945 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4948 (preload): New functions broken out of _dl_map_object_deps.
4949 (_dl_map_object_deps): Remove a nested function. Update call sites.
4951 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4954 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4955 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4957 2014-10-01 Steve Ellcey <sellcey@mips.com>
4959 * sysdeps/mips/strcmp.S: New.
4961 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4964 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4966 (mkdirat): Likewise.
4967 (readlinkat): Likewise.
4968 (renameat): Likewise.
4969 (symlinkat): Likewise.
4970 (unlinkat): Likewise.
4971 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4972 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4973 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4974 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4975 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4976 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4977 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4979 2014-09-30 Will Newton <will.newton@linaro.org>
4981 * math/math.h: Define long double math functions if
4982 _LIBC_TEST is defined.
4983 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4985 * localedata/Makefile: Move assignment to tests-special
4986 into an ifdef testing run-built-tests.
4987 * timezone/Makefile: Likewise.
4989 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4991 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4992 with $(BASH) not $(SHELL).
4994 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4995 Matthew LeGendre <legendre1@llnl.gov>
4998 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5001 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5003 * stdio-common/printf_fp.c
5004 (hack_digit): New function, broken out of ...
5005 (__printf_fp): ... local function here. Update call sites.
5006 hack_digit now takes an additional parameter that is a pointer
5007 to a struct of the referenced locals. Those locals moved inside
5008 the struct and references updated.
5010 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5012 * aclocal.m4: Require autoconf 2.69.
5013 * configure: Regenerated.
5014 * sysdeps/aarch64/configure: Likewise.
5015 * sysdeps/alpha/configure: Likewise.
5016 * sysdeps/arm/armv7/configure: Likewise.
5017 * sysdeps/arm/configure: Likewise.
5018 * sysdeps/ia64/configure: Likewise.
5019 * sysdeps/mach/configure: Likewise.
5020 * sysdeps/mips/configure: Likewise.
5021 * sysdeps/s390/configure: Likewise.
5022 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5025 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5027 * sysdeps/ia64/configure.ac: Likewise.
5029 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5032 specify symbol version for ld.so. Do not include entry for
5034 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5035 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5036 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5039 * Makeconfig [$(build-shared) = yes]
5040 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5042 [$(build-shared) = yes && $(soversions.mk-done) = t]
5043 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5044 [$(build-shared) = yes && $(soversions.mk-done) = t]
5045 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5047 [$(build-shared) = yes && $(soversions.mk-done) = t]
5048 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5050 [$(build-shared) = yes && $(soversions.mk-done) = t]
5051 (common-generated): Don't append gnu/lib-names.h and
5052 gnu/lib-names.stmp here.
5053 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5054 (lib-names-h-abi): New variable.
5055 [$(build-shared) = yes && $(soversions.mk-done) = t]
5056 (lib-names-stmp-abi): Likewise.
5057 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5058 abi-variants] (before-compile): Append
5059 $(common-objpfx)$(lib-names-h-abi).
5060 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5061 abi-variants] (common-generated): Append gnu/lib-names.h.
5062 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5063 abi-variants] (install-others-nosubdir): Depend on
5064 $(inst_includedir)/$(lib-names-h-abi).
5065 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5066 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5067 [$(build-shared) = yes && $(soversions.mk-done) = t]
5068 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5069 [$(build-shared) = yes && $(soversions.mk-done) = t]
5070 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5071 [$(build-shared) = yes && $(soversions.mk-done) = t]
5072 (common-generated): Append $(lib-names-h-abi) and
5073 $(lib-names-stmp-abi).
5074 * scripts/lib-names.awk: Do not handle multi being set.
5075 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5077 (abi-lp64_be-ld-soname): Likewise.
5078 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5080 (abi-hard-ld-soname): Likewise.
5081 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5082 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5084 (abi-o32_hard-ld-soname): Likewise.
5085 (abi-o32_soft_2008-ld-soname): Likewise.
5086 (abi-o32_hard_2008-ld-soname): Likewise.
5087 (abi-n32_soft-ld-soname): Likewise.
5088 (abi-n32_hard-ld-soname): Likewise.
5089 (abi-n32_soft_2008-ld-soname): Likewise.
5090 (abi-n32_hard_2008-ld-soname): Likewise.
5091 (abi-n64_soft-ld-soname): Likewise.
5092 (abi-n64_hard-ld-soname): Likewise.
5093 (abi-n64_soft_2008-ld-soname): Likewise.
5094 (abi-n64_hard_2008-ld-soname): Likewise.
5095 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5097 (abi-64-v2-ld-soname): Likewise.
5098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5100 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5102 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5104 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5106 (abi-64-ld-soname): Likewise.
5107 (abi-x32-ld-soname): Likewise.
5108 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5110 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5112 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5115 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5116 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5117 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5118 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5119 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5120 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5121 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5122 syscall entry for GLIBC_2.2 symbol version.
5123 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5126 (setrlimit): Likewise.
5127 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5130 2014-09-23 Will Newton <will.newton@linaro.org>
5132 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5133 _LINUX_ARM_SYSDEP_H include guard too.
5134 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5137 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5139 * sysdeps/unix/sysv/linux/eventfd.c:
5140 Make first argument unsigned.
5141 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5142 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5144 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5146 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5147 * socket/sys/socket.h: Likewise
5148 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5150 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5152 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5154 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5156 * time/tst-ftime.c: New test.
5157 * time/Makefile (tests): Add tst-ftime.
5159 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5161 * soft-fp/extended.h: Fix comment formatting.
5162 * soft-fp/op-1.h: Likewise.
5163 * soft-fp/op-2.h: Likewise.
5164 * soft-fp/op-4.h: Likewise.
5165 * soft-fp/op-8.h: Likewise.
5166 * soft-fp/op-common.h: Likewise.
5167 * soft-fp/soft-fp.h: Likewise.
5169 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5171 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5174 * Makeconfig (soversions-default-setname): Remove variable.
5175 ($(common-objpfx)soversions.i): Don't pass default_setname to
5177 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5178 oldest_abi to abi-versions.awk.
5179 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5180 * config.make.in (oldest-abi): Remove variable.
5181 * configure.ac (--enable-oldest-abi): Remove configure option.
5182 * configure: Regenerated.
5183 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5185 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5186 * scripts/soversions.awk: Do not handle default_setname variable.
5187 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5189 * sysdeps/mach/hurd/configure: Regenerated.
5190 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5192 * sysdeps/unix/sysv/linux/configure: Regenerated.
5194 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5196 * elf/Makefile (CFLAGS-interp.c): Remove.
5197 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5199 * elf/interp.c: Include generated runtime-linker.h
5201 * Makerules (lib%.so): Don't include $(+interp) in
5203 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5204 * dlfcn/eval.c: Remove file.
5206 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5210 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5214 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5216 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5217 Jakub Jelinek <jakub@redhat.com>
5220 * libio/stdio.h: Check definition of __fortify_function
5221 instead of __extern_always_inline to include bits/stdio2.h.
5222 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5223 check if __extern_always_inline is defined.
5224 [__USE_MISC || __USE_XOPEN]: Likewise.
5225 [__USE_ISOC99] Likewise.
5226 * misc/sys/cdefs.h (__fortify_function): Define only if
5227 __extern_always_inline is defined.
5228 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5229 __extern_always_inline and __extern_inline only for g++-4.3
5230 and newer or a compatible gcc.
5232 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5235 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5236 last change to handle zero prefix length.
5238 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5240 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5243 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5246 2014-09-13 Allan McRae <allan@archlinux.org>
5248 * po/ru.po: Update Russian translation from translation project.
5250 2014-09-12 Roland McGrath <roland@hack.frob.com>
5252 * locale/programs/locale.c (show_locale_vars): Inline local function
5253 into its sole call site. Clean up some style nits.
5254 (print_item): New function, broken out of ...
5255 (show_info): ... local function here. Clean up style nits.
5257 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5259 (set_class_defaults): ... local function set_default here.
5260 Define set_default as a macro locally to pass constant parameters.
5261 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5262 rather than a shared local.
5264 * stdlib/rpmatch.c (try): New function, broken out of ...
5265 (rpmatch): ... local function here. Also, prototypify definition.
5267 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5269 * scripts/soversions.awk: Do not handle configuration names.
5270 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5271 vendor and os variables to soversions.awk.
5272 * configure.ac: Do not modify gnu-* host_os.
5273 * configure: Regenerated
5274 * shlib-versions: Remove first column with configuration names.
5275 * nptl/shlib-versions: Likewise.
5276 * nptl_db/shlib-versions: Likewise.
5277 * sysdeps/hppa/shlib-versions: Likewise.
5278 * sysdeps/m68k/shlib-versions: Likewise.
5279 * sysdeps/mach/hurd/shlib-versions: Likewise.
5280 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5281 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5282 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5283 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5284 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5285 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5286 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5287 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5290 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5291 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5292 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5295 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5296 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5297 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5300 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5303 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5305 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5307 * shlib-versions: Remove OS-specific entries. Moved to files in
5309 * sysdeps/mach/hurd/shlib-versions: New file.
5310 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5312 * nptl/shlib-versions: Remove architecture-specific entries.
5313 Moved to files in sysdeps.
5314 * shlib-versions: Likewise.
5315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5317 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5318 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5319 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5320 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5322 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5323 (UDP_NO_CHECK6_RX): Likewise.
5325 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5327 * sysdeps/posix/sysconf.c (__sysconf): Spell
5328 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5330 2014-08-12 Florian Weimer <fweimer@redhat.com>
5332 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5334 * iconv/Versions (__gconv_transliterate): Export for use from
5336 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5337 (struct __gconv_trans_data, __gconv_trans_fct,
5338 __gconv_trans_context_fct, __gconv_trans_query_fct,
5339 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5341 (struct __gconv_step_data): Remove __trans member.
5342 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5343 longer hidden. Remove unused trans_data argument.
5344 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5345 (__gconv_translit_find): Remove declaration.
5346 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5348 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5349 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5350 trans_data argument. Add hidden definition.
5351 (__gconv_translit_find): Remove.
5352 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5353 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5354 * iconv/skeleton.c: Remove transliteration initialization.
5355 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5356 __gconv_step_data initialization.
5357 * libio/iofwide.c (__libio_translit_): Remove.
5358 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5359 * wcsmbs/btowc.c (__btowc): Likewise.
5360 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5361 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5362 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5363 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5364 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5365 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5366 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5367 * wcsmbs/wctob.c (wctob): Likewise.
5369 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5372 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5373 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5375 * sysdeps/x86/Makefile: Adjust.
5377 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5378 Roland McGrath <roland@hack.frob.com>
5380 * locale/weight.h: Add include guard.
5381 (findidx): Make static rather than auto; take new parameters
5382 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5383 * locale/weightwc.h: Likewise.
5384 * posix/fnmatch_loop.c
5385 (FCT): Change type of EXTRA from int32_t to wint_t.
5386 Don't include either header inside the function.
5387 Call FINDIDX rather than findidx, and pass new arguments.
5388 #undef FINDIDX at the end of the file.
5389 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5390 FINDIDX before including fnmatch_loop.c for the non-wide version.
5391 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5392 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5393 for the wide version.
5394 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5395 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5396 Pass new arguments to findidx.
5397 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5398 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5399 Don't #include it inside the function. Pass new arguments to findidx.
5400 * posix/regex_internal.h
5401 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5402 (re_string_elem_size_at): Don't #include it inside the function.
5403 Pass new arguments to findidx.
5404 * string/strcoll_l.c: #include WEIGHT_H at top level.
5405 (get_next_seq): Don't #include it inside the function.
5406 Pass new arguments to findidx.
5407 (get_next_seq_nocache): Likewise.
5408 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5409 (STRXFRM): Don't #include it inside the function.
5410 Pass new arguments to findidx.
5412 2014-09-11 Florian Weimer <fweimer@redhat.com>
5415 * malloc/malloc.c (unlink): Turn asserts into a call to
5418 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5421 * libio/wfileops (do_ftell_wide): Free OUT.
5423 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5425 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5427 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5430 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5431 group if the current group is empty.
5433 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5435 * benchtests/bench-memset.c (test_main): Add more test from size
5436 from 32 to 512 bytes.
5437 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5438 Add POWER8 memset object.
5439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5440 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5441 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5443 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5445 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5446 multiarch POWER8 memset optimization.
5447 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5448 POWER8 memset optimization.
5450 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5451 Remove bzero multiarch objects.
5452 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5453 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5454 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5455 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5457 [__bzero]: Redefine to specific name.
5458 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5459 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5460 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5462 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5463 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5465 2014-09-10 Florian Weimer <fweimer@redhat.com>
5467 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5468 warnings into errors.
5470 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5471 __cxa_thread_atexit_impl prototype.
5473 2014-09-09 Steve Ellcey <sellcey@mips.com>
5475 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5476 Fix capitalization of error message.
5478 2014-09-09 Steve Ellcey <sellcey@mips.com>
5480 * sysdeps/mips/preconfigure: Modify ABI tests.
5482 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5484 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5486 2014-09-07 Roland McGrath <roland@hack.frob.com>
5487 Carlos O'Donell <carlos@systemhalted.org>
5489 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5490 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5491 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5492 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5493 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5494 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5495 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5496 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5497 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5498 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5499 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5500 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5501 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5502 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5503 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5504 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5505 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5506 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5507 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5508 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5509 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5510 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5511 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5512 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5513 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5514 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5515 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5516 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5517 Deconditionalize the code that was previously under [RESET_PID].
5518 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5519 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5520 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5521 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5524 2014-09-08 Allan McRae <allan@archlinux.org>
5526 * version.h (RELEASE): Set to "development".
5527 (VERSION): Set to "2.20.90"
5529 2014-09-07 Allan McRae <allan@archlinux.org
5531 * version.h (RELEASE): Set to "stable".
5532 (VERSION): Set to "2.20"
5533 * include/features.h (__GLIBC_MINOR__): Set to 20.
5535 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5538 * po/ko.po: Update Korean translation from translation project.
5540 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5543 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5544 macro for handling signed relocations.
5546 2014-09-03 Florian Weimer <fweimer@redhat.com>
5549 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5550 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5552 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5553 * iconvdata/ibm935.c (BODY): Likewise.
5554 * iconvdata/ibm937.c (BODY): Likewise.
5555 * iconvdata/ibm939.c (BODY): Likewise.
5556 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5558 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5560 * iconvdata/run-iconv-test.sh: New test loop for checking for
5563 2014-09-02 Khem Raj <raj.khem@gmail.com>
5565 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5568 2014-09-01 Allan McRae <allan@archlinux.org>
5570 * po/eo.po: Update Esperanto translation from translation project.
5572 * po/ca.po: Update Catalan translation from translation project.
5574 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5576 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5579 2014-08-27 Mark Wielaard <mjw@redhat.com>
5582 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5583 to call set_thread_area instead of hand written asm.
5584 (__NR_set_thread_area): Removed define.
5585 (TLS_FLAG_WRITABLE): Likewise.
5586 (__ASSUME_SET_THREAD_AREA): Remove check.
5587 (TLS_EBX_ARG): Remove define.
5588 (TLS_LOAD_EBX): Likewise.
5590 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5592 Simplify atomicity of socket creation in bind.
5594 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5595 looking up the name after linking the file.
5597 2014-08-27 Allan McRae <allan@archlinux.org>
5599 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5601 2014-08-26 Florian Weimer <fweimer@redhat.com>
5604 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5605 trans_compare, open_translit, __gconv_translit_find):
5606 Remove module loading code.
5608 2014-08-26 Allan McRae <allan@archlinux.org>
5610 * po/vi.po: Update Vietnamese translation from translation project.
5612 * po/uk.po: Update Ukrainian translation from translation project.
5614 * po/fr.po: Update French translation from translation project.
5616 * po/ru.po: Update Russian translation from translation project.
5618 * po/pl.po: Update Polish translation from translation project.
5620 * po/cs.po: Update Czech translation from translation project.
5622 * po/de.po: Update German translation from translation project.
5624 * po/bg.po: Update Bulgarian translation from translation project.
5626 * po/sv.po: Update Sweedish translation from translation project.
5628 * po/nl.po: Update Dutch translation from translation project.
5630 * po/es.po: Update Spanish translation from translation project.
5632 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5634 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5636 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5637 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5638 (CPPFLAGS-iconvconfig): Likewise.
5639 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5641 * include/libc-symbols.h: Remove unnecessary check for
5643 * nptl/pthreadP.h: Likewise.
5644 * sysdeps/aarch64/setjmp.S: Likewise.
5645 * sysdeps/alpha/setjmp.S: Likewise.
5646 * sysdeps/arm/sysdep.h: Likewise.
5647 * sysdeps/i386/setjmp.S: Likewise.
5648 * sysdeps/m68k/setjmp.c: Likewise.
5649 * sysdeps/posix/getcwd.c: Likewise.
5650 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5651 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5652 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5653 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5654 * sysdeps/sh/sh3/setjmp.S: Likewise.
5655 * sysdeps/sh/sh4/setjmp.S: Likewise.
5656 * sysdeps/unix/alpha/sysdep.h: Likewise.
5657 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5658 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5659 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5660 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5663 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5664 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5665 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5666 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5667 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5668 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5669 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5670 * sysdeps/x86_64/setjmp.S: Likewise.
5672 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5675 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5677 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5678 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5680 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5682 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5685 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5686 and __x86_64__ when disabling x87 inline functions.
5688 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5691 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5692 asm statement with __cpuid_count.
5694 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5696 * configure.ac: Change __ehdr_start code to dereference the struct.
5697 Run readelf on the output to look for relocations.
5698 * configure: Regenerated.
5700 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5703 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5705 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5707 2014-08-12 Roland McGrath <roland@hack.frob.com>
5709 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5711 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5714 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5715 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5717 2014-08-12 Sean Anderson <seanga2@gmail.com>
5719 * malloc/malloc.c: Fix typo in comment.
5721 2014-08-09 Allan McRae <allan@archlinux.org>
5723 * Regenerate libc.po.
5725 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5727 * intl/tst-gettext2.sh: Check every lang file for creation.
5729 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5731 * sysdeps/aarch64/fpu/math_private.h
5732 (libc_feholdsetround_noex_aarch64_ctx): New function.
5734 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5736 * sysdeps/arm/armv6/strcpy.S (strcpy):
5737 Fix performance issue in misaligned cases.
5739 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5741 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5742 Move definition from termios.h.
5743 (struct termio): Likewise.
5744 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5745 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5746 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5747 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5749 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5750 Move definition to ioctl-types.h
5751 (struct termio): Likewise.
5752 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5753 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5754 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5755 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5758 2014-08-05 Richard Henderson <rth@redhat.com>
5760 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5762 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5764 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5765 Use __feraiseexcept.
5766 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5767 Protect libm symbols with IS_IN_libm.
5769 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5771 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5773 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5775 2014-08-04 Will Newton <will.newton@linaro.org>
5777 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5780 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5782 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5783 variants for each function.
5785 2014-08-04 Roland McGrath <roland@hack.frob.com>
5787 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5789 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5790 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5792 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5793 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5794 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5795 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5796 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5797 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5798 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5799 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5800 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5801 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5802 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5803 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5804 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5805 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5806 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5807 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5808 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5809 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5810 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5811 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5812 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5813 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5814 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5815 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5816 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5817 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5818 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5819 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5820 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5821 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5822 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5823 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5824 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5825 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5826 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5827 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5828 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5829 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5830 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5831 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5832 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5833 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5834 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5835 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5836 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5837 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5838 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5839 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5840 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5841 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5842 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5843 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5844 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5846 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5847 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5849 2014-08-04 Roland McGrath <roland@hack.frob.com>
5851 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5852 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5853 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5854 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5855 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5856 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5858 2014-08-04 Roland McGrath <roland@hack.frob.com>
5860 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5861 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5862 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5863 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5865 2014-08-04 Roland McGrath <roland@hack.frob.com>
5867 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5868 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5869 (__libc_vfork): Define function under this name.
5870 (__vfork): Define as an alias.
5871 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5872 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5874 2014-08-04 Roland McGrath <roland@hack.frob.com>
5876 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5877 that was previously under [RESET_PID].
5878 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5880 2014-08-04 Andreas Schwab <schwab@suse.de>
5882 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5884 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5886 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5889 2014-08-01 Roland McGrath <roland@hack.frob.com>
5891 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5893 2014-08-01 Richard Henderon <rth@redhat.com>
5895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5896 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5897 typo in exact zero test.
5898 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5899 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5900 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5902 2014-08-01 Roland McGrath <roland@hack.frob.com>
5904 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5905 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5906 * sysdeps/arm/sysdep.h: ... here.
5907 [!__ASSEMBLER__]: Include <stdint.h>.
5909 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5911 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5912 (HAVE_WCTYPE_H): Likewise.
5913 (HAVE_ISWCTYPE): Likewise.
5914 (ENABLE_NLS): Likewise.
5915 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5916 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5918 * posix/regex_internal.c: Check if DEBUG is defined and is
5921 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5922 (HAVE_MBSRTOWCS): Likewise.
5923 * posix/fnmatch.c: Include string.h unconditionally.
5925 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5927 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5930 2014-07-31 Roland McGrath <roland@hack.frob.com>
5932 * sysdeps/generic/safe-fatal.h: New file.
5933 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5934 * nptl/forward.c: Include it.
5935 (__pthread_unwind): Use __safe_fatal as default action, rather
5936 than a bogus use of INTERNAL_SYSCALL that could never work.
5938 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5939 * configure.ac (libc_cv_builtin_trap): New test.
5940 * configure: Regenerated.
5941 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5942 (ABORT_INSTRUCTION): Define using __builtin_trap.
5944 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5945 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5946 * sysdeps/nptl/nptl-signals.h: New file.
5947 * nptl/pthreadP.h: Include <nptl-signals.h>.
5949 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5951 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5952 (ONE_DIRECTION): Define.
5953 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5954 (ONE_DIRECTION): Define.
5955 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5956 (ONE_DIRECTION): Define.
5958 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5960 * sysdeps/s390/Makefile: Delete file.
5961 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5962 * sysdeps/s390/__longjmp.c: Delete file.
5963 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5964 Remove fields __flags and __reserved.
5965 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5967 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5968 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5969 * sysdeps/s390/rtld-setjmp.S: Likewise.
5970 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5971 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5972 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5973 * sysdeps/s390/s390-32/setjmp.S: ... here.
5975 (__sigsetjmp): Remove setting __flags field.
5976 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5977 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5978 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5979 * sysdeps/s390/s390-64/setjmp.S: ... here.
5981 (__sigsetjmp): Remove setting __flags field.
5982 * sysdeps/s390/setjmp.S: Delete file.
5983 * sysdeps/s390/sigjmp.c: Likewise.
5984 * sysdeps/s390/v1-longjmp.c: Likewise.
5985 * sysdeps/s390/v1-setjmp.h: Likewise.
5986 * sysdeps/s390/v1-sigjmp.c: Likewise.
5987 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5988 Remove v1-longjmp_chk.
5989 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5990 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5991 Include debug/longjmp_chk.c and add versioning.
5992 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5993 Include nptl/pt-longjmp.c and add versioning.
5994 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5995 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5996 Include __longjmp.c.
5997 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5999 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6000 (__getcontext): Remove setting __flags field.
6002 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6003 Don't restore upper high grps.
6004 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6006 (__swapcontext): Remove setting uc_flags field.
6007 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6009 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6010 Include __longjmp.c.
6011 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6013 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6014 (__getcontext): Remove setting __flags field.
6016 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6017 (__swapcontext): Remove setting uc_flags field.
6018 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6019 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6020 Remove fields uc_high_gprs and __reserved.
6021 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6022 New file with reverted content.
6023 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6024 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6026 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6029 2014-07-31 Andreas Schwab <schwab@suse.de>
6031 * config.h.in (HAVE_IFUNC): Define to 0.
6032 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6035 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6038 memmove-avx-unaligned, memcpy-avx-unaligned and
6039 mempcpy-avx-unaligned.
6040 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6041 Add tests for AVX memcpy functions.
6042 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6043 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6045 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6046 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6048 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6049 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6051 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6052 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6053 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6055 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6058 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6061 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6064 * manual/llio.texi: Add section about open file description locks.
6065 * manual/examples/ofdlocks.c: Example of open file description
6067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6068 F_OFD_SETLK, and F_OFD_SETLKW.
6070 2014-07-23 Allan McRae <allan@archlinux.org>
6072 * po/es.po: Update Spanish translation from translation project.
6074 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6076 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6078 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6081 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6082 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6083 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6085 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6088 * math/fesetenv.c (__fesetenv)
6089 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6090 * math/feupdateenv.c (__feupdateenv)
6091 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6093 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6094 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6095 (__ASSUME_SOCKETCALL): Do not define.
6097 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6098 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6099 (__ASSUME_SOCKETCALL): Do not define.
6100 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6101 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6102 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6103 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6104 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6105 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6106 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6107 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6109 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6110 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6111 (__ASSUME_SOCKETCALL): Do not define.
6112 (__ASSUME_IPC64): Define unconditionally.
6113 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6114 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6115 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6116 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6117 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6118 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6119 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6122 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6123 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6124 (__ASSUME_SOCKETCALL): Do not define.
6125 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6126 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6127 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6128 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6129 (__ASSUME_REQUEUE_PI): Define unconditionally.
6130 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6131 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6132 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6133 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6134 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6135 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6137 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6138 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6139 (__ASSUME_SOCKETCALL): Do not define.
6140 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6141 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6142 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6143 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6144 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6145 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6147 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6148 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6149 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6150 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6151 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6152 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6153 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6154 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6155 (__ASSUME_GETCPU_SYSCALL): Likewise.
6157 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6158 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6159 cases for individual architectures.
6160 * sysdeps/gnu/configure: Regenerated.
6161 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6162 LIBC_SLIBDIR_RTLDDIR.
6163 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6164 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6165 LIBC_SLIBDIR_RTLDDIR.
6166 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6168 LIBC_SLIBDIR_RTLDDIR.
6169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6171 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6172 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6174 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6175 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6177 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6178 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6179 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6180 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6182 * sysdeps/aarch64/shlib-versions: Move to ...
6183 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6184 * sysdeps/alpha/shlib-versions: Move to ...
6185 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6186 * sysdeps/arm/shlib-versions: Move to ...
6187 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6188 * sysdeps/hppa/shlib-versions: Move all contents except for
6189 libgcc_s entry to ...
6190 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6192 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6193 * sysdeps/ia64/shlib-versions: Move to ...
6194 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6196 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6197 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6198 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6199 * sysdeps/microblaze/shlib-versions: Move to ...
6200 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6201 * sysdeps/mips/shlib-versions: Move to ...
6202 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6204 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6205 * sysdeps/tile/shlib-versions: Move to ...
6206 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6207 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6209 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6210 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6212 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6214 2014-07-17 Will Newton <will.newton@linaro.org>
6216 * sysdeps/arm/bits/atomic.h
6217 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6218 (__arch_compare_and_exchange_bool_16_int): Likewise.
6219 (__arch_compare_and_exchange_bool_64_int): Likewise.
6221 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6222 into an #else block.
6224 2014-07-16 Roland McGrath <roland@hack.frob.com>
6226 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6227 just Linux configurations. Test empirically that the compiler sets
6228 __ARM_EABI__, rather than using the tuple to decide.
6229 * sysdeps/arm/preconfigure: Regenerated.
6230 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6231 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6232 contents appended ...
6233 * sysdeps/arm/configure.ac: ... here.
6234 * sysdeps/arm/configure: Regenerated.
6236 2014-07-15 Roland McGrath <roland@hack.frob.com>
6238 * nptl/pthread_kill.c: New file.
6239 * nptl/pthread_sigmask.c: New file.
6240 * nptl/pthread_sigqueue.c: New file.
6242 * sysdeps/nptl/lowlevellock.h: New file.
6243 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6244 * sysdeps/nptl/lowlevellock-futex.h: New file.
6246 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6247 Remove dead declarations.
6249 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6251 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6252 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6254 * sysdeps/x86_64/configure.ac: Likewise.
6255 * sysdeps/i386/configure: Regenerated.
6256 * sysdeps/x86_64/configure: Likewise.
6257 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6258 memset-avx2 only if config-cflags-avx2 is yes.
6259 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6260 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6262 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6263 only if HAVE_AVX2_SUPPORT is defined.
6264 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6266 2014-07-14 Alan Modra <amodra@gmail.com>
6269 * elf/elf.h (DT_PPC64_NUM): Correct value.
6270 * NEWS: Add to fixed bug list.
6272 2014-07-13 Jim Meyering <meyering@fb.com>
6275 regex: don't deref NULL upon heap allocation failure
6276 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6277 failure in one more place.
6278 To trigger the segfault, configure grep -with-included-regex,
6279 build it, and run these commands:
6280 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6282 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6284 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6286 2014-07-11 Richard Henderson <rth@redhat.com>
6288 * sysdeps/aarch64/libm-test-ulps: Update.
6290 2014-07-10 Florian Weimer <fweimer@redhat.com>
6293 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6294 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6295 (__nptl_setxid): Initialize error member. Call
6296 __nptl_setxid_error.
6297 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6298 * nptl/descr.h (struct xid_command): Add error member.
6299 * nptl/tst-setuid3.c: New file.
6300 * nptl/Makefile (tests): Add it.
6302 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6304 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6306 (__lll_trylock): Use __lll_base_trylock.
6307 (__lll_cond_trylock): Likewise.
6309 2014-07-10 Roland McGrath <roland@hack.frob.com>
6311 * nptl/pthread_create.c (start_thread): Use atomic_or and
6312 lll_futex_wake directly rather than lll_robust_dead.
6313 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6314 (lll_robust_dead): Macro removed.
6315 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6316 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6317 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6318 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6319 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6320 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6321 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6322 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6323 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6324 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6325 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6326 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6327 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6328 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6329 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6331 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6332 Use atomic_compare_and_exchange_val_acq directly rather than
6334 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6335 (__lll_robust_trylock, lll_robust_trylock): Removed.
6336 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6337 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6338 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6339 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6340 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6341 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6342 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6343 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6344 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6345 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6346 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6347 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6348 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6349 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6351 2014-07-02 Florian Weimer <fweimer@redhat.com>
6353 * manual/locale.texi (Locale Names): New section documenting
6354 locale name syntax. Adjust menu and node chaining accordingly.
6355 (Choosing Locale): Reference Locale Names, Locale Categories.
6356 Mention setting LC_ALL=C. Reflect that name syntax is now
6358 (Locale Categories): New section title. Reference Locale Names.
6359 LC_ALL is an environment variable, but not a category.
6360 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6361 description, now in Locale Name. Reference that section. Locale
6362 name syntax is now documented.
6364 2014-07-02 Florian Weimer <fweimer@redhat.com>
6367 * locale/findlocale.c (name_present, valid_locale_name): New
6369 (_nl_find_locale): Use the loc_name variable to store name
6370 candidates. Call name_present and valid_locale_name to check and
6371 validate locale names. Return an error if the locale is invalid.
6373 2014-07-02 Florian Weimer <fweimer@redhat.com>
6375 * locale/setlocale.c (setlocale): Use strdup for allocating
6376 composite name copy.
6378 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6380 Sync up with gnulib.
6381 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6382 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6383 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6384 and _GL_ARG_NONNULL.
6385 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6386 [!_LIBC]: Include code for Windows and Cygwin.
6387 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6388 Include prototype for int strerror_r.
6389 [!_LIBC] (is_open): New function.
6390 (flush_stdout): New function.
6391 (print_errno_message): Use it.
6393 (error_at_line): Likewise.
6394 (error_tail) Add function attribute macros. Use
6397 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6399 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6401 * io/ftw.c: Include sys/param.h unconditionally.
6403 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6406 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6408 (freecache): New function to free CACHE on exit.
6410 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6413 2014-07-09 David S. Miller <davem@davemloft.net>
6415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6417 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6418 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6419 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6420 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6421 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6422 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6423 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6424 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6425 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6426 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6427 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6428 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6429 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6431 2014-07-09 Andreas Schwab <schwab@suse.de>
6433 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6435 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6436 (do_test): Likewise.
6438 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6440 2014-07-09 Will Newton <will.newton@linaro.org>
6442 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6443 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6444 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6445 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6446 * sysdeps/hppa/start.S (_start): Likewise.
6448 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6450 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6452 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6455 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6457 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6458 after checking that it is non-NULL.
6460 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6462 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6464 * sysdeps/powerpc/memmove.c: Remove file.
6465 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6466 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6467 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6468 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6469 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6470 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6471 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6472 string memmove instead of removed powerpc one.
6474 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6475 [weak_alias]: Fix compiler warning due trailing data.
6476 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6477 [weak_alias]: Likewise.
6478 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6479 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6482 (__libc_ifunc_impl_list): Add memmove functions.
6484 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6486 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6488 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6490 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6492 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6494 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6496 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6498 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6500 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6502 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6504 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6506 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6508 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6510 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6512 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6514 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6516 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6518 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6521 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6523 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6524 to avoid alignment traps in non-cacheable memory.
6525 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6529 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6530 file: multiarch power7 memmove.
6531 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6532 multiarch default memmove.
6533 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6534 multiarch memove for powerpc32/power4.
6536 * string/bcopy.c: Use full path to include memmove.c.
6537 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6539 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6540 bcopy for powerpc64.
6541 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6542 bcopy for powerpc64.
6543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6544 and memmove implementations.
6545 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6546 optimized multiarch memmove for POWER7/powerpc64.
6547 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6548 default multiarch memmove for powerpc64.
6549 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6550 multiarch for powerpc64.
6551 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6552 for POWER7/powerpc64.
6553 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6554 memmove for POWER7/powerpc64.
6556 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6559 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6560 __ELF_NATIVE_CLASS equal to 64.
6562 2014-07-07 Roland McGrath <roland@hack.frob.com>
6564 * sysdeps/nptl/lowlevellock.h: File removed.
6566 * NEWS: NPTL is no longer an add-on!
6567 * nptl/internaltypes.h: Moved ...
6568 * sysdeps/nptl/internaltypes.h: ... here.
6569 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6570 * sysdeps/nptl/fork.c: Likewise.
6571 * sysdeps/nptl/gai_misc.h: Likewise.
6572 * sysdeps/nptl/librt-cancellation.c: Likewise.
6573 * sysdeps/nptl/jmp-unwind.c: Likewise.
6574 * sysdeps/nptl/setxid.h: Likewise.
6575 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6576 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6577 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6578 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6579 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6580 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6581 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6582 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6583 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6584 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6585 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6586 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6587 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6588 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6589 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6590 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6591 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6592 * nptl/Makeconfig: Moved ...
6593 * sysdeps/nptl/Makeconfig: ... here.
6594 * nptl/configure: File removed.
6595 * nptl/ANNOUNCE: File removed.
6596 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6597 * sysdeps/unix/sysv/linux/configure: Regenerated.
6599 * nptl/Makefile (routines): Add libc_pthread_init,
6600 libc_multiple_threads, register-atfork and unregister-atfork.
6601 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6602 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6603 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6604 pthread-pi-defines.sym, structsem.sym.
6605 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6606 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6607 [$(subdir) = nptl] (tests): Add tst-setgetname.
6608 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6609 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6610 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6611 [!LIBC_SIGACTION]: Remove aliases.
6612 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6613 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6614 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6615 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6616 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6617 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6618 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6619 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6620 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6621 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6622 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6623 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6624 __libc_allocate_rtsig_private.
6625 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6626 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6627 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6628 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6629 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6630 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6631 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6632 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6633 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6634 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6635 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6636 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6637 * nptl/internaltypes.h: ... here.
6638 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6639 * sysdeps/nptl/jmp-unwind.c: ... here.
6640 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6641 * nptl/libc-lowlevellock.c: ... here.
6642 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6643 * nptl/libc_multiple_threads.c: ... here.
6644 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6645 * nptl/libc_pthread_init.c: ... here.
6646 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6647 * nptl/lowlevelbarrier.sym: ... here.
6648 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6649 * nptl/lowlevelcond.sym: ... here.
6650 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6651 * nptl/lowlevellock.c: ... here.
6652 * nptl/lowlevellock.h: Moved ...
6653 * sysdeps/nptl/lowlevellock.h: ... here.
6654 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6655 * nptl/lowlevelrobustlock.c: ... here.
6656 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6657 * nptl/lowlevelrobustlock.sym: ... here.
6658 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6659 * nptl/lowlevelrwlock.sym: ... here.
6660 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6661 * nptl/pt-fork.c: ... here.
6662 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6663 * nptl/pthread-pi-defines.sym: ... here.
6664 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6665 * nptl/pthread_attr_getaffinity.c: ... here.
6666 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6667 * nptl/pthread_attr_setaffinity.c: ... here.
6668 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6669 * nptl/pthread_mutex_cond_lock.c: ... here.
6670 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6672 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6673 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6674 * nptl/pthread_once.c: ... here, replacing old file.
6675 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6676 * nptl/pthread_yield.c: ... here.
6677 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6678 * nptl/register-atfork.c: ... here.
6679 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6680 * nptl/sem_post.c: ... here.
6681 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6682 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6683 * nptl/sem_timedwait.c: ... here.
6684 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6685 * nptl/sem_trywait.c: ... here.
6686 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6687 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6688 * nptl/sem_wait.c: ... here.
6689 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6690 * nptl/structsem.sym: ... here.
6691 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6692 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6693 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6694 * nptl/unregister-atfork.c: ... here.
6695 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6696 * nptl/unwindbuf.sym: ... here.
6697 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6698 * sysdeps/nptl/fork.c: ... here.
6699 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6700 * sysdeps/nptl/fork.h: ... here.
6701 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6702 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6703 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6704 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6705 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6706 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6707 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6708 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6709 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6710 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6711 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6712 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6713 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6714 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6715 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6716 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6717 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6718 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6719 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6720 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6721 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6722 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6723 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6724 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6725 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6726 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6727 * sysdeps/unix/sysv/linux/raise.c: ... here.
6728 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6729 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6730 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6731 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6732 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6733 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6734 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6735 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6736 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6737 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6738 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6739 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6740 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6741 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6742 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6744 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6746 * sysdeps/generic/memcopy.h: Add comment for
6747 MEMCPY_OK_FOR_FWD_MEMMOVE.
6749 2014-07-04 Will Newton <will.newton@linaro.org>
6751 * string/memchr.c: Merge from gnulib.
6752 [_LIBC]: Remove conditionals.
6753 (__ptr_t): Remove define.
6754 (LONG_MAX_32_BITS): Likewise.
6755 (LONG_MAX): Likewise.
6756 (MEMCHR): Use ANSI prototype and optimize algorithm.
6758 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6760 2014-07-03 Roland McGrath <roland@hack.frob.com>
6762 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6763 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6765 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6766 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6767 in a bare environment with no <stdlib.h> installed.
6768 * sysdeps/nptl/configure: Regenerated.
6770 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6772 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6773 AC_EGREP_CPP for kernel header checks, so they only succeed if
6774 including <linux/version.h> actually works right.
6775 * sysdeps/unix/sysv/linux/configure: Regenerated.
6777 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6778 value so it's not diagnosed as unused.
6780 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6781 thing) with "ifeq ($(subdir),rt)".
6783 2014-07-03 Richard Henderson <rth@redhat.com>
6785 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6786 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6787 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6789 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6790 (math_force_eval): New.
6792 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6793 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6795 * sysdeps/alpha/fpu/s_round.c: Remove file.
6796 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6798 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6799 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6800 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6801 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6802 (_dl_start, print_statistics): Likewise.
6803 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6804 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6806 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6807 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6808 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6809 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6810 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6811 (HP_SMALL_TIMING_AVAIL): Define.
6812 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6813 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6814 (HP_SMALL_TIMING_AVAIL): Define.
6815 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6816 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6818 * sysdeps/aarch64/hp-timing.h: New file.
6820 * sysdeps/generic/hp-timing.h: Remove dead comment.
6821 * sysdeps/generic/hp-timing-common.h: New file.
6822 * sysdeps/alpha/hp-timing.h: Include it.
6823 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6824 * sysdeps/i386/i686/hp-timing.h: Likewise.
6825 * sysdeps/ia64/hp-timing.h: Likewise.
6826 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6827 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6828 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6829 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6830 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6831 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6834 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6835 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6836 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6837 * elf/rtld.c (_dl_start_final): Likewise.
6838 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6839 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6840 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6841 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6842 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6843 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6844 (HP_TIMING_DIFF_INIT): Remove.
6845 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6846 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6847 (HP_TIMING_DIFF_INIT): Remove.
6848 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6849 * sysdeps/i386/i686/hp-timing.c: Remove file.
6850 * sysdeps/x86_64/hp-timing.c: Remove file.
6851 * sysdeps/ia64/hp-timing.c: Remove file.
6852 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6853 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6854 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6855 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6857 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6858 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6859 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6860 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6861 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6862 (HP_TIMING_ACCUM): Remove.
6863 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6864 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6865 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6867 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6868 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6869 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6870 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6871 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6872 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6873 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6874 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6876 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6878 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6880 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6882 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6884 Sync up with gettext.
6885 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6886 [_MSC_VER]: Include malloc.h
6887 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6888 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6889 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6890 TEMP_FAILURE_RETRY. Cast return of alloca.
6891 [!_LIBC] Call gl_rwlock_init.
6892 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6894 2014-07-02 Roland McGrath <roland@hack.frob.com>
6896 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6897 before checking its value.
6899 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6901 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6903 * debug/memcpy_chk.c: Don't include pagecopy.h.
6904 * debug/mempcpy_chk.c: Likewise.
6905 * string/memcpy.c: Likewise.
6906 * string/memmove.c: Likewise.
6907 * sysdeps/powerpc/memmove.c: Likewise.
6908 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6909 definition of PAGE_COPY_FWD_MAYBE here...
6910 * sysdeps/generic/pagecopy.h: ... from here.
6911 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6913 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6914 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6916 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6917 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6919 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6920 (__libc_ifunc_impl_list): Likewise.
6921 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6922 multiarch strcat for PPC64.
6923 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6924 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6926 2014-07-02 Roland McGrath <roland@hack.frob.com>
6928 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6930 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6932 * intl/loadmsgcat.c: Remove declaration of
6933 get_sysdep_segment_value.
6934 (get_sysdep_segment_value): Use ISO C style.
6935 (_nl_load_domain): Use ISO C style. Get rid of redundant
6936 semicolon. Fix typo and formatting in comment.
6937 (_nl_unload_domain): Use ISO C style.
6939 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6941 2014-07-02 Will Newton <will.newton@linaro.org>
6943 * malloc/obstack.c: Merge from gnulib master.
6944 [HAVE_CONFIG_H]: Remove conditional code.
6945 [!_LIBC]: Include config.h.
6946 [!ELIDE_CODE]: Don't include inttypes.h, include
6947 stdint.h unconditionally.
6948 (print_and_abort): Mark as _Noreturn.
6949 (_obstack_allocated_p): Mark as __attribute_pure__.
6950 (obstack_free): Rename to __obstack_free.
6951 [!__attribute__]: Remove conditional code.
6952 * malloc/obstack.h: Merge from gnulib master.
6953 [__cplusplus]: Move conditional down.
6954 [!__attribute_pure__]: Define __attribute_pure__ here
6955 if it is not already defined.
6956 (_obstack_memory_used): Mark as __attribute_pure__.
6957 [!__obstack_free]: Define as obstack_free.
6958 [__GNUC__]: Remove check for ancient NeXT gcc.
6960 2014-07-02 Will Newton <will.newton@linaro.org>
6961 Paul Eggert <eggert@cs.ucla.edu>
6963 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6965 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6967 * resolv/gethnamaddr.c: Add comment warning that the file is
6970 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6972 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6975 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6976 entry for aio_cancel and aio_cancel64.
6977 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6978 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6979 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6980 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6981 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6982 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6984 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6985 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6986 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6987 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6988 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6989 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6991 2014-07-01 Roland McGrath <roland@hack.frob.com>
6993 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6994 * nptl/pthread_mutex_lock.c: Likewise.
6995 * nptl/pthread_mutex_timedlock.c: Likewise.
6996 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6998 2014-07-01 Richard henderson <rth@redhat.com>
7000 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7001 (__isnan, __isnanl): Remove.
7002 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7004 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7006 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7008 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7010 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7012 * resolv/nss_dns/dns-host.c (getanswer_r)
7013 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7015 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7017 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7018 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7020 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7021 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7023 2014-07-01 Roland McGrath <roland@hack.frob.com>
7025 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7026 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7028 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7029 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7031 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7032 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7034 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7035 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7037 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7038 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7039 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7040 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7042 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7043 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7044 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7045 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7046 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7048 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7050 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7051 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7052 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7053 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7054 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7055 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7056 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7057 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7059 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7060 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7061 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7063 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7064 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7065 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7066 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7067 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7069 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7071 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7072 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7074 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7075 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7076 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7077 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7078 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7080 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7082 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7083 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7084 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7087 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7091 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7093 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7094 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7096 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7098 * sysdeps/arm/libm-test-ulps: Regenerated.
7100 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7101 Roland McGrath <roland@hack.frob.com>
7103 * test-skeleton.c (signal_handler): Kill the whole process group
7104 before killing the child individually.
7105 (main): Report any failure on `setpgid'.
7107 2014-06-30 Roland McGrath <roland@hack.frob.com>
7109 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7110 from _TLS_H to _ARM_NPTL_TLS_H.
7111 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7112 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7114 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7117 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7118 (__expm1l): Return argument unchanged when small but not
7121 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7123 (_FP_UNPACK_RAW_1_P): Likewise.
7124 (_FP_PACK_RAW_1): Likewise.
7125 (_FP_PACK_RAW_1_P): Likewise.
7126 (_FP_MUL_MEAT_1_wide): Likewise.
7127 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7128 (_FP_MUL_MEAT_1_hard): Likewise.
7129 (_FP_DIV_MEAT_1_imm): Likewise.
7130 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7131 (_FP_DIV_MEAT_1_udiv): Likewise.
7132 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7133 (_FP_UNPACK_RAW_2): Likewise.
7134 (_FP_UNPACK_RAW_2_P): Likewise.
7135 (_FP_PACK_RAW_2): Likewise.
7136 (_FP_PACK_RAW_2_P): Likewise.
7137 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7138 (_FP_MUL_MEAT_2_wide): Likewise.
7139 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7140 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7141 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7142 (_FP_MUL_MEAT_2_gmp): Likewise.
7143 (_FP_DIV_MEAT_2_udiv): Likewise.
7144 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7145 (_FP_FRAC_SRL_4): Likewise.
7146 (_FP_FRAC_SRST_4): Likewise.
7147 (_FP_FRAC_SRS_4): Likewise.
7148 (_FP_UNPACK_RAW_4): Likewise.
7149 (_FP_UNPACK_RAW_4_P): Likewise.
7150 (_FP_PACK_RAW_4): Likewise.
7151 (_FP_PACK_RAW_4_P): Likewise.
7152 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7153 (_FP_MUL_MEAT_4_wide): Likewise.
7154 (_FP_MUL_MEAT_4_gmp): Likewise.
7155 (umul_ppppmnnn): Likewise.
7156 (_FP_DIV_MEAT_4_udiv): Likewise.
7157 (__FP_FRAC_ADD_4): Likewise.
7158 (__FP_FRAC_SUB_3): Likewise.
7159 (__FP_FRAC_SUB_4): Likewise.
7160 (__FP_FRAC_DEC_3): Likewise.
7161 (__FP_FRAC_DEC_4): Likewise.
7162 (__FP_FRAC_ADDI_4): Likewise.
7163 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7164 (_FP_FRAC_SRL_8): Likewise.
7165 (_FP_FRAC_SRS_8): Likewise.
7167 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7169 (FP_UNPACK_RAW_EP): Likewise.
7170 (FP_PACK_RAW_E): Likewise.
7171 (FP_PACK_RAW_EP): Likewise.
7172 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7173 (_FP_ISSIGNAN): Likewise.
7174 (_FP_ADD_INTERNAL): Likewise.
7175 (_FP_FMA): Likewise.
7176 (_FP_CMP): Likewise.
7177 (_FP_SQRT): Likewise.
7178 (_FP_TO_INT): Likewise.
7179 (_FP_FROM_INT): Likewise.
7180 (FP_EXTEND): Likewise.
7181 (_FP_DIV_MEAT_N_loop): Likewise.
7183 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7185 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7188 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7191 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7192 result with correct sign in case of exponents that produce
7193 overflow except for X very close to 1.
7195 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7197 mktime: merge #if/#ifdef usage from glibc
7198 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7199 as that works with both Glibc's and Gnulib's style.
7200 See thread starting at Siddhesh Poyarekar's bug report at:
7201 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7203 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7205 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7206 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7207 * sysdeps/tile/tilegx/memmove.c: Remove file.
7209 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7211 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7212 abi-name definition.
7213 * scripts/soversions.awk: Do not handle or generate ABI lines.
7214 * shlib-versions: Remove ABI entries.
7215 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7216 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7218 2014-06-27 Roland McGrath <roland@hack.frob.com>
7220 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7221 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7222 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7223 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7224 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7225 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7226 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7228 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7230 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7231 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7232 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7233 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7234 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7235 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7236 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7237 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7238 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7239 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7240 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7241 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7242 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7244 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7245 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7246 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7247 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7248 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7249 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7251 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7252 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7254 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7255 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7256 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7257 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7259 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7260 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7261 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7262 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7263 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7264 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7265 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7266 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7268 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7270 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7271 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7273 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7274 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7276 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7277 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7278 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7279 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7281 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7283 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7284 Identical file removed.
7285 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7287 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7288 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7289 Identical file removed.
7290 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7291 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7292 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7294 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7295 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7296 Identical file removed.
7297 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7298 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7299 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7300 Identical file removed.
7301 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7303 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7304 Identical file removed.
7305 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7306 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7307 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7308 Identical file removed.
7309 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7311 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7312 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7313 Identical file removed.
7314 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7316 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7317 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7318 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7319 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7320 Identical file removed.
7321 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7323 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7325 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7326 Identical file removed.
7327 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7329 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7330 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7331 Identical file removed.
7332 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7334 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7335 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7336 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7337 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7338 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7339 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7341 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7342 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7343 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7345 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7346 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7347 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7348 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7349 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7351 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7354 * nscd/nscd.c (monitor_child): Return exit status of child
7355 instead of return value from wait syscall.
7357 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7359 * configure.ac (libc_commonpagesize): Remove variable.
7360 (libc_relro_required): Likewise.
7361 (libc_cv_z_relro): Remove configure test.
7362 * configure: Regenerated.
7363 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7365 (libc_relro_required): Likewise.
7366 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7367 (libc_relro_required): Likewise.
7368 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7369 (libc_relro_required): Likewise.
7370 * sysdeps/arm/preconfigure: Regenerated.
7371 * sysdeps/ia64/preconfigure: Remove file.
7372 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7374 (libc_relro_required): Likewise.
7378 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7379 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7380 recompute overflowing results in original rounding mode.
7381 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7382 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7383 recompute overflowing results in original rounding mode.
7384 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7385 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7386 recompute overflowing results in original rounding mode.
7387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7388 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7389 recompute overflowing results in original rounding mode.
7390 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7391 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7392 recompute overflowing results in original rounding mode.
7393 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7394 (libc_feholdsetround_ctx): New macro.
7395 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7396 * sysdeps/i386/fpu/libm-test-ulps: Update.
7397 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7399 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7401 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7402 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7403 corresponding .cpsetup call.
7405 2014-06-26 Roland McGrath <roland@hack.frob.com>
7407 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7408 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7409 * sysdeps/arm/Makefile [$(subdir) = csu]
7410 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7411 (static-only-routines): Add aeabi_read_tp here.
7412 (shared-only-routines): Add libc-aeabi_read_tp here.
7413 (CFLAGS-libc-start.c): Add -fexceptions here.
7414 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7415 (sysdep_routines, static-only-routines, shared-only-routines):
7416 Don't add to these here.
7417 (CFLAGS-libc-start.c): Likewise.
7419 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7420 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7421 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7422 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7423 * sysdeps/arm/Makefile [$(subdir) = rt]
7424 (librt-sysdep_routines, librt-shared-only-routines):
7425 Append rt-aeabi_unwind_cpp_pr1 here.
7426 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7427 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7428 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7429 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7430 Append nptl-aeabi_unwind_cpp_pr1 here.
7431 (tests): Filter out tst-cleanupx4 here.
7432 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7433 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7434 Don't do those here.
7436 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7438 * scripts/list-sources.sh: Do not handle ports specially.
7440 2014-06-26 Roland McGrath <roland@hack.frob.com>
7442 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7443 * sysdeps/arm/feupdateenv.c: Likewise.
7445 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7447 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7449 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7450 trailing whitespace removed.
7451 * scripts/config.guess: Update to version 2014-03-23.
7452 * scripts/config.sub: Update to version 2014-05-01
7453 * scripts/install-sh: Update to version 2013-12-25.23.
7454 * scripts/move-if-change: Update from gnulib.
7456 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7458 * debug/memmove_chk.c: Remove pagecopy.h include.
7460 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7462 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7463 identical to gnulib mktime.
7465 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7467 * configure.ac: Do not test for machine being rs6000. Do not test
7469 * configure: Regenerated.
7471 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7473 * configure: Regenerated.
7474 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7475 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7476 Remove configure test.
7477 * sysdeps/arm/configure: Regenerated.
7478 * sysdeps/nptl/configure.ac: Do not check
7479 libc_cv_asm_cfi_directives.
7480 * sysdeps/nptl/configure: Regenerated.
7481 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7482 * sysdeps/x86_64/nptl/configure: Remove generated file.
7483 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7485 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7487 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7489 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7490 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7491 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7494 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7495 instead of whether it is defined.
7496 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7497 * sysdeps/hppa/dl-machine.h: Likewise.
7498 * sysdeps/ia64/dl-machine.h: Likewise.
7499 * sysdeps/m68k/dl-machine.h: Likewise.
7500 * sysdeps/microblaze/dl-machine.h: Likewise.
7501 * sysdeps/mips/dl-machine.: Likewise.
7502 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7503 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7504 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7505 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7506 * sysdeps/sh/dl-machine.h: Likewise.
7507 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7508 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7509 * sysdeps/tile/dl-machine.h: Likewise.
7510 * sysdeps/x86_64/dl-machine.h: Likewise.
7512 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7514 (verify_persistent_db): Likewise.
7516 2014-06-26 Roland McGrath <roland@hack.frob.com>
7518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7519 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7520 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7521 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7522 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7524 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7527 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7529 Identical file removed.
7530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7531 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7533 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7535 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7537 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7539 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7542 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7544 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7546 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7549 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7551 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7553 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7555 Identical file removed.
7556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7557 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7559 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7562 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7565 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7567 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7569 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7571 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7573 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7576 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7579 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7581 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7584 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7586 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7588 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7590 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7591 * sysdeps/unix/sysv/linux/s390/Versions
7592 (libpthread: GLIBC_2.19): New version set.
7593 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7594 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7595 (librt: GLIBC_2.3.3): New version set.
7596 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7597 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7598 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7599 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7600 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7601 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7602 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7603 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7604 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7606 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7607 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7608 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7610 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7611 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7612 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7613 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7614 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7616 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7618 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7619 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7620 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7621 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7622 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7623 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7624 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7625 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7626 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7627 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7629 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7631 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7632 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7633 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7634 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7635 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7636 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7637 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7638 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7639 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7640 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7642 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7643 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7644 (__libc_vfork): Define the function under this name.
7645 [!NOT_IN_libc] (__vfork): Make this an alias.
7646 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7647 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7648 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7649 (__libc_vfork): Define the function under this name.
7650 [!NOT_IN_libc] (__vfork): Make this an alias.
7651 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7652 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7653 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7654 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7655 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7656 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7658 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7659 code that was previously under [RESET_PID].
7660 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7661 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7662 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7664 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7665 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7666 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7667 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7668 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7669 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7670 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7671 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7672 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7673 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7674 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7676 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7677 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7678 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7679 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7680 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7681 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7682 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7683 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7684 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7685 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7686 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7687 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7688 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7689 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7690 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7691 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7692 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7693 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7694 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7695 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7696 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7697 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7698 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7699 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7700 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7701 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7702 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7703 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7704 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7706 2014-06-25 Roland McGrath <roland@hack.frob.com>
7708 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7709 that was previously under [RESET_PID].
7710 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7712 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7714 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7715 not undefine and redefine.
7716 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7717 [O_CLOEXEC]: Make code unconditional.
7718 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7719 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7720 <kernel-features.h>.
7721 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7722 conditional variable definition.
7723 (shm_open) [O_CLOEXEC]: Make code unconditional.
7724 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7727 * configure.ac (USE_REGPARMS): Don't define here.
7728 * configure: Regenerated.
7729 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7730 * sysdeps/i386/configure: Regenerated.
7732 * nptl/createthread.c: Don't include kernel-features.h.
7733 * nptl/pthread_cancel.c: Likewise.
7734 * nptl/pthread_condattr_setclock.c: Likewise.
7735 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7736 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7737 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7738 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7739 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7740 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7741 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7742 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7743 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7744 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7745 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7746 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7747 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7748 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7749 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7750 * nscd/gai.c: Likewise.
7751 * nss/nss_db/db-open.c: Likewise.
7752 * sysdeps/generic/ldsodefs.h: Likewise.
7753 * sysdeps/sh/nptl/tls.h: Likewise.
7754 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7755 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7756 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7757 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7758 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7759 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7760 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7761 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7762 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7763 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7764 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7765 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7766 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7767 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7768 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7769 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7770 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7771 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7772 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7773 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7774 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7775 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7776 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7777 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7778 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7779 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7780 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7781 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7782 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7783 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7784 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7785 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7786 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7787 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7788 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7789 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7790 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7791 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7792 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7793 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7794 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7795 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7796 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7797 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7798 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7799 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7800 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7801 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7802 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7803 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7804 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7805 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7806 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7807 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7808 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7809 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7810 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7811 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7834 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7835 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7836 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7837 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7838 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7839 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7840 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7841 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7842 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7843 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7844 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7845 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7846 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7847 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7848 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7849 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7850 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7851 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7852 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7853 * sysdeps/unix/sysv/linux/system.c: Likewise.
7854 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7855 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7856 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7857 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7858 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7859 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7860 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7862 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7863 * configure: Regenerated.
7864 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7866 * configure.ac (base_machine): Do not set specially for particular
7868 * configure: Regenerated.
7869 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7870 settings from configure.ac.
7871 * sysdeps/i386/preconfigure: New file.
7872 * sysdeps/s390/preconfigure: Likewise.
7873 * sysdeps/sh/preconfigure: Likewise.
7874 * sysdeps/sparc/preconfigure: Likewise.
7876 2014-06-25 Roland McGrath <roland@hack.frob.com>
7878 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7879 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7880 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7881 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7882 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7883 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7884 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7885 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7886 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7887 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7888 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7889 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7890 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7891 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7892 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7893 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7894 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7895 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7896 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7898 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7899 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7900 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7901 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7902 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7903 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7904 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7905 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7906 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7907 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7908 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7909 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7910 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7911 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7912 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7913 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7914 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7915 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7916 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7917 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7918 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7919 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7920 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7921 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7922 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7923 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7924 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7925 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7926 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7927 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7928 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7929 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7930 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7931 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7932 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7933 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7934 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7935 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7938 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7940 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7943 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7946 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7948 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7951 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7953 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7955 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7957 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7960 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7963 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7965 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7966 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7968 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7970 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7972 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7974 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7976 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7979 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7982 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7987 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7989 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7991 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7993 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7997 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7999 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8001 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8004 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8006 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8008 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8010 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8012 * timezone/checktab.awk: Update from tzcode 2014e.
8013 * timezone/private.h: Likewise.
8014 * timezone/tzfile.h: Likewise.
8015 * timezone/zdump.c: Likewise.
8016 * timezone/zic.c: Likewise.
8018 * sysdeps/unix/sysv/linux/kernel-features.h
8019 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8020 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8021 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8022 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8023 Remove conditional code.
8025 2014-06-25 Will Newton <will.newton@linaro.org>
8027 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8028 (_dl_arm_cap_flags): Add HWCAP2 values.
8029 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8030 (_DL_HWCAP_COUNT): Increase to 37.
8031 (_DL_HWCAP_LAST): New define.
8032 (_DL_HWCAP2_LAST): New define.
8033 (_dl_procinfo): Add support for printing
8035 (_dl_string_hwcap): Use _dl_hwcap_string.
8037 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8041 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8043 * README: Do not mention ports directory.
8045 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8047 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8048 <kernel-features.h>.
8049 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8050 conditional variable definition.
8051 (__futimes): Update comment.
8052 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8053 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8056 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8057 arguments close to 0.
8058 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8060 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8062 * math/auto-libm-test-in: Add more tests of exp10.
8063 * math/auto-libm-test-out: Regenerated.
8064 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8066 * sysdeps/unix/sysv/linux/kernel-features.h
8067 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8068 * sysdeps/unix/sysv/linux/readv.c: Do not include
8069 <kernel-features.h>.
8070 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8071 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8072 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8074 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8076 * sysdeps/unix/sysv/linux/writev.c: Do not include
8077 <kernel-features.h>.
8078 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8079 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8080 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8082 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8085 2014-06-25 Will Newton <will.newton@linaro.org>
8087 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8088 comment changes throughout the file. Remove checks
8089 for HAVE_*_H definitions that are not required.
8090 (__gen_tempname): Call abort if an unknown kind value is
8093 2014-06-25 Andreas Schwab <schwab@suse.de>
8096 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8097 scalbln, scalblnf, scalblnl in libc.
8099 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8102 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8103 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8104 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8106 2014-06-24 Roland McGrath <roland@hack.frob.com>
8108 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8109 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8110 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8111 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8113 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8114 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8116 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8117 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8118 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8119 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8120 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8121 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8122 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8123 * sysdeps/x86/bits/semaphore.h: ... here.
8124 * sysdeps/x86/nptl/elide.h: Moved ...
8125 * sysdeps/x86/elide.h: ... here.
8126 * sysdeps/x86_64/nptl/Implies: File removed.
8127 * sysdeps/i386/nptl/Implies: File removed.
8129 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8132 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8133 return the argument for normal arguments with exponent below -64.
8134 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8136 * math/auto-libm-test-in: Add another test of expm1.
8137 * math/auto-libm-test-out: Regenerated.
8140 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8141 calling __erfcl for arguments at least 16.
8142 * math/auto-libm-test-in: Add more tests of erf.
8143 * math/auto-libm-test-out: Regenerated.
8145 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8146 individual architectures.
8147 * sysdeps/unix/sysv/linux/configure: Regenerated.
8148 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8149 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8150 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8151 (ldd_rewrite_script): Define variable.
8152 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8157 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8158 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8159 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8160 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8161 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8162 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8163 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8164 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8166 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8169 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8170 Rename member __data.d to __data.__elision_data.
8172 2014-06-24 Wilco <wdijkstr@arm.com>
8174 * NEWS: Add 16918 to fixed bug list.
8176 2014-06-24 Wilco <wdijkstr@arm.com>
8178 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8180 2014-06-24 Wilco <wdijkstr@arm.com>
8182 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8183 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8184 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8185 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8186 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8187 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8188 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8191 2014-06-24 Wilco <wdijkstr@arm.com>
8193 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8195 2014-06-24 Wilco <wdijkstr@arm.com>
8197 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8198 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8199 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8200 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8202 2014-06-24 Wilco <wdijkstr@arm.com>
8205 * sysdeps/arm/feupdateenv.c (feupdateenv):
8206 Rewrite to reduce FPSCR accesses and fix return value.
8208 2014-06-24 Wilco <wdijkstr@arm.com>
8210 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8211 Optimize to avoid unnecessary FPSCR writes.
8212 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8213 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8214 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8215 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8217 2014-06-24 Wilco <wdijkstr@arm.com>
8219 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8220 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8221 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8222 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8223 Call libc_fetestexcept_vfp.
8224 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8225 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8226 __SOFTFP__ ifdef so that they can be built for softfp.
8228 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8230 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8231 argument type signed char.
8233 * Makerules (check-abi): Dump diff of symlist if the test
8236 2014-06-23 Roland McGrath <roland@hack.frob.com>
8238 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8241 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8242 Remove unused variable ST.
8244 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8248 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8249 small arguments before calling __expm1.
8250 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8251 small arguments before calling __expm1f.
8252 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8253 small arguments before calling __expm1l.
8254 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8256 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8257 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8258 spurious underflow for some cosh tests.
8259 * math/auto-libm-test-out: Regenerated.
8260 * sysdeps/i386/fpu/libm-test-ulps: Update.
8263 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8264 (__ieee754_y1): Set errno if return value overflows.
8265 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8266 (__ieee754_y1f): Set errno if return value overflows.
8267 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8268 (__ieee754_y1l): Set errno if return value overflows.
8269 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8270 (__ieee754_y1l): Set errno if return value overflows.
8271 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8272 * math/auto-libm-test-out: Regenerated.
8274 * math/gen-auto-libm-tests.c: Document use of
8275 ignore-zero-inf-sign.
8276 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8277 (input_flags): Add ignore-zero-inf-sign.
8278 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8279 * math/gen-libm-test.pl (generate_testfile): Handle
8280 ignore-zero-inf-sign.
8281 * math/auto-libm-test-in: Mark some cpow tests with
8282 ignore-zero-inf-sign and some with xfail-rounding.
8283 * math/auto-libm-test-out: Regenerated.
8284 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8285 * sysdeps/i386/fpu/libm-test-ulps: Update.
8286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8289 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8290 overflowing or underflowing operations take place with sign of
8292 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8293 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8294 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8295 (__ieee754_pow): Recompute overflowing and underflowing results in
8296 original rounding mode.
8297 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8298 (__powl_helper): Allow negative argument X and scale negated value
8299 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8300 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8301 overflowing or underflowing operations take place with sign of
8303 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8305 * math/auto-libm-test-in: Add more tests of pow.
8306 * math/auto-libm-test-out: Regenerated.
8307 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8308 (pow_tonearest_test_data): Remove.
8309 (pow_test_tonearest): Likewise.
8310 (pow_towardzero_test_data): Likewise.
8311 (pow_test_towardzero): Likewise.
8312 (pow_downward_test_data): Likewise.
8313 (pow_test_downward): Likewise.
8314 (pow_upward_test_data): Likewise.
8315 (pow_test_upward): Likewise.
8316 (main): Don't call removed functions.
8317 * sysdeps/i386/fpu/libm-test-ulps: Update.
8318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8320 2014-06-23 Roland McGrath <roland@hack.frob.com>
8322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8496 2014-06-23 Will Newton <will.newton@linaro.org>
8497 Wilco <wdijkstr@arm.com>
8499 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8500 implementation. Include get-rounding-mode.h.
8501 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8502 [!libc_feholdsetround_noex_ctx]: Define
8503 libc_feholdsetround_noex_ctx.
8504 [!libc_feholdsetround_noexf_ctx]: Define
8505 libc_feholdsetround_noexf_ctx.
8506 [!libc_feholdsetround_noexl_ctx]: Define
8507 libc_feholdsetround_noexl_ctx.
8508 (libc_feholdsetround_ctx): New function.
8509 (libc_feresetround_ctx): New function.
8510 (libc_feholdsetround_noex_ctx): New function.
8511 (libc_feresetround_noex_ctx): New function.
8513 2014-06-23 Roland McGrath <roland@hack.frob.com>
8515 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8516 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8517 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8518 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8519 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8520 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8522 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8523 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8524 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8525 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8526 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8527 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8528 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8529 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8530 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8531 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8532 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8534 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8536 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8537 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8538 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8539 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8540 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8542 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8543 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8544 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8545 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8546 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8547 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8548 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8549 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8551 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8552 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8554 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8556 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8559 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8560 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8561 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8562 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8563 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8564 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8565 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8566 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8567 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8568 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8570 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8572 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8573 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8574 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8575 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8576 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8577 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8578 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8579 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8580 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8581 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8582 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8583 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8586 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8587 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8588 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8589 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8590 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8593 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8594 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8595 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8597 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8599 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8600 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8601 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8602 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8603 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8604 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8605 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8606 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8608 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8609 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8612 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8613 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8614 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8616 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8617 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8618 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8619 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8620 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8621 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8622 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8623 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8624 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8625 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8626 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8628 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8630 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8631 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8632 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8633 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8634 (IPV6_PMTUDISC_INTERFACE): Likewise.
8635 (IPV6_PMTUDISC_OMIT): Likewise.
8637 2014-06-23 Andreas Schwab <schwab@suse.de>
8639 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8640 Remove unused errout label.
8642 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8644 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8645 macro: hardware supports Vector Crypto instructions.
8647 2014-06-23 Will Newton <will.newton@linaro.org>
8649 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8650 rather than __builtin_expect.
8652 * elf/dl-lookup.c (undefined_msg): Remove variable.
8653 (_dl_lookup_symbol_x): Replace undefined_msg with string
8656 * elf/dl-lookup.c (do_lookup_unique): New function.
8657 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8658 to a separate function.
8660 2014-06-23 Andreas Schwab <schwab@suse.de>
8663 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8664 before reading the next line.
8666 2014-06-23 Will Newton <will.newton@linaro.org>
8668 * test-skeleton.c (signal_handler): Use printf and %m
8669 rather than perror. Use printf rather than fprintf to
8670 stderr. Use puts rather than fputs to stderr.
8673 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8675 * nscd/nscd.c (thread_info_t): Remove typedef.
8676 (thread_info): Remove variable.
8678 2014-06-21 Allan McRae <allan@archlinux.org>
8680 * NEWS: Mention CVE-2014-4043.
8682 2014-06-20 Roland McGrath <roland@hack.frob.com>
8684 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8685 * nptl/smp.h: ... here.
8687 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8689 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8690 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8691 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8692 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8694 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8695 * nptl/stack-aliasing.h: New file.
8696 * sysdeps/i386/i686/stack-aliasing.h: New file.
8697 * sysdeps/i386/i686/nptl/Makefile: File removed.
8698 * sysdeps/x86_64/stack-aliasing.h: New file.
8699 * sysdeps/x86_64/nptl/Makefile
8700 (CFLAGS-pthread_create.c): Variable removed.
8702 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8703 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8705 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8706 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8709 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8712 (__ASSUME_SIGFRAME_V2): Remove macro.
8713 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8714 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8715 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8716 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8717 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8718 Declare as function. Remove conditional macro definitions.
8719 (__default_rt_sa_restorer): Likewise.
8720 (__default_sa_restorer_v1): Remove declaration.
8721 (__default_sa_restorer_v2): Likewise.
8722 (__default_rt_sa_restorer_v1): Likewise.
8723 (__default_rt_sa_restorer_v2): Likewise.
8724 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8725 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8726 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8728 2014-06-20 Roland McGrath <roland@hack.frob.com>
8730 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8731 (libpthread-routines): Add sysdep.
8732 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8733 * sysdeps/unix/sysv/linux/sparc/Versions
8734 (libpthread: GLIBC_2.3.3): New version set.
8735 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8736 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8737 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8738 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8739 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8740 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8742 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8743 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8744 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8745 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8746 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8747 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8748 * sysdeps/sparc/nptl/sem_init.c: ... here.
8749 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8750 * sysdeps/sparc/nptl/sem_post.c: ... here.
8751 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8752 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8753 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8754 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8755 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8756 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8757 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8758 (libpthread-routines): Add cpu_relax.
8759 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8761 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8762 (librt: GLIBC_2.3.3): New version set.
8763 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8764 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8765 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8766 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8767 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8768 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8769 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8770 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8772 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8773 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8774 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8775 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8776 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8777 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8778 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8779 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8780 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8781 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8783 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8785 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8787 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8789 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8791 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8793 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8795 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8797 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8799 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8801 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8803 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8806 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8811 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8812 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8814 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8817 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8818 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8819 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8821 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8823 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8825 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8826 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8827 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8828 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8829 * nscd/nscd.c: Likewise.
8830 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8831 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8832 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8833 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8835 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8836 <kernel-features.h>.
8837 (init_mq_netlink): Remove conditional have_sock_cloexec
8838 definitions. Remove code conditional on have_sock_cloexec < 0.
8839 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8840 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8841 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8842 <kernel-features.h>.
8843 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8844 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8846 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8848 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8849 Add tests for memset_chk and memset.
8851 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8854 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8857 * elf/tst-dl-iter-static.c: New file.
8858 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8860 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8863 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8865 * sysdeps/unix/sysv/linux/kernel-features.h
8866 (__ASSUME_F_GETOWN_EX): Remove macro.
8867 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8868 <kernel-features.h>.
8869 (miss_F_GETOWN_EX): Remove variable or macro.
8870 (do_fcntl): Do not check miss_F_GETOWN_EX.
8871 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8873 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8875 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8876 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8877 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8879 * sysdeps/unix/sysv/linux/kernel-features.h
8880 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8881 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8882 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8883 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8885 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8888 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8889 Fix calculation of the symbol's value.
8890 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8891 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8892 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8893 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8894 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8895 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8896 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8897 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8898 (modules-names): Add `tst-armtlsdescmod',
8899 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8900 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8901 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8902 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8903 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8904 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8905 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8906 ($(objpfx)tst-armtlsdescloc): New dependency.
8907 ($(objpfx)tst-armtlsdescextnow): Likewise.
8908 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8909 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8911 * sysdeps/arm/configure: Regenerate.
8913 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8915 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8916 (__atfct_seterrno_2): Likewise.
8917 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8918 <kernel-features.h>.
8919 (__ASSUME_ATFCTS): Do not undefine and redefine.
8920 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8921 (__have_atfcts): Remove conditional definition.
8922 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8923 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8924 unreachable if [__ASSUME_ATFCTS].
8925 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8926 not undefine and redefine.
8927 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8928 <kernel-features.h>.
8929 (faccessat) [__NR_faccessat]: Make code unconditional.
8930 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8931 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8932 <kernel-features.h>.
8933 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8934 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8935 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8936 <kernel-features.h>.
8937 (fchownat) [__NR_fchownat]: Make code unconditional.
8938 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8939 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8940 <kernel-features.h>.
8941 (futimesat) [__NR_futimesat]: Make code unconditional.
8942 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8943 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8944 <kernel-features.h>.
8945 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8946 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8947 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8948 <kernel-features.h>.
8949 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8950 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8951 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8952 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8953 <kernel-features.h>.
8954 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8955 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8956 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8957 <kernel-features.h>.
8958 (linkat) [__NR_linkat]: Make code unconditional.
8959 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8960 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8961 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8962 <kernel-features.h>.
8963 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8964 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8965 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8966 <kernel-features.h>.
8967 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8968 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8969 * sysdeps/unix/sysv/linux/openat.c: Do not include
8970 <kernel-features.h>.
8971 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8972 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8973 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8974 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8975 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8976 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8977 <kernel-features.h>.
8978 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8979 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8980 result of INLINE_SYSCALL directly, not via int variable.
8981 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8982 <kernel-features.h>.
8983 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8984 (renameat) [__NR_renameat]: Make code unconditional.
8985 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8986 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8987 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8988 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8989 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8990 (__ASSUME_ATFCTS): Do not undefine and redefine.
8991 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8992 <kernel-features.h>.
8993 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8994 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8995 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8996 <kernel-features.h>.
8997 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8998 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8999 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9000 (__ASSUME_ATFCTS): Do not undefine and redefine.
9001 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9002 <kernel-features.h>.
9003 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9004 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9005 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9006 <kernel-features.h>.
9007 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9008 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9010 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9012 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9014 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9017 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9018 constructed tree before returning error.
9019 * posix/bug-regexp36.c: Expand test case.
9021 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9024 * math/libm-test.inc (scalbln_test_date):
9025 Add errno expectations.
9026 * math/w_scalblnf.c: New File.
9027 Add wrapper which checks for setting errno to ERANGE.
9028 Add weak_alias for corresponding scalbln function.
9029 * math/w_scalbln.c: Likewise.
9030 * math/w_scalblnl.c: Likewise.
9031 * math/Makefile (libm-calls): Add w_scalbln.
9032 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9033 Remove weak_alias for corresponding scalbln function.
9034 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9036 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9037 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9038 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9039 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9040 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9041 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9042 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9043 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9044 Remove long_double_symbol for scalblnl function in libm, libc.
9045 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9046 Add wrapper which checks for setting errno to ERANGE.
9047 Add long_double_symbol for scalblnl function in libm, libc.
9048 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9049 Remove long_double_symbol for scalblnl in libm.
9050 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9051 Add wrapper which checks for setting errno to ERANGE.
9052 Add long_double_symbol for scalblnl function in libm.
9053 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9054 Do not use wrapper because of own implementation.
9056 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9058 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9059 3 bytes for __pad1 for x32.
9060 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9062 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9063 H.J. Lu <hongjiu.lu@intel.com>
9065 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9066 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9067 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9068 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9069 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9071 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9074 * posix/regcomp.c (parse_expression): Deallocate partially
9075 constructed tree before returning error.
9076 * posix/Makefile.c (tests): Add bug-regex36.
9077 (generated): Add bug-regex36.mtrace.
9078 (tests-special): Add $(objpfx)bug-regex36-mem.out
9079 (bug-regex36-ENV): New variable.
9080 ($(objpfx)bug-regex36-mem.out): New rule.
9081 * posix/bug-regex36.c: New file.
9083 2014-06-19 Will Newton <will.newton@linaro.org>
9085 * malloc/malloc.c (systrim): If extra is zero then return
9088 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9090 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9092 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9094 * sysdeps/aarch64/strchr.S: New file.
9096 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9099 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9100 from arguments -2 or below.
9101 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9102 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9104 2014-06-18 Andreas Schwab <schwab@suse.de>
9107 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9108 of a bracket expr not to run off the end of the string.
9109 * posix/Makefile (tests): Add tst-fnmatch3.
9110 * posix/tst-fnmatch3.c: New file.
9112 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9114 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9115 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9116 [$(cross-compiling) = no]: Likewise.
9117 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9118 [$(cross-compiling) = no]: Likewise.
9120 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9123 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9124 double, adjusted for any remainder from the high double.
9125 * math/libm-test.inc (nearbyint): Add tests.
9128 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130 * nptl/sysdeps/powerpc/Makefile: Moved ...
9131 * sysdeps/powerpc/nptl/Makefile: ... here.
9132 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9133 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9134 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9135 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9136 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9137 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9138 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9139 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9140 * nptl/sysdeps/powerpc/tls.h: Moved ...
9141 * sysdeps/powerpc/nptl/tls.h: ... here.
9143 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9146 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9147 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9148 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9149 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9150 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9151 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9152 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9153 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9154 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9156 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9158 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9160 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9162 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9165 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9168 2014-06-16 Florian Weimer <fweimer@redhat.com>
9171 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9172 non-executed part of the test.
9174 2014-06-16 Andreas Schwab <schwab@suse.de>
9176 * string/bits/string2.h (strdup, strndup): Update feature guard.
9178 2014-06-14 David S. Miller <davem@davemloft.net>
9180 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9182 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9184 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9185 that was previously under [RESET_PID].
9186 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9188 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9189 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9190 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9191 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9192 (__libc_vfork): New strong alias.
9193 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9195 2014-06-14 Andi Kleen <ak@linux.intel.com>
9197 * sysdeps/generic/elide.h: New file.
9199 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9201 * Makefile (installed-headers): Adjust path of pthread.h header.
9203 2014-06-13 Roland McGrath <roland@hack.frob.com>
9205 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9206 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9207 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9208 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9210 * nptl/sysdeps/s390/Makefile: Moved ...
9211 * sysdeps/s390/nptl/Makefile: ... here.
9212 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9213 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9214 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9215 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9216 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9217 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9218 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9219 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9220 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9221 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9222 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9223 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9224 * nptl/sysdeps/s390/tls.h: Moved ...
9225 * sysdeps/s390/nptl/tls.h: ... here.
9227 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9228 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9230 2014-06-13 David S. Miller <davem@davemloft.net>
9232 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9233 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9234 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9235 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9236 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9237 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9238 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9239 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9240 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9241 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9242 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9243 Remove RESET_PID cpp guards.
9244 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9245 Remove RESET_PID cpp guards.
9246 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9248 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9250 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9253 2014-06-13 Andi Kleen <ak@linux.intel.com>
9255 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9256 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9257 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9258 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9259 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9260 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9261 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9262 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9263 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9264 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9265 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9266 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9267 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9268 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9269 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9270 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9271 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9272 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9273 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9274 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9276 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9277 (pthread_rwlock_rdlock): Add elision.
9278 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9279 (pthread_rwlock_wrlock): Add elision.
9280 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9281 (pthread_rwlock_trywrlock): Add elision.
9282 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9283 (pthread_rwlock_tryrdlock): Add elision.
9284 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9285 (pthread_rwlock_tryrdlock): Add elision unlock.
9286 * nptl/sysdeps/pthread/pthread.h:
9287 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9288 (PTHREAD_RWLOCK_INITIALIZER,
9289 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9290 Handle new elision field.
9291 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9292 * sysdeps/arm/nptl/bits/pthreadtypes.h
9293 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9294 * sysdeps/sh/nptl/bits/pthreadtypes.h
9295 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9296 * sysdeps/tile/nptl/bits/pthreadtypes.h
9297 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9298 * sysdeps/a/nptl/bits/pthreadtypes.h
9299 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9300 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9301 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9302 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9303 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9304 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9305 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9306 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9307 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9308 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9309 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9310 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9311 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9312 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9313 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9314 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9315 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9316 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9317 (elision_init): Set try_xbegin to zero when no RTM.
9318 * sysdeps/x86/nptl/bits/pthreadtypes.h
9319 (pthread_rwlock_t): Change __pad1 to __rwelision.
9320 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9322 2014-06-13 Andi Kleen <ak@linux.intel.com>
9324 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9325 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9326 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9327 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9329 2014-06-13 Meador Inge <meadori@codesourcery.com>
9332 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9333 that the cached result has been set before returning it.
9335 2014-06-12 Roland McGrath <roland@hack.frob.com>
9337 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9338 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9339 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9340 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9341 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9342 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9344 * nptl/sysdeps/sparc/Makefile: Moved ...
9345 * sysdeps/sparc/nptl/Makefile: ... here.
9346 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9347 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9348 * nptl/sysdeps/sparc/tls.h: Moved ...
9349 * sysdeps/sparc/nptl/tls.h: ... here.
9350 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9351 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9352 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9353 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9354 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9355 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9356 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9357 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9358 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9359 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9360 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9361 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9362 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9363 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9364 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9365 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9366 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9367 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9369 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9370 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9372 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9373 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9375 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9376 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9379 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9381 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9382 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9384 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9385 (struct list_links): Type removed.
9386 (struct thread_node, struct timer_node): Replace struct list_links
9387 with struct list_head.
9388 (list_unlink_ip): Likewise.
9389 * sysdeps/pthread/timer_routines.c
9390 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9391 (list_append, list_insbefore): Likewise.
9392 (list_init): Function removed.
9393 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9394 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9395 * sysdeps/pthread/Makefile: ... here, new file.
9397 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9398 * sysdeps/nptl/Implies: ... here.
9399 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9400 * nptl/sysdeps/pthread/list.h: Moved ...
9401 * include/list.h: ... here.
9402 * nptl/sysdeps/pthread/createthread.c: Moved ...
9403 * nptl/createthread.c: ... here.
9404 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9405 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9406 * nptl/pt-longjmp.c: ... here.
9407 * nptl/sysdeps/pthread/Makefile: Moved ...
9408 * sysdeps/nptl/Makefile: ... here.
9409 * nptl/sysdeps/pthread/Subdirs: Moved ...
9410 * sysdeps/nptl/Subdirs: ... here.
9411 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9412 * sysdeps/nptl/aio_misc.h: ... here.
9413 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9414 * sysdeps/nptl/bits/libc-lock.h: ... here.
9415 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9416 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9417 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9418 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9419 * nptl/sysdeps/pthread/configure: Moved ...
9420 * sysdeps/nptl/configure: ... here.
9421 * nptl/sysdeps/pthread/configure.ac: Moved ...
9422 * sysdeps/nptl/configure.ac: ... here.
9423 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9424 * sysdeps/nptl/gai_misc.h: ... here.
9425 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9426 * sysdeps/nptl/librt-cancellation.c: ... here.
9427 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9428 * sysdeps/nptl/malloc-machine.h: ... here.
9429 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9430 * sysdeps/nptl/pthread-functions.h: ... here.
9431 * nptl/sysdeps/pthread/pthread.h: Moved ...
9432 * sysdeps/nptl/pthread.h: ... here.
9433 * nptl/sysdeps/pthread/setxid.h: Moved ...
9434 * sysdeps/nptl/setxid.h: ... here.
9435 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9436 * sysdeps/nptl/sigfillset.c: ... here.
9437 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9438 * sysdeps/nptl/tcb-offsets.h: ... here.
9439 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9440 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9441 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9442 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9443 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9444 * sysdeps/pthread/allocalim.h: ... here.
9445 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9446 * sysdeps/pthread/bits/sigthread.h: ... here.
9447 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9448 * sysdeps/pthread/flockfile.c: ... here.
9449 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9450 * sysdeps/pthread/ftrylockfile.c: ... here.
9451 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9452 * sysdeps/pthread/funlockfile.c: ... here.
9453 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9454 * sysdeps/pthread/posix-timer.h: ... here.
9455 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9456 * sysdeps/pthread/timer_create.c: ... here.
9457 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9458 * sysdeps/pthread/timer_delete.c: ... here.
9459 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9460 * sysdeps/pthread/timer_getoverr.c: ... here.
9461 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9462 * sysdeps/pthread/timer_gettime.c: ... here.
9463 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9464 * sysdeps/pthread/timer_routines.c: ... here.
9465 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9466 * sysdeps/pthread/timer_settime.c: ... here.
9467 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9468 * sysdeps/pthread/tst-timer.c: ... here.
9469 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9470 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9472 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9473 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9475 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9476 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9477 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9478 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9479 Update #include target.
9480 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9481 * sysdeps/i386/i686/nptl/Makefile: ... here.
9482 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9483 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9484 Update #include target.
9485 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9486 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9487 * nptl/sysdeps/i386/Makefile: Moved ...
9488 * sysdeps/i386/nptl/Makefile: ... here.
9489 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9490 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9491 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9492 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9493 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9494 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9495 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9496 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9497 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9498 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9499 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9500 * nptl/sysdeps/i386/tls.h: Moved ...
9501 * sysdeps/i386/nptl/tls.h: ... here.
9503 * sysdeps/sh/Makefile [$(subdir) = csu]
9504 (gen-as-const-headers): Add tcb-offsets.sym.
9505 * nptl/sysdeps/sh/Makefile: File removed.
9506 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9507 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9508 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9509 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9510 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9511 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9512 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9513 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9514 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9515 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9516 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9517 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9518 * nptl/sysdeps/sh/tls.h: Moved ...
9519 * sysdeps/sh/nptl/tls.h: ... here.
9520 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9521 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9522 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9523 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9524 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9525 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9526 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9527 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9528 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9529 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9530 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9531 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9532 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9533 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9534 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9535 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9536 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9537 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9538 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9539 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9540 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9541 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9542 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9543 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9544 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9546 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9547 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9549 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9550 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9551 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9552 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9553 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9554 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9555 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9556 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9557 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9558 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9559 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9560 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9561 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9562 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9563 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9564 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9565 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9566 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9567 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9569 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9571 * posix/spawn_faction_addopen.c: Include string.h.
9573 2014-06-11 Roland McGrath <roland@hack.frob.com>
9575 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9576 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9577 * nptl/sysdeps/x86_64/Makefile: Moved ...
9578 * sysdeps/x86_64/nptl/Makefile: ... here.
9579 * nptl/sysdeps/x86_64/configure: Moved ...
9580 * sysdeps/x86_64/nptl/configure: ... here.
9581 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9582 * sysdeps/x86_64/nptl/configure.ac: ... here.
9583 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9584 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9585 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9586 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9587 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9588 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9589 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9590 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9591 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9592 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9593 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9594 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9595 * nptl/sysdeps/x86_64/tls.h: Moved ...
9596 * sysdeps/x86_64/nptl/tls.h: ... here.
9597 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9598 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9599 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9600 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9602 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9604 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9608 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9610 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9612 [POSIX] (off_t): Likewise.
9613 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9614 [POSIX] (S_ISBLK): Require macro.
9615 [POSIX] (S_ISCHR): Likewise.
9616 [POSIX] (S_ISDIR): Likewise.
9617 [POSIX] (S_ISFIFO): Likewise.
9618 [POSIX] (S_ISREG): Likewise.
9619 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9621 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9623 [POSIX] (time_t): Likewise.
9624 [POSIX] (timer_t): Likewise.
9626 2014-06-11 Florian Weimer <fweimer@redhat.com>
9629 * posix/spawn_int.h (struct __spawn_action): Make the path string
9630 non-const to support deallocation.
9631 * posix/spawn_faction_addopen.c
9632 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9633 * posix/spawn_faction_destroy.c
9634 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9635 path in all spawn_do_open actions.
9636 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9637 posix_spawn_file_actions_addopen.
9639 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9641 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9642 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9643 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9644 conditional code always true.
9645 (__libc_vfork): New alias.
9647 2014-06-11 Roland McGrath <roland@hack.frob.com>
9649 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9650 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9652 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9654 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9655 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9657 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9658 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9660 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9661 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9663 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9665 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9666 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9667 multiarch strcmp for PPC64.
9668 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9669 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9670 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9671 multiarch optimizations.
9672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9673 (__libc_ifunc_impl_list): Likewise.
9675 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9677 * benchtests/scripts/validate_benchout.py: New script.
9678 * benchtests/Makefile (bench-func): Call it.
9679 * benchtests/scripts/benchout.schema.json: New file.
9681 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9683 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9684 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9685 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9686 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9687 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9688 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9689 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9690 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9691 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9692 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9693 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9694 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9695 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9696 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9697 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9698 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9699 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9701 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9703 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9712 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9716 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9721 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9728 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9730 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9732 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9734 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9736 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9742 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9747 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9751 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9753 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9755 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9760 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9762 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9764 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9766 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9771 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9773 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9775 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9779 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9802 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9803 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9804 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9805 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9806 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9808 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9810 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9815 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9816 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9817 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9818 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9819 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9820 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9821 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9822 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9824 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9825 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9827 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9828 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9829 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9830 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9832 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9833 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9834 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9835 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9836 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9837 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9838 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9840 2014-06-10 Wilco <wdijkstr@arm.com>
9842 * math/test-fenv-return.c: New file.
9843 * math/Makefile: Add new test test-fenv-return.
9845 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9848 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9850 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9851 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9852 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9853 0.0L for an argument of 1.0L.
9854 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9856 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9857 value when x - 1 is zero.
9858 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9859 * sysdeps/i386/fpu/libm-test-ulps: Update.
9860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9862 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9865 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9867 2014-06-09 Roland McGrath <roland@hack.frob.com>
9869 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9870 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9872 2014-06-09 Roland McGrath <roland@hack.frob.com>
9874 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9875 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9877 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9878 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9880 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9881 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9883 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9884 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9886 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9887 if not already defined.
9888 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9889 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9890 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9891 (TLS_INIT_TP): Use it.
9892 (TLS_DEFINE_INIT_TP): New macro.
9893 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9895 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9897 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9899 [POSIX] (IXANY): Likewise.
9900 [POSIX] (OLCUC): Likewise.
9901 [POSIX || POSIX2008] (CBAUD): Do not allow.
9902 [POSIX || POSIX2008] (DEFECHO): Likewise.
9903 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9904 [POSIX || POSIX2008] (ECHOKE): Likewise.
9905 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9906 [POSIX || POSIX2008] (EXTA): Likewise.
9907 [POSIX || POSIX2008] (EXTB): Likewise.
9908 [POSIX || POSIX2008] (FLUSHO): Likewise.
9909 [POSIX || POSIX2008] (LOBLK): Likewise.
9910 [POSIX || POSIX2008] (PENDIN): Likewise.
9911 [POSIX || POSIX2008] (SWTCH): Likewise.
9912 [POSIX || POSIX2008] (VDISCARD): Likewise.
9913 [POSIX || POSIX2008] (VDSUSP): Likewise.
9914 [POSIX || POSIX2008] (VLNEXT): Likewise.
9915 [POSIX || POSIX2008] (VREPRINT): Likewise.
9916 [POSIX || POSIX2008] (VSTATUS): Likewise.
9917 [POSIX || POSIX2008] (VWERASE): Likewise.
9918 (B*): Change to B[0123456789]*.
9919 * conform/data/time.h-data [POSIX || UNIX98]
9920 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9921 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9922 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9923 [POSIX] (tm_*): Do not allow.
9925 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9927 * Makefile (install): Don't set LANGUAGE.
9928 * Makefile.in (install): Likewise.
9929 * assert/Makefile (test-assert-ENV): Remove variable.
9930 (test-assert-perr-ENV): Likewise.
9931 * elf/Makefile (neededtest4-ENV): Likewise.
9932 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9933 [$(cross-compiling) = no]: Don't set LANGUAGE.
9934 * io/ftwtest-sh (LANG): Remove variable.
9935 * libio/Makefile (tst-widetext-ENV): Likewise.
9936 * manual/install.texi (Running make install): Don't refer to
9937 environment settings for make install.
9938 * INSTALL: Regenerated.
9939 * nptl/tst-tls6.sh: Don't set LANG.
9940 * posix/globtest.sh (LANG): Remove variable.
9941 * string/Makefile (tester-ENV): Likewise.
9942 (inl-tester-ENV): Likewise.
9943 (noinl-tester-ENV): Likewise.
9944 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9945 [$(cross-compiling) = no]: Don't set LANGUAGE.
9946 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9947 without explicit environment settings.
9949 2014-06-06 Roland McGrath <roland@hack.frob.com>
9951 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9952 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9953 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9954 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9956 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9958 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9959 other files in the crypt directory.
9960 * crypt/crypt.c: Remove duplicate includes.
9961 * crypt/crypt-entry.c: Likewise.
9962 * crypt/crypt_util.c: Likewise.
9964 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9966 * Makeconfig (run-program-env): New variable.
9967 (run-program-prefix-before-env): Likewise.
9968 (run-program-prefix-after-env): Likewise.
9969 (run-program-prefix): Define in terms of new variables.
9970 (built-program-cmd-before-env): New variable.
9971 (built-program-cmd-after-env): Likewise.
9972 (built-program-cmd): Define in terms of new variables.
9973 (test-program-prefix-before-env): New variable.
9974 (test-program-prefix-after-env): Likewise.
9975 (test-program-prefix): Define in terms of new variables.
9976 (test-program-cmd-before-env): New variable.
9977 (test-program-cmd-after-env): Likewise.
9978 (test-program-cmd): Define in terms of new variables.
9979 * Rules (make-test-out): Use $(run-program-env).
9980 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9981 (help): Do not mention environment variables. Mention
9982 --timeoutfactor option.
9983 (timeoutfactor): New variable.
9984 (blacklist_exports): Remove function.
9985 (exports): Remove variable.
9986 (command): Do not include ${exports}.
9987 * manual/install.texi (Configuring and compiling): Do not mention
9988 test wrappers preserving environment variables. Mention that last
9989 assignment to a variable must take precedence.
9990 * INSTALL: Regenerated.
9991 * benchtests/Makefile (run-bench): Use $(run-program-env).
9992 * catgets/Makefile ($(objpfx)test1.cat): Use
9993 $(built-program-cmd-before-env), $(run-program-env) and
9994 $(built-program-cmd-after-env).
9995 ($(objpfx)test2.cat): Do not specify environment variables
9997 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9998 $(run-program-env) and $(built-program-cmd-after-env).
9999 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10000 $(run-program-env) and $(test-program-cmd-after-env).
10001 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10003 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10004 run_program_env and test_program_cmd_after_env arguments.
10005 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10006 * elf/tst-pathopt.sh: Use run_program_env argument.
10007 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10008 $(test-wrapper-env) and $(run-program-env).
10009 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10010 run_program_env arguments.
10011 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10012 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10013 $(test-program-prefix-before-env), $(run-program-env) and
10014 $(test-program-prefix-after-env).
10015 ($(objpfx)tst-gettext2.out): Likewise.
10016 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10017 run_program_env and test_program_prefix_after_env arguments.
10018 * intl/tst-gettext2.sh: Likewise.
10019 * intl/tst-gettext4.sh: Do not set environment variables
10021 * intl/tst-gettext6.sh: Likewise.
10022 * intl/tst-translit.sh: Likewise.
10023 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10024 $(test-program-prefix-before-env), $(run-program-env) and
10025 $(test-program-prefix-after-env).
10026 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10027 run_program_env and test_program_prefix_after_env arguments.
10028 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10029 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10030 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10031 explicitly with each use of ${test_wrapper_env}.
10032 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10033 $(test-program-prefix-before-env), $(run-program-env) and
10034 $(test-program-prefix-after-env).
10035 * posix/tst-getconf.sh: Do not set environment variables
10037 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10038 run_program_env and test_program_prefix_after_env arguments.
10039 * stdio-common/tst-printf.sh: Do not set environment variables
10041 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10042 $(test-program-prefix-before-env), $(run-program-env) and
10043 $(test-program-prefix-after-env).
10044 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10045 run_program_env and test_program_prefix_after_env arguments.
10046 Split $test calls into $test_pre and $test.
10047 * timezone/Makefile (build-testdata): Use
10048 $(built-program-cmd-before-env), $(run-program-env) and
10049 $(built-program-cmd-after-env).
10051 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10053 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10054 strlen for non SHARED builds.
10056 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10058 * nptl/allocatestack.c (check_list): Inlined function...
10059 (__reclaim_stacks): ... here.
10061 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10064 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10067 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10069 * Rules (make-test-out): Include
10070 LOCPATH=$(common-objpfx)localedata in default environment.
10071 * debug/Makefile (tst-chk1-ENV): Remove variable.
10072 (tst-chk2-ENV): Likewise.
10073 (tst-chk3-ENV): Likewise.
10074 (tst-chk4-ENV): Likewise.
10075 (tst-chk5-ENV): Likewise.
10076 (tst-chk6-ENV): Likewise.
10077 (tst-lfschk1-ENV): Likewise.
10078 (tst-lfschk2-ENV): Likewise.
10079 (tst-lfschk3-ENV): Likewise.
10080 (tst-lfschk4-ENV): Likewise.
10081 (tst-lfschk5-ENV): Likewise.
10082 (tst-lfschk6-ENV): Likewise.
10083 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10084 (tst-iconv7-ENV): Likewise.
10085 * intl/Makefile (LOCPATH-ENV): Likewise.
10086 (tst-codeset-ENV): Likewise.
10087 (tst-gettext3-ENV): Likewise.
10088 (tst-gettext5-ENV): Likewise.
10089 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10090 (tst-fopenloc-ENV): Likewise.
10091 (tst-fgetws-ENV): Remove variable.
10092 (tst-ungetwc1-ENV): Likewise.
10093 (tst-ungetwc2-ENV): Likewise.
10094 (bug-ungetwc2-ENV): Likewise.
10095 (tst-swscanf-ENV): Likewise.
10096 (bug-ftell-ENV): Likewise.
10097 (tst-fgetwc-ENV): Likewise.
10098 (tst-fseek-ENV): Likewise.
10099 (tst-ftell-partial-wide-ENV): Likewise.
10100 (tst-ftell-active-handler-ENV): Likewise.
10101 (tst-ftell-append-ENV): Likewise.
10102 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10103 (tst-regexloc-ENV): Likewise.
10104 (bug-regex1-ENV): Likewise.
10105 (tst-regex-ENV): Likewise.
10106 (tst-regex2-ENV): Likewise.
10107 (bug-regex5-ENV): Likewise.
10108 (bug-regex6-ENV): Likewise.
10109 (bug-regex17-ENV): Likewise.
10110 (bug-regex18-ENV): Likewise.
10111 (bug-regex19-ENV): Likewise.
10112 (bug-regex20-ENV): Likewise.
10113 (bug-regex22-ENV): Likewise.
10114 (bug-regex23-ENV): Likewise.
10115 (bug-regex25-ENV): Likewise.
10116 (bug-regex26-ENV): Likewise.
10117 (bug-regex30-ENV): Likewise.
10118 (bug-regex32-ENV): Likewise.
10119 (bug-regex33-ENV): Likewise.
10120 (bug-regex34-ENV): Likewise.
10121 (bug-regex35-ENV): Likewise.
10122 (tst-rxspencer-ENV): Likewise.
10123 (tst-rxspencer-no-utf8-ENV): Likewise.
10124 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10125 (tst-sscanf-ENV): Likewise.
10126 (tst-swprintf-ENV): Likewise.
10127 (tst-swscanf-ENV): Likewise.
10128 (test-vfprintf-ENV): Likewise.
10129 (scanf13-ENV): Likewise.
10130 (bug14-ENV): Likewise.
10131 (tst-grouping-ENV): Likewise.
10132 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10133 (tst-strtod3-ENV): Likewise.
10134 (tst-strtod4-ENV): Likewise.
10135 (tst-strtod5-ENV): Likewise.
10136 (testmb2-ENV): Likewise./
10137 * string/Makefile (tst-strxfrm-ENV): Likewise.
10138 (tst-strxfrm2-ENV): Likewise.
10139 (bug-strcoll1-ENV): Likewise.
10140 (test-strcasecmp-ENV): Likewise.
10141 (test-strncasecmp-ENV): Likewise.
10142 * time/Makefile (tst-strptime-ENV): Likewise.
10143 (tst-ftime_l-ENV): Likewise.
10144 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10145 (tst-mbrtowc-ENV): Likewise.
10146 (tst-wcrtomb-ENV): Likewise.
10147 (tst-mbrtowc2-ENV): Likewise.
10148 (tst-c16c32-1-ENV): Likewise.
10149 (tst-mbsnrtowcs-ENV): Likewise.
10151 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10153 * manual/resource.texi (How to get information about the memory
10154 subsystem?): Fix typo.
10155 Reported by Peon de la Parra Ivan <peon@keba.com>
10157 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10160 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10161 (pthread_spin_lock): Branch out of spin loop to proper location.
10162 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10163 (pthread_spin_lock): Likewise.
10165 * nptl/tst-spin4.c: New test.
10166 * nptl/Makefile (tests): Add tst-spin4.
10168 2014-06-03 Andreas Schwab <schwab@suse.de>
10171 * resolv/res_send.c (send_dg): Reload file descriptor after
10174 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10176 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10178 2014-06-03 Richard Henderson <rth@redhat.com>
10180 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10181 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10182 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10183 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10184 in the SAVE_PID block.
10185 (__libc_vfork): New alias.
10186 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10188 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10189 child in registers, not on the stack. Remove RESET_PID conditionals.
10190 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10192 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10194 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10196 2014-06-03 Wilco <wdijkstr@arm.com>
10198 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10199 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10200 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10201 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10202 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10205 2014-06-03 Wilco <wdijkstr@arm.com>
10207 * sysdeps/aarch64/fpu/math_private.h
10208 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10209 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10210 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10211 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10214 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10216 * crypt/crypt-private.h: Include ufc-crypt.h.
10217 (__b64_from_24bit): Declare extern.
10218 * crypt/crypt_util.c(__b64_from_24bit): New function.
10219 (b64t): New static const variable.
10220 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10221 (b64t): Remove variable.
10222 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10223 * crypt/sha256-crypt.c: Include crypt-private.h.
10224 (b64t): Remove variable.
10225 (__sha256_crypt_r): Remove b64_from_24bit and replace
10226 with __b64_from_24bit.
10227 * crypt/sha512-crypt.c: Likewise.
10229 2014-06-02 Roland McGrath <roland@hack.frob.com>
10231 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10232 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10233 Label the code __libc_vfork rather than __vfork.
10234 [!NOT_IN_libc] (vfork): Define as weak alias.
10235 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10236 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10237 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10239 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10241 * malloc/malloc.c (malloc_info): Fix format specifier for
10244 2014-06-02 Wilco <wdijkstr@arm.com>
10246 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10249 2014-06-02 Wilco <wdijkstr@arm.com>
10252 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10253 Rewrite to reduce FPCR/FPSR accesses.
10255 2014-06-01 David S. Miller <davem@davemloft.net>
10257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10259 2014-05-31 David S. Miller <davem@davemloft.net>
10261 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10262 to occur in round to nearest mode when |x| >= 2.0
10264 2014-05-30 Richard Henderson <rth@twiddle.net>
10266 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10267 (PSEUDO_RET_NOERRNO): Remove.
10268 (ret): Don't redefine.
10269 (ret_NOERRNO): Define in terms of ret.
10270 (ret_ERRVAL): Likewise.
10272 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10273 use of PSEUDO_RET; perform the error check directly.
10275 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10277 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10280 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10282 * malloc/malloc (malloc_info): Fix formatting.
10284 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10285 Roland McGrath <roland@hack.frob.com>
10287 * malloc/malloc (malloc_info): Also print mmapped statistics.
10289 2014-05-30 Roland McGrath <roland@hack.frob.com>
10291 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10292 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10294 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10296 * malloc/malloc.c (malloc_info): Inline mi_arena.
10298 2014-05-29 Richard Henderson <rth@twiddle.net>
10300 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10301 Remove comma before expanding ASM_ARGS_##nr.
10302 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10303 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10305 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10306 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10307 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10308 (ASM_ARGS_1): Add leading comma.
10310 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10311 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10312 to __errno_location.
10313 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10314 Remove the expected plt for __errno_location.
10316 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10317 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10320 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10321 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10322 it and break it down.
10323 (DOCARGS_0, DOCARGS_1): Do nothing.
10324 (DOCARGS_2): Update to store into the new stack frame.
10325 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10326 (UNDOCARGS_1): Update to restore from the new stack frame.
10327 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10328 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10330 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10331 (SINGLE_THREAD_P): New parameter for result regno.
10332 (PSEUDO): Update to match; use cbz instead of beq.
10334 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10335 Use ENTRY to define the _nocancel entry point. Share the syscall
10336 and syscall error check paths with the cancel path.
10339 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10340 whitespace; tabs before and after asm mnemonics.
10342 2014-05-29 Eric Wong <normalperson@yhbt.net>
10345 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10346 Call fstat64 or stat64 internally, depending on arguments passed.
10347 Replace stat buffer argument with file descriptor argument.
10348 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10349 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10350 Pass fd to __internal_statvfs instead of calling fstat64.
10351 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10352 Pass fd to __internal_statvfs64 instead of calling fstat64.
10353 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10354 Pass -1 to __internal_statvfs instead of calling stat64.
10355 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10356 Pass -1 to __internal_statvfs64 instead of calling stat64.
10358 2014-05-28 Roland McGrath <roland@hack.frob.com>
10360 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10361 that was previously under [RESET_PID].
10362 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10364 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10365 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10367 2014-05-27 Roland McGrath <roland@hack.frob.com>
10369 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10371 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10372 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10374 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10376 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10378 2014-05-27 Andreas Schwab <schwab@suse.de>
10380 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10382 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10383 * elf/rtld.c (init_tls, dl_main): Likewise.
10384 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10385 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10386 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10387 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10388 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10389 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10390 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10391 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10392 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10393 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10394 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10395 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10396 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10397 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10398 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10399 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10400 * sysdeps/generic/tls.h: Update description.
10402 2014-05-27 Will Newton <will.newton@linaro.org>
10405 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10406 and restore r2 rather than just restoring.
10408 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10411 * libio/tst-ftell-append.c: New test case.
10412 * libio/Makefile (tests): Add test case.
10413 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10415 * libio/wfileops.c (do_ftell_wide): Likewise.
10417 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10421 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10425 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10426 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10427 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10428 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10429 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10430 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10431 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10434 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10437 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10438 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10439 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10440 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10441 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10443 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10444 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10446 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10448 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10450 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10451 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10452 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10454 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10455 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10456 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10457 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10459 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10462 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10465 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10468 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10472 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10475 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10480 conditional [RESET_PID].
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10489 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10490 (__libc_vfork): New strong alias.
10491 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10493 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10498 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10499 (__libc_vfork): New strong alias.
10500 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10502 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10505 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10507 * malloc/malloc.c (mi_arena): New function.
10508 (malloc_info): Remove nested function mi_arena. Call non-nosted
10511 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10513 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10515 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10516 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10517 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10518 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10519 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10520 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10521 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10523 2014-05-26 Andreas Schwab <schwab@suse.de>
10526 * locale/programs/repertoire.c (repertoire_read): Add slash
10527 between I18NPATH element and file name.
10528 * locale/programs/locfile.c (locfile_read): Likewise.
10530 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10532 * nptl/pthread_mutexattr_settype.c
10533 (__pthread_mutexattr_settype):
10534 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10536 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10538 * nptl/tst-mutex5 (do_test):
10539 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10541 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10543 * benchtests/README: Document 'init' directive.
10544 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10546 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10547 (parse_file): Recognize 'init' directive.
10549 2014-05-26 Kyle McMartin <kyle@redhat.com>
10552 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10553 alignment of struct pthread.
10555 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10558 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10559 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10560 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10561 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10563 2014-05-25 Richard Henderson <rth@twiddle.net>
10565 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10566 (SINGLE_THREAD_P_PIC): Remove.
10567 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10568 (SINGLE_THREAD_P_PIC): Remove.
10570 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10571 branch to syscall error ...
10572 (PSEUDO): ... here.
10573 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10574 from __local_syscall_error to .Lsyscall_error.
10575 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10576 (SYSCALL_ERROR): Update label name.
10578 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10579 Do not use DOARGS/UNDOARGS.
10580 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10581 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10582 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10583 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10584 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10586 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10589 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10590 define if !NOT_IN_libc.
10591 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10592 define with non-default symbol versions.
10594 2014-05-23 Richard Henderson <rth@twiddle.net>
10596 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10597 (vfork, __vfork): Define via compat_symbol.
10599 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10600 [!HAVE_IFUNC] (vfork_compat): Remove.
10601 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10603 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10606 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10607 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10610 2014-05-23 Richard Henderson <rth@twiddle.net>
10612 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10613 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10614 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10615 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10617 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10618 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10619 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10620 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10621 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10622 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10623 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10624 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10625 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10626 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10627 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10628 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10629 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10630 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10631 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10632 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10633 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10634 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10635 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10636 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10637 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10638 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10639 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10640 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10641 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10642 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10643 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10644 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10645 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10646 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10648 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10649 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10650 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10651 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10652 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10653 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10654 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10655 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10656 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10657 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10658 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10659 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10660 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10661 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10662 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10663 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10664 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10665 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10666 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10667 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10668 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10669 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10670 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10671 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10672 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10674 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10675 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10676 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10677 before exiting on error.
10678 (__libc_vfork): New strong alias.
10679 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10680 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10682 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10683 that was previously under [RESET_PID].
10684 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10686 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10688 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10691 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10692 value when x - 1 is zero.
10693 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10694 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10695 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10696 0.0L for an argument of 1.0L.
10697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10699 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10700 value when x - 1 is zero.
10701 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10702 * sysdeps/i386/fpu/libm-test-ulps: Update.
10703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10705 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10707 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10708 alphasort and versionsort.
10710 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10712 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10714 [copysignf]: Likewise.
10716 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10718 * crypt/md5-crypt.c: Fix formatting.
10720 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10722 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10723 (b64_from_24bit): New function.
10725 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10727 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10728 libc_hidden_builtin_def to ifunc.
10729 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10730 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10732 2014-05-21 Roland McGrath <roland@hack.frob.com>
10734 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10735 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10737 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10739 * nscd/Depend (linuxthreads): Remove.
10741 * resolv/Depend (linuxthreads): Remove.
10742 * rt/Depend (linuxthreads): Remove.
10744 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10745 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10746 $(common-objpfx)elf/.
10747 (link-libc-before-gnulib): Likewise.
10748 (elfobjdir): Remove variable.
10749 * Makefile (install): Use $(elf-objpfx) instead of
10750 $(common-objpfx)elf/.
10751 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10753 (link-libc-deps): Likewise.
10754 ($(common-objpfx)libc.so): Likewise.
10755 ($(common-objpfx)linkobj/libc.so): Likewise.
10756 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10757 instead of $(common-objpfx)elf/.
10758 (symbolic-link-list): Likewise.
10759 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10760 [$(cross-compiling) = no]: Likewise.
10761 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10763 (static-gnulib-arch): Likewise.
10764 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10765 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10766 $(common-objpfx)elf/.
10768 2014-05-21 Richard Henderson <rth@redhat.com>
10770 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10771 (SINGLE_THREAD_P): Use the correct width load. Fold
10772 into the ldr offset.
10774 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10775 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10777 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10779 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10780 (libgcc_s_resume): Use __attribute_used__.
10781 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10784 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10786 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10787 optimization when used with float constants.
10789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10791 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10794 * locale/nl_langinfo_l.c: Make direct reference to every
10795 _nl_current_CATEGORY symbol.
10796 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10797 (tests-static): Add tst-langinfo-static.
10798 (tests-special): Add tst-langinfo-static.out.
10799 ($(objpfx)tst-langinfo.out): Redirect output.
10800 ($(objpfx)tst-langinfo-static.out): New.
10801 * localedata/tst-langinfo.sh: Send output to stdout.
10802 * localedata/tst-langinfo-static.c: New file.
10805 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10806 when the shift amount is modulo the limb size.
10808 2014-05-20 Richard Henderson <rth@redhat.com>
10811 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10812 Change type of sa_flags from unsigned int to int.
10815 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10817 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10819 2014-05-20 Will Newton <will.newton@linaro.org>
10821 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10822 Test the return value of the system call in the nocancel case.
10824 2014-05-20 Will Newton <will.newton@linaro.org>
10825 Yvan Roux <yvan.roux@linaro.org>
10827 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10828 #include of asm/ptrace.h.
10829 (PTRACE_GET_THREAD_AREA): Remove #undef.
10830 (PTRACE_GETHBPREGS): Likewise.
10831 (PTRACE_SETHBPREGS): Likewise.
10832 (struct user_regs_struct): New structure.
10833 (struct user_fpsimd_struct): New structure.
10834 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10835 #include of asm/ptrace.h and second #include of sys/user.h.
10836 (PTRACE_GET_THREAD_AREA): Remove #undef.
10837 (PTRACE_GETHBPREGS): Likewise.
10838 (PTRACE_SETHBPREGS): Likewise.
10839 (ELF_NGREG): Use new struct user_regs_struct.
10840 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10842 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10844 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10845 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10847 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10850 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10851 membar to avoid block loads/stores to overlap previous stores.
10853 2014-05-17 Richard Henderson <rth@redhat.com>
10855 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10856 Create the __##syscall_name##_nocancel entry point.
10857 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10858 Remove; let the sysdep-cancel.h code create it.
10860 2014-05-17 David S. Miller <davem@davemloft.net>
10862 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10863 Protect with __USE_GNU.
10864 (TIOCSET_TEMPT): Likewise.
10865 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10866 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10867 these are already provided in bits/ioctl-types.h
10869 2014-05-16 Roland McGrath <roland@hack.frob.com>
10871 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10872 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10874 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10875 Use wait4 regardless of [__NR_waitpid].
10877 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10880 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10881 (_FP_NANSIGN_Q): Set the quiet bit.
10883 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10885 * benchtests/Makefile
10886 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10887 not $(common-objpfx)math/libm.so.
10888 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10889 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10890 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10891 $(common-objpfx)dlfcn/libdl.so.
10892 ($(objpfx)tst-audit8): Depend on $(libm), not
10893 $(common-objpfx)math/libm.so.
10894 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10895 not $(common-objpfx)dlfcn/libdl.so.
10897 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10898 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10899 [$(build-shared) = yes].
10900 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10901 $(common-objpfx)nptl/libpthread.so.
10902 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10903 $(common-objpfx)math/libm.so$(libm.so-version) or
10904 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10905 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10906 $(common-objpfx)dlfcn/libdl.so.
10907 * setjmp/Makefile (link-libm): Remove variable.
10908 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10909 * stdio-common/Makefile (link-libm): Remove variable.
10910 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10911 * stdlib/Makefile (link-libm): Remove variable.
10912 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10913 ($(objpfx)tst-strtod-round): Likewise.
10914 ($(objpfx)tst-tininess): Likewise.
10915 ($(objpfx)tst-strtod-underflow): Likewise.
10916 ($(objpfx)tst-strtod6): Likewise.
10917 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10918 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10919 $(common-objpfx)dlfcn/libdl.so.
10921 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10923 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10924 BSD terminal modes definitions.
10926 2014-05-16 Roland McGrath <roland@hack.frob.com>
10928 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10929 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10931 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10932 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10933 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10934 Don't do #include_next.
10935 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10936 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10937 Don't do #include_next.
10938 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10939 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10940 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10941 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10943 2014-05-16 Allan McRae <allan@archlinux.org>
10945 * po/sv.po: Update Swedish translation from translation project.
10947 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10950 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10953 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10954 errno if the TIOCGPTN ioctl fails with an error different than
10956 * login/tst-ptsname.c: New file.
10957 * login/Makefile (tests): Add tst-ptsname.
10960 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10963 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10966 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10967 herrno to return EAI_AGAIN.
10969 2014-05-14 Roland McGrath <roland@hack.frob.com>
10971 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10972 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10973 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10976 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10978 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10980 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10981 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10982 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10983 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10984 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10986 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10987 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10988 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10990 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10991 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10992 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10993 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10994 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10996 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10997 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10998 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10999 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11000 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11002 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11004 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11007 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11009 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11011 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11013 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11015 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11017 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11019 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11021 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11023 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11025 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11027 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11029 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11031 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11033 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11036 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11037 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11038 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11040 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11042 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11044 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11045 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11046 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11047 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11048 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11049 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11050 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11052 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11054 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11057 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11059 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11061 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11062 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11063 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11064 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11065 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11066 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11067 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11068 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11069 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11070 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11071 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11072 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11073 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11074 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11075 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11076 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11077 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11078 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11079 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11080 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11081 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11082 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11083 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11084 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11085 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11086 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11087 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11088 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11089 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11090 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11091 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11093 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11094 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11096 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11097 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11098 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11099 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11100 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11101 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11103 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11104 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11106 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11107 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11109 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11110 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11112 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11113 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11114 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11115 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11117 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11118 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11119 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11120 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11121 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11122 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11123 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11124 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11126 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11127 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11129 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11131 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11132 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11133 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11134 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11135 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11137 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11139 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11141 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11142 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11143 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11144 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11145 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11146 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11148 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11149 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11151 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11152 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11154 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11155 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11157 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11158 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11159 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11160 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11162 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11163 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11164 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11165 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11166 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11167 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11168 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11169 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11171 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11172 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11174 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11176 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11177 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11178 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11179 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11180 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11182 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11184 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11186 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11187 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11188 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11189 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11190 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11191 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11192 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11193 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11194 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11195 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11197 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11198 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11200 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11201 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11203 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11204 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11206 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11207 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11208 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11209 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11210 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11211 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11213 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11214 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11215 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11217 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11218 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11219 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11220 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11222 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11223 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11225 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11227 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11228 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11229 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11230 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11231 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11233 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11235 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11237 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11238 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11239 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11240 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11241 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11242 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11243 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11244 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11245 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11246 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11247 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11249 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11250 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11252 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11253 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11255 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11256 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11257 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11259 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11260 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11261 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11263 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11265 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11266 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11267 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11268 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11269 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11270 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11271 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11272 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11274 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11275 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11276 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11277 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11279 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11280 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11281 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11282 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11283 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11284 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11285 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11286 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11288 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11289 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11291 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11292 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11293 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11294 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11295 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11296 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11297 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11298 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11299 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11300 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11301 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11302 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11303 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11304 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11305 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11306 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11307 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11309 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11310 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11311 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11312 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11313 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11315 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11316 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11317 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11318 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11319 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11320 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11321 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11322 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11323 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11324 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11326 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11327 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11329 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11330 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11331 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11332 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11333 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11334 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11335 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11336 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11337 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11338 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11339 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11340 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11341 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11342 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11343 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11345 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11347 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11351 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11359 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11363 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11364 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11365 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11366 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11367 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11368 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11369 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11370 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11371 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11372 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11373 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11374 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11375 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11376 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11377 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11379 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11380 that was previously under [RESET_PID].
11381 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11382 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11383 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11385 * sysdeps/i386/nptl/Implies: New file.
11386 * sysdeps/x86_64/nptl/Implies: New file.
11387 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11388 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11389 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11390 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11392 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11393 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11394 (__libc_vfork): New strong alias.
11395 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11396 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11398 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11399 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11400 (__libc_vfork): New strong alias.
11401 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11402 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11404 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11405 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11406 (__libc_vfork): New strong alias.
11407 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11408 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11409 * nptl/pt-vfork.c: New file.
11410 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11411 (libpthread: GLIBC_2.20): New version set (empty).
11413 2014-05-14 Will Newton <will.newton@linaro.org>
11415 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11418 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11421 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11422 arguments with exponent 65 or above.
11423 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11424 arguments 0x1p113L or above.
11425 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11426 to arguments 0x1p107L or above.
11427 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11428 positive arguments with exponent 65 or above.
11429 * math/auto-libm-test-in: Add more tests of log1p.
11430 * math/auto-libm-test-out: Regenerated.
11433 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11434 non-finite arguments is +0.
11435 * math/s_cacosf.c (__cacosf): Likewise.
11436 * math/s_cacosl.c (__cacosl): Likewise.
11437 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11438 * sysdeps/i386/fpu/libm-test-ulps: Update.
11439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11442 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11444 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11445 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11446 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11447 for explicit high bit of mantissa when testing for argument equal
11449 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11450 * sysdeps/i386/fpu/libm-test-ulps: Update.
11451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11454 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11455 (__erf): Scale by 16 instead of 8 in potentially underflowing
11456 case. Ensure exception if result actually underflows.
11457 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11458 (__erff): Scale by 16 instead of 8 in potentially underflowing
11459 case. Ensure exception if result actually underflows.
11460 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11461 (efx8): Remove variable.
11462 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11463 case. Ensure exception if result actually underflows.
11464 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11465 (efx8): Remove variable.
11466 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11467 case. Ensure exception if result actually underflows.
11468 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11469 (efx8): Remove variable.
11470 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11471 case. Ensure exception if result actually underflows.
11472 * math/auto-libm-test-in: Add more tests of erf.
11473 * math/auto-libm-test-out: Regenerated.
11475 2014-05-14 Andreas Schwab <schwab@suse.de>
11477 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11478 Remove code conditionalized on USE___THREAD.
11480 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11481 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11484 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11486 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11487 Define unconditionally.
11488 (__ASSUME_O_CLOEXEC): Likewise.
11489 (__ASSUME_SOCK_CLOEXEC): Likewise.
11490 (__ASSUME_IN_NONBLOCK): Likewise.
11491 (__ASSUME_PIPE2): Likewise.
11492 (__ASSUME_EVENTFD2): Likewise.
11493 (__ASSUME_SIGNALFD4): Likewise.
11494 (__ASSUME_DUP3): Likewise.
11495 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11496 (__ASSUME_DUP3): Do not define.
11497 (__ASSUME_EVENTFD2): Likewise.
11498 (__ASSUME_IN_NONBLOCK): Likewise.
11499 (__ASSUME_O_CLOEXEC): Likewise.
11500 (__ASSUME_PIPE2): Likewise.
11501 (__ASSUME_SIGNALFD4): Likewise.
11502 (__ASSUME_SOCK_CLOEXEC): Likewise.
11503 (__ASSUME_UTIMES): Undefine.
11504 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11505 (__ASSUME_UTIMES): Do not define.
11506 (__ASSUME_O_CLOEXEC): Likewise.
11507 (__ASSUME_SOCK_CLOEXEC): Likewise.
11508 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11509 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11511 (__ASSUME_PIPE2): Likewise.
11512 (__ASSUME_EVENTFD2): Likewise.
11513 (__ASSUME_SIGNALFD4): Likewise.
11514 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11515 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11517 (__ASSUME_EVENTFD2): Likewise.
11518 (__ASSUME_SIGNALFD4): Likewise.
11519 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11520 (__ASSUME_32BITUIDS): Likewise.
11521 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11522 (__ASSUME_IPC64): Likewise.
11523 (__ASSUME_ST_INO_64_BIT): Likewise.
11524 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11525 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11526 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11527 (__ASSUME_UTIMES): Do not define.
11528 (__ASSUME_PSELECT): Likewise.
11529 (__ASSUME_PPOLL): Likewise.
11530 (__ASSUME_O_CLOEXEC): Likewise.
11531 (__ASSUME_SOCK_CLOEXEC): Likewise.
11532 (__ASSUME_IN_NONBLOCK): Likewise.
11533 (__ASSUME_PIPE2): Likewise.
11534 (__ASSUME_EVENTFD2): Likewise.
11535 (__ASSUME_SIGNALFD4): Likewise.
11536 (__ASSUME_DUP3): Likewise.
11537 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11538 (__ASSUME_UTIMES): Likewise.
11539 (__ASSUME_O_CLOEXEC): Likewise.
11540 (__ASSUME_SOCK_CLOEXEC): Likewise.
11541 (__ASSUME_IN_NONBLOCK): Likewise.
11542 (__ASSUME_PIPE2): Likewise.
11543 (__ASSUME_EVENTFD2): Likewise.
11544 (__ASSUME_SIGNALFD4): Likewise.
11545 (__ASSUME_DUP3): Likewise.
11546 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11547 (__ASSUME_UTIMES): Likewise.
11548 (__ASSUME_O_CLOEXEC): Likewise.
11549 (__ASSUME_SOCK_CLOEXEC): Likewise.
11550 (__ASSUME_IN_NONBLOCK): Likewise.
11551 (__ASSUME_PIPE2): Likewise.
11552 (__ASSUME_EVENTFD2): Likewise.
11553 (__ASSUME_SIGNALFD4): Likewise.
11554 (__ASSUME_DUP3): Likewise.
11555 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11557 (__ASSUME_UTIMES): Likewise.
11558 (__ASSUME_EVENTFD2): Likewise.
11559 (__ASSUME_SIGNALFD4): Likewise.
11560 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11561 (__ASSUME_O_CLOEXEC): Likewise.
11562 (__ASSUME_SOCK_CLOEXEC): Likewise.
11563 (__ASSUME_IN_NONBLOCK): Likewise.
11564 (__ASSUME_PIPE2): Likewise.
11565 (__ASSUME_EVENTFD2): Likewise.
11566 (__ASSUME_SIGNALFD4): Likewise.
11567 (__ASSUME_DUP3): Likewise.
11568 (__ASSUME_UTIMES): Undefine.
11570 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11571 feclearexcept. Remove symbol versioning code.
11572 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11573 symbol versioning code.
11574 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11575 symbol versioning code.
11576 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11577 feupdateenv. Remove symbol versioning code.
11578 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11579 fegetexceptflag. Remove symbol versioning code.
11580 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11581 fesetexceptflag. Remove symbol versioning code.
11582 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11583 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11584 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11585 (__posix_fadvise64_l32): Remove prototype.
11586 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11589 2014-05-13 Roland McGrath <roland@hack.frob.com>
11591 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11592 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11593 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11594 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11596 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11598 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11599 current working directory
11601 2014-05-13 Roland McGrath <roland@hack.frob.com>
11603 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11604 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11605 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11606 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11607 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11608 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11609 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11610 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11611 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11612 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11613 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11614 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11615 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11616 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11617 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11618 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11619 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11620 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11621 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11622 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11623 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11624 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11626 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11627 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11628 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11629 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11630 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11631 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11632 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11633 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11634 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11635 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11636 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11637 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11638 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11639 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11640 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11641 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11642 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11643 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11644 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11646 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11647 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11649 * sysdeps/unix/sysv/linux/arm/Makefile
11650 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11651 Add rt-aeabi_unwind_cpp_pr1.
11652 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11653 Add nptl-aeabi_unwind_cpp_pr1.
11654 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11655 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11656 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11657 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11658 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11659 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11661 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11662 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11663 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11664 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11666 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11667 Deconditionalize the code that was previously under [RESET_PID].
11668 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11670 * sysdeps/generic/exit-thread.h: New file.
11671 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11672 * include/unistd.h (__exit_thread): Remove declaration.
11673 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11674 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11675 * csu/libc-start.c: Include <exit-thread.h>.
11676 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11677 * nptl/pthread_create.c: Include <exit-thread.h>.
11678 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11679 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11680 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11681 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11682 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11683 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11684 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11685 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11686 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11687 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11688 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11689 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11690 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11691 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11692 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11693 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11694 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11696 2014-05-13 Andreas Schwab <schwab@suse.de>
11698 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11700 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11702 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11703 (__ASSUME_UTIMES): Do not condition on kernel version.
11704 (__ASSUME_PSELECT): Define unconditionally.
11705 (__ASSUME_PPOLL): Likewise.
11706 (__ASSUME_ATFCTS): Likewise.
11707 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11708 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11709 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11710 (__ASSUME_UTIMENSAT): Define unconditionally.
11711 (__ASSUME_PRIVATE_FUTEX): Likewise.
11712 (__ASSUME_FALLOCATE): Likewise.
11713 (__ASSUME_O_CLOEXEC): Likewise.
11714 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11715 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11716 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11717 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11718 (__ASSUME_IN_NONBLOCK): Likewise.
11719 (__ASSUME_PIPE2): Likewise.
11720 (__ASSUME_EVENTFD2): Likewise.
11721 (__ASSUME_SIGNALFD4): Likewise.
11722 (__ASSUME_DUP3): Likewise.
11723 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11724 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11725 (__ASSUME_AT_RANDOM): Likewise.
11726 (__ASSUME_PREADV): Likewise.
11727 (__ASSUME_PWRITEV): Likewise.
11728 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11729 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11730 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11731 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11732 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11733 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11734 (__ASSUME_O_CLOEXEC): Define unconditionally.
11735 (__ASSUME_PSELECT): Do not undefine conditionally.
11736 (__ASSUME_PPOLL): Likewise.
11737 (__ASSUME_ATFCTS): Likewise.
11738 (__ASSUME_SET_ROBUST_LIST): Likewise.
11739 (__ASSUME_UTIMENSAT): Likewise.
11740 (__ASSUME_FDATASYNC): Define unconditionally.
11741 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11742 (__ASSUME_SIGFRAME_V2): Likewise.
11743 )__ASSUME_EVENTFD2): Likewise.
11744 (__ASSUME_SIGNALFD4): Likewise.
11745 (__ASSUME_PSELECT): Do not undefine conditionally.
11746 (__ASSUME_PPOLL): Likewise.
11747 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11748 (__ASSUME_PSELECT): Define unconditionally.
11749 (__ASSUME_PPOLL): Likewise.
11750 (__ASSUME_O_CLOEXEC): Likewise.
11751 (__ASSUME_SOCK_CLOEXEC): Likewise.
11752 (__ASSUME_IN_NONBLOCK): Likewise.
11753 (__ASSUME_PIPE2): Likewise.
11754 (__ASSUME_EVENTFD2): Likewise.
11755 (__ASSUME_SIGNALFD4): Likewise.
11756 (__ASSUME_DUP3): Likewise.
11757 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11758 (__ASSUME_O_CLOEXEC): Likewise.
11759 (__ASSUME_SOCK_CLOEXEC): Likewise.
11760 (__ASSUME_IN_NONBLOCK): Likewise.
11761 (__ASSUME_PIPE2): Likewise.
11762 (__ASSUME_EVENTFD2): Likewise.
11763 (__ASSUME_SIGNALFD4): Likewise.
11764 (__ASSUME_DUP3): Likewise.
11765 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11766 (__ASSUME_EVENTFD2): Likewise.
11767 (__ASSUME_SIGNALFD4): Likewise.
11768 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11770 2014-05-12 Andreas Schwab <schwab@suse.de>
11773 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11774 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11775 than maximum RPC packet size.
11776 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11777 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11778 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11779 (_nss_nis_getservbyport_r): Likewise.
11781 2014-05-12 Will Newton <will.newton@linaro.org>
11783 * malloc/Makefile (tests): Add tst-mallopt.
11784 * malloc/tst-mallopt.c: New file.
11786 2014-05-09 Roland McGrath <roland@hack.frob.com>
11788 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11789 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11791 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11793 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11794 (tst-tlsmod6.so): Likewise.
11796 2014-05-09 Roland McGrath <roland@hack.frob.com>
11798 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11800 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11803 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11804 and <dl-procinfo.h>.
11805 (__fegetenv): Save SSE state in envp->__eip if supported.
11806 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11807 envp->__eip if supported.
11808 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11809 and <dl-procinfo.h>.
11810 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11811 __data_offset and __data_selector in environment to 0. Set SSE
11812 state if supported.
11813 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11815 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11817 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11819 2014-05-09 Will Newton <will.newton@linaro.org>
11821 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11822 and libc_relro_required for ARM.
11823 * sysdeps/arm/preconfigure: Regenerate.
11825 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11826 Stefan Liebler <stli@linux.vnet.ibm.com>
11828 * config.make.in (enable-lock-elision): New Makefile variable.
11829 * configure.ac: Likewise.
11830 * configure: Regenerate.
11831 * sysdeps/s390/configure.ac:
11832 Add check for gcc transactions support.
11833 * sysdeps/s390/configure: Regenerate.
11834 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11835 Build elision files if enabled.
11836 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11837 Add lock elision support for s390.
11838 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11839 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11840 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11841 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11842 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11843 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11844 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11846 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11848 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11850 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11852 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11853 (__lll_timedlock_elision, __lll_lock_elision)
11854 (__lll_unlock_elision, __lll_trylock_elision)
11855 (lll_timedlock_elision, lll_lock_elision)
11856 (lll_unlock_elision, lll_trylock_elision): Add.
11857 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11858 (pthread_mutex_t): Add lock elision support for s390.
11860 2014-05-14 Wilco <wdijkstr@arm.com>
11862 * sysdeps/arm/fclrexcpt.c: Cleanup.
11863 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11864 * sysdeps/arm/feenablxcpt.c: Cleanup.
11865 * sysdeps/arm/fegetenv.c: Cleanup.
11866 * sysdeps/arm/fegetexcept.c: Cleanup.
11867 * sysdeps/arm/fegetround.c: Cleanup.
11868 * sysdeps/arm/feholdexcpt.c: Cleanup.
11869 * sysdeps/arm/fesetenv.c: Cleanup.
11870 * sysdeps/arm/fesetround.c: Cleanup.
11871 * sysdeps/arm/feupdateenv.c: Cleanup.
11872 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11873 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11874 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11875 * sysdeps/arm/ftestexcept.c: Cleanup.
11876 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11877 * sysdeps/arm/setfpucw.c: Cleanup.
11879 2014-05-09 Will Newton <will.newton@linaro.org>
11881 * sysdeps/arm/armv7/strcmp.S: New file.
11882 * NEWS: Mention addition of ARMv7 optimized strcmp.
11884 2014-05-08 Roland McGrath <roland@hack.frob.com>
11886 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11887 look for %.ac rather than %.in.
11889 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11890 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11891 * sysdeps/mach/hurd/configure: Regenerated.
11892 * sysdeps/unix/sysv/linux/configure: Regenerated.
11894 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11896 2014-05-07 Steve Ellcey <sellcey@mips.com>
11899 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11903 2014-05-07 Andreas Schwab <schwab@suse.de>
11905 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11906 when skipping over non-matching result from nscd.
11908 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11911 * nptl/sockperf.c (client): Check socket return value.
11914 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11915 nscd security class.
11917 2014-05-06 Roland McGrath <roland@hack.frob.com>
11919 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11920 * sysdeps/arm/unwind.h: ... here.
11922 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11925 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11928 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11930 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11931 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11932 multiarch strncpy for PPC64.
11933 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11934 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11935 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11936 multiarch optimizations.
11937 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11938 (__libc_ifunc_impl_list): Likewise.
11939 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11940 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11941 multiarch stpncpy for PPC64.
11942 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11943 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11945 2014-05-06 Andreas Schwab <schwab@suse.de>
11948 * gmon/mcount.c (_MCOUNT_DECL): Use
11949 atomic_compare_and_exchange_bool_acq instead of
11950 catomic_compare_and_exchange_bool_acq.
11952 2014-05-05 Roland McGrath <roland@hack.frob.com>
11954 * elf/Makefile (others, install-bin): Remove pldd.
11955 (pldd-modules): Variable removed.
11956 ($(objpfx)pldd): Target removed.
11957 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11958 (others, install-bin): Append pldd here.
11959 ($(objpfx)pldd): New target.
11961 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11962 to 0, so the first #if test emitted later doesn't see it undefined.
11963 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11964 * sysdeps/gnu/errlist.c: Regenerated.
11966 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11968 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11969 [libc_hidden_builtin_def]: Define to empty value.
11970 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11971 [libc_hidden_builtin_def]: Likewise.
11972 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11973 [libc_hidden_builtin_def]: Likewise.
11974 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11975 [libc_hidden_builtin_def]: Likewise.
11976 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11977 __redirect_memcpy and define ifunc as default hidden symbol.
11978 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11979 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11981 2014-05-04 Adam Conrad <adconrad@0c3.net>
11983 * locale/iso-4217.def: Reintroduce XDR currency.
11985 2014-05-04 Allan McRae <allan@archlinux.org>
11987 * po/eo.po: Update Esperanto translation from translation project.
11989 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11991 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11992 and FEATURE_INDEX_MAX to 1.
11993 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11995 2014-05-01 Steve Ellcey <sellcey@mips.com>
11997 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11998 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11999 * iconvdata/big5.c (ONE_DIRECTION): Define.
12000 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12001 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12002 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12003 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12004 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12005 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12006 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12007 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12008 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12009 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12010 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12011 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12012 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12013 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12014 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12015 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12016 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12017 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12018 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12019 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12020 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12021 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12022 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12023 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12024 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12025 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12026 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12027 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12028 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12029 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12030 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12031 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12032 * iconvdata/johab.c (ONE_DIRECTION): Define.
12033 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12034 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12035 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12036 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12037 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12038 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12039 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12040 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12041 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12042 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12044 2014-05-01 Roland McGrath <roland@hack.frob.com>
12046 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12047 (_IO_JUMPS_OFFSET): Define to 0.
12049 * nptl/sysdeps/pthread/bits/libc-lock.h
12050 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12051 (__libc_lock_define_initialized_recursive): Always define using
12052 initializer. Modern compilers treat uninitialized (implicit zero) and
12053 explicit zero initializers the same (i.e. put the datum in bss).
12055 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12057 * nscd/nscd-client.h: Include <string.h>.
12059 2014-05-01 David S. Miller <davem@davemloft.net>
12062 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12063 multiple zero bytes exist at the end of a string.
12064 Reported by Aurelien Jarno <aurelien@aurel32.net>
12066 * string/test-strcmp.c (check): Add explicit test for situations where
12067 there are multiple zero bytes after the first.
12069 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12072 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12073 when compiling wprintf.
12074 * stdio-common/tstdiomisc.c (t3): New function.
12077 2014-05-01 Steve Ellcey <sellcey@mips.com>
12079 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12080 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12081 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12082 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12084 2014-05-01 Steve Ellcey <sellcey@mips.com>
12086 * stdlib/longlong.h: Updated from GCC.
12088 2014-05-01 Will Newton <will.newton@linaro.org>
12089 Bernard Ogden <bernie.ogden@linaro.org>
12091 * NEWS: Update fixed bug list.
12094 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12096 2014-04-30 David S. Miller <davem@davemloft.net>
12098 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12099 (libc_feholdexcept_setround_sparc_ctx): New function.
12100 (libc_fesetenv_sparc_ctx): Likewise.
12101 (libc_feupdateenv_sparc_ctx): Likewise.
12102 (libc_feholdsetround_sparc_ctx): Likewise.
12103 (libc_feholdexcept_setround_ctx): Define.
12104 (libc_feholdexcept_setroundf_ctx): Likewise.
12105 (libc_feholdexcept_setroundl_ctx): Likewise.
12106 (libc_fesetenv_ctx): Likewise.
12107 (libc_fesetenvf_ctx): Likewise.
12108 (libc_fesetenvl_ctx): Likewise.
12109 (libc_feupdateenv_ctx): Likewise.
12110 (libc_feupdateenvf_ctx): Likewise.
12111 (libc_feupdateenvl_ctx): Likewise.
12112 (libc_feresetround_ctx): Likewise.
12113 (libc_feresetroundf_ctx): Likewise.
12114 (libc_feresetroundl_ctx): Likewise.
12115 (libc_feholdsetround_ctx): Likewise.
12116 (libc_feholdsetroundf_ctx): Likewise.
12117 (libc_feholdsetroundl_ctx): Likewise.
12119 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12120 with __USE_GNU instead of XOPEN cpp guards.
12122 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12126 with XOPEN cpp guards.
12128 2014-04-30 Julian Brown <julian@codesourcery.com>
12131 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12134 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12137 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12139 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12140 * sysdeps/unix/sysv/linux/configure: Regenerated.
12141 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12142 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12143 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12144 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12145 * README: Update reference to required Linux kernel version.
12146 * manual/install.texi (Linux): Update reference to required Linux
12147 kernel headers version.
12148 * INSTALL: Regenerated.
12150 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12152 [POSIX] (limits.h): Likewise.
12153 [POSIX] (math.h): Likewise.
12154 [POSIX] (sys/wait.h): Likewise.
12155 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12157 [POSIX] (stddef.h): Do not allow header inclusion.
12159 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12161 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12163 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12165 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12166 Return immediately after lll_futex_wake.
12168 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12171 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12173 (datahead_init_pos): Call datahead_init_common early.
12174 (datahead_init_neg): Likewise.
12176 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12177 datahead_init_neg): New functions.
12178 * nscd/aicache.c (addhstaiX): Use them.
12179 * nscd/grpcache.c (cache_addgr): Likewise.
12180 * nscd/hstcache.c (cache_addhst): Likewise.
12181 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12182 * nscd/netgroupcache.c (do_notfound): Likewise.
12183 (addgetnetgrentX): Likewise.
12184 (addinnetgrX): Likewise.
12185 * nscd/pwdcache.c (cache_addpw): Likewise.
12186 * nscd/servicescache.c (cache_addserv): Likewise.
12188 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12189 Atsushi Onoe <atsushi@onoe.org>
12194 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12195 one response is valid.
12196 * resolv/res_send.c (send_dg): Check for validity of other
12197 response if the current response is a referral.
12199 2014-04-29 Steve Ellcey <sellcey@mips.com>
12201 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12203 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12206 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12207 Always divide by positive zero when computing -Inf result.
12208 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12209 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12211 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12213 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12214 FPSCR if value do not change.
12215 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12216 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12217 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12218 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12219 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12220 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12223 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12225 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12226 * sysdeps/unix/sysv/linux/hppa: Move directory from
12227 ports/systeps/unix/sysv/linux/hppa.
12228 * README: Update listing for hppa-*-linux-gnu.
12230 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12233 * manual/stdio.texi (Hook functions): Fix types of stream hook
12236 * socket/sys/socket.h: Fix typo in comment.
12238 2014-04-28 Wilco <wdijkstr@arm.com>
12240 * sysdeps/arm/fenv_private.h: New file.
12241 * sysdeps/arm/math_private.h: New file.
12242 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12244 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12246 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12248 (La_x86_64_retval): Likewise.
12250 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12252 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12253 fpsr if value didn't change.
12254 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12255 to fpcr if value didn't change.
12256 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12257 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12258 fpsr or fpcr if value didn't change.
12259 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12260 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12261 fpcr if value didn't change.
12262 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12263 to fpsr if value didn't change.
12265 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12267 * nptl/tst-sem3.c: Use test-skeleton.c
12268 (main): Rename to do_test. Use return instead of
12270 * nptl/tst-sem4.c: Use test-skeleton.c
12271 (main): Rename to do_test.
12273 2014-04-22 David S. Miller <davem@davemloft.net>
12275 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12276 (struct sigaction): New struct member __glibc_reserved0, change
12277 type of sa_flags to int.
12279 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12281 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12282 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12284 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12286 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12287 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12289 2014-04-22 Will Newton <will.newton@linaro.org>
12290 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12292 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12293 (__longjmp): Add longjmp and longjmp_target SystemTap
12295 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12296 (__sigsetjmp): Add setjmp SystemTap probe.
12298 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12300 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12301 match manual order.
12303 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12305 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12307 * sysdeps/powerpc/fpu/fenv_private.h
12308 (libc_feholdexcept_setroundl_ctx): Define to
12309 libc_feholdexcept_setround_ppc_ctx.
12310 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12311 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12312 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12313 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12315 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12317 * sysdeps/aarch64/math-tests.h: New file.
12319 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12321 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12324 Check and set bit_AVX2_Usable.
12325 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12327 (bit_AVX2): Likewise.
12328 (index_AVX2_Usable): Likewise.
12329 (CPUID_AVX2): Likewise.
12330 (HAS_AVX2): Likewise.
12332 2014-04-17 Will Newton <will.newton@linaro.org>
12334 * manual/setjmp.texi (System V contexts): Add note that
12335 calling setcontext on a context created by a call to a
12336 signal handler is undefined. Update text to note that
12337 setcontext from a signal handler is possible but not
12341 * stdlib/tst-setcontext.c: Include signal.h.
12342 (main): Check that the signal stack before and
12343 after swapcontext is the same.
12345 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12346 Re-implement to restore registers in user code and avoid
12347 rt_sigreturn system call.
12349 2014-04-17 Wilco <wdijkstr@arm.com>
12351 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12352 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12353 * math/test-fenv.c: Skip exception trap tests on targets which only
12354 support non-stop mode.
12356 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12357 Wilco Dijkstra <wilco.dijkstra@arm.com>
12359 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12360 (libc_feholdsetround_aarch64_ctx)
12361 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12362 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12363 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12364 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12365 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12366 (libc_feresetround_noexl_ctx): Define.
12368 2014-04-16 Richard Henderson <rth@redhat.com>
12370 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12372 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12375 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12376 const from the non-libc, non-ldso copy.
12378 * sysdeps/alpha/libm-test-ulps: Regenerate.
12380 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12381 Wilco Dijkstra <wilco.dijkstra@arm.com>
12383 * sysdeps/aarch64/fpu/math_private.h: New file.
12385 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12387 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12389 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12392 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12393 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12394 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12395 Intel MPX bound registers before _dl_profile_fixup.
12396 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12397 registers after _dl_profile_fixup. Save and restore bound
12398 registers bnd0/bnd1 when calling _dl_call_pltexit.
12399 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12400 (LR_BND_OFFSET): Likewise.
12401 (LRV_BND0_OFFSET): Likewise.
12402 (LRV_BND1_OFFSET): Likewise.
12404 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12406 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12408 * sysdeps/mach/hurd/i386/tls.h: ... here.
12409 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12410 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12413 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12415 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12417 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12419 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12421 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12424 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12425 * sysdeps/s390/configure: Regenerate.
12428 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12429 Set round-to-nearest internally to reduce error accumulation.
12431 2014-04-16 Alan Modra <amodra@gmail.com>
12435 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12436 * math/libm-test.inc (frexp_test_data): Add tests.
12437 * NEWS: Update fixed bug list.
12439 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12441 * benchtests/Makefile: Depend on libraries in build directory.
12442 (bench-math): Separate out math tests.
12443 (bench-pthread): Separate out pthread tests.
12444 (bench): Include math and pthread tests.
12446 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12449 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12450 _dl_debug_initialize.
12452 * configure.ac: Remove SELinux header check.
12453 * configure: Regenerate.
12454 * nscd/selinux.c (perms): Array of const char* to permission names.
12455 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12456 default policy. Call string_to_security_class and string_to_av_perm to
12457 translate strings. Enforce default policy and call avs_has_perm with
12458 results of translated strings.
12460 2014-04-13 David S. Miller <davem@davemloft.net>
12462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12464 2014-04-12 Allan McRae <allan@archlinux.org>
12467 * manual/string.texi (Collation Functions): Fix qsort argument
12469 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12471 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12473 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12474 Make the test a no-op if there are no exceptions defined.
12476 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12478 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12479 enable-hardcoded-path-in-tests
12481 2014-04-11 Will Newton <will.newton@linaro.org>
12483 * benchtests/Makefile (extra-objs): Add json-lib.o.
12484 (bench-func): Tidy up JSON output.
12485 * benchtests/bench-skeleton.c: Include json-lib.h.
12486 (main): Use JSON library functions to do output of
12488 * benchtests/bench-timing-type.c (main): Output the
12489 timing type simply, leaving formatting to the user.
12490 * benchtests/json-lib.c: New file.
12491 * benchtests/json-lib.h: Likewise.
12493 2014-04-11 Torvald Riegel <triegel@redhat.com>
12496 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12497 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12498 memory barriers. Add comments.
12499 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12500 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12501 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12502 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12503 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12504 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12506 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12508 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12509 * sysdeps/s390/s390-64/configure.ac: ... this ...
12510 * sysdeps/s390/configure.ac: ... to here.
12511 * sysdeps/s390/s390-32/configure: Delete file.
12512 * sysdeps/s390/s390-64/configure: Delete file.
12513 * sysdeps/s390/configure: Regenerate.
12515 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12517 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12519 2014-04-11 Will Newton <will.newton@linaro.org>
12521 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12522 to zero if it is not defined elsewhere. (mtrim): Test
12523 the value of MALLOC_DEBUG with #if rather than #ifdef.
12525 2014-04-10 Torvald Riegel <triegel@redhat.com>
12527 * benchtests/pthread_once-inputs: New file.
12528 * benchtests/pthread_once-source.c: New file.
12529 * benchtests/README: Update documentation.
12531 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12532 H.J. Lu <hongjiu.lu@intel.com>
12535 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12536 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12537 * sysdeps/x86_64/configure: Regenerated.
12538 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12540 (REGISTER_SAVE_RAX): Likewise.
12541 (REGISTER_SAVE_RCX): Likewise.
12542 (REGISTER_SAVE_RDX): Likewise.
12543 (REGISTER_SAVE_RSI): Likewise.
12544 (REGISTER_SAVE_RDI): Likewise.
12545 (REGISTER_SAVE_R8): Likewise.
12546 (REGISTER_SAVE_R9): Likewise.
12547 (REGISTER_SAVE_BND0): Likewise.
12548 (REGISTER_SAVE_BND1): Likewise.
12549 (REGISTER_SAVE_BND2): Likewise.
12550 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12551 bound registers when calling _dl_fixup.
12553 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12555 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12556 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12558 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12559 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12560 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12561 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12562 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12563 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12564 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12566 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12569 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12570 pathconf(_PC_NAME_MAX).
12572 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12574 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12575 Remove macro usage.
12576 (__PTHREAD_SPINS): Move definition to ...
12577 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12578 (__PTHREAD_SPINS): ... here.
12579 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12580 (__PTHREAD_SPIN): Likewise.
12581 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12582 (__PTHREAD_SPIN): Likewise.
12583 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12584 (__PTHREAD_SPIN): Likewise.
12585 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12586 (__PTHREAD_SPIN): Likewise.
12587 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12588 (__PTHREAD_SPIN): Likewise.
12589 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12590 (__PTHREAD_SPIN): Likewise.
12591 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12592 (__PTHREAD_SPIN): Likewise.
12593 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12594 (__PTHREAD_SPIN): Likewise.
12595 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12596 (__PTHREAD_SPIN): Likewise.
12597 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12598 (__PTHREAD_SPIN): Likewise.
12599 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12600 (__PTHREAD_SPIN): Likewise.
12601 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12602 (__PTHREAD_SPIN): Likewise.
12604 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12605 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12606 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12607 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12609 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12610 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12611 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12612 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12613 correct imply path.
12614 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12615 strlen symbol for non multi-arch builds.
12616 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12617 missing hidden_def and weak_alias.
12619 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12621 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12623 2014-04-07 Will Newton <will.newton@linaro.org>
12625 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12626 and contents. [!_LIBC] Remove #ifndef and contents.
12627 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12628 * string/memccpy.c (__memccpy): Use ANSI prototype.
12629 * string/memfrob.c (memfrob): Likewise.
12630 * string/strcoll.c (STRCOLL): Likewise.
12631 * string/strlen.c (strlen): Likewise.
12632 * string/strtok.c (STRTOK): Likewise.
12633 * string/strcat.c: Remove unused #include of memcopy.h.
12634 (strcat): Use ANSI prototype.
12635 * string/strchr.c: Remove unused #include of memcopy.h.
12636 (strchr): Use ANSI prototype.
12637 * string/strcmp.c: Remove unused #include of memcopy.h.
12638 (strcmp): Use ANSI prototype.
12639 * string/strcpy.c: Remove unused #include of memcopy.h.
12640 (strcpy): Use ANSI prototype.
12642 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12644 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12645 * config.make.in (config-extra-cppflags): Set it from
12646 libc_extra_cppflags.
12647 * configure.ac (libc_extra_cflags): Make it accumulate over
12648 configure fragments.
12649 (libc_extra_cppflags): New flag.
12650 * configure. Regenerate.
12651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12652 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12653 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12658 result for FE_DOWNWARD rounding mode.
12659 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12663 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12665 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12666 in function argument name.
12668 2014-04-03 David Svoboda <svoboda@cert.org>
12671 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12674 2014-04-03 Roland McGrath <roland@hack.frob.com>
12676 * elf/dl-unmap-segments.h: New file.
12677 * sysdeps/generic/ldsodefs.h
12678 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12679 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12680 * elf/dl-fptr.c: Likewise.
12681 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12682 * sysdeps/aarch64/tlsdesc.c: Likewise.
12683 * sysdeps/arm/tlsdesc.c: Likewise.
12684 * sysdeps/i386/tlsdesc.c: Likewise.
12685 * sysdeps/tile/dl-runtime.c: Likewise.
12686 * sysdeps/x86_64/tlsdesc.c: Likewise.
12687 * elf/dl-load.h: New file.
12688 * elf/dl-load.c: Include it.
12689 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12690 Macros moved to dl-load.h.
12691 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12692 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12693 Use _dl_unmap_segments in place of __munmap.
12694 Break out segment-mapping loop into ...
12695 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12697 2014-04-03 Will Newton <will.newton@linaro.org>
12699 * elf/dl-lookup.c (do_lookup_x): Remove comment
12700 referring to nested function and move variable
12701 declarations down to before first use.
12703 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12707 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12709 * math/s_catanf.c (__catanf): Likewise.
12710 * math/s_catanh.c (__catanh): Likewise.
12711 * math/s_catanhf.c (__catanhf): Likewise.
12712 * math/s_catanhl.c (__catanhl): Likewise.
12713 * math/s_catanl.c (__catanl): Likewise.
12714 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12715 by positive zero when computing -Inf result.
12716 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12717 (catanh_test): Likewise.
12718 * sysdeps/i386/fpu/libm-test-ulps: Update.
12719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12722 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12723 instead of using underflowing value in computing result.
12724 * math/s_clog10.c (__clog10): Likewise.
12725 * math/s_clog10f.c (__clog10f): Likewise.
12726 * math/s_clog10l.c (__clog10l): Likewise.
12727 * math/s_clogf.c (__clogf): Likewise.
12728 * math/s_clogl.c (__clogl): Likewise.
12729 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12730 (clog10_test): Likewise.
12731 * sysdeps/i386/fpu/libm-test-ulps: Update.
12732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12734 2014-04-02 Alan Modra <amodra@gmail.com>
12737 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12738 output when value is near a power of two. Use int64_t for lx and
12739 remove casts. Use decimal rather than hex exponent constants.
12740 Don't use long double multiplication when double will suffice.
12741 * math/libm-test.inc (nextafter_test_data): Add tests.
12742 * NEWS: Add 16739 and 16786 to bug list.
12744 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12746 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12748 2014-04-01 Will Newton <will.newton@linaro.org>
12750 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12751 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12753 2014-04-01 Florian Weimer <fweimer@redhat.com>
12756 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12757 * nptl/tst-setuid2.c: New file.
12758 * nptl/Makefile (xtests): Add tst-setuid2.
12760 2014-04-01 Alan Modra <amodra@gmail.com>
12763 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12765 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12769 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12770 set errno as appropriate.
12771 * math/w_scalbf.c (__scalbf): Likewise.
12772 * math/w_scalbl.c (__scalbl): Likewise.
12773 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12774 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12775 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12776 Add more NaN tests.
12779 * math/w_atan2.c: Include <errno.h>.
12780 (__atan2): Set errno for result underflowing to zero.
12781 * math/w_atan2f.c: Include <errno.h>.
12782 (__atan2f): Set errno for result underflowing to zero.
12783 * math/w_atan2l.c: Include <errno.h>.
12784 (__atan2l): Set errno for result underflowing to zero.
12785 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12787 * math/auto-libm-test-out: Regenerated.
12789 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12791 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12792 Encode instruction correctly in little endian.
12793 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12795 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12797 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12799 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12802 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12805 * sysdeps/unix/sysv/linux/kernel-features.h
12806 [__sparc__ && !__arch64__ && !__sparc_v9__]
12807 (__ASSUME_SET_ROBUST_LIST): Do not define.
12808 [__sparc__ && !__arch64__ && !__sparc_v9__]
12809 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12810 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12812 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12813 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12814 (__ASSUME_REQUEUE_PI): Likewise.
12815 (__ASSUME_SET_ROBUST_LIST): Likewise.
12816 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12817 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12819 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12820 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12822 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12824 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12826 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12827 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12829 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12830 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12834 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12835 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12836 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12838 2014-03-31 Will Newton <will.newton@linaro.org>
12840 * benchtests/Makefile (bench): Add ffs and ffsll to list
12842 * benchtests/ffs-inputs: New file.
12843 * benchtests/ffsll-inputs: Likewise.
12845 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12848 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12849 too large before casting to int.
12850 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12851 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12852 * math/libm-test.inc (scalb_test_data): Add more tests.
12854 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12856 * benchtests/Makefile (DETAILED_OPT): New make option.
12857 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12859 * benchtests/bench-skeleton.c: Include stdbool.h.
12860 (main): Store and print timings per input.
12861 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12862 member to each argument value.
12863 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12864 (_print_arg_data): Initialize per-input timing to 0.
12866 * benchtests/Makefile (timing-type): New binary.
12867 (bench-clean): Also remove bench-timing-type.
12868 (bench): New target for timing-type.
12869 (bench-func): Print output in JSON format.
12870 * benchtests/bench-skeleton.c (main): Print output in JSON
12872 * benchtests/bench-timing-type.c: New file.
12873 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12874 (TIMING_PRINT_STATS): Remove.
12875 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12878 * benchtests/bench-modf.c: Remove.
12879 * benchtests/modf-inputs: New inputs file.
12881 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12884 * math/s_clog10.c (M_PI_LOG10E): New macro.
12885 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12886 imaginary parts are 0.
12887 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12888 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12889 imaginary parts are 0.
12890 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12891 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12892 imaginary parts are 0.
12893 * math/libm-test.inc (clog10_test_data): Update expected results
12894 for when real and imaginary parts are 0.
12896 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12898 * elf/dl-load.c: Finish conversion of __builtin_expect into
12899 __glibc_{un}likely.
12901 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12904 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12905 1+x for argument with exponent below -67.
12906 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12908 * math/auto-libm-test-in: Add more tests of exp.
12909 * math/auto-libm-test-out: Regenerated.
12911 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12914 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12915 (nscd_getnetgrent): Use it.
12918 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12921 2014-03-27 Andi Kleen <ak@linux.intel.com>
12923 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12924 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12925 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12926 (lll_robust_unlock): Remove out of line section. Use cfi
12928 (LLL_STUB_UNWIND_INFO*): Remove.
12929 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12930 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12931 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12932 (lll_robust_unlock): Remove out of line section. Use cfi
12934 (LLL_STUB_UNWIND_INFO*): Remove.
12936 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12939 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12942 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12944 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12946 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12949 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12951 * math/test-fenv-preserve.c: New file.
12952 * math/Makefile (tests): Add test-fenv-preserve.
12954 2014-03-26 Will Newton <will.newton@linaro.org>
12956 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12958 2014-03-25 Roland McGrath <roland@hack.frob.com>
12960 * scripts/versionlist.awk: Partition the version sets and emit all
12961 GLIBC_* (sorted) before all others (sorted).
12963 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12965 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12966 GLIBC_2.2.5 version.
12968 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12970 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12973 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12978 2014-03-25 Andreas Schwab <schwab@suse.de>
12980 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12981 label to be used after in6ailist is initialized.
12983 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12985 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12986 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12988 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12992 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12994 (fp_formats): Update initializers.
12995 (init_fp_formats): Initialize new field.
12996 (output_for_one_input_case): Allow underflow for results up to
12998 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12999 * math/auto-libm-test-in: Don't mark some underflows from asin and
13001 * math/auto-libm-test-out: Regenerated.
13002 * sysdeps/i386/fpu/libm-test-ulps: Update.
13003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13005 2014-03-25 Andreas Schwab <schwab@suse.de>
13007 * libio/Makefile (tst-ftell-partial-wide-ENV)
13008 (tst-ftell-active-handler-ENV): Define.
13010 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13012 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13014 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13016 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13018 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13020 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13021 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13022 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13024 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13027 * elf/dl-load.c (open_verify): Add mode parameter.
13028 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13029 (open_path): Change from boolean 'secure' to complete flag 'mode'
13030 (_dl_map_object): Adjust.
13031 * elf/Makefile (tests): Add tst-dlopen-aout.
13032 * elf/tst-dlopen-aout.c: New test.
13034 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13037 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13038 (struct stat): Rename member pad0 to __glibc_reserved0.
13041 * sysdeps/s390/s390-32/bits/wordsize.h
13042 (__WORDSIZE32_SIZE_ULONG): New define.
13043 * sysdeps/s390/s390-64/bits/wordsize.h
13044 (__WORDSIZE32_SIZE_ULONG): Likewise.
13045 * sysdeps/generic/stdint.h (SIZE_MAX):
13046 Define as UL if __WORDSIZE32_SIZE_ULONG.
13049 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13050 (__glibc_reserved0): New variable.
13051 (sa_flags): Change type to int.
13053 * posix/Makefile (before-compile): Use += before-compile instead
13056 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13057 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13059 2014-03-20 Andreas Schwab <schwab@suse.de>
13062 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13063 non-matching result from nscd.
13065 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13067 * scripts/bench.py: Moved to ...
13068 * benchtests/scripts/bench.py: ... here.
13069 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13071 2014-03-24 Andreas Schwab <schwab@suse.de>
13074 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13075 alloca_account and account alloca use for struct in6ailist.
13077 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13080 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13081 rounding mode to recompute results that overflow to infinity or
13083 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13085 * math/auto-libm-test-out: Regenerated.
13086 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13087 (ccosh_test): Likewise.
13088 (csin_test_data): Use plus_oflow.
13089 (csin_test): Use ALL_RM_TEST.
13090 (csinh_test_data): Use plus_oflow.
13091 (csinh_test): Use ALL_RM_TEST.
13092 * sysdeps/i386/fpu/libm-test-ulps: Update.
13093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13095 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13097 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13098 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13099 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13102 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13103 when x - 1 is zero.
13104 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13105 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13106 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13107 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13109 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13110 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13112 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13113 * sysdeps/i386/fpu/libm-test-ulps: Update.
13114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13116 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13118 * scripts/bench.pl: Remove file.
13119 * scripts/bench.py: New benchmark script.
13120 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13121 * benchtests/README: Mention python dependency.
13122 * scripts/pylintrc: New file.
13123 * scripts/pylint: New file.
13125 * bits/mathdef.h: Use #ifdef instead of #if.
13126 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13127 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13128 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13129 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13130 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13131 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13133 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13134 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13136 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13138 and strpbrk-ppc64 objects.
13139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13140 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13141 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13142 multiarch strpbrk for POWER7.
13143 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13144 multiarch strpbrk for PPC64.
13145 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13147 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13148 strpbrk for POWER7.
13150 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13152 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13153 (atan_test): Likewise.
13154 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13155 (atanh_test): Use ALL_RM_TEST.
13156 (atan2_test_data): Likewise.
13157 (cabs_test): Likewise.
13158 (cacosh_test): Likewise.
13159 (carg_test): Likewise.
13160 (casin_test): Likewise.
13161 (casinh_test): Likewise.
13162 (cbrt_test): Likewise.
13163 (csqrt_test): Likewise.
13164 (erf_test): Likewise.
13165 (erfc_test): Likewise.
13166 (pow10_test): Likewise.
13167 (exp2_test): Likewise.
13168 (hypot_test): Likewise.
13169 (j0_test): Likewise.
13170 (j1_test): Likewise.
13171 (lgamma_test): Likewise.
13172 (gamma_test): Likewise.
13173 (sincos_test): Likewise.
13174 (tanh_test): Likewise.
13175 (y0_test): Likewise.
13176 (y1_test): Likewise.
13177 * sysdeps/i386/fpu/libm-test-ulps: Update.
13178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13180 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13182 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13184 and strcspn-ppc64 objects.
13185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13186 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13187 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13188 multiarch strcspn for POWER7.
13189 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13190 multiarch strcspn for PPC64.
13191 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13193 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13194 strcspn for POWER7.
13196 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13198 * math/gen-libm-test.pl (generate_testfile): Expect only function
13199 name as argument to AUTO_TESTS_* and pass results for all rounding
13200 modes to parse_args.
13201 (parse_auto_input): Separate inputs of automatic tests from
13202 outputs before storing in %auto_tests.
13203 * math/libm-test.inc (acos_test_data): Update call to
13205 (acos_test): Use ALL_RM_TEST.
13206 (acos_tonearest_test_data): Remove.
13207 (acos_test_tonearest): Likewise.
13208 (acos_towardzero_test_data): Likewise.
13209 (acos_test_towardzero): Likewise.
13210 (acos_downward_test_data): Likewise.
13211 (acos_test_downward): Likewise.
13212 (acos_upward_test_data): Likewise.
13213 (acos_test_upward): Likewise.
13214 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13215 (asin_test_data): Likewise.
13216 (asin_test): Use ALL_RM_TEST.
13217 (asin_tonearest_test_data): Remove.
13218 (asin_test_tonearest): Likewise.
13219 (asin_towardzero_test_data): Likewise.
13220 (asin_test_towardzero): Likewise.
13221 (asin_downward_test_data): Likewise.
13222 (asin_test_downward): Likewise.
13223 (asin_upward_test_data): Likewise.
13224 (asin_test_upward): Likewise.
13225 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13226 (atan_test_data): Likewise.
13227 (atanh_test_data): Likewise.
13228 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13229 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13230 (carg_test_data): Likewise.
13231 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13232 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13233 (ccosh_test_data): Likewise.
13234 (cexp_test_data): Likewise.
13235 (clog_test_data): Likewise.
13236 (clog10_test_data): Likewise.
13237 (cos_test_data): Update call to AUTO_TESTS_f_f.
13238 (cos_test): Use ALL_RM_TEST.
13239 (cos_tonearest_test_data): Remove.
13240 (cos_test_tonearest): Likewise.
13241 (cos_towardzero_test_data): Likewise.
13242 (cos_test_towardzero): Likewise.
13243 (cos_downward_test_data): Likewise.
13244 (cos_test_downward): Likewise.
13245 (cos_upward_test_data): Likewise.
13246 (cos_test_upward): Likewise.
13247 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13248 (cosh_test): Use ALL_RM_TEST.
13249 (cosh_tonearest_test_data): Remove.
13250 (cosh_test_tonearest): Likewise.
13251 (cosh_towardzero_test_data): Likewise.
13252 (cosh_test_towardzero): Likewise.
13253 (cosh_downward_test_data): Likewise.
13254 (cosh_test_downward): Likewise.
13255 (cosh_upward_test_data): Likewise.
13256 (cosh_test_upward): Likewise.
13257 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13258 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13259 (ctan_test_data): Likewise.
13260 (ctan_test): Use ALL_RM_TEST.
13261 (ctan_tonearest_test_data): Remove.
13262 (ctan_test_tonearest): Likewise.
13263 (ctan_towardzero_test_data): Likewise.
13264 (ctan_test_towardzero): Likewise.
13265 (ctan_downward_test_data): Likewise.
13266 (ctan_test_downward): Likewise.
13267 (ctan_upward_test_data): Likewise.
13268 (ctan_test_upward): Likewise.
13269 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13270 (ctanh_test): Use ALL_RM_TEST.
13271 (ctanh_tonearest_test_data): Remove.
13272 (ctanh_test_tonearest): Likewise.
13273 (ctanh_towardzero_test_data): Likewise.
13274 (ctanh_test_towardzero): Likewise.
13275 (ctanh_downward_test_data): Likewise.
13276 (ctanh_test_downward): Likewise.
13277 (ctanh_upward_test_data): Likewise.
13278 (ctanh_test_upward): Likewise.
13279 (erf_test_data): Update call to AUTO_TESTS_f_f.
13280 (erfc_test_data): Likewise.
13281 (exp_test_data): Likewise.
13282 (exp_test): Use ALL_RM_TEST.
13283 (exp_tonearest_test_data): Remove.
13284 (exp_test_tonearest): Likewise.
13285 (exp_towardzero_test_data): Likewise.
13286 (exp_test_towardzero): Likewise.
13287 (exp_downward_test_data): Likewise.
13288 (exp_test_downward): Likewise.
13289 (exp_upward_test_data): Likewise.
13290 (exp_test_upward): Likewise.
13291 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13292 (exp10_test): Use ALL_RM_TEST.
13293 (exp10_tonearest_test_data): Remove.
13294 (exp10_test_tonearest): Likewise.
13295 (exp10_towardzero_test_data): Likewise.
13296 (exp10_test_towardzero): Likewise.
13297 (exp10_downward_test_data): Likewise.
13298 (exp10_test_downward): Likewise.
13299 (exp10_upward_test_data): Likewise.
13300 (exp10_test_upward): Likewise.
13301 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13302 (expm1_test_data): Likewise.
13303 (expm1_test): Use ALL_RM_TEST.
13304 (expm1_tonearest_test_data): Remove.
13305 (expm1_test_tonearest): Likewise.
13306 (expm1_towardzero_test_data): Likewise.
13307 (expm1_test_towardzero): Likewise.
13308 (expm1_downward_test_data): Likewise.
13309 (expm1_test_downward): Likewise.
13310 (expm1_upward_test_data): Likewise.
13311 (expm1_test_upward): Likewise.
13312 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13313 (fma_test): Use ALL_RM_TEST.
13314 (fma_towardzero_test_data): Remove.
13315 (fma_test_towardzero): Likewise.
13316 (fma_downward_test_data): Likewise.
13317 (fma_test_downward): Likewise.
13318 (fma_upward_test_data): Likewise.
13319 (fma_test_upward): Likewise.
13320 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13321 (j0_test_data): Update call to AUTO_TESTS_f_f.
13322 (j1_test_data): Likewise.
13323 (jn_test_data): Update call to AUTO_TESTS_if_f.
13324 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13325 (log_test_data): Update call to AUTO_TESTS_f_f.
13326 (log10_test_data): Likewise.
13327 (log1p_test_data): Likewise.
13328 (log2_test_data): Likewise.
13329 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13330 (pow_tonearest_test_data): Likewise.
13331 (sin_test_data): Update call to AUTO_TESTS_f_f.
13332 (sin_test): Use ALL_RM_TEST.
13333 (sin_tonearest_test_data): Remove.
13334 (sin_test_tonearest): Likewise.
13335 (sin_towardzero_test_data): Likewise.
13336 (sin_test_towardzero): Likewise.
13337 (sin_downward_test_data): Likewise.
13338 (sin_test_downward): Likewise.
13339 (sin_upward_test_data): Likewise.
13340 (sin_test_upward): Likewise.
13341 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13342 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13343 (sinh_test): Use ALL_RM_TEST.
13344 (sinh_tonearest_test_data): Remove.
13345 (sinh_test_tonearest): Likewise.
13346 (sinh_towardzero_test_data): Likewise.
13347 (sinh_test_towardzero): Likewise.
13348 (sinh_downward_test_data): Likewise.
13349 (sinh_test_downward): Likewise.
13350 (sinh_upward_test_data): Likewise.
13351 (sinh_test_upward): Likewise.
13352 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13353 (sqrt_test): Use ALL_RM_TEST.
13354 (sqrt_tonearest_test_data): Remove.
13355 (sqrt_test_tonearest): Likewise.
13356 (sqrt_towardzero_test_data): Likewise.
13357 (sqrt_test_towardzero): Likewise.
13358 (sqrt_downward_test_data): Likewise.
13359 (sqrt_test_downward): Likewise.
13360 (sqrt_upward_test_data): Likewise.
13361 (sqrt_test_upward): Likewise.
13362 (tan_test_data): Update call to AUTO_TESTS_f_f.
13363 (tan_test): Use ALL_RM_TEST.
13364 (tan_tonearest_test_data): Remove.
13365 (tan_test_tonearest): Likewise.
13366 (tan_towardzero_test_data): Likewise.
13367 (tan_test_towardzero): Likewise.
13368 (tan_downward_test_data): Likewise.
13369 (tan_test_downward): Likewise.
13370 (tan_upward_test_data): Likewise.
13371 (tan_test_upward): Likewise.
13372 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13373 (tgamma_test_data): Likewise.
13374 (y0_test_data): Likewise.
13375 (y1_test_data): Likewise.
13376 (yn_test_data): Update call to AUTO_TESTS_if_f.
13377 (main): Do not call removed functions.
13379 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13381 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13382 (ldexp_test_data): Remove.
13383 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13385 (scalb_test): Use ALL_RM_TEST.
13387 2014-03-19 Andreas Schwab <schwab@suse.de>
13389 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13391 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13394 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13395 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13396 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13397 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13398 (__ASSUME_PREADV): Undefine.
13399 (__ASSUME_PWRITEV): Likewise.
13401 2014-03-18 Roland McGrath <roland@hack.frob.com>
13403 * bits/mman-linux.h: Add comment about non-Linux use.
13404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13405 bits/mman-linux.h resting place.
13407 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13408 * bits/mman-linux.h: ... here.
13410 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13412 * conform/conformtest.pl: Add standard definition when calling C
13413 preprocessor on data files.
13414 (checknamespace): Remove unused variable.
13416 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13418 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13419 minus_oflow, plus_uflow and minus_uflow in expected results.
13420 * math/libm-test.inc (scalbn_test_data): Add more tests of
13421 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13423 (scalbn_test): Use ALL_RM_TEST.
13424 (scalbln_test_data): Add more tests of negative arguments. Use
13425 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13426 (scalbln_test): Use ALL_RM_TEST.
13428 2014-03-18 Roland McGrath <roland@hack.frob.com>
13430 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13432 2014-03-18 Will Newton <will.newton@linaro.org>
13434 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13435 inaccurate comment.
13437 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13439 * Makerules [!subdir] (check-abi): Exit with error status if a
13442 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13444 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13445 for rint. Include results for all rounding modes.
13446 (nearbyint_test): Use ALL_RM_TEST.
13447 (rint_test_data): Include all tests used for nearbyint.
13449 2014-03-17 Will Newton <will.newton@linaro.org>
13451 * nptl/sysdeps/pthread/pthread.h: Revert previous
13454 * sysdeps/generic/ldsodefs.h: Revert previous
13457 * libio/genops.c: Revert previous change.
13458 * libio/libioP.h: Likewise.
13459 * stdio-common/vfprintf.c: Likewise.
13461 * sysdeps/generic/math_private.h: Revert previous
13464 * sysdeps/generic/math_private.h: Check whether
13465 HAVE_RM_CTX is defined with #ifdef rather
13468 * argp/argp-fmtstream.h: Check whether
13469 __STRICT_ANSI__ is defined with #ifdef rather
13471 * argp/argp.h: Likewise.
13473 * libio/genops.c: Check whether
13474 _IO_JUMPS_OFFSET is defined with #ifdef rather
13476 * libio/libioP.h: Likewise.
13477 * stdio-common/vfprintf.c: Likewise.
13479 * sysdeps/generic/ldsodefs.h: Check whether
13480 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13483 * nptl/sysdeps/pthread/pthread.h: Check
13484 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13487 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13489 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13491 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13495 * libio/fileops.c (_IO_file_open): Seek to end of file but
13496 don't cache the offset.
13497 (get_file_offset): Remove function.
13498 (do_ftell): Use cached offset when available.
13499 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13500 don't cache the offset.
13501 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13503 (do_one_test): Call it.
13504 (do_ftell_test): Fix up expected old offset for a+ mode.
13505 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13508 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13509 up test status with function return status.
13510 (do_write_test): Likewise.
13511 (do_append_test): Likewise.
13513 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13514 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13517 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13519 * math/gen-libm-test.pl (parse_args): Handle results specified for
13520 each rounding mode separately.
13521 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13522 tests and results from lrint_tonearest_test_data,
13523 lrint_towardzero_test_data, lrint_downward_test_data and
13524 lrint_upward_test_data.
13525 (lrint_test): Use ALL_RM_TEST.
13526 (lrint_tonearest_test_data): Remove.
13527 (lrint_test_tonearest): Likewise.
13528 (lrint_towardzero_test_data): Likewise.
13529 (lrint_test_towardzero): Likewise.
13530 (lrint_downward_test_data): Likewise.
13531 (lrint_test_downward): Likewise.
13532 (lrint_upward_test_data): Likewise.
13533 (lrint_test_upward): Likewise.
13534 (llrint_test_data): Merge in per-rounding-mode tests and results
13535 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13536 llrint_downward_test_data and llrint_upward_test_data.
13537 (llrint_test): Use ALL_RM_TEST.
13538 (llrint_tonearest_test_data): Remove.
13539 (llrint_test_tonearest): Likewise.
13540 (llrint_towardzero_test_data): Likewise.
13541 (llrint_test_towardzero): Likewise.
13542 (llrint_downward_test_data): Likewise.
13543 (llrint_test_downward): Likewise.
13544 (llrint_upward_test_data): Likewise.
13545 (llrint_test_upward): Likewise.
13546 (rint_test_data): Merge in per-rounding-mode tests and results
13547 from rint_tonearest_test_data, rint_towardzero_test_data,
13548 rint_downward_test_data and rint_upward_test_data. Add
13549 per-rounding-mode results for tests not in those arrays.
13550 (rint_test): Use ALL_RM_TEST.
13551 (rint_tonearest_test_data): Remove.
13552 (rint_test_tonearest): Likewise.
13553 (rint_towardzero_test_data): Likewise.
13554 (rint_test_towardzero): Likewise.
13555 (rint_downward_test_data): Likewise.
13556 (rint_test_downward): Likewise.
13557 (rint_upward_test_data): Likewise.
13558 (rint_test_upward): Likewise.
13559 (main): Don't call removed functions.
13561 2014-03-14 Roland McGrath <roland@hack.frob.com>
13563 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13564 "Compiled on ..." crapola. It is anti-useful.
13566 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13568 * scripts/evaluate-test.sh: Handle fourth argument to determine
13569 whether test run should stop on failure.
13570 * Makeconfig (stop-on-test-failure): New variable.
13571 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13572 $(stop-on-test-failure).
13573 * Makefile (tests): Give a summary of results from testing and
13574 exit with failure status if they include an ERROR or FAIL.
13575 (xtests): Likewise.
13576 * manual/install.texi (Configuring and compiling): Mention
13577 stop-on-test-failure=y.
13578 * INSTALL: Regenerated.
13580 2014-03-14 Roland McGrath <roland@hack.frob.com>
13582 * scripts/versionlist.awk: New file.
13583 * Makerules [$(build-shared) = yes]
13584 (postclean-generated): Add Versions.def, not Versions.def.v and
13586 ($(common-objpfx)Versions.def.v.i): Target removed.
13587 ($(common-objpfx)Versions.def): New target.
13588 ($(common-objpfx)Versions.all): Depend on that rather that
13589 $(common-objpfx)Versions.def.v.
13590 * Versions.def: File removed.
13592 * Makeconfig (+gccwarn): Add -Wundef.
13593 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13594 a dl-sysdep.h breaking its contract.
13595 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13596 * include/stackinfo.h: New file.
13597 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13598 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13599 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13600 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13601 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13602 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13603 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13604 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13605 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13606 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13607 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13608 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13609 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13610 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13611 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13613 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13616 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13618 * math/libm-test.inc (round_test_data): Add more tests.
13621 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13623 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13626 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13628 * math/libm-test.inc (ceil_test_data): Add more tests.
13630 * math/libm-test.inc (trunc_test_data): Add more tests related to
13633 2014-03-14 Roland McGrath <roland@hack.frob.com>
13635 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13636 with #if rather than #ifdef.
13637 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13639 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13641 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13642 first. Disable AVX-512 GCC support if assembler doesn't support
13644 * sysdeps/x86_64/configure: Regenerated.
13646 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13648 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13649 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13650 (__old_pthread_attr_setstack): Likewise.
13651 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13652 [!_STACK_GROWS_DOWN]: Likewise.
13654 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13656 * config.make.in (have-bash2): Delete.
13657 * configure.ac (libc_cv_have_bash2): Delete.
13658 * configure: Regenerate.
13659 * elf/Makefile (common-ldd-rewrite): Rename to ...
13660 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13661 (sh-ldd-rewrite): Delete.
13662 (bash-ldd-rewrite): Delete.
13663 (have-bash2): Delete checks.
13664 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13667 * config.make.in (have-ksh): Delete.
13669 * configure.ac (libc_cv_have_ksh): Delete.
13670 * configure: Regenerate.
13672 * elf/Makefile: Delete $(have-ksh) check.
13673 ($(objpfx)sotruss): Change KSH to BASH.
13674 * elf/sotruss.ksh: Rename to ...
13675 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13676 function style to match POSIX. Drop ksh vim mode setting.
13678 * manual/time.texi (Specifying the Time Zone with TZ): Change
13679 Tuesday to Thursday.
13681 * debug/tst-longjmp_chk2.c: Update header comment.
13682 (stackoverflow_handler): Add comment. Call assert on pass value.
13684 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13687 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13688 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13689 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13690 (La_x86_64_vector): Add zmm.
13691 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13692 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13693 ($(objpfx)tst-audit10): New target.
13694 ($(objpfx)tst-audit10.out): Likewise.
13695 (tst-audit10-ENV): New.
13696 (AVX512-CFLAGS): Likewise.
13697 (CFLAGS-tst-audit10.c): Likewise.
13698 (CFLAGS-tst-auditmod10a.c): Likewise.
13699 (CFLAGS-tst-auditmod10b.c): Likewise.
13700 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13701 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13702 * sysdeps/x86_64/configure: Regenerated.
13703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13704 AVX-512 zmm register support.
13705 (_dl_x86_64_save_sse): Likewise.
13706 (_dl_x86_64_restore_sse): Likewise.
13707 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13708 size vector registers.
13709 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13710 (ZMM_SIZE): Likewise.
13711 * sysdeps/x86_64/tst-audit10.c: New file.
13712 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13713 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13715 2014-03-13 Roland McGrath <roland@hack.frob.com>
13717 * configure.ac (HAVE_EHDR_START): New check.
13718 * configure: Regenerated.
13719 * config.h.in (HAVE_EHDR_START): New #undef.
13720 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13721 assuming the lowest-addressed segment maps the start of the file.
13723 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13725 * INSTALL: Regenerated.
13727 2014-03-13 Will Newton <will.newton@linaro.org>
13729 * manual/setjmp.texi (System V contexts): Improve
13730 clarity and grammar of documentation.
13732 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13735 * elf/Makefile (tests): Add tst-pie2.
13736 (tests-pie): Add tst-pie2.
13737 * elf/tst-pie2.c: New file.
13738 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13740 * elf/rtld.c (map_doit): Load executable as lt_executable.
13741 (dl_main): Likewise.
13743 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13746 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13747 (__ASSUME_PSELECT): Undefine.
13749 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13752 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13753 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13755 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13756 selector for static builds.
13758 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13761 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13764 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13766 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13767 IFUNC selector for static builds.
13769 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13771 * sysdeps/mips/math_private.h [__mips_hard_float]
13772 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13773 libc_feresetround_mips_ctx.
13774 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13775 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13776 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13779 * math/s_nextafter.c (__nextafter): Do not return value from
13780 overflowing computation.
13781 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13782 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13783 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13785 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13787 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13788 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13790 2014-03-11 Roland McGrath <roland@hack.frob.com>
13792 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13793 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13794 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13795 the new mov targetting sp.
13797 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13800 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13801 Define it for static builds as well.
13802 (NO_BZERO_IMPL): Likewise.
13804 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13806 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13807 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13808 multiarch strspn for PPC64.
13809 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13810 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13811 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13812 (__libc_ifunc_impl_list): Likewise.
13813 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13814 multiarch optimizations
13815 * string/strspn.c (strspn): Using macro to redefine symbol name.
13817 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13818 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13820 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13821 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13822 multiarch strncat for PPC64.
13823 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13824 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13825 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13826 (__libc_ifunc_impl_list): Likewise.
13827 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13828 multiarch optimizations
13830 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13833 * nscd/nscd.service: Make service type forking.
13835 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13837 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13838 sign in non default rounding modes.
13839 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13841 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13843 * math/libm-test.inc (ALL_RM_TEST): New macro.
13844 (ceil_test): Use ALL_RM_TEST.
13845 (cimag_test): Likewise.
13846 (conj_test): Likewise.
13847 (copysign_test): Likewise.
13848 (cproj_test): Likewise.
13849 (creal_test): Likewise.
13850 (fabs_test): Likewise.
13851 (floor_test): Likewise.
13852 (fmax_test): Likewise.
13853 (fmin_test): Likewise.
13854 (fmod_test): Likewise.
13855 (fpclassify_test): Likewise.
13856 (frexp_test): Likewise.
13857 (ilogb_test): Likewise.
13858 (isfinite_test): Likewise.
13859 (finite_test): Likewise.
13860 (isgreater_test): Likewise.
13861 (isgreaterequal_test): Likewise.
13862 (isinf_test): Likewise.
13863 (isless_test): Likewise.
13864 (islessequal_test): Likewise.
13865 (islessgreater_test): Likewise.
13866 (isnan_test): Likewise.
13867 (isnormal_test): Likewise.
13868 (issignaling_test): Likewise.
13869 (isunordered_test): Likewise.
13870 (logb_test): Likewise.
13871 (logb_downward_test_data): Remove.
13872 (logb_test_downward): Likewise.
13873 (lround_test): Use ALL_RM_TEST.
13874 (llround_test): Likewise.
13875 (modf_test): Likewise.
13876 (nexttoward_test): Likewise.
13877 (remainder_test): Likewise.
13878 (drem_test): Likewise.
13879 (remainder_tonearest_test_data): Likewise.
13880 (remainder_test_tonearest): Likewise.
13881 (drem_test_tonearest): Likewise.
13882 (remainder_towardzero_test_data): Likewise.
13883 (remainder_test_towardzero): Likewise.
13884 (drem_test_towardzero): Likewise.
13885 (remainder_downward_test_data): Likewise.
13886 (remainder_test_downward): Likewise.
13887 (drem_test_downward): Likewise.
13888 (remainder_upward_test_data): Likewise.
13889 (remainder_test_upward): Likewise.
13890 (drem_test_upward): Likewise.
13891 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13892 (round_test): Use ALL_RM_TEST.
13893 (signbit_test): Likewise.
13894 (trunc_test): Likewise.
13895 (significand_test): Likewise.
13896 (main): Don't call removed functions.
13898 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13901 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13902 || __USE_XOPEN2K8].
13903 (ILL_ILLOPN): Likewise.
13904 (ILL_ILLADR): Likewise.
13905 (ILL_ILLTRP): Likewise.
13906 (ILL_PRVOPC): Likewise.
13907 (ILL_PRVREG): Likewise.
13908 (ILL_COPROC): Likewise.
13909 (ILL_BADSTK): Likewise.
13910 (FPE_INTDIV): Likewise.
13911 (FPE_INTOVF): Likewise.
13912 (FPE_FLTDIV): Likewise.
13913 (FPE_FLTOVF): Likewise.
13914 (FPE_FLTUND): Likewise.
13915 (FPE_FLTRES): Likewise.
13916 (FPE_FLTINV): Likewise.
13917 (FPE_FLTSUB): Likewise.
13918 (SEGV_MAPERR): Likewise.
13919 (SEGV_ACCERR): Likewise.
13920 (BUS_ADRALN): Likewise.
13921 (BUS_ADRERR): Likewise.
13922 (BUS_OBJERR): Likewise.
13923 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13924 (TRAP_TRACE): Likewise.
13925 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
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/alpha/bits/siginfo.h (ILL_ILLOPC):
13940 (ILL_ILLOPN): Likewise.
13941 (ILL_ILLADR): Likewise.
13942 (ILL_ILLTRP): Likewise.
13943 (ILL_PRVOPC): Likewise.
13944 (ILL_PRVREG): Likewise.
13945 (ILL_COPROC): Likewise.
13946 (ILL_BADSTK): Likewise.
13947 (FPE_INTDIV): Likewise.
13948 (FPE_INTOVF): Likewise.
13949 (FPE_FLTDIV): Likewise.
13950 (FPE_FLTOVF): Likewise.
13951 (FPE_FLTUND): Likewise.
13952 (FPE_FLTRES): Likewise.
13953 (FPE_FLTINV): Likewise.
13954 (FPE_FLTSUB): Likewise.
13955 (SEGV_MAPERR): Likewise.
13956 (SEGV_ACCERR): Likewise.
13957 (BUS_ADRALN): Likewise.
13958 (BUS_ADRERR): Likewise.
13959 (BUS_OBJERR): Likewise.
13960 (BUS_MCEERR_AR): Likewise.
13961 (BUS_MCEERR_AO): Likewise.
13962 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13963 (TRAP_TRACE): Likewise.
13964 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13966 (CLD_KILLED): Likewise.
13967 (CLD_DUMPED): Likewise.
13968 (CLD_TRAPPED): Likewise.
13969 (CLD_STOPPED): Likewise.
13970 (CLD_CONTINUED): Likewise.
13971 (POLL_IN): Likewise.
13972 (POLL_OUT): Likewise.
13973 (POLL_MSG): Likewise.
13974 (POLL_ERR): Likewise.
13975 (POLL_PRI): Likewise.
13976 (POLL_HUP): Likewise.
13977 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): 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 (FPE_INTDIV): Likewise.
13986 (FPE_INTOVF): Likewise.
13987 (FPE_FLTDIV): Likewise.
13988 (FPE_FLTOVF): Likewise.
13989 (FPE_FLTUND): Likewise.
13990 (FPE_FLTRES): Likewise.
13991 (FPE_FLTINV): Likewise.
13992 (FPE_FLTSUB): Likewise.
13993 (SEGV_MAPERR): Likewise.
13994 (SEGV_ACCERR): Likewise.
13995 (BUS_ADRALN): Likewise.
13996 (BUS_ADRERR): Likewise.
13997 (BUS_OBJERR): Likewise.
13998 (BUS_MCEERR_AR): Likewise.
13999 (BUS_MCEERR_AO): Likewise.
14000 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14001 (TRAP_TRACE): Likewise.
14002 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14004 (CLD_KILLED): Likewise.
14005 (CLD_DUMPED): Likewise.
14006 (CLD_TRAPPED): Likewise.
14007 (CLD_STOPPED): Likewise.
14008 (CLD_CONTINUED): Likewise.
14009 (POLL_IN): Likewise.
14010 (POLL_OUT): Likewise.
14011 (POLL_MSG): Likewise.
14012 (POLL_ERR): Likewise.
14013 (POLL_PRI): Likewise.
14014 (POLL_HUP): Likewise.
14015 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14017 (ILL_ILLOPN): Likewise.
14018 (ILL_ILLADR): Likewise.
14019 (ILL_ILLTRP): Likewise.
14020 (ILL_PRVOPC): Likewise.
14021 (ILL_PRVREG): Likewise.
14022 (ILL_COPROC): Likewise.
14023 (ILL_BADSTK): Likewise.
14024 (ILL_BADIADDR): Likewise.
14025 (ILL_BREAK): Likewise.
14026 (FPE_INTDIV): Likewise.
14027 (FPE_INTOVF): Likewise.
14028 (FPE_FLTDIV): Likewise.
14029 (FPE_FLTOVF): Likewise.
14030 (FPE_FLTUND): Likewise.
14031 (FPE_FLTRES): Likewise.
14032 (FPE_FLTINV): Likewise.
14033 (FPE_FLTSUB): Likewise.
14034 (FPE_DECOVF): Likewise.
14035 (FPE_DECDIV): Likewise.
14036 (FPE_DECERR): Likewise.
14037 (FPE_INVASC): Likewise.
14038 (FPE_INVDEC): Likewise.
14039 (SEGV_MAPERR): Likewise.
14040 (SEGV_ACCERR): Likewise.
14041 (SEGV_PSTKOVF): Likewise.
14042 (BUS_ADRALN): Likewise.
14043 (BUS_ADRERR): Likewise.
14044 (BUS_OBJERR): Likewise.
14045 (BUS_MCEERR_AR): Likewise.
14046 (BUS_MCEERR_AO): Likewise.
14047 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14048 (TRAP_TRACE): Likewise.
14049 (TRAP_BRANCH): Likewise.
14050 (TRAP_HWBKPT): Likewise.
14051 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14053 (CLD_KILLED): Likewise.
14054 (CLD_DUMPED): Likewise.
14055 (CLD_TRAPPED): Likewise.
14056 (CLD_STOPPED): Likewise.
14057 (CLD_CONTINUED): Likewise.
14058 (POLL_IN): Likewise.
14059 (POLL_OUT): Likewise.
14060 (POLL_MSG): Likewise.
14061 (POLL_ERR): Likewise.
14062 (POLL_PRI): Likewise.
14063 (POLL_HUP): Likewise.
14064 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14065 (ILL_ILLOPN): Likewise.
14066 (ILL_ILLADR): Likewise.
14067 (ILL_ILLTRP): Likewise.
14068 (ILL_PRVOPC): Likewise.
14069 (ILL_PRVREG): Likewise.
14070 (ILL_COPROC): Likewise.
14071 (ILL_BADSTK): Likewise.
14072 (FPE_INTDIV): Likewise.
14073 (FPE_INTOVF): Likewise.
14074 (FPE_FLTDIV): Likewise.
14075 (FPE_FLTOVF): Likewise.
14076 (FPE_FLTUND): Likewise.
14077 (FPE_FLTRES): Likewise.
14078 (FPE_FLTINV): Likewise.
14079 (FPE_FLTSUB): Likewise.
14080 (SEGV_MAPERR): Likewise.
14081 (SEGV_ACCERR): Likewise.
14082 (BUS_ADRALN): Likewise.
14083 (BUS_ADRERR): Likewise.
14084 (BUS_OBJERR): Likewise.
14085 (BUS_MCEERR_AR): Likewise.
14086 (BUS_MCEERR_AO): Likewise.
14087 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14088 (TRAP_TRACE): Likewise.
14089 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14091 (CLD_KILLED): Likewise.
14092 (CLD_DUMPED): Likewise.
14093 (CLD_TRAPPED): Likewise.
14094 (CLD_STOPPED): Likewise.
14095 (CLD_CONTINUED): Likewise.
14096 (POLL_IN): Likewise.
14097 (POLL_OUT): Likewise.
14098 (POLL_MSG): Likewise.
14099 (POLL_ERR): Likewise.
14100 (POLL_PRI): Likewise.
14101 (POLL_HUP): Likewise.
14102 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14103 (ILL_ILLOPN): Likewise.
14104 (ILL_ILLADR): Likewise.
14105 (ILL_ILLTRP): Likewise.
14106 (ILL_PRVOPC): Likewise.
14107 (ILL_PRVREG): Likewise.
14108 (ILL_COPROC): Likewise.
14109 (ILL_BADSTK): Likewise.
14110 (FPE_INTDIV): Likewise.
14111 (FPE_INTOVF): Likewise.
14112 (FPE_FLTDIV): Likewise.
14113 (FPE_FLTOVF): Likewise.
14114 (FPE_FLTUND): Likewise.
14115 (FPE_FLTRES): Likewise.
14116 (FPE_FLTINV): Likewise.
14117 (FPE_FLTSUB): Likewise.
14118 (SEGV_MAPERR): Likewise.
14119 (SEGV_ACCERR): Likewise.
14120 (BUS_ADRALN): Likewise.
14121 (BUS_ADRERR): Likewise.
14122 (BUS_OBJERR): Likewise.
14123 (BUS_MCEERR_AR): Likewise.
14124 (BUS_MCEERR_AO): Likewise.
14125 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14126 (TRAP_TRACE): Likewise.
14127 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14129 (CLD_KILLED): Likewise.
14130 (CLD_DUMPED): Likewise.
14131 (CLD_TRAPPED): Likewise.
14132 (CLD_STOPPED): Likewise.
14133 (CLD_CONTINUED): Likewise.
14134 (POLL_IN): Likewise.
14135 (POLL_OUT): Likewise.
14136 (POLL_MSG): Likewise.
14137 (POLL_ERR): Likewise.
14138 (POLL_PRI): Likewise.
14139 (POLL_HUP): Likewise.
14140 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14141 (ILL_ILLOPN): Likewise.
14142 (ILL_ILLADR): Likewise.
14143 (ILL_ILLTRP): Likewise.
14144 (ILL_PRVOPC): Likewise.
14145 (ILL_PRVREG): Likewise.
14146 (ILL_COPROC): Likewise.
14147 (ILL_BADSTK): Likewise.
14148 (FPE_INTDIV): Likewise.
14149 (FPE_INTOVF): Likewise.
14150 (FPE_FLTDIV): Likewise.
14151 (FPE_FLTOVF): Likewise.
14152 (FPE_FLTUND): Likewise.
14153 (FPE_FLTRES): Likewise.
14154 (FPE_FLTINV): Likewise.
14155 (FPE_FLTSUB): Likewise.
14156 (SEGV_MAPERR): Likewise.
14157 (SEGV_ACCERR): Likewise.
14158 (BUS_ADRALN): Likewise.
14159 (BUS_ADRERR): Likewise.
14160 (BUS_OBJERR): Likewise.
14161 (BUS_MCEERR_AR): Likewise.
14162 (BUS_MCEERR_AO): Likewise.
14163 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14164 (TRAP_TRACE): Likewise.
14165 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14167 (CLD_KILLED): Likewise.
14168 (CLD_DUMPED): Likewise.
14169 (CLD_TRAPPED): Likewise.
14170 (CLD_STOPPED): Likewise.
14171 (CLD_CONTINUED): Likewise.
14172 (POLL_IN): Likewise.
14173 (POLL_OUT): Likewise.
14174 (POLL_MSG): Likewise.
14175 (POLL_ERR): Likewise.
14176 (POLL_PRI): Likewise.
14177 (POLL_HUP): Likewise.
14178 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14179 (ILL_ILLOPN): Likewise.
14180 (ILL_ILLADR): Likewise.
14181 (ILL_ILLTRP): Likewise.
14182 (ILL_PRVOPC): Likewise.
14183 (ILL_PRVREG): Likewise.
14184 (ILL_COPROC): Likewise.
14185 (ILL_BADSTK): Likewise.
14186 (ILL_DBLFLT): Likewise.
14187 (ILL_HARDWALL): Likewise.
14188 (FPE_INTDIV): Likewise.
14189 (FPE_INTOVF): Likewise.
14190 (FPE_FLTDIV): Likewise.
14191 (FPE_FLTOVF): Likewise.
14192 (FPE_FLTUND): Likewise.
14193 (FPE_FLTRES): Likewise.
14194 (FPE_FLTINV): Likewise.
14195 (FPE_FLTSUB): Likewise.
14196 (SEGV_MAPERR): Likewise.
14197 (SEGV_ACCERR): Likewise.
14198 (BUS_ADRALN): Likewise.
14199 (BUS_ADRERR): Likewise.
14200 (BUS_OBJERR): Likewise.
14201 (BUS_MCEERR_AR): Likewise.
14202 (BUS_MCEERR_AO): Likewise.
14203 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14204 (TRAP_TRACE): Likewise.
14205 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14207 (CLD_KILLED): Likewise.
14208 (CLD_DUMPED): Likewise.
14209 (CLD_TRAPPED): Likewise.
14210 (CLD_STOPPED): Likewise.
14211 (CLD_CONTINUED): Likewise.
14212 (POLL_IN): Likewise.
14213 (POLL_OUT): Likewise.
14214 (POLL_MSG): Likewise.
14215 (POLL_ERR): Likewise.
14216 (POLL_PRI): Likewise.
14217 (POLL_HUP): Likewise.
14218 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14219 (ILL_ILLOPN): Likewise.
14220 (ILL_ILLADR): Likewise.
14221 (ILL_ILLTRP): Likewise.
14222 (ILL_PRVOPC): Likewise.
14223 (ILL_PRVREG): Likewise.
14224 (ILL_COPROC): Likewise.
14225 (ILL_BADSTK): Likewise.
14226 (FPE_INTDIV): Likewise.
14227 (FPE_INTOVF): Likewise.
14228 (FPE_FLTDIV): Likewise.
14229 (FPE_FLTOVF): Likewise.
14230 (FPE_FLTUND): Likewise.
14231 (FPE_FLTRES): Likewise.
14232 (FPE_FLTINV): Likewise.
14233 (FPE_FLTSUB): Likewise.
14234 (SEGV_MAPERR): Likewise.
14235 (SEGV_ACCERR): Likewise.
14236 (BUS_ADRALN): Likewise.
14237 (BUS_ADRERR): Likewise.
14238 (BUS_OBJERR): Likewise.
14239 (BUS_MCEERR_AR): Likewise.
14240 (BUS_MCEERR_AO): Likewise.
14241 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14242 (TRAP_TRACE): Likewise.
14243 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14245 (CLD_KILLED): Likewise.
14246 (CLD_DUMPED): Likewise.
14247 (CLD_TRAPPED): Likewise.
14248 (CLD_STOPPED): Likewise.
14249 (CLD_CONTINUED): Likewise.
14250 (POLL_IN): Likewise.
14251 (POLL_OUT): Likewise.
14252 (POLL_MSG): Likewise.
14253 (POLL_ERR): Likewise.
14254 (POLL_PRI): Likewise.
14255 (POLL_HUP): Likewise.
14256 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14257 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14260 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14261 before #include of <time.h>.
14262 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14263 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14264 (test-xfail-UNIX98/sched.h/conform): Likewise.
14266 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14268 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14269 error absence of trapping exception support.
14270 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14272 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14274 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14275 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14276 * timezone/Makefile (testdata): Move definition above include of
14278 (test-zones): New variable.
14279 (tests-special): Add zone files.
14280 (build-testdata): Use $(evaluate-test).
14282 * elf/Makefile (tests-special): Rename tests to end with .out.
14283 ($(objpfx)noload-mem): Likewise.
14284 ($(objpfx)tst-leaks1-mem): Likewise.
14285 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14286 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14287 $(objpfx)test-iconvconfig.out.
14288 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14289 set -e inside subshell and redirect output to file.
14290 * iconvdata/Makefile (generated): Rename tests to end with .out.
14292 (tests-special): Rename tests to end with .out.
14293 ($(objpfx)mtrace-tst-loading): Likewise.
14294 * intl/Makefile (generated): Likewise.
14295 (tests-special): Likewise.
14296 ($(objpfx)mtrace-tst-gettext): Likewise.
14297 * misc/Makefile (generated): Likewise.
14298 (tests-special): Likewise.
14299 ($(objpfx)tst-error1-mem): Likewise.
14300 * nptl/Makefile (tests-special): Likewise.
14301 ($(objpfx)tst-stack3-mem): Likewise.
14302 (generated): Likewise.
14303 * posix/Makefile (generated): Likewise.
14304 (tests-special): Likewise.
14305 (xtests-special): Likewise.
14306 ($(objpfx)tst-fnmatch-mem): Likewise.
14307 ($(objpfx)bug-regex2-mem): Likewise.
14308 ($(objpfx)bug-regex14-mem): Likewise.
14309 ($(objpfx)bug-regex21-mem): Likewise.
14310 ($(objpfx)bug-regex31-mem): Likewise.
14311 ($(objpfx)tst-vfork3-mem): Likewise.
14312 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14313 ($(objpfx)tst-pcre-mem): Likewise.
14314 ($(objpfx)tst-boost-mem): Likewise.
14315 ($(objpfx)bug-ga2-mem): Likewise.
14316 ($(objpfx)bug-glob2-mem): Likewise.
14317 * resolv/Makefile (generate): Likewise.
14318 (tests-special): Likewise.
14319 (xtests-special): Likewise.
14320 (generated): Likewise.
14321 ($(objpfx)mtrace-tst-leaks): Likewise.
14322 ($(objpfx)mtrace-tst-leaks2): Likewise.
14324 * scripts/merge-test-results.sh: New file.
14325 * Makefile (tests-special-notdir): New variable.
14326 (tests): Run merge-test-results.sh.
14327 (xtests): Likewise.
14328 * Rules (tests-special-notdir): New variable.
14329 (xtests-special-notdir): Likewise.
14330 (tests): Run merge-test-results.sh
14331 (xtests): Likewise.
14333 * Makeconfig (test-xfail-name): New variable.
14334 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14335 compute variable name for expected failures.
14336 * conform/Makefile (conformtest-headers-data): New variable.
14337 (conformtest-standards): Likewise.
14338 (conformtest-headers-ISO): Likewise.
14339 (conformtest-headers-ISO99): Likewise.
14340 (conformtest-headers-ISO11): Likewise.
14341 (conformtest-headers-POSIX): Likewise.
14342 (conformtest-headers-XPG3): Likewise.
14343 (conformtest-headers-XPG4): Likewise.
14344 (conformtest-headers-UNIX98): Likewise.
14345 (conformtest-headers-XOPEN2K): Likewise.
14346 (conformtest-headers-POSIX2008): Likewise.
14347 (conformtest-headers-XOPEN2K8): Likewise.
14348 (conformtest-header-list-base): Likewise.
14349 (conformtest-header-list-tests): Likewise.
14350 (conformtest-header-base): Likewise.
14351 (conformtest-header-tests): Likewise.
14352 (tests-special): Add $(conformtest-header-list-tests). If
14353 [$(fast-check) && !$(cross-compiling)], add
14354 $(conformtest-header-tests) instead of
14355 $(objpfx)run-conformtest.out.
14356 (generated): Add $(conformtest-header-list-base). If
14357 [$(fast-check) && !$(cross-compiling)], add
14358 $(conformtest-header-base). Remove previous setting.
14359 ($(conformtest-header-list-tests)): New target.
14360 (test-xfail-run-conformtest): Remove variable.
14361 ($(objpfx)run-conformtest.out): Remove target.
14362 (test-xfail-ISO11/complex.h/conform): New variable.
14363 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14364 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14365 (test-xfail-XPG3/varargs.h/conform): Likewise.
14366 (test-xfail-XPG4/varargs.h/conform): Likewise.
14367 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14368 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14369 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14370 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14371 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14372 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14373 (test-xfail-XPG3/ftw.h/conform): Likewise.
14374 (test-xfail-XPG3/grp.h/conform): Likewise.
14375 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14376 (test-xfail-XPG3/limits.h/conform): Likewise.
14377 (test-xfail-XPG3/pwd.h/conform): Likewise.
14378 (test-xfail-XPG3/search.h/conform): Likewise.
14379 (test-xfail-XPG3/signal.h/conform): Likewise.
14380 (test-xfail-XPG3/stdio.h/conform): Likewise.
14381 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14382 (test-xfail-XPG3/string.h/conform): Likewise.
14383 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14384 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14385 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14386 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14387 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14388 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14389 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14390 (test-xfail-XPG3/termios.h/conform): Likewise.
14391 (test-xfail-XPG3/time.h/conform): Likewise.
14392 (test-xfail-XPG3/unistd.h/conform): Likewise.
14393 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14394 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14395 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14396 (test-xfail-XPG4/netdb.h/conform): Likewise.
14397 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14398 (test-xfail-XPG4/signal.h/conform): Likewise.
14399 (test-xfail-XPG4/stdio.h/conform): Likewise.
14400 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14401 (test-xfail-XPG4/stropts.h/conform): Likewise.
14402 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14403 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14404 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14405 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14406 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14407 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14408 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14409 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14410 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14411 (test-xfail-XPG4/termios.h/conform): Likewise.
14412 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14413 (test-xfail-XPG4/unistd.h/conform): Likewise.
14414 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14415 (test-xfail-POSIX/sched.h/conform): Likewise.
14416 (test-xfail-POSIX/signal.h/conform): Likewise.
14417 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14418 (test-xfail-POSIX/tar.h/conform): Likewise.
14419 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14420 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14421 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14422 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14423 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14424 (test-xfail-UNIX98/sched.h/conform): Likewise.
14425 (test-xfail-UNIX98/signal.h/conform): Likewise.
14426 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14427 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14428 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14429 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14430 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14431 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14432 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14433 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14434 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14435 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14436 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14437 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14438 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14439 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14440 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14441 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14442 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14443 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14444 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14445 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14446 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14447 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14448 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14449 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14450 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14451 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14452 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14453 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14454 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14455 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14456 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14457 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14458 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14459 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14460 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14461 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14462 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14463 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14464 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14465 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14466 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14467 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14468 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14469 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14470 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14471 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14472 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14473 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14474 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14475 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14476 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14477 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14478 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14479 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14480 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14481 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14482 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14483 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14484 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14485 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14486 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14487 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14488 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14489 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14490 (conformtest-cc-flags): Likewise.
14491 ($(conformtest-header-tests): New target.
14492 * conform/check-header-lists.sh: New file.
14493 * conform/run-conformtest.sh: Remove.
14495 * conform/conformtest.pl: Allow ' and \ in values given for
14497 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14499 [POSIX] (sys/types.h): Likewise.
14500 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14502 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14504 * conform/data/signal.h-data (SIGIO): Remove expectation.
14505 [XPG3] (SIGBUS): Do not expect.
14506 [POSIX || XPG3] (SIGPOLL): Likewise.
14507 [POSIX || XPG3] (SIGPROF): Likewise.
14508 [POSIX || XPG3] (SIGSYS): Likewise.
14509 [XPG3] (SIGTRAP): Likewise.
14510 [POSIX || XPG3] (SIGURG): Likewise.
14511 [POSIX || XPG3] (SIGVTALRM): Likewise.
14512 [POSIX || XPG3] (SIGXCPU): Likewise.
14513 [POSIX || XPG3] (SIGXFSZ): Likewise.
14514 [POSIX] (SA_SIGINFO): Expect.
14515 [XPG3] (siginfo_t): Do not expect type or contents.
14516 [POSIX] (si_pid): Do not expect element.
14517 [POSIX] (si_uid): Likewise.
14518 [POSIX] (si_addr): Likewise.
14519 [POSIX] (si_status): Likewise.
14520 [POSIX] (si_band): Likewise.
14521 [XPG4] (si_value): Likewise.
14522 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14523 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14524 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14525 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14526 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14527 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14528 [POSIX || XPG3] (ILL_COPROC): Likewise.
14529 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14530 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14531 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14532 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14533 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14534 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14535 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14536 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14537 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14538 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14539 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14540 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14541 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14542 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14543 [POSIX || XPG3] (CLD_EXITED): Likewise.
14544 [POSIX || XPG3] (CLD_KILLED): Likewise.
14545 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14546 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14547 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14548 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14549 [POSIX || XPG3] (POLL_IN): Likewise.
14550 [POSIX || XPG3] (POLL_OUT): Likewise.
14551 [POSIX || XPG3] (POLL_MSG): Likewise.
14552 [POSIX || XPG3] (POLL_ERR): Likewise.
14553 [POSIX || XPG3] (POLL_PRI): Likewise.
14554 [POSIX || XPG3] (POLL_HUP): Likewise.
14555 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14556 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14557 (SIG*): Do not allow.
14558 [XPG3] (si_*): Likewise.
14559 [XPG3] (SI_*): Likewise.
14560 [XPG3 || XPG4] (sigev_*): Likewise.
14561 [XPG3 || XPG4] (SIGEV_*): Likewise.
14562 [XPG3 || XPG4] (sival_*): Likewise.
14563 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14564 [POSIX || XPG3] (BUS_*): Likewise.
14565 [POSIX || XPG3] (CLD_*): Likewise.
14566 [POSIX || XPG3] (FPE_*): Likewise.
14567 [POSIX || XPG3] (ILL_*): Likewise.
14568 [POSIX || XPG3] (POLL_*): Likewise.
14569 [POSIX || XPG3] (SEGV_*): Likewise.
14570 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14571 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14572 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14573 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14574 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14575 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14576 Specify type and value.
14577 (TVERSLEN): Likewise.
14578 (REGTYPE): Likewise.
14579 (AREGTYPE): Likewise.
14580 (LNKTYPE): Likewise.
14581 (SYMTYPE): Likewise.
14582 (CHRTYPE): Likewise.
14583 (BLKTYPE): Likewise.
14584 (DIRTYPE): Likewise.
14585 (FIFOTYPE): Likewise.
14586 (CONTTYPE): Likewise.
14590 (TUREAD): Likewise.
14591 (TUWRITE): Likewise.
14592 (TUEXEC): Likewise.
14593 (TGREAD): Likewise.
14594 (TGWRITE): Likewise.
14595 (TGEXEC): Likewise.
14596 (TOREAD): Likewise.
14597 (TOWRITE): Likewise.
14598 (TOEXEC): Likewise.
14599 [POSIX] (TSVTX): Expect constant.
14601 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14603 * Makefile (tests): Change dependencies to ....
14604 (tests-special): ... additions to this variable.
14605 (tests): Depend on $(tests-special).
14606 * Makerules (check-abi-list): New variable.
14607 (check-abi): Depend on $(check-abi-list).
14608 [$(subdir) = elf] (tests-special): Add
14609 $(objpfx)check-abi-libc.out.
14610 [$(build-shared) = yes && subdir] (tests-special): Add
14612 [$(build-shared) = yes && subdir] (tests): Do not depend on
14614 * Rules (tests): Depend on $(tests-special).
14615 (xtests): Depend on $(xtests-special).
14616 * catgets/Makefile (tests): Change dependencies to ....
14617 (tests-special): ... additions to this variable.
14618 * conform/Makefile (tests): Change dependencies to ....
14619 (tests-special): ... additions to this variable.
14620 * elf/Makefile (tests): Change dependencies to ....
14621 (tests-special): ... additions to this variable.
14622 * grp/Makefile (tests): Change dependencies to ....
14623 (tests-special): ... additions to this variable.
14624 * iconv/Makefile (xtests): Change dependencies to ....
14625 (xtests-special): ... additions to this variable.
14626 * iconvdata/Makefile (tests): Change dependencies to ....
14627 (tests-special): ... additions to this variable.
14628 * intl/Makefile (tests): Change dependencies to ....
14629 (tests-special): ... additions to this variable. Also add
14630 $(objpfx)tst-gettext.out.
14631 * io/Makefile (tests): Change dependencies to ....
14632 (tests-special): ... additions to this variable.
14633 * libio/Makefile (tests): Change dependencies to ....
14634 (tests-special): ... additions to this variable.
14635 * malloc/Makefile (tests): Change dependencies to ....
14636 (tests-special): ... additions to this variable.
14637 * misc/Makefile (tests): Change dependencies to ....
14638 (tests-special): ... additions to this variable.
14639 * nptl/Makefile (tests): Change dependencies to ....
14640 (tests-special): ... additions to this variable.
14641 * nptl_db/Makefile (tests): Change dependencies to ....
14642 (tests-special): ... additions to this variable.
14643 * posix/Makefile (tests): Change dependencies to ....
14644 (tests-special): ... additions to this variable.
14645 (xtests): Change dependencies to ....
14646 (xtests-special): ... additions to this variable.
14647 * resolv/Makefile (tests): Change dependencies to ....
14648 (tests-special): ... additions to this variable.
14649 (xtests): Change dependencies to ....
14650 (xtests-special): ... additions to this variable.
14651 * stdio-common/Makefile (tests): Change dependencies to ....
14652 (tests-special): ... additions to this variable.
14653 (do-tst-unbputc): Remove target.
14654 (do-tst-printf): Likewise.
14655 * stdlib/Makefile (tests): Change dependencies to ....
14656 (tests-special): ... additions to this variable.
14657 * string/Makefile (tests): Change dependencies to ....
14658 (tests-special): ... additions to this variable.
14659 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14660 (tests-special): ... additions to this variable.
14662 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14664 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14666 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14667 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14669 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14670 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14671 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14672 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14673 * conform/data/libgen.h-data [XPG3]: Likewise.
14674 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14675 * conform/data/ndbm.h-data [XPG3]: Likewise.
14676 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14677 * conform/data/netdb.h-data [XPG3]: Likewise.
14678 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14679 * conform/data/poll.h-data [XPG3]: Likewise.
14680 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14681 * conform/data/strings.h-data [XPG3]: Likewise.
14682 * conform/data/stropts.h-data [XPG3]: Likewise.
14683 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14684 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14685 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14687 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14688 * conform/data/sys/time.h-data [XPG3]: Likewise.
14689 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14690 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14691 * conform/data/sys/un.h-data [XPG3]: Likewise.
14692 * conform/data/syslog.h-data [XPG3]: Likewise.
14693 * conform/data/ucontext.h-data [XPG3]: Likewise.
14694 * conform/data/utmpx.h-data [XPG3]: Likewise.
14695 * conform/data/varargs.h-data [UNIX98]: Enable file.
14697 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14699 * math/libm-test.inc (struct test_f_f_data): Move expected results
14700 into structure for each rounding mode.
14701 (struct test_ff_f_data): Likewise.
14702 (struct test_ff_f_data_nexttoward): Likewise.
14703 (struct test_fi_f_data): Likewise.
14704 (struct test_fl_f_data): Likewise.
14705 (struct test_if_f_data): Likewise.
14706 (struct test_fff_f_data): Likewise.
14707 (struct test_c_f_data): Likewise.
14708 (struct test_f_f1_data): Likewise.
14709 (struct test_fF_f1_data): Likewise.
14710 (struct test_ffI_f1_data): Likewise.
14711 (struct test_c_c_data): Likewise.
14712 (struct test_cc_c_data): Likewise.
14713 (struct test_f_i_data): Likewise.
14714 (struct test_ff_i_data): Likewise.
14715 (struct test_f_l_data): Likewise.
14716 (struct test_f_L_data): Likewise.
14717 (struct test_fFF_11_data): Likewise.
14719 (RM_FE_DOWNWARD): Likewise.
14720 (RM_FE_TONEAREST): Likewise.
14721 (RM_FE_TOWARDZERO): Likewise.
14722 (RM_FE_UPWARD): Likewise.
14723 (RUN_TEST_LOOP_f_f): Update references to expected results.
14724 (RUN_TEST_LOOP_2_f): Likewise.
14725 (RUN_TEST_LOOP_fff_f): Likewise.
14726 (RUN_TEST_LOOP_c_f): Likewise.
14727 (RUN_TEST_LOOP_f_f1): Likewise.
14728 (RUN_TEST_LOOP_fF_f1): Likewise.
14729 (RUN_TEST_LOOP_fI_f1): Likewise.
14730 (RUN_TEST_LOOP_ffI_f1): Likewise.
14731 (RUN_TEST_LOOP_c_c): Likewise.
14732 (RUN_TEST_LOOP_cc_c): Likewise.
14733 (RUN_TEST_LOOP_f_i): Likewise.
14734 (RUN_TEST_LOOP_f_i_tg): Likewise.
14735 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14736 (RUN_TEST_LOOP_f_b): Likewise.
14737 (RUN_TEST_LOOP_f_b_tg): Likewise.
14738 (RUN_TEST_LOOP_f_l): Likewise.
14739 (RUN_TEST_LOOP_f_L): Likewise.
14740 (RUN_TEST_LOOP_fFF_11): Likewise.
14741 * math/gen-libm-test.pl (parse_args): Output four copies of
14742 expected results for each test.
14744 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14745 (__ASSUME_UTIMES): Remove.
14746 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14747 (__ASSUME_UTIMES): Likewise.
14749 * math/gen-auto-libm-tests.c: Update comment on output format.
14750 (output_for_one_input_case): Generate before-rounding and
14751 after-rounding information as conditions on output flags not
14752 floating-point format.
14753 * math/auto-libm-test-out: Regenerated.
14754 * math/gen-libm-test.pl (cond_value): New function.
14755 (or_cond_value): Use cond_value.
14756 (generate_testfile): Handle conditional exceptions.
14758 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14760 * math/libm-test.inc (max_valid_error): New variable.
14761 (init_max_error): Take new argument specifying whether function
14762 results are exactly determined. Set max_valid_error and bound
14763 other variables for errors based on this argument.
14764 (set_max_error): Do not record results above max_valid_error.
14765 (check_float_internal): Only accept errors of up to 0.5ulps if
14766 also at most max_valid_error.
14767 (START): Take new argument EXACT and pass it to init_max_error.
14768 (acos_test): Update call to START.
14769 (acos_test_tonearest): Likewise.
14770 (acos_test_towardzero): Likewise.
14771 (acos_test_downward): Likewise.
14772 (acos_test_upward): Likewise.
14773 (acosh_test): Likewise.
14774 (asin_test): Likewise.
14775 (asin_test_tonearest): Likewise.
14776 (asin_test_towardzero): Likewise.
14777 (asin_test_downward): Likewise.
14778 (asin_test_upward): Likewise.
14779 (asinh_test): Likewise.
14780 (atan_test): Likewise.
14781 (atanh_test): Likewise.
14782 (atan2_test): Likewise.
14783 (cabs_test): Likewise.
14784 (cacos_test): Likewise.
14785 (cacosh_test): Likewise.
14786 (carg_test): Likewise.
14787 (casin_test): Likewise.
14788 (casinh_test): Likewise.
14789 (catan_test): Likewise.
14790 (catanh_test): Likewise.
14791 (cbrt_test): Likewise.
14792 (ccos_test): Likewise.
14793 (ccosh_test): Likewise.
14794 (ceil_test): Likewise.
14795 (cexp_test): Likewise.
14796 (cimag_test): Likewise.
14797 (clog_test): Likewise.
14798 (clog10_test): Likewise.
14799 (conj_test): Likewise.
14800 (copysign_test): Likewise.
14801 (cos_test): Likewise.
14802 (cos_test_tonearest): Likewise.
14803 (cos_test_towardzero): Likewise.
14804 (cos_test_downward): Likewise.
14805 (cos_test_upward): Likewise.
14806 (cosh_test): Likewise.
14807 (cosh_test_tonearest): Likewise.
14808 (cosh_test_towardzero): Likewise.
14809 (cosh_test_downward): Likewise.
14810 (cosh_test_upward): Likewise.
14811 (cpow_test): Likewise.
14812 (cproj_test): Likewise.
14813 (creal_test): Likewise.
14814 (csin_test): Likewise.
14815 (csinh_test): Likewise.
14816 (csqrt_test): Likewise.
14817 (ctan_test): Likewise.
14818 (ctan_test_tonearest): Likewise.
14819 (ctan_test_towardzero): Likewise.
14820 (ctan_test_downward): Likewise.
14821 (ctan_test_upward): Likewise.
14822 (ctanh_test): Likewise.
14823 (ctanh_test_tonearest): Likewise.
14824 (ctanh_test_towardzero): Likewise.
14825 (ctanh_test_downward): Likewise.
14826 (ctanh_test_upward): Likewise.
14827 (erf_test): Likewise.
14828 (erfc_test): Likewise.
14829 (exp_test): Likewise.
14830 (exp_test_tonearest): Likewise.
14831 (exp_test_towardzero): Likewise.
14832 (exp_test_downward): Likewise.
14833 (exp_test_upward): Likewise.
14834 (exp10_test): Likewise.
14835 (exp10_test_tonearest): Likewise.
14836 (exp10_test_towardzero): Likewise.
14837 (exp10_test_downward): Likewise.
14838 (exp10_test_upward): Likewise.
14839 (pow10_test): Likewise.
14840 (exp2_test): Likewise.
14841 (expm1_test): Likewise.
14842 (expm1_test_tonearest): Likewise.
14843 (expm1_test_towardzero): Likewise.
14844 (expm1_test_downward): Likewise.
14845 (expm1_test_upward): Likewise.
14846 (fabs_test): Likewise.
14847 (fdim_test): Likewise.
14848 (floor_test): Likewise.
14849 (fma_test): Likewise.
14850 (fma_test_towardzero): Likewise.
14851 (fma_test_downward): Likewise.
14852 (fma_test_upward): Likewise.
14853 (fmax_test): Likewise.
14854 (fmin_test): Likewise.
14855 (fmod_test): Likewise.
14856 (fpclassify_test): Likewise.
14857 (frexp_test): Likewise.
14858 (hypot_test): Likewise.
14859 (ilogb_test): Likewise.
14860 (isfinite_test): Likewise.
14861 (finite_test): Likewise.
14862 (isgreater_test): Likewise.
14863 (isgreaterequal_test): Likewise.
14864 (isinf_test): Likewise.
14865 (isless_test): Likewise.
14866 (islessequal_test): Likewise.
14867 (islessgreater_test): Likewise.
14868 (isnan_test): Likewise.
14869 (isnormal_test): Likewise.
14870 (issignaling_test): Likewise.
14871 (isunordered_test): Likewise.
14872 (j0_test): Likewise.
14873 (j1_test): Likewise.
14874 (jn_test): Likewise.
14875 (ldexp_test): Likewise.
14876 (lgamma_test): Likewise.
14877 (gamma_test): Likewise.
14878 (lrint_test): Likewise.
14879 (lrint_test_tonearest): Likewise.
14880 (lrint_test_towardzero): Likewise.
14881 (lrint_test_downward): Likewise.
14882 (lrint_test_upward): Likewise.
14883 (llrint_test): Likewise.
14884 (llrint_test_tonearest): Likewise.
14885 (llrint_test_towardzero): Likewise.
14886 (llrint_test_downward): Likewise.
14887 (llrint_test_upward): Likewise.
14888 (log_test): Likewise.
14889 (log10_test): Likewise.
14890 (log1p_test): Likewise.
14891 (log2_test): Likewise.
14892 (logb_test): Likewise.
14893 (logb_test_downward): Likewise.
14894 (lround_test): Likewise.
14895 (llround_test): Likewise.
14896 (modf_test): Likewise.
14897 (nearbyint_test): Likewise.
14898 (nextafter_test): Likewise.
14899 (nexttoward_test): Likewise.
14900 (pow_test): Likewise.
14901 (pow_test_tonearest): Likewise.
14902 (pow_test_towardzero): Likewise.
14903 (pow_test_downward): Likewise.
14904 (pow_test_upward): Likewise.
14905 (remainder_test): Likewise.
14906 (drem_test): Likewise.
14907 (remainder_test_tonearest): Likewise.
14908 (drem_test_tonearest): Likewise.
14909 (remainder_test_towardzero): Likewise.
14910 (drem_test_towardzero): Likewise.
14911 (remainder_test_downward): Likewise.
14912 (drem_test_downward): Likewise.
14913 (remainder_test_upward): Likewise.
14914 (drem_test_upward): Likewise.
14915 (remquo_test): Likewise.
14916 (rint_test): Likewise.
14917 (rint_test_tonearest): Likewise.
14918 (rint_test_towardzero): Likewise.
14919 (rint_test_downward): Likewise.
14920 (rint_test_upward): Likewise.
14921 (round_test): Likewise.
14922 (scalb_test): Likewise.
14923 (scalbn_test): Likewise.
14924 (scalbln_test): Likewise.
14925 (signbit_test): Likewise.
14926 (sin_test): Likewise.
14927 (sin_test_tonearest): Likewise.
14928 (sin_test_towardzero): Likewise.
14929 (sin_test_downward): Likewise.
14930 (sin_test_upward): Likewise.
14931 (sincos_test): Likewise.
14932 (sinh_test): Likewise.
14933 (sinh_test_tonearest): Likewise.
14934 (sinh_test_towardzero): Likewise.
14935 (sinh_test_downward): Likewise.
14936 (sinh_test_upward): Likewise.
14937 (sqrt_test): Likewise.
14938 (sqrt_test_tonearest): Likewise.
14939 (sqrt_test_towardzero): Likewise.
14940 (sqrt_test_downward): Likewise.
14941 (sqrt_test_upward): Likewise.
14942 (tan_test): Likewise.
14943 (tan_test_tonearest): Likewise.
14944 (tan_test_towardzero): Likewise.
14945 (tan_test_downward): Likewise.
14946 (tan_test_upward): Likewise.
14947 (tanh_test): Likewise.
14948 (tgamma_test): Likewise.
14949 (trunc_test): Likewise.
14950 (y0_test): Likewise.
14951 (y1_test): Likewise.
14952 (yn_test): Likewise.
14953 (significand_test): Likewise.
14955 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14956 individual tests in comment.
14957 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14958 (prev_max_error): New variable.
14959 (prev_real_max_error): Likewise.
14960 (prev_imag_max_error): Likewise.
14961 (compare_ulp_data): Don't refer to test names in comment.
14962 (find_test_ulps): Remove function.
14963 (find_function_ulps): Likewise.
14964 (find_complex_function_ulps): Likewise.
14965 (init_max_error): Take function name as argument. Look up ulps
14967 (print_ulps): Remove function.
14968 (print_max_error): Use prev_max_error instead of calling
14969 find_function_ulps.
14970 (print_complex_max_error): Use prev_real_max_error and
14971 prev_imag_max_error instead of calling find_complex_function_ulps.
14972 (check_float_internal): Take max_ulp parameter instead of calling
14973 find_test_ulps. Don't call print_ulps.
14974 (check_float): Update call to check_float_internal.
14975 (check_complex): Update calls to check_float_internal.
14976 (START): Pass argument to init_max_error.
14977 * math/gen-libm-test.pl (%results): Don't include "kind"
14979 (parse_ulps): Don't handle ulps of individual tests.
14980 (print_ulps_file): Likewise.
14981 (output_ulps): Likewise.
14982 * math/README.libm-test: Update.
14983 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14985 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14986 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14987 * sysdeps/arm/libm-test-ulps: Likewise.
14988 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14989 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14990 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14991 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14992 * sysdeps/microblaze/libm-test-ulps: Likewise.
14993 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14994 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14995 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14996 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14997 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14998 * sysdeps/sh/libm-test-ulps: Likewise.
14999 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15000 * sysdeps/tile/libm-test-ulps: Likewise.
15001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15003 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15005 * math/libm-test.inc (print_complex_max_error): Check separately
15006 whether real and imaginary errors are within allowed range and
15007 pass 0 to print_complex_function_ulps instead of value within
15010 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15012 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15014 (get_handles_fopen): Likewise.
15015 (do_write_test): Likewise.
15017 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15019 * libio/fileops.c (do_ftell): Use cached offset when
15021 * libio/iofwide.c (do_ftell_wide): Likewise.
15022 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15024 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15027 * libio/libioP.h (get_file_offset): New function.
15028 * libio/fileops.c (get_file_offset): Likewise.
15029 (do_ftell): Likewise.
15030 (_IO_new_file_seekoff): Split out ftell logic.
15031 * libio/wfileops.c (do_ftell_wide): Likewise.
15032 (_IO_wfile_seekoff): Split out ftell logic.
15033 * libio/tst-ftell-active-handler.c: New test case.
15034 * libio/Makefile (tests): Add it.
15036 2014-03-03 Roland McGrath <roland@hack.frob.com>
15038 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15039 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15041 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15044 * nscd/connections.c (nscd_init): Call do_exit.
15045 (start_threads): Call do_exit and notify_parent.
15046 (begin_drop_privileges): Call do_exit.
15047 (finish_drop_privileges): Likewise.
15048 * nscd/selinux.c (preserve_capabilities): Likewise.
15049 (install_real_capabilities): Likewise.
15050 (nscd_selinux_enabled): Likewise.
15051 (avc_create_thread): Likewise.
15052 (avc_alloc_lock): Likewise.
15053 (nscd_avc_init): Likewise.
15054 * nscd/nscd.c (parent_fd): New static variable.
15055 (main): Create a pipe between parent and child processes.
15056 Skip closing parent_fd.
15057 (monitor_child): New function.
15058 (do_exit): Likewise.
15059 (notify_parent): Likewise.
15060 * nscd/nscd.h (notify_parent): Likewise.
15061 (do_exit): Likewise.
15063 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15065 * malloc/malloc.c (__libc_calloc): Revert last change.
15067 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15071 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15073 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15074 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15076 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15077 (__libc_ifunc_impl_list): Likewise.
15078 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15079 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15080 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15081 * string/strrchr.c: Define STRRCHR.
15083 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15085 * benchtest/bench-strtok.c (simple_strtok): Delete.
15086 (strtok_string): Use as benchmark.
15087 * string/strtok (STRTOK): New macro.
15089 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15091 * manual/threads.texi: Add header and standard comments to all
15094 * elf/dl-lookup.c (check_match): New function.
15095 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15096 (do_lookup_x): Remove nested function check_match. Use non-nested
15097 function check_match.
15099 2014-02-28 Roland McGrath <roland@hack.frob.com>
15101 * csu/Makefile (generated, before-compile): Use += rather than =.
15102 * catgets/Makefile (generated, generated-dirs): Likewise.
15103 * debug/Makefile (generated): Likewise.
15104 * dlfcn/Makefile (generated): Likewise.
15105 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15106 * iconvdata/Makefile (before-compile, generated): Likewise.
15107 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15108 * libio/Makefile (generated): Likewise.
15109 * malloc/Makefile (generated): Likewise.
15110 * manual/Makefile (generated, generated-dirs): Likewise.
15111 * misc/Makefile (generated): Likewise.
15112 * posix/Makefile (generated): Likewise.
15113 * resolv/Makefile (generated): Likewise.
15114 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15115 * timezone/Makefile (generated, generated-dirs): Likewise.
15117 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15119 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15122 power8 implementation.
15123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15124 file: POWER8 llround ifunc implementation.
15125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15126 (__lllround): Add POWER8 implementation.
15127 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15128 POWER8 llround implementation.
15130 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15131 power8 implementation.
15132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15133 file: POWER8 llrint ifunc implementation.
15134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15135 Add POWER8 implementation.
15136 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15137 POWER8 llrint implementation.
15139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15140 power8 implementation.
15141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15142 file: POWER8 finite ifunc implementation.
15143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15144 Add POWER8 implementation.
15145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15147 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15148 POWER8 finite implementation.
15149 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15152 power8 implementation.
15153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15154 file: POWER8 isinf ifunc implementation.
15155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15156 POWER8 implementation.
15157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15159 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15160 isinf implementation.
15161 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15163 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15164 (INIT_ARCH): Add hwcap2 initialization.
15165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15166 power8 implementation.
15167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15168 file: POWER8 isnan ifunc implementation.
15169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15170 POWER8 implementation.
15171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15173 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15174 isnan implementation.
15175 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15177 2014-02-27 Joey Ye <joey.ye@arm.com>
15179 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15180 (_FP_NANFRAC_Q): Set to zero.
15182 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15185 * math/auto-libm-test-in: New test inputs.
15186 * math/auto-libm-test-out: Regenerate.
15187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15190 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15192 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15194 * scripts/evaluate-test.sh: Take new argument indicating whether
15195 failure is expected.
15196 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15197 indicating whether failure is expected.
15198 * conform/Makefile (test-xfail-run-conformtest): New variable.
15199 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15201 * posix/Makefile (test-xfail-annexc): New variable.
15202 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15204 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15206 * argp/Makefile: Include Makeconfig immediately after defining
15208 * assert/Makefile: Likewise.
15209 * benchtests/Makefile: Likewise.
15210 * catgets/Makefile: Likewise.
15211 * conform/Makefile: Likewise.
15212 * crypt/Makefile: Likewise.
15213 * csu/Makefile: Likewise.
15214 (all): Remove target.
15215 * ctype/Makefile: Include Makeconfig immediately after defining
15217 * debug/Makefile: Likewise.
15218 * dirent/Makefile: Likewise.
15219 * dlfcn/Makefile: Likewise.
15220 * gmon/Makefile: Likewise.
15221 * gnulib/Makefile: Likewise.
15222 * grp/Makefile: Likewise.
15223 * gshadow/Makefile: Likewise.
15224 * hesiod/Makefile: Likewise.
15225 * hurd/Makefile: Likewise.
15226 (all): Remove target.
15227 * iconvdata/Makefile: Include Makeconfig immediately after
15229 * inet/Makefile: Likewise.
15230 * intl/Makefile: Likewise.
15231 * io/Makefile: Likewise.
15232 * libio/Makefile: Likewise.
15233 (all): Remove target.
15234 * locale/Makefile: Include Makeconfig immediately after defining
15236 * login/Makefile: Likewise.
15237 * mach/Makefile: Likewise.
15238 (all): Remove target.
15239 * malloc/Makefile: Include Makeconfig immediately after defining
15241 (all): Remove target.
15242 * manual/Makefile: Include Makeconfig immediately after defining
15244 * math/Makefile: Likewise.
15245 * misc/Makefile: Likewise.
15246 * nis/Makefile: Likewise.
15247 * nss/Makefile: Likewise.
15248 * po/Makefile: Likewise.
15249 (all): Remove target.
15250 * posix/Makefile: Include Makeconfig immediately after defining
15252 * pwd/Makefile: Likewise.
15253 * resolv/Makefile: Likewise.
15254 * resource/Makefile: Likewise.
15255 * rt/Makefile: Likewise.
15256 * setjmp/Makefile: Likewise.
15257 * shadow/Makefile: Likewise.
15258 * signal/Makefile: Likewise.
15259 * socket/Makefile: Likewise.
15260 * soft-fp/Makefile: Likewise.
15261 * stdio-common/Makefile: Likewise.
15262 * stdlib/Makefile: Likewise.
15263 * streams/Makefile: Likewise.
15264 * string/Makefile: Likewise.
15265 * sunrpc/Makefile: Likewise.
15266 (all): Remove target.
15267 * sysvipc/Makefile: Include Makeconfig immediately after defining
15269 * termios/Makefile: Likewise.
15270 * time/Makefile: Likewise.
15271 * timezone/Makefile: Likewise.
15272 (all): Remove target.
15273 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15275 * wctype/Makefile: Likewise.
15277 2014-02-26 Steve Ellcey <sellcey@mips.com>
15279 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15280 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15281 (libc_feholdexcept_setround_mips): Ditto.
15282 (libc_feholdsetround): New.
15283 (libc_feholdsetroundf): New.
15284 (libc_feholdsetroundl): New.
15285 (libc_feupdateenv_test_mips): New.
15286 (libc_feupdateenv_test): New.
15287 (libc_feupdateenv_testf): New.
15288 (libc_feupdateenv_testl): New.
15289 (libc_feresetround): New.
15290 (libc_feresetroundf): New.
15291 (libc_feresetroundl): New.
15292 (libc_fetestexcept_mips): New.
15293 (libc_fetestexcept): New.
15294 (libc_fetestexceptf): New.
15295 (libc_fetestexceptl): New.
15296 (HAVE_RM_CTX): New.
15297 (libc_feholdexcept_setround_mips_ctx): New.
15298 (libc_feholdexcept_setround_ctx): New.
15299 (libc_feholdexcept_setroundf_ctx): New.
15300 (libc_feholdexcept_setroundl_ctx): New.
15301 (libc_fesetenv_mips_ctx): New.
15302 (libc_fesetenv_ctx): New.
15303 (libc_fesetenv_ctxf): New.
15304 (libc_fesetenv_ctxl): New.
15305 (libc_feupdateenv_mips_ctx): New.
15306 (libc_feupdateenv_ctx): New.
15307 (libc_feupdateenvf_ctx): New.
15308 (libc_feupdateenvl_ctx): New.
15309 (libc_feholdsetround_mips_ctx): New.
15310 (libc_feholdsetround_ctx): New.
15311 (libc_feholdsetroundf_ctx): New.
15312 (libc_feholdsetroundl_ctx): New.
15313 (libc_feresetround_mips_ctx): New.
15314 (libc_feresetround_ctx): New.
15315 (libc_feresetroundf_ctx): New.
15316 (libc_feresetroundl_ctx): New.
15318 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15320 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15322 * manual/ipc.texi: New file.
15323 * manual/Makefile (chapters): Add ipc.
15324 * manual/job.texi: Add "Inter-Process Communication" to next.
15325 * manual/process.texi: Add "Inter-Process Communication" to prev.
15327 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15331 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15333 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15335 * manual/arith.texi: Fix spaces after sentences.
15336 * manual/charset.texi: Likewise.
15337 * manual/errno.texi: Likewise.
15338 * manual/install.texi: Likewise.
15339 * manual/llio.texi: Likewise.
15340 * manual/locale.texi: Likewise.
15341 * manual/maint.texi: Likewise.
15342 * manual/math.texi: Likewise.
15343 * manual/memory.texi: Likewise.
15344 * manual/message.texi: Likewise.
15345 * manual/probes.texi: Likewise.
15346 * manual/resource.texi: Likewise.
15347 * manual/signal.texi: Likewise.
15348 * manual/socket.texi: Likewise.
15349 * manual/stdio.texi: Likewise.
15350 * manual/string.texi: Likewise.
15351 * manual/time.texi: Likewise.
15352 * manual/users.texi: Likewise.
15354 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15357 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15358 _DEFAULT_SOURCE is defined.
15360 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15361 Carlos O'Donell <carlos@redhat.com>
15364 * elf/dl-tls.c (_dl_count_modids): New function.
15365 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15366 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15367 audit library and increment generation counter.
15368 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15369 * elf/tst-audit9.c: New file.
15370 * elf/tst-auditmod9a.c: New file.
15371 * elf/tst-auditmod9b.c: New file.
15372 * elf/Makefile: Add rules to build and run tst-audit9.
15374 2014-02-25 Florian Weimer <fweimer@redhat.com>
15377 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15379 2014-02-25 Will Newton <will.newton@linaro.org>
15381 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15382 (__longjmp): Restore sp and lr before restoring callee
15383 saved registers. Add longjmp and longjmp_target
15384 SystemTap probe point.
15385 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15386 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15387 Define to zero to match jmpbuf layout.
15388 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15389 (__sigsetjmp): Save sp and lr before saving callee
15390 saved registers. Add setjmp SystemTap probe point.
15392 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15394 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15396 2014-02-24 Andreas Schwab <schwab@suse.de>
15399 * elf/pldd.c (wait_for_ptrace_stop): New function.
15400 (main): Call it after attaching.
15402 2014-02-22 Roland McGrath <roland@hack.frob.com>
15404 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15405 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15406 Versions files is now verboten.
15407 * hurd/Versions (libc: GLIBC_2.0):
15408 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15409 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15410 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15411 * mach/Versions: Likewise.
15413 * csu/Versions: Remove unused %include.
15414 * resolv/Versions: Likewise.
15416 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15418 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15419 ($(objpfx)check-local-headers.out): Likewise.
15420 ($(objpfx)begin-end-check.out): Likewise.
15421 * Makerules (check-abi-%.out): Likewise.
15422 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15423 ($(objpfx)test2.cat): Likewise.
15424 ($(objpfx)de/libc.cat): Likewise.
15425 ($(objpfx)test-gencat.out): Likewise.
15426 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15427 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15428 ($(objpfx)noload-mem): Likewise.
15429 ($(objpfx)tst-pathopt.out): Likewise.
15430 ($(objpfx)tst-rtld-load-self.out): Likewise.
15431 ($(objpfx)tst-array1-cmp.out): Likewise.
15432 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15433 ($(objpfx)tst-array2-cmp.out): Likewise.
15434 ($(objpfx)tst-array3-cmp.out): Likewise.
15435 ($(objpfx)tst-array4-cmp.out): Likewise.
15436 ($(objpfx)tst-array5-cmp.out): Likewise.
15437 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15438 ($(objpfx)check-textrel.out): Likewise.
15439 ($(objpfx)check-execstack.out): Likewise.
15440 ($(objpfx)check-localplt.out): Likewise.
15441 ($(objpfx)order2-cmp.out): Likewise.
15442 ($(objpfx)tst-leaks1-mem): Likewise.
15443 ($(objpfx)tst-leaks1-static-mem): Likewise.
15444 ($(objpfx)tst-initorder-cmp.out): Likewise.
15445 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15446 ($(objpfx)tst-unused-dep.out): Likewise.
15447 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15448 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15449 * iconv/Makefile (test-iconvconfig): Likewise.
15450 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15451 ($(objpfx)iconv-test.out): Likewise.
15452 ($(objpfx)tst-tables.out): Likewise.
15453 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15454 ($(objpfx)tst-gettext.out): Likewise.
15455 ($(objpfx)tst-translit.out): Likewise.
15456 ($(objpfx)tst-gettext2.out): Likewise.
15457 ($(objpfx)tst-gettext4.out): Likewise.
15458 ($(objpfx)tst-gettext6.out): Likewise.
15459 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15460 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15461 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15462 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15463 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15464 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15465 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15466 ($(objpfx)wordexp-tst.out): Likewise.
15467 ($(objpfx)annexc.out): Likewise.
15468 ($(objpfx)tst-fnmatch-mem): Likewise.
15469 ($(objpfx)bug-regex2-mem): Likewise.
15470 ($(objpfx)bug-regex14-mem): Likewise.
15471 ($(objpfx)bug-regex21-mem): Likewise.
15472 ($(objpfx)bug-regex31-mem): Likewise.
15473 ($(objpfx)tst-vfork3-mem): Likewise.
15474 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15475 ($(objpfx)tst-pcre-mem): Likewise.
15476 ($(objpfx)tst-boost-mem): Likewise.
15477 ($(objpfx)tst-getconf.out): Likewise.
15478 ($(objpfx)bug-ga2-mem): Likewise.
15479 ($(objpfx)bug-glob2-mem): Likewise.
15480 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15481 ($(objpfx)mtrace-tst-leaks2): Likewise.
15482 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15483 ($(objpfx)tst-printf.out): Likewise.
15484 ($(objpfx)tst-setvbuf1.out): Likewise.
15485 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15486 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15487 ($(objpfx)tst-fmtmsg.out): Likewise.
15488 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15489 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15491 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15492 * bits/sigaction.h [__USE_MISC]: Likewise.
15493 * bits/waitstatus.h: Update #endif comments.
15494 * ctype/ctype.h: Likewise.
15495 * dirent/dirent.h: Likewise.
15496 [__USE_MISC]: Remove redundant conditionals.
15497 * grp/grp.h: Update #endif comments.
15498 [__USE_GNU]: Remove redundant conditionals.
15499 [__USE_MISC]: Likewise.
15500 * inet/netinet/in.h [__USE_GNU]: Likewise.
15501 * io/sys/stat.h [__USE_MISC]: Likewise.
15502 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15503 * libio/bits/stdio.h: Update #endif comments.
15504 [__USE_MISC]: Remove redundant conditionals.
15505 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15506 * libio/stdio.h: Update #endif comments.
15507 [__USE_MISC]: Remove redundant conditionals.
15508 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15509 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15510 * math/math.h: Update #else and #endif comments.
15511 [__USE_MISC]: Remove redundant conditionals.
15512 * misc/sys/uio.h: Update #endif comments.
15513 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15514 * posix/glob.h [__USE_MISC]: Likewise.
15515 * posix/sys/types.h: Update #endif comments.
15516 [__USE_MISC]: Remove redundant conditionals.
15517 * posix/sys/wait.h: Update #endif comments.
15518 [__USE_MISC]: Remove redundant conditionals.
15519 * posix/unistd.h: Update #endif comments.
15520 [__USE_MISC]: Remove redundant conditionals.
15521 * pwd/pwd.h [__USE_GNU]: Likewise.
15522 [__USE_MISC]: Likewise.
15523 * resolv/netdb.h [__USE_GNU]: Likewise.
15524 * signal/signal.h: Update #endif comments.
15525 [__USE_MISC]: Remove redundant conditionals.
15526 * stdlib/stdlib.h: Update #else and #endif comments.
15527 [__USE_MISC]: Remove redundant conditionals.
15528 [__USE_GNU]: Likewise.
15529 * string/bits/string2.h [__USE_MISC]: Likewise.
15530 * string/string.h: Update #endif comments.
15531 [__USE_MISC]: Remove redundant conditionals.
15532 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15534 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15535 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15536 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15538 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15540 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15542 [__USE_MISC]: Remove redundant conditionals.
15543 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15544 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15545 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15546 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15547 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15549 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15550 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15552 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15553 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15555 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15557 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15558 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15560 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15562 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15563 * sysdeps/x86/bits/string.h: Update #endif comments.
15564 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15566 * time/sys/time.h: Update #endif comments.
15567 * time/time.h: Likewise.
15568 [__USE_MISC]: Remove redundant conditionals.
15570 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15573 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15575 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15577 * Versions.def (librt): Add GLIBC_2.17.
15579 2014-02-21 Adam Conrad <adconrad@0c3.net>
15581 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15582 synonym for _SYS_AUXV_H to allow direct inclusion.
15583 * sysdeps/sparc/bits/hwcap.h: Likewise.
15584 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15585 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15586 * sysdeps/sparc/sysdep.h: Likewise.
15588 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15590 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15592 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15594 * benchtests/bench-strrchr.c: Print length instead of position.
15596 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15599 * sysdeps/unix/sysv/linux/kernel-features.h
15600 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15601 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15602 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15603 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15605 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15606 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15607 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15608 (__ASSUME_SENDMMSG): Define instead of using previous
15609 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15610 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15611 (__ASSUME_SENDMMSG_SYSCALL): Define.
15612 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15613 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15615 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15616 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15618 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15619 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15621 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15622 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15623 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15624 [__ASSUME_SENDMMSG]: Change conditionals to
15625 [__ASSUME_SENDMMSG_SOCKETCALL].
15626 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15627 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15629 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15630 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15632 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15633 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15634 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15635 [!__ASSUME_SENDMMSG]: Change conditional to
15636 [!__ASSUME_SENDMMSG_SOCKETCALL].
15637 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15638 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15642 * sysdeps/unix/sysv/linux/kernel-features.h
15643 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15644 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15645 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15646 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15647 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15648 [__i386__ || __sparc__]
15649 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15650 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15651 (__ASSUME_RECVMMSG): Define instead of using previous
15652 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15653 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15654 (__ASSUME_RECVMMSG_SYSCALL): Define.
15655 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15656 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15658 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15659 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15661 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15662 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15664 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15665 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15666 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15667 [__ASSUME_RECVMMSG]: Change condition to
15668 [__ASSUME_RECVMMSG_SOCKETCALL].
15669 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15670 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15672 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15673 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15674 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15676 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15677 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15678 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15679 [!__ASSUME_RECVMMSG]: Change condition to
15680 [!__ASSUME_RECVMMSG_SOCKETCALL].
15681 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15682 (__ASSUME_RECVMMSG_SYSCALL): Define.
15685 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15686 __powerpc__ || __s390__ || __sh__ || __sparc__]
15687 (__ASSUME_SOCKETCALL): Define.
15688 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15689 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15690 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15691 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15692 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15693 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15694 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15695 (__ASSUME_ACCEPT4): Define instead of using previous
15696 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15697 __powerpc__ || __sparc__ || __s390__)] condition.
15698 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15699 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15700 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15701 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15702 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15703 [!__ASSUME_ACCEPT4]: Change condition to
15704 [!__ASSUME_ACCEPT4_SOCKETCALL].
15705 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15706 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15707 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15708 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15709 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15710 __ASSUME_ACCEPT4_SYSCALL.
15711 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15712 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15713 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15714 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15715 __ASSUME_ACCEPT4_SYSCALL.
15716 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15717 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15718 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15719 [__ASSUME_ACCEPT4]: Change condition to
15720 [__ASSUME_ACCEPT4_SOCKETCALL].
15721 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15722 (__ASSUME_SOCKETCALL): Define.
15723 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15724 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15725 (__ASSUME_SOCKETCALL): Define.
15726 (__ASSUME_ACCEPT4): Remove.
15727 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15729 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15730 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15732 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15733 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15735 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15737 (HWCAP_ARM_LPAE): Likewise.
15738 (HWCAP_ARM_EVTSTRM): Likewise.
15739 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15740 Add vpfd32, lpae and evtstrm.
15741 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15744 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15746 * math/auto-libm-test-in: Add tests of clog10.
15747 * math/auto-libm-test-out: Regenerated.
15748 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15749 * sysdeps/i386/fpu/libm-test-ulps: Update.
15750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15752 2014-02-18 Andreas Schwab <schwab@suse.de>
15755 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15756 Store non-zero if the second buffer was newly allocated.
15757 (send_dg): Likewise.
15758 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15759 to send_vc and send_dg.
15760 (res_nsend): Pass NULL for ansp2_malloced.
15761 * resolv/res_query.c (__libc_res_nquery): Add parameter
15762 answerp2_malloced and pass it down to __libc_res_nsend.
15763 (res_nquery): Pass additional NULL to __libc_res_nquery.
15764 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15765 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15766 second answer buffer if answerp2_malloced was set.
15767 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15768 (__libc_res_nquerydomain): Add parameter
15769 answerp2_malloced and pass it down to __libc_res_nquery.
15770 (res_nquerydomain): Pass additional NULL to
15771 __libc_res_nquerydomain.
15772 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15773 additional NULL to __libc_res_nsend and __libc_res_nquery.
15774 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15775 additional NULL to __libc_res_nsearch.
15776 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15777 parameter of __libc_res_nsearch to check for separately allocated
15779 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15781 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15782 additional NULL to __libc_res_nquery.
15783 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15784 __libc_res_nsearch.
15785 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15786 * include/resolv.h: Update prototypes of __libc_res_nquery,
15787 __libc_res_nsearch, __libc_res_nsend.
15789 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15791 * math/auto-libm-test-in: Add tests of fma.
15792 * math/auto-libm-test-out: Regenerated.
15793 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15794 (fma_towardzero_test_data): Likewise.
15795 (fma_downward_test_data): Likewise.
15796 (fma_upward_test_data): Likewise.
15797 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15799 (rounding_modes): Add values for new field.
15800 (func_calc_method): Add value mpfr_fff_f.
15801 (func_calc_desc): Add mpfr_fff_f union field.
15802 (test_function): Add field exact_args.
15803 (FUNC): Add macro argument EXACT_ARGS.
15804 (FUNC_mpfr_f_f): Update call to FUNC.
15805 (FUNC_mpfr_f_f): Likewise.
15806 (FUNC_mpfr_ff_f): Likewise.
15807 (FUNC_mpfr_if_f): Likewise.
15808 (FUNC_mpc_c_f): Likewise.
15809 (FUNC_mpc_c_c): Likewise.
15810 (test_functions): Add fma. Update calls to FUNC.
15811 (handle_input_arg): Add argument exact_args.
15812 (add_test): Update call to handle_input_arg.
15813 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15814 (output_for_one_input_case): Update call to calc_generic_results.
15815 Recalculate exact zero results in each rounding mode.
15817 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15818 non-negative before setting low bit.
15819 * math/auto-libm-test-in: Mark one asin test possibly having
15820 spurious underflow.
15821 * math/auto-libm-test-out: Regenerated.
15822 * sysdeps/i386/fpu/libm-test-ulps: Update.
15823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15825 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15827 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15828 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15829 ports/sysdeps/unix/sysv/linux/microblaze.
15830 * README: Add missing listing for microblaze*-*-linux-gnu.
15832 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15834 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15837 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15839 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15840 * sysdeps/unix/sysv/linux/ia64: Move directory from
15841 ports/sysdeps/unix/sysv/linux/ia64.
15842 * README: Update listing for ia64-*-linux-gnu.
15844 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15845 Joseph Myers <joseph@codesourcery.com>
15847 * Makeconfig (test-name): New variable.
15848 (evaluate-test): Likewise.
15849 * Makerules (do-test-clean): Remove .test-result files.
15850 (common-mostlyclean): Likewise.
15851 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15852 * scripts/evaluate-test.sh: New file.
15854 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15856 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15857 separate $(objpfx)tst-fopenloc-cmp.out and
15858 $(objpfx)tst-fopenloc-mem.out targets.
15859 (tests): Update dependencies.
15860 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15861 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15862 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15863 (tst-rxspencer-no-utf8-ARGS): New variable.
15864 (tst-rxspencer-no-utf8-ENV): Likewise.
15865 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15866 instead of $(objpfx)tst-rxspencer-mem.
15867 ($(objpfx)tst-rxspencer-mem): Change target to
15868 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15869 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15870 * posix/tst-rxspencer-no-utf8.c: New file.
15872 * elf/Makefile ($(objpfx)order.out): Remove rule.
15873 [$(run-built-tests) = yes] (tests): Depend on
15874 $(objpfx)order-cmp.out.
15875 ($(objpfx)order-cmp.out): New rule.
15876 [$(run-built-tests) = yes] (tests): Depend on
15877 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15878 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15879 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15880 $(objpfx)tst-array5-static-cmp.out.
15881 ($(objpfx)tst-array1.out): Remove rule.
15882 ($(objpfx)tst-array1-cmp.out): New rule.
15883 ($(objpfx)tst-array1-static.out): Remove rule.
15884 ($(objpfx)tst-array1-static-cmp.out): New rule.
15885 ($(objpfx)tst-array2.out): Remove rule.
15886 ($(objpfx)tst-array2-cmp.out): New rule.
15887 ($(objpfx)tst-array3.out): Remove rule.
15888 ($(objpfx)tst-array3-cmp.out): New rule.
15889 ($(objpfx)tst-array4.out): Remove rule.
15890 ($(objpfx)tst-array4-cmp.out): New rule.
15891 ($(objpfx)tst-array5.out): Remove rule.
15892 ($(objpfx)tst-array5-cmp.out): New rule.
15893 ($(objpfx)tst-array5-static.out): Remove rule.
15894 ($(objpfx)tst-array5-static-cmp.out): New rule.
15895 [$(run-built-tests) = yes] (tests): Depend on
15896 $(objpfx)order2-cmp.out.
15897 ($(objpfx)order2.out): Remove rule.
15898 ($(objpfx)order2-cmp.out): New rule.
15899 ($(objpfx)tst-initorder.out): Remove rule.
15900 [$(run-built-tests) = yes] (tests): Depend on
15901 $(objpfx)tst-initorder-cmp.out.
15902 ($(objpfx)tst-initorder-cmp.out): New rule.
15903 ($(objpfx)tst-initorder2.out): Remove rule.
15904 [$(run-built-tests) = yes] (tests): Depend on
15905 $(objpfx)tst-initorder2-cmp.out.
15906 ($(objpfx)tst-initorder2-cmp.out): New rule.
15907 [$(run-built-tests) = yes] (tests): Depend on
15908 $(objpfx)tst-unused-dep-cmp.out.
15909 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15910 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15911 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15912 on $(objpfx)tst-setvbuf1-cmp.out.
15913 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15914 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15915 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15916 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15917 ($(objpfx)tst-svc.out): Remove rule.
15918 ($(objpfx)tst-svc-cmp.out): New rule.
15920 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15922 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15923 * ctype/ctype.h [__USE_MISC]: Likewise.
15924 * dirent/dirent.h [__USE_MISC]: Likewise.
15925 * grp/grp.h [__USE_MISC]: Likewise.
15926 * io/fcntl.h [__USE_MISC]: Likewise.
15927 * io/sys/stat.h [__USE_MISC]: Likewise.
15928 * libio/stdio.h [__USE_MISC]: Likewise.
15929 * posix/unistd.h [__USE_MISC]: Likewise.
15930 * pwd/pwd.h [__USE_MISC]: Likewise.
15931 * stdlib.h [__USE_MISC]: Likewise.
15932 * string/bits/string2.h [__USE_MISC]: Likewise.
15933 * string/string.h [__USE_MISC]: Likewise.
15934 * time/time.h [__USE_MISC]: Likewise.
15936 2014-02-13 Andreas Schwab <schwab@suse.de>
15939 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15940 second answer buffer if it was separately allocated.
15942 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15944 * sysdeps/mips/math-tests.h: Include <features.h>.
15945 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15946 (ROUNDING_TESTS_long_double): Do not define.
15947 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15948 (EXCEPTION_TESTS_long_double): Likewise.
15949 * sysdeps/mips/mips64/libm-test-ulps: Update.
15951 * include/features.h (__USE_BSD): Remove macro definitions.
15952 (__USE_SVID): Likewise.
15953 (_BSD_SOURCE): Likewise.
15954 (_SVID_SOURCE): Likewise.
15955 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15956 from definition of _DEFAULT_SOURCE.
15957 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15959 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15960 * bits/mman.h [__USE_BSD]: Likewise.
15961 * bits/termios.h [__USE_BSD]: Likewise.
15962 * bits/waitstatus.h [__USE_BSD]: Likewise.
15963 * ctype/ctype.h [__USE_SVID]: Likewise.
15964 * dirent/dirent.h [__USE_BSD]: Likewise.
15965 * grp/grp.h [__USE_SVID]: Likewise.
15966 [__USE_BSD]: Likewise.
15967 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15968 * io/fcntl.h [__USE_BSD]: Likewise.
15969 * io/ftw.h [__USE_BSD]: Likewise.
15970 * io/sys/stat.h [__USE_BSD]: Likewise.
15971 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15972 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15973 * libio/stdio.h [__USE_SVID]: Likewise.
15974 [__USE_BSD]: Likewise.
15975 * math/math.h [__USE_SVID]: Likewise.
15976 [__USE_BSD]: Likewise.
15977 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15978 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15979 * misc/search.h [__USE_SVID]: Likewise.
15980 * misc/sys/mman.h [__USE_BSD]: Likewise.
15981 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15982 * misc/sys/uio.h [__USE_BSD]: Likewise.
15983 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15984 * posix/glob.h [__USE_BSD]: Likewise.
15985 * posix/regex.h [__USE_BSD]: Likewise.
15986 * posix/sys/types.h [__USE_BSD]: Likewise.
15987 [__USE_SVID]: Likewise.
15988 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15989 * posix/sys/wait.h [__USE_BSD]: Likewise.
15990 [__USE_SVID]: Likewise.
15991 * posix/unistd.h [__USE_BSD]: Likewise.
15992 [__USE_SVID]: Likewise.
15993 * pwd/pwd.h [__USE_SVID]: Likewise.
15994 * resolv/netdb.h [__USE_BSD]: Likewise.
15995 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15996 * signal/signal.h [__USE_BSD]: Likewise.
15997 [__USE_SVID]: Likewise.
15998 * socket/sys/socket.h [__USE_BSD]: Likewise.
15999 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16000 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16001 [__USE_SVID]: Likewise.
16002 * string/bits/string2.h [__USE_BSD]: Likewise.
16003 [__USE_SVID]: Likewise.
16004 * string/bits/string3.h [__USE_BSD]: Likewise.
16005 * string/endian.h [__USE_BSD]: Likewise.
16006 * string/string.h [__USE_SVID]: Likewise.
16007 [__USE_BSD]: Likewise.
16008 * string/strings.h [__USE_BSD]: Likewise.
16009 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16010 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16011 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16012 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16013 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16014 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16016 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16018 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16019 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16021 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16022 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16024 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16026 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16027 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16028 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16030 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16032 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16033 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16034 * termios/termios.h [__USE_BSD]: Likewise.
16035 * time/sys/time.h [__USE_BSD]: Likewise.
16036 * time/time.h [__USE_BSD]: Likewise.
16037 [__USE_SVID]: Likewise.
16039 * Makefile (subdir_targets): Remove subdir_lint.out.
16041 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16042 (do-tst-printf): Likewise.
16043 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16044 $(objpfx)tst-printf.out.
16046 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16048 * Makerules (check-abi-%): Change target to
16049 $(objpfx)check-abi-%.out.
16050 (check-abi target): Update dependencies.
16051 (check-abi-pattern variable): Redirect output of diff to $@.
16052 (check-abi variable): Likewise.
16053 * elf/Makefile (check-abi): Update dependencies.
16055 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16057 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16058 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16060 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16061 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16062 value has largest subnormal exponent.
16063 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16064 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16065 * sysdeps/aarch64/soft-fp/sfp-machine.h
16066 (_FP_TININESS_AFTER_ROUNDING): New macro.
16067 * sysdeps/alpha/soft-fp/sfp-machine.h
16068 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16069 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16071 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16072 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16073 * sysdeps/mips/soft-fp/sfp-machine.h
16074 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16075 * sysdeps/powerpc/soft-fp/sfp-machine.h
16076 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16077 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16079 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16080 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16081 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16082 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16083 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16086 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16089 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16092 2014-02-12 Richard Henderson <rth@redhat.com>
16094 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16095 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16096 * sysdeps/unix/sysv/linux/alpha: Move directory from
16097 ports/sysdeps/unix/sysv/linux/alpha.
16098 * README: Update listing for alpha-*-linux-gnu.
16100 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16102 * include/features.h: Update comment documenting feature test
16104 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16106 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16107 (_SVID_SOURCE): Likewise.
16108 (_DEFAULT_SOURCE): Update description of default features.
16109 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16111 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16112 (S_ISVTX): Likewise.
16113 * manual/math.texi (Mathematical Constants): Likewise.
16114 * manual/signal.texi (Interrupted Primitives): Likewise.
16115 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16116 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16117 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16118 Don't refer to _SVID_SOURCE in warning text.
16120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16122 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16124 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16125 * sysdeps/mips/dl-lookup.c: Remove.
16126 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16128 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16131 * math/auto-libm-test-in: Add testcase for expl.
16132 * math/auto-libm-test-out: Regenerate.
16133 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16134 calculation of unsafe.
16135 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16137 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16139 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16140 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16141 ports/sysdeps/unix/sysv/linux/aarch64.
16142 * README: Update listing for aarch64*-*-linux-gnu.
16144 2014-02-11 Will Newton <will.newton@linaro.org>
16146 * manual/probes.texi (Mathematical Function Probes): Use
16147 "triggered" instead of "hit".
16149 * manual/probes.texi (Internal Probes): Add documentation
16150 of setjmp, longjmp and longjmp_target probes.
16152 * include/stap-probe.h: Add comment about probe argument
16155 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16156 definition. (tr_where, tr_freehook, tr_mallochook,
16157 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16159 2014-02-11 David S. Miller <davem@davemloft.net>
16161 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16162 processing int_tests.
16164 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16166 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16167 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16168 * sysdeps/unix/sysv/linux/mips: Move directory from
16169 ports/sysdeps/unix/sysv/linux/mips.
16170 * README: Update listing for mips-*-linux-gnu and
16171 mips64-*-linux-gnu.
16173 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16175 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16176 * sysdeps/unix/sysv/linux/m68k: Move directory from
16177 ports/sysdeps/unix/sysv/linux/m68k.
16178 * README: Update listing for m68k-*-linux-gnu.
16180 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16182 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16183 * sysdeps/unix/sysv/linux/generic: Move directory from
16184 ports/sysdeps/unix/sysv/linux/generic.
16185 * sysdeps/unix/sysv/linux/tile: Move directory from
16186 ports/sysdeps/unix/sysv/linux/tile.
16187 * README: Update listing for tile*-*-linux-gnu.
16189 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16191 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16193 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16194 * catgets/open_catalog.c (__open_catalog): Likewise.
16195 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16196 * debug/confstr_chk.c: Likewise.
16197 * debug/fread_chk.c (__fread_chk): Likewise.
16198 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16199 * debug/getgroups_chk.c: Likewise.
16200 * debug/mbsnrtowcs_chk.c: Likewise.
16201 * debug/mbsrtowcs_chk.c: Likewise.
16202 * debug/mbstowcs_chk.c: Likewise.
16203 * debug/memcpy_chk.c: Likewise.
16204 * debug/memmove_chk.c: Likewise.
16205 * debug/mempcpy_chk.c: Likewise.
16206 * debug/memset_chk.c: Likewise.
16207 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16208 * debug/strcat_chk.c (__strcat_chk): Likewise.
16209 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16210 * debug/strncat_chk.c (__strncat_chk): Likewise.
16211 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16212 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16213 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16214 * debug/wcpncpy_chk.c: Likewise.
16215 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16216 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16217 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16218 * debug/wcsncpy_chk.c: Likewise.
16219 * debug/wcsnrtombs_chk.c: Likewise.
16220 * debug/wcsrtombs_chk.c: Likewise.
16221 * debug/wcstombs_chk.c: Likewise.
16222 * debug/wmemcpy_chk.c: Likewise.
16223 * debug/wmemmove_chk.c: Likewise.
16224 * debug/wmempcpy_chk.c: Likewise.
16225 * debug/wmemset_chk.c: Likewise.
16226 * dirent/scandirat.c (SCANDIRAT): Likewise.
16227 * dlfcn/dladdr1.c (dladdr1): Likewise.
16228 * dlfcn/dladdr.c (dladdr): Likewise.
16229 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16230 * dlfcn/dlerror.c (__dlerror): Likewise.
16231 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16232 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16233 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16234 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16235 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16236 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16237 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16238 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16240 * elf/dl-conflict.c: Likewise.
16241 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16242 * elf/dl-dst.h: Likewise.
16243 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16244 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16245 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16246 * elf/dl-init.c (call_init, _dl_init): Likewise.
16247 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16248 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16249 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16251 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16253 * elf/dl-minimal.c (__libc_memalign): Likewise.
16254 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16255 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16256 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16257 * elf/dl-sym.c (do_sym): Likewise.
16258 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16259 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16260 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16261 * elf/dl-writev.h (_dl_writev): Likewise.
16262 * elf/ldconfig.c (search_dir): Likewise.
16263 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16264 (dl_main): Likewise.
16265 * elf/setup-vdso.h (setup_vdso): Likewise.
16266 * grp/compat-initgroups.c (compat_call): Likewise.
16267 * grp/fgetgrent.c (fgetgrent): Likewise.
16268 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16269 * grp/putgrent.c (putgrent): Likewise.
16270 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16272 * hurd/hurdinit.c: Likewise.
16273 * iconvdata/8bit-gap.c (struct): Likewise.
16274 * iconvdata/ansi_x3.110.c : Likewise.
16275 * iconvdata/big5.c : Likewise.
16276 * iconvdata/big5hkscs.c : Likewise.
16277 * iconvdata/cp1255.c: Likewise.
16278 * iconvdata/cp1258.c : Likewise.
16279 * iconvdata/cp932.c : Likewise.
16280 * iconvdata/euc-cn.c: Likewise.
16281 * iconvdata/euc-jisx0213.c : Likewise.
16282 * iconvdata/euc-jp.c: Likewise.
16283 * iconvdata/euc-jp-ms.c : Likewise.
16284 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16285 * iconvdata/gb18030.c : Likewise.
16286 * iconvdata/gbbig5.c (const): Likewise.
16287 * iconvdata/gbgbk.c: Likewise.
16288 * iconvdata/gbk.c : Likewise.
16289 * iconvdata/ibm1364.c : Likewise.
16290 * iconvdata/ibm930.c : Likewise.
16291 * iconvdata/ibm932.c: Likewise.
16292 * iconvdata/ibm933.c : Likewise.
16293 * iconvdata/ibm935.c : Likewise.
16294 * iconvdata/ibm937.c : Likewise.
16295 * iconvdata/ibm939.c : Likewise.
16296 * iconvdata/ibm943.c: Likewise.
16297 * iconvdata/iso_11548-1.c: Likewise.
16298 * iconvdata/iso-2022-cn.c : Likewise.
16299 * iconvdata/iso-2022-cn-ext.c : Likewise.
16300 * iconvdata/iso-2022-jp-3.c: Likewise.
16301 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16302 * iconvdata/iso-2022-kr.c : Likewise.
16303 * iconvdata/iso646.c (gconv_end): Likewise.
16304 * iconvdata/iso_6937-2.c : Likewise.
16305 * iconvdata/iso_6937.c : Likewise.
16306 * iconvdata/iso8859-1.c: Likewise.
16307 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16308 * iconvdata/shift_jisx0213.c : Likewise.
16309 * iconvdata/sjis.c : Likewise.
16310 * iconvdata/t.61.c : Likewise.
16311 * iconvdata/tcvn5712-1.c : Likewise.
16312 * iconvdata/tscii.c: Likewise.
16313 * iconvdata/uhc.c : Likewise.
16314 * iconvdata/unicode.c (gconv_end): Likewise.
16315 * iconvdata/utf-16.c (gconv_end): Likewise.
16316 * iconvdata/utf-32.c (gconv_end): Likewise.
16317 * iconvdata/utf-7.c (base64): Likewise.
16318 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16319 * iconv/gconv_close.c (__gconv_close): Likewise.
16320 * iconv/gconv_open.c (__gconv_open): Likewise.
16321 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16322 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16323 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16324 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16325 (ucs4le_internal_loop_single): Likewise.
16326 * iconv/iconv.c (iconv): Likewise.
16327 * iconv/iconv_close.c: Likewise.
16328 * iconv/loop.c (SINGLE): Likewise.
16329 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16330 * include/atomic.h: Likewise.
16331 * inet/inet6_option.c (option_alloc): Likewise.
16332 * intl/bindtextdom.c (set_binding_values): Likewise.
16333 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16334 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16335 * intl/localealias.c (read_alias_file): Likewise.
16336 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16337 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16338 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16339 * libio/fmemopen.c (fmemopen): Likewise.
16340 * libio/iofgets.c (_IO_fgets): Likewise.
16341 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16342 * libio/iofgetws.c (fgetws): Likewise.
16343 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16344 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16345 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16346 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16347 * locale/findlocale.c (_nl_find_locale): Likewise.
16348 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16349 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16351 * locale/setlocale.c (setlocale): Likewise.
16352 * login/programs/pt_chown.c (main): Likewise.
16353 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16354 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16355 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16356 (mmap, mmap64, mremap, munmap): Likewise.
16357 * math/e_exp2l.c: Likewise.
16358 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16359 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16360 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16361 * math/s_catan.c (__catan): Likewise.
16362 * math/s_catanf.c (__catanf): Likewise.
16363 * math/s_catanh.c (__catanh): Likewise.
16364 * math/s_catanhf.c (__catanhf): Likewise.
16365 * math/s_catanhl.c (__catanhl): Likewise.
16366 * math/s_catanl.c (__catanl): Likewise.
16367 * math/s_ccosh.c (__ccosh): Likewise.
16368 * math/s_ccoshf.c (__ccoshf): Likewise.
16369 * math/s_ccoshl.c (__ccoshl): Likewise.
16370 * math/s_cexp.c (__cexp): Likewise.
16371 * math/s_cexpf.c (__cexpf): Likewise.
16372 * math/s_cexpl.c (__cexpl): Likewise.
16373 * math/s_clog10.c (__clog10): Likewise.
16374 * math/s_clog10f.c (__clog10f): Likewise.
16375 * math/s_clog10l.c (__clog10l): Likewise.
16376 * math/s_clog.c (__clog): Likewise.
16377 * math/s_clogf.c (__clogf): Likewise.
16378 * math/s_clogl.c (__clogl): Likewise.
16379 * math/s_csin.c (__csin): Likewise.
16380 * math/s_csinf.c (__csinf): Likewise.
16381 * math/s_csinh.c (__csinh): Likewise.
16382 * math/s_csinhf.c (__csinhf): Likewise.
16383 * math/s_csinhl.c (__csinhl): Likewise.
16384 * math/s_csinl.c (__csinl): Likewise.
16385 * math/s_csqrt.c (__csqrt): Likewise.
16386 * math/s_csqrtf.c (__csqrtf): Likewise.
16387 * math/s_csqrtl.c (__csqrtl): Likewise.
16388 * math/s_ctan.c (__ctan): Likewise.
16389 * math/s_ctanf.c (__ctanf): Likewise.
16390 * math/s_ctanh.c (__ctanh): Likewise.
16391 * math/s_ctanhf.c (__ctanhf): Likewise.
16392 * math/s_ctanhl.c (__ctanhl): Likewise.
16393 * math/s_ctanl.c (__ctanl): Likewise.
16394 * math/w_pow.c: Likewise.
16395 * math/w_powf.c: Likewise.
16396 * math/w_powl.c: Likewise.
16397 * math/w_scalb.c (sysv_scalb): Likewise.
16398 * math/w_scalbf.c (sysv_scalbf): Likewise.
16399 * math/w_scalbl.c (sysv_scalbl): Likewise.
16400 * misc/error.c (error_tail): Likewise.
16401 * misc/pselect.c (__pselect): Likewise.
16402 * nis/nis_callback.c (__nis_create_callback): Likewise.
16403 * nis/nis_call.c (__nisfind_server): Likewise.
16404 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16405 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16406 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16407 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16408 * nis/nis_lookup.c (nis_lookup): Likewise.
16409 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16410 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16411 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16412 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16413 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16414 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16415 * nis/nss_compat/compat-initgroups.c (add_group)
16416 (internal_getgrent_r): Likewise.
16417 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16418 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16419 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16420 (internal_getspnam_r): Likewise.
16421 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16422 (_nss_nis_getaliasbyname_r): Likewise.
16423 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16424 (_nss_nis_getntohost_r): Likewise.
16425 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16426 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16427 (_nss_nis_getgrgid_r): Likewise.
16428 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16429 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16430 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16431 (_nss_nis_gethostbyname4_r): Likewise.
16432 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16433 (initgroups_netid): Likewise.
16434 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16435 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16436 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16437 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16438 (_nss_nis_getprotobynumber_r): Likewise.
16439 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16440 (_nss_nis_getsecretkey): Likewise.
16441 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16442 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16443 (_nss_nis_getpwuid_r): Likewise.
16444 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16445 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16446 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16447 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16448 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16449 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16450 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16452 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16453 (_nss_nisplus_getntohost_r): Likewise.
16454 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16455 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16456 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16457 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16459 * nis/nss_nisplus/nisplus-initgroups.c
16460 (_nss_nisplus_initgroups_dyn): Likewise.
16461 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16462 (_nss_nisplus_getnetbyaddr_r): Likewise.
16463 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16464 (_nss_nisplus_getprotobynumber_r): Likewise.
16465 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16466 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16467 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16469 * nis/nss_nisplus/nisplus-service.c
16470 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16471 (_nss_nisplus_getservbyport_r): Likewise.
16472 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16473 (_nss_nisplus_getspnam_r): Likewise.
16474 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16476 * nscd/aicache.c (addhstaiX): Likewise.
16477 * nscd/cache.c (cache_search, prune_cache): Likewise.
16478 * nscd/connections.c (register_traced_file, send_ro_fd)
16479 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16480 (main_loop_epoll): Likewise.
16481 * nscd/grpcache.c (addgrbyX): Likewise.
16482 * nscd/hstcache.c (addhstbyX): Likewise.
16483 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16484 * nscd/mem.c (gc, mempool_alloc): Likewise.
16485 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16486 (addinnetgrX): Likewise.
16487 * nscd/nscd-client.h (__nscd_acquire_maplock)
16488 (__nscd_drop_map_ref): Likewise.
16489 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16490 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16491 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16493 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16494 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16495 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16496 (__nscd_get_map_ref): Likewise.
16497 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16498 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16500 * nscd/pwdcache.c (addpwbyX): Likewise.
16501 * nscd/selinux.c (preserve_capabilities): Likewise.
16502 * nscd/servicescache.c (addservbyX): Likewise.
16503 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16504 * posix/fnmatch.c (fnmatch): Likewise.
16505 * posix/getopt.c (_getopt_internal_r): Likewise.
16506 * posix/glob.c (glob, glob_in_dir): Likewise.
16507 * posix/wordexp.c (exec_comm_child): Likewise.
16508 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16509 (getanswer_r, gaih_getanswer_slice): Likewise.
16510 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16511 * resolv/res_init.c: Likewise.
16512 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16513 * resolv/res_query.c (__libc_res_nquery): Likewise.
16514 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16516 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16517 * stdio-common/perror.c (perror): Likewise.
16518 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16519 * stdio-common/tmpnam.c (tmpnam): Likewise.
16520 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16521 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16522 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16524 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16525 * stdlib/putenv.c (putenv): Likewise.
16526 * stdlib/setenv.c (__add_to_environ): Likewise.
16527 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16528 * stdlib/strtol_l.c (INTERNAL): Likewise.
16529 * string/memmem.c (memmem): Likewise.
16530 * string/strerror.c (strerror): Likewise.
16531 * string/strnlen.c (__strnlen): Likewise.
16532 * string/test-memmem.c (simple_memmem): Likewise.
16533 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16534 * sunrpc/pm_getport.c (__get_socket): Likewise.
16535 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16536 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16537 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16538 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16540 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16541 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16542 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16543 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16544 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16545 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16547 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16549 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16550 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16551 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16552 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16553 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16555 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16556 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16557 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16558 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16559 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16560 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16562 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16564 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16566 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16567 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16568 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16569 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16570 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16571 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16572 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16573 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16574 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16575 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16576 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16577 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16578 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16579 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16580 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16581 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16583 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16585 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16587 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16589 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16590 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16591 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16593 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16594 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16595 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16596 * sysdeps/posix/sleep.c: Likewise.
16597 * sysdeps/posix/tempname.c: Likewise.
16598 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16599 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16601 * sysdeps/powerpc/powerpc32/dl-machine.h
16602 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16603 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16604 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16605 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16606 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16608 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16609 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16610 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16611 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16612 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16613 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16614 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16615 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16616 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16617 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16618 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16619 (elf_machine_lazy_rel): Likewise.
16620 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16621 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16622 (elf_machine_lazy_rel): Likewise.
16623 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16624 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16625 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16626 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16627 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16628 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16629 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16630 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16632 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16633 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16634 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16635 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16636 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16637 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16638 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16639 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16640 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16641 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16642 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16644 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16645 (__posix_fallocate64_l64): Likewise.
16646 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16647 (posix_fallocate): Likewise.
16648 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16651 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16652 (getifaddrs_internal): Likewise.
16653 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16654 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16655 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16656 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16657 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16658 (__posix_fallocate64_l64): Likewise.
16659 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16661 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16662 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16663 (__get_clockfreq): Likewise.
16664 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16665 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16666 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16669 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16670 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16671 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16673 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16674 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16675 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16676 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16677 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16678 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16679 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16681 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16682 (posix_fallocate): Likewise.
16683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16684 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16685 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16686 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16687 (elf_machine_rela, elf_machine_rela_relative)
16688 (elf_machine_lazy_rel): Likewise.
16689 * time/asctime.c (asctime_internal): Likewise.
16690 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16691 * time/tzset.c (__tzset_parse_tz): Likewise.
16692 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16693 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16694 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16695 * wcsmbs/wcsmbsload.h: Likewise.
16698 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16700 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16701 (arena_get2): Remove THREAD_STATS conditionals.
16702 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16703 (__malloc_stats, int): Likewise.
16705 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16707 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16708 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16710 * manual/setjmp.texi: Fix typos/grammar errors.
16712 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16713 Only return early when n is <= 0. Delete unused return statement.
16715 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16716 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16717 * debug/tst-longjmp_chk3.c: New file.
16719 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16720 (test_main): Replace code with set_fortify_handler call.
16721 * debug/test-strcpy_chk.c: Likewise.
16722 * debug/tst-chk1.c: Likewise.
16723 * debug/tst-longjmp_chk.c: Likewise.
16724 * test-skeleton.c: Include fcntl.h & paths.h
16725 (set_fortify_handler): Define.
16727 * debug/tst-longjmp_chk.c: Add header comment and include
16728 ../test-skeleton.c.
16729 (do_test): Mark static.
16730 (TEST_FUNCTION): Define.
16732 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16733 (IP_PMTUDISC_INTERFACE): Likewise.
16734 (IP_MULTICAST_IF): Likewise.
16735 (IP_MULTICAST_TTL): Likewise.
16736 (IP_MULTICAST_LOOP): Likewise.
16737 (IP_ADD_MEMBERSHIP): Likewise.
16738 (IP_DROP_MEMBERSHIP): Likewise.
16739 (IP_UNBLOCK_SOURCE): Likewise.
16740 (IP_BLOCK_SOURCE): Likewise.
16741 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16742 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16743 (IP_MSFILTER): Likewise.
16744 (MCAST_JOIN_GROUP): Likewise.
16745 (MCAST_BLOCK_SOURCE): Likewise.
16746 (MCAST_UNBLOCK_SOURCE): Likewise.
16747 (MCAST_LEAVE_GROUP): Likewise.
16748 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16749 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16750 (MCAST_MSFILTER): Likewise.
16751 (IP_MULTICAST_ALL): Likewise.
16752 (IP_UNICAST_IF): Likewise.
16754 * timezone/Makefile: Delete $(have-ksh) check.
16755 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16756 * timezone/tzselect.ksh: Add +x mode bits.
16758 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16759 (ANON_INODE_FS_MAGIC): Likewise.
16760 (BDEVFS_MAGIC): Likewise.
16761 (BINFMTFS_MAGIC): Likewise.
16762 (BTRFS_TEST_MAGIC): Likewise.
16763 (CRAMFS_MAGIC_WEND): Likewise.
16764 (DEBUGFS_MAGIC): Likewise.
16765 (ECRYPTFS_SUPER_MAGIC): Likewise.
16766 (EXT3_SUPER_MAGIC): Likewise.
16767 (EXT4_SUPER_MAGIC): Likewise.
16768 (FUTEXFS_SUPER_MAGIC): Likewise.
16769 (HOSTFS_SUPER_MAGIC): Likewise.
16770 (HUGETLBFS_MAGIC): Likewise.
16771 (MINIX3_SUPER_MAGIC): Likewise.
16772 (MTD_INODE_FS_MAGIC): Likewise.
16773 (NILFS_SUPER_MAGIC): Likewise.
16774 (OPENPROM_SUPER_MAGIC): Likewise.
16775 (PIPEFS_MAGIC): Likewise.
16776 (PSTOREFS_MAGIC): Likewise.
16777 (QNX6_SUPER_MAGIC): Likewise.
16778 (RAMFS_MAGIC): Likewise.
16779 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16780 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16781 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16782 (SECURITYFS_MAGIC): Likewise.
16783 (SELINUX_MAGIC): Likewise.
16784 (SMACK_MAGIC): Likewise.
16785 (SOCKFS_MAGIC): Likewise.
16786 (SQUASHFS_MAGIC): Likewise.
16787 (STACK_END_MAGIC): Likewise.
16788 (TMPFS_MAGIC): Likewise.
16789 (USBDEVICE_SUPER_MAGIC): Likewise.
16790 (V9FS_MAGIC): Likewise.
16791 (XENFS_SUPER_MAGIC): Likewise.
16792 (CRAMFS_MAGIC): Fix typo in comment.
16793 (EXT2_SUPER_MAGIC): Update comment.
16794 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16796 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16798 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16799 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16800 * sysdeps/unix/sysv/linux/arm: Move directory from
16801 ports/sysdeps/unix/sysv/linux/arm.
16802 * README: Update listing for arm-*-linux-gnueabi.
16804 * README: Remove mention of am33.
16806 2014-02-07 Roland McGrath <roland@hack.frob.com>
16808 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16809 than the comma operator, to avoid "rhs of comma has no effect"
16811 (__sigfillset, __sigandset, __sigorset): Likewise.
16812 * include/signal.h (__sigemptyset): Likewise.
16813 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16815 2014-02-07 Allan McRae <allan@archlinux.org>
16817 * version.h (RELEASE): Set to "development".
16818 (VERSION): Set to "2.19.90"
16819 * NEWS: Add 2.20 section.
16821 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16824 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16826 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16828 * manual/contrib.texi: Update entry for Carlos O'Donell,
16829 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16831 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16833 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16835 * sysdeps/unix/sysv/linux/kernel-features.h
16836 [__LINUX_KERNEL_VERSION >= 0x020621]
16837 (__ASSUME_PROC_PID_TASK_COMM): Define.
16839 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16842 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16843 conversion when destination buffer does not have enough space.
16844 * libio/tst-ftell-partial-wide.c: New test case.
16845 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16847 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16848 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16849 Leonard and Allan McRae.
16851 2014-02-04 David S. Miller <davem@davemloft.net>
16853 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16856 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16885 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16887 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16888 * shlib-versions: Likewise.
16890 2014-02-04 Roland McGrath <roland@hack.frob.com>
16891 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16893 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16894 (abilist-pattern): New variable, set to %-le.abilist.
16896 * Makerules (abilist-pattern): New variable.
16897 (vpath): Use $(abilist-pattern) in place of %.abilist.
16898 (check-abi-% pattern rule): Likewise.
16899 (check-abi, update-abi): Likewise.
16901 2014-02-04 Eric Wong <normalperson@yhbt.net>
16903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16905 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16907 * manual/startup.texi: Add next, previous, and top entries for
16908 the `Program Arguments' and `Environment Variables' nodes.
16910 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16912 * manual/macros.texi: Add comments before MTASC-safety macros.
16914 * manual/users.texi: Document MTASC-safety properties.
16916 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16917 (pthread_getspecific, pthread_setspecific): Format with
16918 @deftypefun, and add @safety note.
16919 * manual/signal.texi: Move comments that analyze the above
16920 functions to their home place.
16922 2014-02-03 Allan McRae <allan@archlinux.org>
16924 * po/sl.po: Update Slovenian translation from translation project.
16926 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16928 * manual/time.texi (timegm): Add missing blank after @c.
16929 Reported by Joseph Myers <joseph@codesourcery.com>.
16931 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16933 * manual/check-safety.sh: New.
16934 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16936 * manual/terminal.texi: Document MTASC-safety properties.
16938 * manual/filesys.texi: Document MTASC-safety properties.
16940 * manual/errno.texi: Document MTASC-safety properties.
16942 * manual/intro.texi: Document safety identifiers and
16945 * manual/string.texi (wcstok): Fix prototype.
16946 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16948 * manual/time.texi: Document MTASC-safety properties.
16950 * manual/string.texi: Document MTASC-safety properties.
16952 * manual/threads.texi: Document MTASC-safety properties.
16954 * manual/stdio.texi: Document MTASC-safety properties.
16956 * manual/syslog.texi: Document MTASC-safety properties.
16958 * manual/sysinfo.texi: Document MTASC-safety properties.
16960 * manual/startup.texi: Document MTASC-safety properties.
16962 * manual/socket.texi: Document MTASC-safety properties.
16964 * manual/signal.texi: Document MTASC-safety properties.
16966 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16968 * manual/setjmp.texi: Document MTASC-safety properties.
16970 * manual/search.texi: Document MTASC-safety properties.
16972 * manual/resource.texi: Document MTASC-safety properties.
16974 * manual/process.texi: Document MTASC-safety properties.
16976 * manual/platform.texi: Document MTASC-safety properties.
16978 * manual/pipe.texi: Document MTASC-safety properties.
16980 * manual/pattern.texi: Document MTASC-safety properties.
16982 * manual/message.texi: Document MTASC-safety properties.
16985 * manual/memory.texi: Document MTASC-safety properties.
16987 * manual/math.texi: Document MTASC-safety properties.
16989 * manual/locale.texi: Document MTASC-safety properties.
16991 * manual/llio.texi: Document MTASC-safety properties.
16993 * manual/libdl.texi: New.
16995 * manual/lang.texi: Document MTASC-safety properties.
16997 * manual/job.texi: Document MTASC-safety properties.
16999 * manual/getopt.texi: Document MTASC-safety properties.
17001 * manual/ctype.texi: Document MTASC-safety properties.
17003 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17006 * csu/libc-tls.c (static_map): Remove variable.
17007 (__libc_setup_tls): Use main executable's link map for TLS data.
17008 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17009 casing for LM_ID_BASE and GL(dl_nns).
17010 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17011 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17012 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17013 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17014 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17016 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17019 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17021 * manual/debug.texi: Document MTASC-safety properties.
17023 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17026 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17027 of __x86_64__ when disabling x87 inline functions.
17029 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17031 * manual/charset.texi: Document MTASC-safety properties.
17033 * manual/crypt.texi: Document MTASC-safety properties.
17035 * manual/conf.texi: Document MTASC-safety properties.
17037 * manual/arith.texi: Document MTASC-safety properties.
17039 * manual/argp.texi: Document MTASC-safety properties.
17041 * manual/macros.texi: Introduce macros to document multi
17042 thread, asynchronous signal and asynchronous cancellation
17044 * manual/intro.texi: Introduce the properties themselves.
17046 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17048 * sysdeps/sh/sh4/Makefile: New file.
17050 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17052 * math/gen-libm-test.pl ($srcdir): New variable.
17053 ($auto_input): Use it.
17055 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17058 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17059 access beyond array bounds when parsing netgroups file.
17061 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17062 the old buffer before realloc.
17064 2014-01-27 Allan McRae <allan@archlinux.org>
17066 * po/fr.po: Update French translation from translation project.
17068 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17070 * sysdeps/sh/libm-test-ulps: Regenerate.
17072 2014-01-24 David S. Miller <davem@davemloft.net>
17074 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17076 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17078 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17079 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17081 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17084 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17085 string pointers after reallocation.
17087 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17089 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17090 __SH4A__ instead of __SH_FPU_ANY__.
17092 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17094 * sysdeps/sh/fpu_control.h: New file.
17095 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17096 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17097 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17098 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17099 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17100 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17101 * sysdeps/sh/sys/ucontext.h: Remove.
17102 * sysdeps/sh/sys: Remove directory.
17104 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17106 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17107 s390/sys/ucontext.h.
17108 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17109 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17111 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17114 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17116 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17119 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17120 Adjust the vDSO correctly for internal calls.
17121 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17123 2014-01-20 Allan McRae <allan@archlinux.org>
17125 * po/ca.po: Update Catalan translation from translation project.
17127 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17129 * sysdeps/s390/sotruss-lib.c: New file.
17131 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17134 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17135 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17136 local calls issues by not having a PLT stub required for IFUNC calls.
17137 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17139 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17141 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17142 * math/test-fpucw-static.c: Likewise.
17144 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17147 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17149 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17151 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17152 implementation for powerpc.
17154 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17157 * sysdeps/posix/system.c (__libc_system): Do not enable
17158 asynchronous cancellation.
17160 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17163 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17164 handling only for numbers special also in the IEEE case.
17166 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17168 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17170 2014-01-11 Allan McRae <allan@archlinux.org>
17172 * po/bg.po: Update Bulgarian translation from translation project.
17174 * po/de.po: Update German translation from translation project.
17176 2014-01-10 Roland McGrath <roland@hack.frob.com>
17178 * sysdeps/generic/gcc-compat.h: New file.
17180 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17182 * benchtests/asin-inputs: Correct slow inputs.
17183 * benchtests/acos-inputs: Likewise.
17185 2014-01-10 Allan McRae <allan@archlinux.org>
17187 * po:sv.po: Update Swedish translation from translation project.
17189 * po/vi.po: Update Vietnamese translation from translation project.
17191 * po/eo.po: Update Esperanto translation from translation project.
17193 * po/cs.po: Update Czech translation from translation project.
17195 * po/nl.po: Update Dutch translation from translation project.
17197 * po/pl.po: Update Polish translation from translation project.
17199 * po/ru.po: Update Russian translation from translation project.
17201 * po/uk.po: Update Ukrainian translation from translation project.
17203 2014-01-08 Brooks Moses <bmoses@google.com>
17205 * elf/dl-load.c: Fix comment typo.
17207 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17209 * po/header.pot: Rename to...
17210 * po/pot.header: ... this.
17211 * po/Makefile: Use pot.header.
17213 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17214 Maxim Kuvyrkov <maxim@kugelworks.com>
17217 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17218 SRC and DEST against LEN.
17220 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17223 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17225 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17227 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17231 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17234 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17235 for large positive arguments.
17237 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17239 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17241 * math/auto-libm-test-in: Mark various tests with
17242 xfail-rounding:ldbl-128ibm.
17243 * math/auto-libm-test-out: Regenerated.
17246 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17247 Increase overflow threshold.
17249 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17252 * stdio-common/vfprintf.c: Check for integer overflow.
17254 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17256 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17257 the first argument and return value of __tls_get_addr_internal.
17259 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17261 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17262 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17264 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17266 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17267 * sysdeps/s390/rtld-global-offsets.sym: New file.
17268 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17270 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17271 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17272 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17274 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17275 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17277 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17279 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17281 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17282 halfs of GPRs for high_gprs contexts.
17283 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17284 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17286 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17288 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17290 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17291 for high GPRs (uc_high_gprs) and for future extensions
17293 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17294 for future extensions (__reserved).
17295 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17297 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17298 SC_HIGHGPRS offset definition.
17299 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17300 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17302 * Versions.def: Add GLIBC_2.19 for libpthread.
17303 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17304 siglongjmp for libpthread with GLIBC_2.19 symver.
17305 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17306 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17307 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17308 * sysdeps/s390/__longjmp.c: New file.
17309 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17310 * sysdeps/s390/longjmp.c: New file.
17311 * sysdeps/s390/setjmp.S: New file.
17312 * sysdeps/s390/sigjmp.S: New file.
17313 * sysdeps/s390/v1-longjmp.c: New file.
17314 * sysdeps/s390/v1-setjmp.h: New file.
17315 * sysdeps/s390/v1-sigjmp.c: New file.
17316 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17317 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17318 GLIBC_2.19 version.
17319 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17320 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17321 versioned symbols for ____longjmp_chk.
17322 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17326 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17330 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17332 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17333 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17334 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17335 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17336 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17337 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17338 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17339 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17340 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17341 * sysdeps/s390/rtld-__longjmp.c: New file.
17342 * sysdeps/s390/rtld-setjmp.S: New file.
17344 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17347 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17348 Return -__logl (x) for small positive arguments without evaluating
17351 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17353 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17355 (__ptrace_peeksiginfo_args): ... this.
17356 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17357 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17358 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17360 2014-01-06 Allan McRae <allan@archlinux.org>
17362 * inet/netinet/in.h: Fix typo in comment.
17364 2014-01-05 Andreas Jaeger <aj@suse.de>
17366 * sysdeps/i386/fpu/libm-test-ulps: Update.
17368 2014-01-05 Allan McRae <allan@archlinux.org>
17370 * po/libc.pot: Regenerated.
17372 * malloc/memusagestat.c: Fix gettext call formatting.
17374 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17376 * nscd/nscd.c: Improve usage() output.
17378 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17380 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17381 * sysdeps/unix/sysv/linux/configure: Regenerated.
17382 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17383 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17385 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17388 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17389 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17391 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17393 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17394 extra tokens at end of #undef directive.
17395 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17396 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17397 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17399 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17401 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17403 * math/auto-libm-test-in: Mark various tests with
17404 xfail-rounding:ldbl-128ibm.
17405 * math/auto-libm-test-out: Regenerated.
17407 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17410 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17411 numbers with subnormal high part when calculating exponent.
17414 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17418 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17420 (__ieee754_acoshl): Use __log1pl not __log1p.
17422 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17424 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17425 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17426 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17427 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17428 (reused_arena, arena_get2): Convert to GNU style.
17429 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17430 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17431 (memalign_check, __malloc_set_state): Likewise.
17432 * malloc/mallocbug.c (main): Likewise.
17433 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17434 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17435 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17436 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17437 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17438 (__posix_memalign, malloc_info): Likewise.
17439 * malloc/malloc.h: Likewise.
17440 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17441 (mallochook, memalignhook, reallochook, mabort): Likewise.
17442 * malloc/mcheck.h: Likewise.
17443 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17444 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17445 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17446 * malloc/morecore.c (__default_morecore): Likewise.
17447 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17448 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17449 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17450 (print_and_abort): Likewise.
17451 * malloc/obstack.h: Likewise.
17452 * malloc/set-freeres.c (__libc_freeres): Likewise.
17453 * malloc/tst-mallocstate.c (main): Likewise.
17454 * malloc/tst-mtrace.c (main): Likewise.
17455 * malloc/tst-realloc.c (do_test): Likewise.
17457 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17460 * nscd/netgroupcache.c (do_notfound): New function.
17461 (addgetnetgrentX): Use it.
17464 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17465 NSS_STATUS_NOTFOUND.
17467 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17469 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17472 2014-01-01 Allan McRae <allan@archlinux.org>
17474 * scripts/update-copyrights: Update configure input file suffix.
17476 * NEWS: Update copyright year.
17477 * catgets/gencat.c: Likewise.
17478 * csu/version.c: Likewise.
17479 * debug/catchsegv.sh: Likewise.
17480 * debug/pcprofiledump.c: Likewise.
17481 * debug/xtrace.sh: Likewise.
17482 * elf/ldconfig.c: Likewise.
17483 * elf/ldd.bash.in: Likewise.
17484 * elf/pldd.c: Likewise.
17485 * elf/sotruss.ksh: Likewise.
17486 * elf/sprof.c: Likewise.
17487 * iconv/iconv_prog.c: Likewise.
17488 * iconv/iconvconfig.c: Likewise.
17489 * locale/programs/locale.c: Likewise.
17490 * locale/programs/localedef.c: Likewise.
17491 * login/programs/pt_chown.c: Likewise.
17492 * malloc/memusage.sh: Likewise.
17493 * malloc/memusagestat.c: Likewise.
17494 * malloc/mtrace.pl: Likewise.
17495 * manual/libc.texinfo: Likewise.
17496 * nscd/nscd.c: Likewise.
17497 * nss/getent.c: Likewise.
17498 * nss/makedb.c: Likewise.
17499 * posix/getconf.c: Likewise.
17500 * scripts/test-installation.pl: Likewise.
17502 * All files with FSF copyright notices: Update copyright dates
17503 using scripts/update-copyrights.
17504 * intl/plural.c: Regenerated.
17505 * locale/programs/charmap-kw.h: Likewise.
17506 * locale/programs/locfile-kw.h: Likewise.
17508 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17510 * sysdeps/unix/sysv/linux/configure: Regenerated.
17511 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17512 the linux/fanotify.h header.
17513 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17514 HAVE_LINUX_FANOTIFY_H is defined.
17516 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17518 * benchtests/cos-inputs: New inputs.
17519 * benchtests/sin-inputs: Likewise.
17521 * benchtests/atan-inputs: New inputs. Fix name of multiple
17522 precision fallback inputs.
17524 * benchtests/atanh-inputs: New inputs.
17525 * benchtests/tanh-inputs: Likewise.
17527 * benchtests/acosh-inputs: New inputs.
17528 * benchtests/asinh-inputs: Likewise.
17530 * benchtests/cosh-inputs: New inputs.
17531 * benchtests/sinh-inputs: Likewise.
17533 * benchtests/acos-inputs: Add more inputs.
17534 * benchtests/asin-inputs: Likewise.
17536 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17539 * manual/arith.texi: Fix spelling.
17540 * manual/charset.texi: Likewise.
17541 * manual/errno.texi: Likewise.
17542 * manual/filesys.texi: Likewise.
17543 * manual/lang.texi: Likewise.
17544 * manual/llio.texi: Likewise.
17545 * manual/locale.texi: Likewise.
17546 * manual/message.texi: Likewise.
17547 * manual/resource.texi: Likewise.
17548 * manual/search.texi: Likewise.
17549 * manual/setjmp.texi: Likewise.
17550 * manual/stdio.texi: Likewise.
17551 * manual/string.texi: Likewise.
17552 * manual/sysinfo.texi: Likewise.
17553 * manual/time.texi: Likewise.
17555 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17557 * po/sl.po: New file.
17559 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17561 * .gitignore: Add core/.gdbinit/.gdb_history.
17563 2013-12-27 Allan McRae <allan@archlinux.org>
17566 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17567 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17569 2013-12-24 Brooks Moses <bmoses@google.com>
17571 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17572 all compilers that claim C++98 compliance, not just GCC.
17573 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17576 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17578 * NEWS: Restore accidentally deleted bug-fix entries.
17580 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17581 Ondřej Bílka <neleai@seznam.cz>
17584 * malloc/malloc.c (_int_free): Perform sanity check only if we
17587 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17590 * manual/stdio.texi (String Input Conversions): Clarify that character
17591 classes are not supported.
17593 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17595 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17597 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17600 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17601 Calculate results for small negative arguments directly rather
17602 than using reflection formula with special underflow handling.
17604 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17605 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17606 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17607 (fchflags): Likewise.
17608 (revoke): Likewise.
17609 (setlogin): Likewise.
17610 (sigaltstack): Likewise.
17612 (sigblock): Remove.
17613 (sigsetmask): Likewise.
17615 (waitpid): Likewise.
17616 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17617 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17619 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17620 * sysdeps/unix/bsd/Makefile: ... here.
17621 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17622 * sysdeps/unix/bsd/Versions: ... here.
17623 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17624 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17625 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17626 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17627 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17628 * sysdeps/unix/bsd/sigblock.c: ... here.
17629 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17630 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17631 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17632 * sysdeps/unix/bsd/sigvec.c: ... here.
17633 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17634 * sysdeps/unix/bsd/tcdrain.c: ... here.
17635 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17636 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17637 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17638 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17639 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17640 * sysdeps/unix/bsd/wait.c: ... here.
17641 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17642 * sysdeps/unix/bsd/wait3.c: ... here.
17643 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17644 * sysdeps/unix/bsd/waitpid.c: ... here.
17646 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17649 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17650 round-to-nearest for [!USE_AS_EXPM1L].
17651 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17652 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17653 more tests of exp and exp10. Expect some exp10 tests to miss
17654 exceptions or fail in directed rounding modes.
17655 * math/auto-libm-test-out: Regenerated.
17656 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17657 (exp10_test_tonearest): New function.
17658 (exp10_towardzero_test_data): New array.
17659 (exp10_test_towardzero): New function.
17660 (exp10_downward_test_data): New array.
17661 (exp10_test_downward): New function.
17662 (exp10_upward_test_data): New array.
17663 (exp10_test_upward): New function.
17664 (main): Call the new functions.
17665 * sysdeps/i386/fpu/libm-test-ulps: Update.
17666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17668 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17670 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17671 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17672 * math/auto-libm-test-out: Regenerated.
17673 * math/libm-test.inc (acosh_test_data): Add more tests.
17674 (atanh_test_data): Likewise.
17675 (ceil_test_data): Likewise.
17676 (copysign_test_data): Likewise.
17677 * sysdeps/i386/fpu/libm-test-ulps: Update.
17678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17680 * timezone/checktab.awk: Update from tzcode 2013i.
17681 * timezone/private.h: Likewise.
17682 * timezone/scheck.c: Likewise.
17683 * timezone/tzfile.h: Likewise.
17684 * timezone/tzselect.ksh: Likewise.
17685 * timezone/zdump.c: Likewise.
17686 * timezone/zic.c: Likewise.
17688 * math/auto-libm-test-in: Add tests of cpow.
17689 * math/auto-libm-test-out: Regenerated.
17690 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17691 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17693 (func_calc_desc): Add mpc_cc_c union field.
17694 (test_functions): Add cpow.
17695 (special_fill_2pi): New function.
17696 (special_real_inputs): Add 2pi.
17697 (calc_generic_results): Handle mpc_cc_c.
17698 * sysdeps/i386/fpu/libm-test-ulps: Update.
17699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17701 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17702 csqrt, ctan and ctanh.
17703 * math/auto-libm-test-out: Regenerated.
17704 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17705 (TEST_COND_x86): Likewise.
17706 (ccos_test_data): Use AUTO_TESTS_c_c.
17707 (ccosh_test_data): Likewise.
17708 (cexp_test_data): Likewise.
17709 (clog_test_data): Likewise.
17710 (csqrt_test_data): Likewise.
17711 (ctan_test_data): Likewise.
17712 (ctan_tonearest_test_data): Likewise.
17713 (ctan_towardzero_test_data): Likewise.
17714 (ctan_downward_test_data): Likewise.
17715 (ctan_upward_test_data): Likewise.
17716 (ctanh_test_data): Likewise.
17717 (ctanh_tonearest_test_data): Likewise.
17718 (ctanh_towardzero_test_data): Likewise.
17719 (ctanh_downward_test_data): Likewise.
17720 (ctanh_upward_test_data): Likewise.
17721 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17723 (func_calc_desc): Add mpc_c_c union field.
17724 (FUNC_mpc_c_c): New macro.
17725 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17726 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17728 (special_fill_min_subnorm_p120): New function.
17729 (special_real_inputs): Add min_subnorm_p120.
17730 (calc_generic_results): Handle mpc_c_c.
17731 * sysdeps/i386/fpu/libm-test-ulps: Update.
17732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17734 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17736 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17737 (do_sin_slow): New functions.
17738 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17739 (cslow2, csloww1, csloww2): Use the new functions.
17741 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17742 Use M to change sign of result instead of X. Assume X is
17744 (csloww1): Likewise.
17748 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17749 arguments A and DA.
17753 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17755 (sloww1): Don't adjust sign of DX.
17756 (csloww1): Likewise.
17757 (sloww2): Use X directly and don't adjust sign of DX.
17758 (csloww2): Likewise.
17760 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17762 * math/auto-libm-test-in: Add tests of cabs and carg.
17763 * math/auto-libm-test-out: Regenerated.
17764 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17765 (carg_test_data): Likewise.
17766 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17768 (func_calc_desc): Add mpc_c_f union field.
17769 (test_functions): Add cabs and carg.
17770 (calc_generic_results): Handle mpc_c_f.
17772 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17773 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17774 as a macro and a compat symbol.
17775 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17776 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17777 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17778 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17779 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17780 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17782 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17784 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17786 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17788 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17790 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17792 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17793 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17796 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17800 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17802 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17803 trailing whitespace removed.
17804 * scripts/config.guess: Update to version 2013-11-29.
17805 * scripts/config.sub: Update to version 2013-10-01.
17807 * math/auto-libm-test-in: Add tests of sincos.
17808 * math/auto-libm-test-out: Regenerated.
17809 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17810 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17812 (func_calc_desc): Add mpfr_f_11 union field.
17813 (test_functions): Add sincos.
17814 (calc_generic_results): Handle mpfr_f_11.
17815 * sysdeps/i386/fpu/libm-test-ulps: Update.
17816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17818 2013-12-19 Andreas Schwab <schwab@suse.de>
17820 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17822 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17823 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17824 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17826 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17828 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17829 * sysdeps/i386/fpu/libm-test-ulps: Update.
17830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17833 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17834 round-to-nearest mode when using frndint.
17835 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17836 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17837 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17839 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17841 * math/auto-libm-test-out: Regenerated.
17842 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17843 (TEST_COND_x86): Likewise.
17844 (expm1_tonearest_test_data): New array.
17845 (expm1_test_tonearest): New function.
17846 (expm1_towardzero_test_data): New array.
17847 (expm1_test_towardzero): New function.
17848 (expm1_downward_test_data): New array.
17849 (expm1_test_downward): New function.
17850 (expm1_upward_test_data): New array.
17851 (expm1_test_upward): New function.
17852 (main): Run the new test functions.
17853 * sysdeps/i386/fpu/libm-test-ulps: Update.
17854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17856 * include/features.h: Update comment documenting feature test
17857 macros. Mention _DEFAULT_SOURCE in comment.
17858 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17859 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17860 _BSD_SOURCE and _SVID_SOURCE.
17861 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17862 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17863 !_SVID_SOURCE]: Likewise.
17864 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17865 (__USE_POSIX_IMPLICITLY): Define.
17866 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17867 (_POSIX_SOURCE): Undefine and redefine.
17868 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17869 (_POSIX_C_SOURCE): Likewise.
17870 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17871 (Feature Test Macros): Update documentation of default features.
17873 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17875 * benchtests/Makefile: Add bench-strtok.
17876 * benchtests/bench-strtok.c: New file: strtok benchtest.
17878 2013-12-19 Allan McRae <allan@archlinux.org>
17880 * manual/install.texi: Suppress menu for plain text output.
17881 * INSTALL: Regenerated.
17883 2013-12-18 Brooks Moses <bmoses@google.com>
17886 * misc/getauxval.c: Include errno.h.
17887 (__getauxval): Set errno to ENOENT if the requested type is not
17889 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17890 don't declare with __attribute_const__.
17891 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17892 * manual/startup.texi: Document that getauxval sets errno.
17894 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17896 * math/auto-libm-test-in: Add tests of jn and yn.
17897 * math/auto-libm-test-out: Regenerated.
17898 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17899 (yn_test_data): Likewise.
17900 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17902 (func_calc_desc): Add mpfr_if_f union field.
17903 (FUNC_mpfr_if_f): New macro.
17904 (test_functions): Add jn and yn.
17905 (calc_generic_results): Assert type of second input for
17906 mpfr_ff_f. Handle mpfr_if_f.
17907 (output_for_one_input_case): Disable all checking for arguments
17908 fitting floating-point types in case of an integer argument.
17909 * sysdeps/i386/fpu/libm-test-ulps: Update.
17910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17913 Don't expect fegetround reference in libm.so.
17915 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17917 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17918 $(config-cflags-nofma).
17920 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17922 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17923 * math/auto-libm-test-out: Regenerated.
17926 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17927 to determine exponent and adjust argument to have exponent of -1.
17928 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17930 * math/auto-libm-test-out: Regenerated.
17931 * sysdeps/i386/fpu/libm-test-ulps: Update.
17932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17934 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17936 * manual/probes.texi: Remove cases when per-thread arenas are
17939 2013-12-18 Andreas Schwab <schwab@suse.de>
17941 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17942 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17943 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17944 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17945 * sysdeps/i386/i686/multiarch/Makefile: Update.
17946 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17948 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17950 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17951 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17953 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17956 Support TZ transition times < 00:00:00.
17957 This is needed for version-3 tz-format files; it supports time
17958 stamps past 2037 for America/Godthab (the only entry in the tz
17959 database for which this change is relevant).
17960 * manual/time.texi (TZ Variable): Document transition times
17961 from -167:59:59 through -00:00:01.
17962 * time/tzset.c (tz_rule): Time of day is now signed.
17963 (__tzset_parse_tz): Parse negative time of day.
17965 Document TZ transition times >= 25:00:00.
17966 * manual/time.texi (TZ Variable): Document transition times from
17967 25:00:00 through 167:59:59. These are already supported, and this
17968 support will help with version-3 tz-format files.
17970 * manual/time.texi (TZ Variable): Modernize North America example
17971 to reflect current (i.e., 2007-and-later) daylight saving rules.
17973 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17975 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17977 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17978 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17979 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17980 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17981 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17982 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17983 * sysdeps/unix/bsd/clock.c: Likewise.
17984 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17985 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17986 * sysdeps/unix/bsd/init-posix.c: Likewise.
17987 * sysdeps/unix/bsd/poll.c: Likewise.
17988 * sysdeps/unix/bsd/ptsname.c: Likewise.
17989 * sysdeps/unix/bsd/seekdir.c: Likewise.
17990 * sysdeps/unix/bsd/setegid.c: Likewise.
17991 * sysdeps/unix/bsd/seteuid.c: Likewise.
17992 * sysdeps/unix/bsd/setgid.c: Likewise.
17993 * sysdeps/unix/bsd/setrgid.c: Likewise.
17994 * sysdeps/unix/bsd/setruid.c: Likewise.
17995 * sysdeps/unix/bsd/setsid.c: Likewise.
17996 * sysdeps/unix/bsd/setuid.c: Likewise.
17997 * sysdeps/unix/bsd/sigaction.c: Likewise.
17998 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17999 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18000 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18001 * sysdeps/unix/bsd/telldir.c: Likewise.
18002 * sysdeps/unix/bsd/times.c: Likewise.
18003 * sysdeps/unix/bsd/usleep.c: Likewise.
18005 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18006 ($(objpfx)libbsd-compat.a): Remove rule.
18008 * include/features.h (__FAVOR_BSD): Do not define.
18009 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18010 features conflicting with POSIX.
18011 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18012 (_BSD_SOURCE): Remove description of not being a subset of other
18013 feature test macros.
18014 * manual/job.texi (getpgrp): Do not document BSD version.
18015 (getpgid): Do not document by reference to BSD getpgrp.
18016 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18017 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18018 * signal/signal.h [__FAVOR_BSD]: Likewise.
18019 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18020 instead of making contents conditional on [__FAVOR_BSD].
18021 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18023 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18027 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18030 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18031 values below 2**-450, not 2**-500.
18032 * math/auto-libm-test-in: Don't allow spurious underflow from
18034 * math/auto-libm-test-out: Regenerated.
18038 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18039 values of ha and hb and sort them after adjusting subnormal
18041 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18043 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18044 values of ea and eb and sort them after adjusting subnormal
18046 * math/auto-libm-test-in: Do not expect some hypot tests of
18047 subnormals to fail. Add more hypot tests.
18048 * math/auto-libm-test-out: Regenerated.
18050 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18053 * sysdeps/sh/s_fma.c: New file.
18054 * sysdeps/sh/s_fmaf.c: New file.
18055 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18057 * sysdeps/sh/Implies: Add sh/soft-fp.
18059 2013-12-16 Roland McGrath <roland@hack.frob.com>
18061 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18062 level of indirection to members `objname', `errstring', `malloced'.
18063 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18064 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18065 it as the __longjmp argument (just pass 1 instead).
18066 (_dl_catch_error): Initialize C with argument pointers and address of
18067 volatile local ERRCODE rather than copying values out of C at return.
18069 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18071 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18072 * math/auto-libm-test-out: Regenerated.
18073 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18074 (hypot_test_data): Likewise.
18075 (pow_test_data): Likewise.
18076 (pow_tonearest_test_data): Likewise.
18077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18079 (func_calc_desc): Add mpfr_ff_f union field.
18080 (FUNC_mpfr_ff_f): New macro.
18081 (test_functions): Add atan2, hypot and pow.
18082 (special_fill_min): New function.
18083 (special_fill_minus_min): Likewise.
18084 (special_fill_min_subnorm): Likewise.
18085 (special_fill_minus_min_subnorm): Likewise.
18086 (special_real_inputs): Add min, -min, min_subnorm and
18088 (calc_generic_results): Handle mpfr_ff_f.
18089 * sysdeps/i386/fpu/libm-test-ulps: Update.
18090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18092 2013-12-16 Will Newton <will.newton@linaro.org>
18094 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18095 (Aligned Memory Blocks): Add documentation for aligned_alloc
18096 and suggest it as an alternative to posix_memalign.
18097 (Hooks for Malloc): Document __memalign_hook is also called
18098 for aligned_alloc. (Summary of Malloc): Add summary for
18099 aligned alloc. Document __memalign_hook is also called
18102 2013-12-16 Will Newton <will.newton@linaro.org>
18104 * manual/memory.texi (Malloc Examples): Clarify default
18105 alignment documentation. Suggest posix_memalign rather
18106 than memalign or valloc.
18107 (Aligned Memory Blocks): Remove suggestion to use memalign
18108 or valloc. Remove obsolete comment about BSD.
18109 Document memalign errno values and mark the function obsolete.
18110 Document posix_memalign returned error codes. Mark valloc
18111 as obsolete. (Hooks for Malloc): __memalign_hook is also
18112 called for posix_memalign and valloc.
18113 (Summary of Malloc): Add posix_memalign to function summary.
18114 __memalign_hook is also called for posix_memalign and valloc.
18116 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18118 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18122 (sloww): Use mynumber union. Expand ternary operator into
18123 if-else statements.
18124 (cslow): use mynumber union.
18126 2013-12-16 Allan McRae <allan@archlinux.org>
18128 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18129 * configure: Regenerated.
18131 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18134 * configure.ac: Added --enable-maintainer-mode. Check for
18135 autoconf when enabled.
18136 * configure: Regenerated.
18138 * nscd/nscd.service: New file.
18139 * nscd/nscd.tmpfiles: New file.
18141 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18144 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18145 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18146 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18147 (strstr): Add __strstr_sse2_unaligned ifunc.
18148 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18149 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18150 (strcasestr): Remove __strcasestr_sse42 ifunc.
18151 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18152 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18155 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18157 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18158 * sysdeps/sh/bits/fenv.h: ... here.
18159 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18161 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18163 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18165 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18166 hypotf multiarch implementations.
18167 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18168 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18169 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18170 multiarch hypot for PPC64.
18171 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18172 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18173 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18174 multiarch hypotf for PPC64.
18176 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18177 modff multiarch implementations.
18178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18181 multiarch modf for PPC64.
18182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18185 multiarch modff for PPC64.
18187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18188 and logl multiarch implementations.
18189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18192 multiarch logb for PPC64.
18193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18196 multiarch logb for PPC64.
18197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18200 multiarch logb for PPC64.
18202 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18203 isinff multiarch implementation.
18204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18208 multiarch isinf for PPC64.
18209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18212 multiarch isinff for PPC64.
18214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18215 finitef multiarch implementation.
18216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18220 multiarch finite for PPC64.
18221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18224 multiarch finitef for PPC64.
18226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18227 lrint multiarch implementation.
18228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18232 multiarch llrint for PPC64.
18233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18234 multiarch lrint for PPC64.
18236 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18237 copysignf multiarch implementation.
18238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18243 multiarch copysign for PPC64.
18244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18245 multiarch copysignf for PPC64.
18247 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18248 multiarch implementation.
18249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18257 multiarch llround for PPC64.
18258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18259 multiarch trunc for PPC64.
18260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18261 multiarch truncf for PPC64.
18263 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18264 multiarch implementation.
18265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18273 multiarch llround for PPC64.
18274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18275 multiarch round for PPC64.
18276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18277 multiarch roundf for PPC64.
18279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18280 multiarch implementation.
18281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18289 multiarch llround for PPC64.
18290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18291 multiarch floor for PPC64.
18292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18293 multiarch floorf for PPC64.
18295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18296 multiarch implementation.
18297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18305 multiarch llround for PPC64.
18306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18307 multiarch ceil for PPC64.
18308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18309 multiarch ceilf for PPC64.
18311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18312 multiarch implementation.
18313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18320 multiarch llround for PPC64.
18321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18322 multiarch lround for PPC64.
18324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18325 multiarch implementation.
18326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18333 multiarch isnan for PPC64.
18334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18335 multiarch isnanf for PPC64.
18337 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18338 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18339 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18340 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18341 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18344 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18345 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18346 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18347 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18349 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18350 multiarch implementations.
18351 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18352 (__libc_ifunc_impl_list): Likewise.
18353 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18354 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18355 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18356 multiarch stpcpy for PPC64.
18358 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18359 multiarch implementations.
18360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18361 (__libc_ifunc_impl_list): Likewise.
18362 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18363 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18364 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18365 multiarch strcpy for PPC64.
18367 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18368 redefine function name.
18369 (_wordcopy_fwd_dest_aligned): Likewise.
18370 (_wordcopy_bwd_aligned): Likewise.
18371 (_wordcopy_bwd_dest_aligned): Likewise.
18372 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18373 multiarch implementations.
18374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18375 (__libc_ifunc_impl_list): Likewise.
18376 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18377 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18378 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18379 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18380 multiarch wcscpy for PPC64.
18382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18383 multiarch implementations.
18384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18385 (__libc_ifunc_impl_list): Likewise.
18386 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18387 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18388 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18389 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18390 multiarch wcscpy for PPC64.
18392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18393 multiarch implementations.
18394 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18395 (__libc_ifunc_impl_list): Likewise.
18396 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18397 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18398 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18399 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18400 multiarch wcsrchr for PPC64.
18402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18403 multiarch implementations.
18404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18405 (__libc_ifunc_impl_list): Likewise.
18406 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18407 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18408 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18409 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18410 multiarch wcschr for PPC64.
18412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18413 multiarch implementations.
18414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18415 (__libc_ifunc_impl_list): Likewise.
18416 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18417 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18418 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18419 multiarch strchrnul for PPC64.
18421 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18423 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18424 (__libc_ifunc_impl_list): Likewise.
18425 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18426 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18427 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18428 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18431 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18434 (__libc_ifunc_impl_list): Likewise.
18435 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18436 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18437 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18438 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18442 multiarch implementations.
18443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18444 (__libc_ifunc_impl_list): Likewise.
18445 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18446 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18447 strncasecmp for PPC64.
18448 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18449 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18450 multiarch strncasecmp_l for PPC64.
18452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18453 multiarch implementations.
18454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18455 (__libc_ifunc_impl_list): Likewise.
18456 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18457 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18458 multiarch strcasecmp for PPC64.
18459 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18461 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18462 multiarch strcasecmp_l for PPC64.
18464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18467 (__libc_ifunc_impl_list): Likewise.
18468 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18469 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18470 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18473 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18475 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18476 (__libc_ifunc_impl_list): Likewise.
18477 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18478 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18479 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18485 (__libc_ifunc_impl_list): Likewise.
18486 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18487 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18488 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18489 rawmemrchr for PPC64.
18491 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18493 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18494 (__libc_ifunc_impl_list): Likewise.
18495 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18496 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18497 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18503 (__libc_ifunc_impl_list): Likewise.
18504 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18505 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18506 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18509 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18511 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18512 (__libc_ifunc_impl_list): Likewise.
18513 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18514 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18515 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18518 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18519 avoid cretion of __bzero symbol.
18520 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18522 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18524 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18527 multiarch implementations.
18528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18529 (__libc_ifunc_impl_list): Likewise.
18530 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18531 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18532 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18533 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18535 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18536 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18537 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18538 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18539 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18541 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18543 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18547 (__libc_ifunc_impl_list): Likewise.
18548 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18549 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18550 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18551 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18555 multiarch for POWER/PPC64.
18556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18557 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18558 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18559 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18560 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18561 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18562 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18563 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18564 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18567 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18568 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18569 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18570 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18571 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18572 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18573 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18574 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18575 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18576 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18577 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18578 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18579 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18580 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18581 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18590 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18592 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18594 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18596 * benchtests/Makefile (bench): Add exp2 and log2.
18597 (LDLIBS-bench-exp2): Add -lm.
18598 (LDLIBS-bench-log2): Likewise.
18599 * benchtests/exp2-inputs: New inputs file.
18600 * benchtests/log2-inputs: New inputs file.
18601 * benchtests/log-inputs: Add new inputs.
18602 * benchtests/tan-inputs: Likewise.
18604 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18606 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18608 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18609 (csloww2): ... from here.
18611 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18612 instead of structures.
18613 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18614 (POLYNOMIAL): Likewise.
18615 (TAYLOR_SLOW): Likewise.
18621 (sloww1); Likewise.
18622 (sloww2): Likewise.
18623 (bsloww1): Likewise.
18624 (bsloww2): Likewise.
18625 (cslow2): Likewise.
18626 (csloww): Likewise.
18627 (csloww1): Likewise.
18628 (csloww2): Likewise.
18630 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18632 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18633 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18634 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18635 * malloc/hooks.c (realloc_check): Likewise.
18637 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18638 * malloc/arena.c: Remove PER_THREAD conditional.
18639 [!PER_THREAD]: Remove code.
18640 (ptmalloc_unlock_all2): Likewise.
18641 (ptmalloc_init): Likewise.
18642 (_int_new_arena): Likewise.
18643 (arena_get2): Likewise.
18644 * malloc/hooks.c (__malloc_get_state): Likewise.
18645 (__malloc_set_state): Likewise.
18646 * malloc/malloc.c: Likewise.
18647 (struct malloc_state): Likewise.
18648 (struct malloc_par): Likewise.
18649 (__libc_realloc): Likewise.
18650 (__libc_mallopt): Likewise.
18652 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18654 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18656 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18658 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18659 macro to a function. Check for zero perturb_byte.
18660 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18662 * malloc/malloc.c: (force_reg): Remove.
18663 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18664 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18665 force_reg by atomic_forced_read.
18666 * malloc/arena.c (ptmalloc_init): Likewise.
18667 * malloc/hooks.c (top_check): Likewise.
18669 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18673 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18677 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18679 * math/auto-libm-test-in: Add tests of lgamma.
18680 * math/auto-libm-test-out: Regenerated.
18681 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18682 (M_LOG_2_SQRT_PIl): Likewise.
18683 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18684 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18686 (func_calc_desc): Add mpfr_f_f1 union field.
18687 (ARGS1): New macro.
18695 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18696 (test_functions): Add lgamma.
18697 (calc_generic_results): Handle mpfr_f_f1.
18698 * sysdeps/i386/fpu/libm-test-ulps: Update.
18699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18701 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18703 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18704 __mpn_add_n for PowerPC64/POWER7.
18705 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18706 __mpn_sub_n for PowerPC64/POWER7.
18708 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18709 __mpn_addmul_1 for PowerPC64.
18710 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18711 __mpn_submul_1 for PowerPC64.
18712 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18714 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18717 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18720 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18722 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18724 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18726 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18727 add multiarch folders.
18728 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18729 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18730 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18731 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18732 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18733 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18734 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18735 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18736 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18737 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18738 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18747 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18753 multiarch __ieee754_hypot for PowerPC32.
18754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18759 multiarch __ieee754_hypotf for PowerPC32.
18761 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18762 long_double_symbol only if __logbl is defined.
18763 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18764 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18765 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18766 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18767 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18768 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18769 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18770 path for implementation.
18771 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18772 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18774 logb, and logbl multiarch implementations for PowerPC32.
18775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18780 multiarch logb for PowerPC32.
18781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18786 multiarch logbf for PowerPC32.
18787 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18791 multiarch logbl implementation for PowerPC32.
18793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18794 and modff multiarch implementations.
18795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18800 multiarch modf for PowerPC32.
18801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18806 multiarch modff for PowerPC32.
18808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18809 and lrintf multiarch implementations.
18810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18815 multiarch lrint for PowerPC32.
18816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18817 file: multiarch lrintf for PowerPC32.
18819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18820 and lroundf multiarch implementations.
18821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18828 multiarch lround for PowerPC32.
18829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18830 file: multiarch lroundf for PowerPC32.
18832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18833 copysign and copysignf multiarch implementations.
18834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18839 file: multiarch copysign for PowerPC32.
18840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18841 file: multiarch copysignf for PowerPC32.
18843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18844 and truncf multiarch implementations.
18845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18850 multiarch trunc for PowerPC32.
18851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18856 multiarch truncf for PowerPC32.
18858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18859 and roundf multiarch implementations.
18860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18865 multiarch round for PowerPC32.
18866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18871 multiarch roundf for PowerPC32.
18873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18874 and floorf multiarch implementations.
18875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18880 multiarch floor for PowerPC32.
18881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18886 multiarch floorf for PowerPC32.
18888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18889 and ceilf multiarch implementations.
18890 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18892 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18895 multiarch ceil for PowerPC32.
18896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18901 multiarch ceilf for PowerPC32.
18903 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18905 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18906 FINITEF is defined.
18907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18908 and finitef multiarch implementations.
18909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18914 multiarch finite for PowerPC32.
18915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18918 file: multiarch finitef for PowerPC32.
18920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18921 and isinff multiarch implementations.
18922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18927 multiarch isinf for PowerPC32.
18928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18931 multiarch isinff for PowerPC32.
18933 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18934 alias when __isnan is defined.
18935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18936 and isnanf multiarch implementations.
18937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18946 multiarch isnan for PowerPC32.
18947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18952 multiarch isnanf for PowerPC32.
18954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18955 and sqrtf multiarch implementations.
18956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18961 multiarch sqrt for PowerPC32.
18962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18967 multiarch sqrtf for PowerPC32.
18969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18970 and llroundf multiarch implementations.
18971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18978 file: multiarch llround for PowerPC32.
18979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18980 file: multiarch llroundf for PowerPC32.
18982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18983 multiarch PowerPC32 fpu implementations.
18984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18989 multiarch llrint for PowerPC32.
18990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18999 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19001 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19003 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19005 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19006 multiarch wordcopy for PPC32.
19007 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19010 (__libc_ifunc_impl_list): Likewise.
19011 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19012 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19013 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19014 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19015 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19016 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19018 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19023 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19025 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19026 multiarch wcscpy for PPC32.
19027 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19029 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19030 (__libc_ifunc_impl_list): Likewise.
19031 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19032 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19033 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19034 sysdeps/powerpc/power6/wcscpy.c.
19036 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19039 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19041 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19043 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19044 multiarch wcsrchr for PPC32.
19045 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19047 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19048 (__libc_ifunc_impl_list): Likewise.
19049 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19050 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19051 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19052 sysdeps/powerpc/power6/wcsrchr.c.
19054 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19056 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19058 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19060 multiarch wcschr for PPc32.
19061 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19064 (__libc_ifunc_impl_list): Likewise.
19065 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19066 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19067 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19068 sysdeps/powerpc/power6/wcschr.c.
19070 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19071 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19073 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19074 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19075 file: multiarch strchr for PPC32.
19076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19079 (__libc_ifunc_impl_list): Likewise.
19081 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19083 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19085 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19087 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19088 multiarch strchrnul for PPC32.
19089 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19091 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19092 (__libc_ifunc_impl_list): Likewise.
19094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19096 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19097 multiarch strncasecmp for PPC32.
19098 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19100 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19101 multiarch strncasecmp_l for PPC32.
19102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19103 strncasecmp multiarch objects.
19104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19105 (__libc_ifunc_impl_list): Likewise.
19107 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19109 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19110 multiarch strncasecmp for PPC32.
19111 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19113 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19114 multiarch strcasecmp_l for PPC32.
19115 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19117 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19118 (__libc_ifunc_impl_list): Likewise.
19120 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19122 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19124 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19125 multiarch strncmp for PPC32.
19126 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19128 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19129 (__libc_ifunc_impl_list): Likewise.
19131 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19132 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19134 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19135 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19139 (__libc_ifunc_impl_list): Likewise.
19141 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19143 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19145 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19146 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19148 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19149 (__libc_ifunc_impl_list): Likewise.
19151 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19153 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19155 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19156 multiarch rawmemchr for PPC32.
19157 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19159 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19160 (__libc_ifunc_impl_list): Likewise.
19162 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19164 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19166 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19167 file: memrchr multiarch for PPC32.
19168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19171 (__libc_ifunc_impl_list): Likewise.
19173 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19174 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19176 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19177 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19178 multiarch memchr for PPC32.
19179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19182 (__libc_ifunc_impl_list): Likewise.
19184 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19185 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19187 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19189 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19190 file: multiarch mempcpy for PPC32.
19191 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19193 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19194 (__libc_ifunc_impl_list): Likewise.
19196 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19197 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19198 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19199 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19200 multiarch bzero for PPC32.
19201 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19203 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19205 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19206 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19207 file: multiarch memset for PPC32.
19208 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19209 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19210 memset multiarch objects.
19211 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19212 (__libc_ifunc_impl_list): Likewise.
19214 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19216 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19217 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19219 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19223 (__libc_ifunc_impl_list): Likewise.
19225 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19226 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19227 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19231 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19233 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19234 multiarch memcpy for PPC32.
19235 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19237 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19238 (__libc_ifunc_impl_list): Likewise.
19240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19241 support multiarch for POWER/PPC32.
19242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19244 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19246 Implies file to make multiarch folder appers before the fpu and
19247 default folder for power4 configuration.
19249 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19251 * scripts/bench.pl: Append volatile keyword to type.
19253 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19255 * sysdeps/sh/sotruss-lib.c: New file.
19256 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19258 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19260 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19262 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19265 * math/w_tgamma.c: Include <errno.h>.
19266 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19267 * math/w_tgammaf.c: Include <errno.h>.
19268 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19269 * math/w_tgammal.c: Include <errno.h>.
19270 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19271 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19272 underflow. Add more tgamma tests.
19273 * math/auto-libm-test-out: Regenerated.
19274 * sysdeps/i386/fpu/libm-test-ulps: Update.
19275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19277 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19278 sin, sinh, tan, tanh, tgamma, y0 and y1.
19279 * math/auto-libm-test-out: Regenerated.
19280 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19281 (TEST_COND_x86): Likewise.
19282 (M_E2l): Remove macro.
19284 (M_2_SQRT_PIl): Likewise.
19285 (M_SQRT_PIl): Likewise.
19286 (M_1_DIV_El): Likewise.
19287 (log_test_data): Use AUTO_TESTS_f_f.
19288 (log10_test_data): Likewise.
19289 (log1p_test_data): Likewise.
19290 (log2_test_data): Likewise.
19291 (sin_test_data): Likewise.
19292 (sin_tonearest_test_data): Likewise.
19293 (sin_towardzero_test_data): Likewise.
19294 (sin_downward_test_data): Likewise.
19295 (sin_upward_test_data): Likewise.
19296 (sinh_test_data): Likewise.
19297 (sinh_tonearest_test_data): Likewise.
19298 (sinh_towardzero_test_data): Likewise.
19299 (sinh_downward_test_data): Likewise.
19300 (sinh_upward_test_data): Likewise.
19301 (tan_test_data): Likewise.
19302 (tan_tonearest_test_data): Likewise.
19303 (tan_towardzero_test_data): Likewise.
19304 (tan_downward_test_data): Likewise.
19305 (tan_upward_test_data): Likewise.
19306 (tanh_test_data): Likewise.
19307 (tgamma_test_data): Likewise.
19308 (y0_test_data): Likewise.
19309 (y1_test_data): Likewise.
19310 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19311 (special_real_inputs): Add pi/4.
19312 * sysdeps/i386/fpu/libm-test-ulps: Update.
19313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19315 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19317 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19318 "longjmp_target" static probes.
19319 (__longjmp): Rename to __longjmp_symbol.
19320 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19321 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19322 on which longjmp to generate.
19323 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19324 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19326 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19327 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19328 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19329 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19330 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19331 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19333 __longjmp_symbol based on which __longjmp to generate.
19334 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19336 (setjmp): Rename to setjmp_symbol.
19337 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19338 (_setjmp): Rename to _setjmp_symbol.
19339 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19340 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19341 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19342 which setjmp to generate.
19343 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19344 "longjmp_target" static probes.
19346 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19348 * benchtests/README: Add note about output arguments.
19349 * benchtests/bench-sincos.c: Remove file.
19350 * benchtests/sincos-inputs: New file.
19351 * scripts/bench.pl: Identify output arguments and define
19352 static variables for them.
19354 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19357 * Makefile (INSTALL): Add install-plain.texi as the primary
19359 * manual/install-plain.texi: New file.
19360 * manual/install.texi: Include node directive only for
19361 non-plaintext output.
19363 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19365 * stdlib/longlong.h: Update from GCC.
19369 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19370 * math/w_j0f.c (y0f): Likewise.
19371 * math/w_j0l.c (__y0l): Likewise.
19372 * math/w_j1.c (y1): Likewise.
19373 * math/w_j1f.c (y1f): Likewise.
19374 * math/w_j1l.c (__y1l): Likewise
19375 * math/w_jn.c (yn): Likewise.
19376 * math/w_jnf.c (ynf): Likewise.
19377 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19378 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19379 value for Bessel function domain errors outside _SVID_ mode.
19380 Adjust sign of return value for yn (negative integer, 0).
19381 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19382 by zero in return for negative x and set sign appropriately for
19384 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19385 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19386 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19387 expectations in error cases.
19388 (y1_test_data): Likewise.
19389 (yn_test_data): Likewise.
19390 * sysdeps/i386/fpu/libm-test-ulps: Update.
19391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19393 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19395 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19396 "64" to "64-v1". Add "64-v2".
19397 (abi-64-options): Rename to ...
19398 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19399 (abi-64-condition): Rename to ...
19400 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19401 (abi-64-ld-soname): Rename to ...
19402 (abi-64-v1-ld-soname): ... this.
19403 (abi-64-v2-options): Define.
19404 (abi-64-v2-condition): Likewise.
19405 (abi-64-v2-ld-soname): Likewise.
19406 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19407 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19412 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19413 Alan Modra <amodra@gmail.com>
19415 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19416 New versions for use with the ELFv2 ABI.
19417 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19418 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19420 (struct La_ppc64v2_retval): Likewise.
19421 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19422 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19423 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19424 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19425 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19426 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19427 Do not save or restore CR.
19428 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19429 (_dl_profile_resolve): Do no save or restore CR. Support extended
19430 return values for ELFv2 ABI. Fix location of FPR return registers.
19431 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19432 updated values for _CALL_ELF == 2.
19433 (La_regs, La_retval, int_retval): Likewise.
19435 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19437 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19438 (FRAME_MIN_SIZE_PARM): Likewise.
19439 (FRAME_BACKCHAIN): Likewise.
19440 (FRAME_CR_SAVE): Likewise.
19441 (FRAME_LR_SAVE): Likewise.
19442 (FRAME_TOC_SAVE): Likewise.
19443 (FRAME_PARM_SAVE): Likewise.
19444 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19445 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19446 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19447 (call_mcount_parm_offset): New macro.
19448 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19449 (PROF): Use symbolic stack frame offsets.
19450 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19451 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19452 Redefine in terms of FRAME_MIN_SIZE.
19453 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19454 (_dl_profile_resolve): Likewise. Update comment.
19455 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19456 symbols stack frame offsets.
19457 (__sigsetjmp): Likewise.
19458 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19459 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19460 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19461 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19464 (FRAME_BACKCHAIN): Remove.
19465 (FRAME_CR_SAVE): Likewise.
19466 (FRAME_LR_SAVE): Likewise.
19467 (FRAME_COMPILER_DW): Likewise.
19468 (FRAME_LINKER_DW): Likewise.
19469 (FRAME_TOC_SAVE): Likewise.
19470 (FRAME_PARM_SAVE): Likewise.
19471 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19472 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19473 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19475 (CHECK_SP): Use symbolic stack frame offsets.
19476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19477 zone" instead of caller's parameter save area for temp storage.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19479 Likewise. Also, use symbolic stack frame offsets.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19481 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19482 our own stack frame instead of the caller's.
19483 (__socket): Use symbolic stack frame offsets.
19485 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19486 Alan Modra <amodra@gmail.com>
19488 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19490 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19491 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19492 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19494 (elf_machine_fixup_plt): Call it.
19495 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19497 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19498 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19499 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19500 r2 before calling target.
19502 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19503 Alan Modra <amodra@gmail.com>
19505 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19506 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19507 versions of macros to support ELFv2 ABI.
19508 (LOCALENTRY): New macro.
19509 (ENTRY, EALIGN): Use it.
19510 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19511 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19512 fall through into ENTRY entry point.
19513 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19514 Only define if _CALL_ELF != 2.
19516 (elf_machine_matches_host): Verify ABI version matches.
19517 (RTLD_START): Use LOCALENTRY.
19518 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19519 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19520 (PLT_ENTRY_WORDS): New macro.
19521 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19522 (elf_machine_runtime_setup): Support ELFv2 ABI.
19523 (elf_machine_fixup_plt): Likewise.
19524 (elf_machine_plt_conflict): Likewise.
19525 (resolve_ifunc): Likewise.
19526 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19527 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19530 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19532 (makecontext): Support ELFv2 ABI.
19533 * elf/elf.h (EF_PPC64_ABI): Define.
19535 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19537 * sysdeps/powerpc/powerpc64/sysdep.h
19538 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19539 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19540 (ENTRY) [ASSEMBLER]: ... but instead here ...
19541 (EALIGN) [ASSEMBLER]: ... and here.
19542 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19543 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19544 (ENTRY_2) [!ASSEMBLER]: Use it.
19545 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19546 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19547 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19548 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19549 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19551 Use PPC64_LOAD_FUNCPTR.
19553 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19555 2013-12-04 Alan Modra <amodra@gmail.com>
19557 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19558 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19559 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19560 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19562 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19563 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19564 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19565 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19566 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19567 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19569 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19572 (__makecontext): Fix incorrect CFI when backtracing out of
19573 context created via makecontext.
19574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19575 (__setcontext): Fix incorrect CFI during switch to new context.
19576 (__novec_setcontext): Likewise.
19578 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19581 * time/strptime_l.c (__strptime_internal): Allow modifiers
19583 * time/tst-strptime.c (day_tests): Add testcase.
19585 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19587 * scripts/bench.pl: Skip over blank lines.
19589 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19592 * manual/time.texi (Calendar Time): Clarify what timezone functions
19595 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19599 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19601 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19603 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19604 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19605 * debug/memset_chk.c (__memset_chk): Likewise.
19606 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19607 * debug/strncpy_chk.c: Likewise.
19609 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19613 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19614 (__ieee754_exp): For possibly underflowing results, check size of
19615 result and force underflow exception if required.
19616 * math/auto-libm-test-in: Add more tests of exp.
19617 * math/auto-libm-test-out: Regenerated.
19618 * sysdeps/i386/fpu/libm-test-ulps: Update.
19619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19622 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19623 * math/w_exp2f.c (__exp2f): Likewise.
19624 * math/w_exp2l.c (__exp2l): Likewise.
19625 * math/auto-libm-test-in: Do not allow missing errno on exp2
19627 * math/auto-libm-test-out: Regenerated.
19629 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19632 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19633 handle filename validation.
19634 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19637 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19640 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19641 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19642 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19644 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19645 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19646 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19647 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19648 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19649 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19650 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19651 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19652 Add more erfc tests.
19653 * math/auto-libm-test-out: Regenerated.
19654 * sysdeps/i386/fpu/libm-test-ulps: Update.
19655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19657 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19658 exp2, expm1, j0 and j1.
19659 * math/auto-libm-test-out: Regenerated.
19660 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19661 (erfc_test_data): Likewise.
19662 (exp_test_data): Likewise.
19663 (exp_tonearest_test_data): Likewise.
19664 (exp_towardzero_test_data): Likewise.
19665 (exp_downward_test_data): Likewise.
19666 (exp_upward_test_data): Likewise.
19667 (exp10_test_data): Likewise.
19668 (exp2_test_data): Likewise.
19669 (expm1_test_data): Likewise.
19670 (j0_test_data): Likewise.
19671 (j1_test_data): Likewise.
19672 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19673 (input_flag_type): Add flag_xfail_rounding.
19674 (input_flags): Add xfail-rounding.
19675 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19676 (output_for_one_input_case): Handle flag_xfail_rounding.
19677 * sysdeps/i386/fpu/libm-test-ulps: Update.
19678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19680 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19683 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19686 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19689 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19690 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19691 (STAP_PROBE0): New macro.
19692 (STAP_PROBE1): Likewise.
19693 (STAP_PROBE2): Likewise.
19694 (STAP_PROBE3): Likewise.
19695 (STAP_PROBE4): Likewise.
19697 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19699 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19701 2013-12-02 Steve Ellcey <sellcey@mips.com>
19703 * benchtests/Makefile (bench): Add sqrt.
19704 (LDLIBS-bench-sqrt): New.
19705 * benchtests/sqrt-input: New.
19707 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19709 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19710 (GAIH_EAI): Likewise.
19711 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19712 (gaih_inet): Likewise.
19713 (getaddrinfo): Don't use GAIH_EAI.
19715 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19716 (struct gaih): Remove definition.
19718 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19720 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19721 Use HERRNOP directly.
19723 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19727 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19729 * math/gen-auto-libm-tests.c (test_functions): Add more
19730 single-argument functions.
19731 (special_fill_pi_2): New function.
19732 (special_fill_minus_pi_2): Likewise.
19733 (special_fill_pi_6): Likewise.
19734 (special_fill_minus_pi_6): Likewise.
19735 (special_fill_pi_3): Likewise.
19736 (special_fill_2pi_3): Likewise.
19737 (special_fill_e): Likewise.
19738 (special_fill_1_e): Likewise.
19739 (special_fill_e_minus_1): Likewise.
19740 (special_real_inputs): Add more special inputs.
19741 (output_for_one_input_case): Do not require ERANGE on underflow to
19742 zero if round-to-nearest result does not underflow to zero, unless
19743 exact results required.
19744 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19745 atan, atanh, cbrt, cos and cosh.
19746 * math/auto-libm-test-out: Regenerated.
19747 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19748 (acos_tonearest_test_data): Likewise.
19749 (acos_towardzero_test_data): Likewise.
19750 (acos_downward_test_data): Likewise.
19751 (acos_upward_test_data): Likewise.
19752 (acosh_test_data): Likewise.
19753 (asin_test_data): Likewise.
19754 (asin_tonearest_test_data): Likewise.
19755 (asin_towardzero_test_data): Likewise.
19756 (asin_upward_test_data): Likewise.
19757 (asinh_test_data): Likewise.
19758 (atan_test_data): Likewise.
19759 (atanh_test_data): Likewise.
19760 (cbrt_test_data): Likewise.
19761 (cos_test_data): Likewise.
19762 (cos_tonearest_test_data): Likewise.
19763 (cos_towardzero_test_data): Likewise.
19764 (cos_downward_test_data): Likewise.
19765 (cos_upward_test_data): Likewise.
19766 (cosh_test_data): Likewise.
19767 (cosh_tonearest_test_data): Likewise.
19768 (cosh_towardzero_test_data): Likewise.
19769 (cosh_downward_test_data): Likewise.
19770 (cosh_upward_test_data): Likewise.
19771 * sysdeps/i386/fpu/libm-test-ulps: Update.
19772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19774 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19777 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19778 * math/w_exp10f.c (__exp10f): Likewise.
19779 * math/w_exp10l.c (__exp10l): Likewise.
19780 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19781 errno settings in existing tests.
19784 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19785 precision control set to double precision.
19786 * sysdeps/i386/fpu/w_sqrt.c: New file.
19787 * math/auto-libm-test-in: Add more tests.
19788 * math/auto-libm-test-out: Update.
19790 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19791 (sqrt_test_tonearest): New function.
19792 (sqrt_towardzero_test_data): New variable.
19793 (sqrt_test_towardzero): New function.
19794 (sqrt_downward_test_data): New variable.
19795 (sqrt_test_downward): New function.
19796 (sqrt_upward_test_data): New variable.
19797 (sqrt_test_upward): New function.
19798 (main): Call the new functions.
19800 * math/gen-auto-libm-tests.c: New file.
19801 * math/auto-libm-test-in: Likewise.
19802 * math/auto-libm-test-out: New generated file.
19803 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19805 (%beautify): Add generated representations of zero.
19806 (top level): Set $auto_input and call parse_auto_input.
19807 (beautify): Remove trailing "f" from hex float constants.
19808 (parse_args): Handle XFAIL_TEST.
19809 (convert_condition): New function.
19810 (or_value): Likewise.
19811 (or_cond_value): Likewise.
19812 (generate_testfile): Handle AUTO_TESTS_* lines.
19813 (parse_auto_input): New function.
19814 * math/libm-test.inc (XFAIL_TEST): New macro.
19815 (ERRNO_UNCHANGED): Update value.
19816 (ERRNO_EDOM): Likewise.
19817 (ERRNO_ERANGE): Likewise.
19818 (IGNORE_RESULT): Likewise.
19819 (TEST_COND_flt_32): New macro.
19820 (TEST_COND_dbl_64): Likewise.
19821 (TEST_COND_ldbl_96_intel): Likewise.
19822 (TEST_COND_ldbl_96_m68k): Likewise.
19823 (TEST_COND_ldbl_128): Likewise.
19824 (TEST_COND_ldbl_128ibm): Likewise.
19825 (TEST_COND_long32): Likewise.
19826 (TEST_COND_long64): Likewise.
19827 (TEST_COND_before_rounding): Likewise.
19828 (TEST_COND_after_rounding): Likewise.
19829 (enable_test): Handle XFAIL_TEST flag.
19830 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19831 with finite results.
19832 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19833 auto-libm-test-out.
19835 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19836 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19839 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19840 __tls_get_addr_internal instead of __tls_get_offset in order to
19841 avoid GOT pointer dependency. Make rtld export
19842 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19843 __tls_get_addr since we are a __tls_get_offset platform.
19844 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19845 GOT pointer being set up before.
19846 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19848 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19850 * manual/math.texi (Errors in Math Functions): Document accuracy
19854 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19855 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19856 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19857 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19858 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19859 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19860 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19861 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19862 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19863 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19864 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19865 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19866 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19867 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19868 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19869 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19871 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19872 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19873 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19874 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19875 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19877 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19879 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19881 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19882 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19883 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19884 atomic-feupdateenv and flt-rounds.
19885 * sysdeps/powerpc/nofpu/Versions (libc): Add
19886 __atomic_feholdexcept, __atomic_feclearexcept,
19887 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19888 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19889 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19890 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19891 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19896 * manual/arith.texi (FP Exceptions): Document that exceptions may
19897 not be raised when matherr is used.
19898 (Math Error Reporting): Document overflow in directed rounding
19899 modes. Document that errno may not be set when finite values are
19900 returned on overflow. Document intent to set errno on underflow
19901 only for underflow to zero.
19904 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19905 round-to-nearest then adjust result for other rounding modes.
19906 * include/fenv.h (fegetround): Use libm_hidden_proto.
19907 * math/fegetround.c (fegetround): Use libm_hidden_def.
19908 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19909 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19910 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19911 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19913 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19914 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19915 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19916 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19918 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19921 * nss/Versions (libnss_files): Add
19922 _nss_files_gethostbyname3_r.
19923 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19925 (HOST_DB_LOOKUP): Remove macro.
19926 (_nss_files_gethostbyname_r): Implement function without the
19927 HOST_DB_LOOKUP macro.
19928 (_nss_files_gethostbyname2_r): Likewise.
19930 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19932 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19934 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19936 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19937 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19940 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19942 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19943 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19944 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19945 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19946 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19947 __fe_nomask_env_priv and attribute_hidden.
19948 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19949 (libc_feupdateenv_test_ppc): Likewise.
19950 (libc_feresetround_ppc): Likewise.
19951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19952 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19953 compat_symbol macro.
19954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19955 (__fe_nomask_env): Likewise.
19956 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19958 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19960 * string/Makefile: Remove ifunc tests.
19961 * string/test-string.h: Define TEST_IFUNC.
19962 * string/test-bcopy-ifunc.c: Remove.
19963 * string/test-bzero-ifunc.c: Likewise.
19964 * string/test-memccpy-ifunc.c: Likewise.
19965 * string/test-memchr-ifunc.c: Likewise.
19966 * string/test-memcmp-ifunc.c: Likewise.
19967 * string/test-memcpy-ifunc.c: Likewise.
19968 * string/test-memmem-ifunc.c: Likewise.
19969 * string/test-memmove-ifunc.c: Likewise.
19970 * string/test-mempcpy-ifunc.c: Likewise.
19971 * string/test-memrchr-ifunc.c: Likewise.
19972 * string/test-memset-ifunc.c: Likewise.
19973 * string/test-rawmemchr-ifunc.c: Likewise.
19974 * string/test-stpcpy-ifunc.c: Likewise.
19975 * string/test-stpncpy-ifunc.c: Likewise.
19976 * string/test-strcasecmp-ifunc.c: Likewise.
19977 * string/test-strcasestr-ifunc.c: Likewise.
19978 * string/test-strcat-ifunc.c: Likewise.
19979 * string/test-strchr-ifunc.c: Likewise.
19980 * string/test-strchrnul-ifunc.c: Likewise.
19981 * string/test-strcmp-ifunc.c: Likewise.
19982 * string/test-strcpy-ifunc.c: Likewise.
19983 * string/test-strcspn-ifunc.c: Likewise.
19984 * string/test-strlen-ifunc.c: Likewise.
19985 * string/test-strncasecmp-ifunc.c: Likewise.
19986 * string/test-strncat-ifunc.c: Likewise.
19987 * string/test-strncmp-ifunc.c: Likewise.
19988 * string/test-strncpy-ifunc.c: Likewise.
19989 * string/test-strnlen-ifunc.c: Likewise.
19990 * string/test-strpbrk-ifunc.c: Likewise.
19991 * string/test-strrchr-ifunc.c: Likewise.
19992 * string/test-strspn-ifunc.c: Likewise.
19993 * string/test-strstr-ifunc.c: Likewise.
19995 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19997 * benchtests/Makefile: Remove ifunc tests.
19998 * benchtests/bench-string.h: Define TEST_IFUNC.
19999 * benchtests/bench-bcopy-ifunc.c: Remove.
20000 * benchtests/bench-bzero-ifunc.c: Likewise.
20001 * benchtests/bench-memccpy-ifunc.c: Likewise.
20002 * benchtests/bench-memchr-ifunc.c: Likewise.
20003 * benchtests/bench-memcmp-ifunc.c: Likewise.
20004 * benchtests/bench-memcpy-ifunc.c: Likewise.
20005 * benchtests/bench-memmem-ifunc.c: Likewise.
20006 * benchtests/bench-memmove-ifunc.c: Likewise.
20007 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20008 * benchtests/bench-memrchr-ifunc.c: Likewise.
20009 * benchtests/bench-memset-ifunc.c: Likewise.
20010 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20011 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20012 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20013 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20014 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20015 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20016 * benchtests/bench-strcat-ifunc.c: Likewise.
20017 * benchtests/bench-strchr-ifunc.c: Likewise.
20018 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20019 * benchtests/bench-strcmp-ifunc.c: Likewise.
20020 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20021 * benchtests/bench-strcpy-ifunc.c: Likewise.
20022 * benchtests/bench-strcspn-ifunc.c: Likewise.
20023 * benchtests/bench-strlen-ifunc.c: Likewise.
20024 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20025 * benchtests/bench-strncat-ifunc.c: Likewise.
20026 * benchtests/bench-strncmp-ifunc.c: Likewise.
20027 * benchtests/bench-strncpy-ifunc.c: Likewise.
20028 * benchtests/bench-strnlen-ifunc.c: Likewise.
20029 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20030 * benchtests/bench-strrchr-ifunc.c: Likewise.
20031 * benchtests/bench-strsep-ifunc.c: Likewise.
20032 * benchtests/bench-strspn-ifunc.c: Likewise.
20033 * benchtests/bench-strstr-ifunc.c: Likewise.
20035 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20037 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20039 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20041 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20042 * rt/aio.h: Likewise.
20043 * sysdeps/gnu/bits/utmp.h: Likewise.
20044 * sysdeps/gnu/bits/utmpx.h: Likewise.
20045 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20046 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20047 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20048 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20049 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20050 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20051 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20052 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20053 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20054 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20055 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20056 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20057 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20059 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20060 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20061 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20062 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20063 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20064 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20065 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20066 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20067 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20068 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20069 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20070 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20071 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20072 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20073 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20074 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20075 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20076 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20077 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20078 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20079 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20080 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20081 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20082 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20083 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20084 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20085 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20086 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20088 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20091 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20092 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20094 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20096 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20097 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20100 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20103 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20104 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20105 (__fesetround): Remove define.
20106 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20107 rounding and exceptions handling.
20108 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20109 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20110 (__fe_nomask_env): Likewise.
20111 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20112 __fegetround instead of fegetround.
20113 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20114 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20116 2013-11-21 Roland McGrath <roland@hack.frob.com>
20118 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20121 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20123 2013-11-21 Meador Inge <meadori@codesourcery.com>
20126 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20127 (encrypt_r): Likewise.
20128 * malloc/obstack.h (obstack_free): Likewise.
20129 * posix/unistd.h (encrypt): Likewise.
20131 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20133 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20134 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20135 DL_CALL_DT_FINI() that call the functions directly.
20136 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20137 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20138 * elf/dl-fini.c: Likewise.
20140 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20142 * malloc/hooks.c (memalign_check): Add alignment rounding.
20143 * malloc/malloc.c (_mid_memalign): New function.
20144 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20145 Implement by calling _mid_memalign.
20146 * manual/probes.texi (Memory Allocation Probes): Remove
20147 memory_valloc_retry and memory_pvalloc_retry.
20149 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20151 * locale/programs/locarchive.c (open_archive): Add const
20152 qualifier to ARCHIVEFNAME and copy default fname to
20156 * libio/tst-widetext.input: Rename Oriya to Odia.
20157 * locale/iso-639.def: Likewise.
20159 * manual/probes.texi (Mathematical Function Probes): Add
20160 documentation for sin, cos, asin and acos probes.
20161 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20162 (__sin32): Add slowasin probe.
20163 (__cos32): Add slowacos probe.
20164 (__mpsin): Add slowsin probe.
20165 (__mpcos): Add slowcos probe.
20167 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20170 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20171 thread-local __sim_exceptions_thread and global
20172 __sim_exceptions_global.
20173 (__sim_disabled_exceptions): Change to thread-local
20174 __sim_disabled_exceptions_thread and global
20175 __sim_disabled_exceptions_global.
20176 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20177 and global __sim_round_mode_global.
20178 (__simulate_exceptions): Use thread-local floating-point state and
20179 set global state from it as needed.
20180 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20181 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20182 __sim_round_mode_thread.
20183 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20184 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20185 and global __sim_exceptions_global.
20186 (__sim_disabled_exceptions): Change to thread-local
20187 __sim_disabled_exceptions_thread and global
20188 __sim_disabled_exceptions_global.
20189 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20190 and global __sim_round_mode_global.
20191 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20192 (SIM_SET_GLOBAL): Likewise.
20193 * sysdeps/powerpc/soft-fp/sfp-machine.h
20194 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20195 __sim_round_mode_thread.
20196 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20197 __sim_disabled_exceptions_thread.
20198 (__sim_exceptions): Change to __sim_exceptions_thread.
20199 (__sim_disabled_exceptions): Change to
20200 __sim_disabled_exceptions_thread.
20201 (__sim_round_mode): Change to __sim_round_mode_thread.
20202 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20203 thread-local floating-point state and set global state from it as
20205 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20206 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20207 (__sim_disabled_exceptions): Remove extern declaration.
20208 (feenableexcept): Use thread-local floating-point state and set
20209 global state from it as needed.
20210 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20211 extern declaration.
20212 (__sim_disabled_exceptions): Likewise.
20213 (__sim_round_mode): Likewise.
20214 (__fegetenv): Use thread-local floating-point state.
20215 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20216 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20217 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20218 floating-point state and set global state from it as needed.
20219 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20220 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20221 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20223 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20224 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20226 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20227 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20228 Use __sim_round_mode_thread.
20229 * math/test-fenv-tls.c: New file.
20230 * math/Makefile (tests): Add test-fenv-tls.
20231 ($(objpfx)test-fenv-tls): Depend on
20232 $(common-objpfx)nptl/libpthread.so.
20234 2013-11-19 Andreas Schwab <schwab@suse.de>
20236 * locale/programs/locale.c (show_info): Decode wordarray elements.
20237 * locale/categories.def (LC_MONETARY): Add element for
20238 _NL_MONETARY_CRNCYSTR.
20239 * locale/C-monetary.c (conversion_rate): New variable.
20240 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20243 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20245 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20246 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20248 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20250 * elf/Makefile (tst-auxv): New test.
20251 * elf/tst-auxv.c: New
20252 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20254 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20256 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20257 (hidden_proto): Caller changed.
20258 (hidden_tls_proto): New macro.
20259 (libc_hidden_tls_proto): Likewise.
20260 (rtld_hidden_tls_proto): Likewise.
20261 (libm_hidden_tls_proto): Likewise.
20262 (libresolv_hidden_tls_proto): Likewise.
20263 (librt_hidden_tls_proto): Likewise.
20264 (libdl_hidden_tls_proto): Likewise.
20265 (libnss_files_hidden_tls_proto): Likewise.
20266 (libnsl_hidden_tls_proto): Likewise.
20267 (libnss_nisplus_hidden_tls_proto): Likewise.
20268 (libutil_hidden_tls_proto): Likewise.
20270 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20273 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20274 (decompose_rpath): Defer expansion to fillin_rpath.
20275 (_dl_init_paths): Pass linkmap to fillin_rpath.
20277 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20279 * benchtests/Makefile: Add strsep.
20280 * benchtests/bench-strsep.c: New file: strsep benchtest.
20281 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20283 2013-11-18 Andreas Schwab <schwab@suse.de>
20285 * locale/programs/locale.c (show_info) [case byte]: Check for
20286 '\377' instead of '\177'.
20287 * locale/C-monetary.c (not_available): Always use "\377".
20288 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20289 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20290 detect unavailable sign_posn locale elements.
20291 * locale/localeconv.c (__localeconv): For grouping and
20292 mon_grouping handle "\177" and "\377" like no grouping.
20293 (INT_ELEM): New macro. Use it to set all numeric members.
20294 * locale/programs/ld-monetary.c (monetary_read)
20295 <tok_mon_grouping>: Normalize single -1 to the empty string.
20296 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20299 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20302 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20303 when we match (nil).
20304 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20306 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20308 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20309 (NO_TEST_INLINE): Update value.
20310 (ERRNO_UNCHANGED): Likewise.
20311 (ERRNO_EDOM): Likewise.
20312 (ERRNO_ERANGE): Likewise.
20313 (IGNORE_RESULT): Likewise.
20314 (check_float_internal): Check signs of NaN results if
20315 TEST_NAN_SIGN used.
20316 (check_complex): Pass TEST_NAN_SIGN flag through to second
20317 check_float_internal call.
20318 (copysign_test_data): Add tests with quiet NaNs as second
20319 argument. Use TEST_NAN_SIGN.
20320 (fabs_test_data): Add test of negative quiet NaN argument. Use
20322 (signbit_test_data): Add tests of quiet NaN argument.
20323 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20325 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20327 (parse_args): Handle function results specified as IGNORE.
20328 * math/libm-test.inc (IGNORE_RESULT): New macro.
20329 (check_float_internal): Do not check numerical result if flag
20331 (check_complex): Pass through IGNORE_RESULT to second
20332 check_float_internal call.
20333 (check_int): Do not check numerical result if flag IGNORE_RESULT
20335 (check_long): Likewise.
20336 (check_bool): Likewise.
20337 (check_longlong): Likewise.
20338 (lrint_test_data): Add tests of infinite and NaN arguments.
20339 (lrint_tonearest_test_data): Likewise.
20340 (lrint_towardzero_test_data): Likewise.
20341 (lrint_downward_test_data): Likewise.
20342 (lrint_upward_test_data): Likewise.
20343 (llrint_test_data): Likewise.
20344 (llrint_tonearest_test_data): Likewise.
20345 (llrint_towardzero_test_data): Likewise.
20346 (llrint_downward_test_data): Likewise.
20347 (llrint_upward_test_data): Likewise.
20348 (lround_test_data): Likewise.
20349 (llround_test_data): Likewise.
20351 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20352 (ERRNO_UNCHANGED): Update value.
20353 (ERRNO_EDOM): Likewise.
20354 (ERRNO_ERANGE): Likewise.
20355 (NO_TEST_INLINE_FLOAT): New macro.
20356 (NO_TEST_INLINE_DOUBLE): Likewise.
20357 (enable_test): New function.
20358 (RUN_TEST_f_f): Check enable_test before running test.
20359 (RUN_TEST_2_f): Likewise.
20360 (RUN_TEST_fff_f): Likewise.
20361 (RUN_TEST_c_f): Likewise.
20362 (RUN_TEST_f_f1): Likewise.
20363 (RUN_TEST_fF_f1): Likewise.
20364 (RUN_TEST_fI_f1): Likewise.
20365 (RUN_TEST_ffI_f1): Likewise.
20366 (RUN_TEST_c_c): Likewise.
20367 (RUN_TEST_cc_c): Likewise.
20368 (RUN_TEST_f_i): Likewise.
20369 (RUN_TEST_f_i_tg): Likewise.
20370 (RUN_TEST_ff_i_tg): Likewise.
20371 (RUN_TEST_f_b): Likewise.
20372 (RUN_TEST_f_b_tg): Likewise.
20373 (RUN_TEST_f_l): Likewise.
20374 (RUN_TEST_f_L): Likewise.
20375 (RUN_TEST_fFF_11): Likewise.
20376 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20378 (cosh_test_data): Likewise.
20379 (exp_test_data): Likewise.
20380 (expm1_test_data): Likewise.
20381 (hypot_test_data): Likewise.
20382 (pow_test_data): Likewise.
20383 (sinh_test_data): Likewise.
20384 (tanh_test_data): Likewise.
20385 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20388 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20389 tests with quiet NaN input and output.
20390 (acosh_test_data): Likewise.
20391 (asin_test_data): Likewise.
20392 (asinh_test_data): Likewise.
20393 (atan_test_data): Likewise.
20394 (atanh_test_data): Likewise.
20395 (atan2_test_data): Likewise.
20396 (cbrt_test_data): Likewise.
20397 (cos_test_data): Likewise.
20398 (cosh_test_data): Likewise.
20399 (erf_test_data): Likewise.
20400 (erfc_test_data): Likewise.
20401 (exp_test_data): Likewise.
20402 (exp10_test_data): Likewise.
20403 (exp2_test_data): Likewise.
20404 (expm1_test_data): Likewise.
20405 (hypot_test_data): Likewise.
20406 (j0_test_data): Likewise.
20407 (j1_test_data): Likewise.
20408 (jn_test_data): Likewise.
20409 (lgamma_test_data): Likewise.
20410 (log_test_data): Likewise.
20411 (log10_test_data): Likewise.
20412 (log1p_test_data): Likewise.
20413 (log2_test_data): Likewise.
20414 (pow_test_data): Likewise.
20415 (scalb_test_data): Likewise.
20416 (sin_test_data): Likewise.
20417 (sincos_test_data): Likewise.
20418 (sinh_test_data): Likewise.
20419 (tan_test_data): Likewise.
20420 (tanh_test_data): Likewise.
20421 (tgamma_test_data): Likewise.
20422 (y0_test_data): Likewise.
20423 (y1_test_data): Likewise.
20424 (yn_test_data): Likewise.
20427 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20428 argument being NaN and avoid computations with second argument in
20430 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20431 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20432 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20434 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20436 * locale/iso-639.def: Add Chitwani Tharu (the).
20438 2013-11-14 Andreas Schwab <schwab@suse.de>
20440 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20441 word instead of empty string.
20443 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20446 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20448 (__fe_nomask_env): Likewise.
20450 2013-11-13 Steve Ellcey <sellcey@mips.com>
20452 * benchtests/bench-timing.h: Include time.h.
20454 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20457 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20459 * sysdeps/unix/sysv/linux/configure: Regenerated.
20461 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20464 * stdlib/strtod_l.c (round_and_return): Do not consider
20465 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20466 exponent one less than half the least subnormal exponent.
20467 * stdlib/test-strtod-round-data: Add more tests.
20468 * stdlib/tst-strtod-round.c (tests): Regenerated.
20470 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20473 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20474 (__fe_mask_env): Likewise.
20475 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20476 libm_hidden_proto and add function prototype.
20477 (__fe_mask_env): Add function prototype.
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20479 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20481 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20483 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20485 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20487 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20488 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20490 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20492 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20493 of htab_find_slot().
20495 2013-11-11 David S. Miller <davem@davemloft.net>
20498 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20499 symbol in the non-vis3 case in static builds.
20500 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20501 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20502 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20503 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20505 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20508 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20511 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20513 * benchtests/Makefile: Add bench-strtod.
20514 * benchtests/bench-strtod.c: New file: strtod benchtest
20516 2013-11-11 Andreas Schwab <schwab@suse.de>
20519 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20520 terminating NUL in key length.
20522 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20524 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20525 Add artificial ODP entry for vDSO symbol for PPC64.
20526 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20527 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20529 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20532 * nss/getent.c (services_keys): Recognize services starting with digit.
20534 2013-11-06 David S. Miller <davem@davemloft.net>
20537 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20538 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20540 2013-11-06 Will Newton <will.newton@linaro.org>
20542 * manual/memory.texi (Malloc Examples): Remove register
20543 keyword from examples.
20545 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20547 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20549 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20552 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20553 depending on [__GCC_IEC_559 > 0].
20554 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20555 depending on [__GCC_IEC_559_COMPLEX > 0].
20557 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20559 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20562 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20564 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20566 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20569 * malloc/malloc (malloc_info): Do not handle first bin as
20572 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20574 * locale/iso-639.def: Add Central Nahuatl (nhn).
20576 2013-11-01 Bruno Haible <bruno@clisp.org>
20579 * manual/math.texi (BSD Random): Specify range upper bound as
20582 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20584 * locale/iso-639.def: Add Meadow Mari (mhr).
20586 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20588 [BZ #14752], [BZ #15763]
20589 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20591 * rt/tst_shm.c: Add test for escaping directory.
20593 2013-10-31 Andreas Schwab <schwab@suse.de>
20596 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20597 followed by 'x' as part of digit sequence.
20598 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20600 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20603 * configure.ac: allow GNU Make 4.0 and greater.
20604 * configure: Regenerated.
20606 2013-10-30 Will Newton <will.newton@linaro.org>
20609 * malloc/hooks.c (memalign_check): Limit alignment to the
20610 maximum representable power of two.
20611 * malloc/malloc.c (__libc_memalign): Likewise.
20612 * malloc/tst-memalign.c (do_test): Add test for very
20613 large alignment values.
20614 * malloc/tst-posix_memalign.c (do_test): Likewise.
20616 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20619 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20620 (munmap_chunk): Likewise.
20621 (mremap_chunk): Likewise.
20623 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20626 * stdlib/div.c (div): Remove obsolete code.
20627 * stdlib/ldiv.c (ldiv): Likewise.
20628 * stdlib/lldiv.c (lldiv): Likewise.
20630 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20633 * nss/nss_files/files-XXX.c (get_contents_ret): New
20635 (get_contents): New function.
20636 (internal_getent): Use it. Expand size of LINEBUFLEN.
20638 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20640 * configure.in: Moved to ...
20641 * configure.ac: ... here. Change reference to configure.in
20643 * sysdeps/arm/preconfigure.ac: ... here.
20644 configure.in to configure.ac.
20645 * sysdeps/gnu/configure.in: Moved to ...
20646 * sysdeps/gnu/configure.ac: ... here.
20647 * sysdeps/i386/configure.in: Moved to ...
20648 * sysdeps/i386/configure.ac: ... here.
20649 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20650 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20651 * sysdeps/mach/configure.in: Moved to ...
20652 * sysdeps/mach/configure.ac: ... here.
20653 * sysdeps/mach/hurd/configure.in: Moved to ...
20654 * sysdeps/mach/hurd/configure.ac: ... here.
20655 * sysdeps/powerpc/configure.in: Moved to ...
20656 * sysdeps/powerpc/configure.ac: ... here.
20657 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20658 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20659 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20660 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20661 * sysdeps/s390/s390-32/configure.in: Moved to ...
20662 * sysdeps/s390/s390-32/configure.ac: ... here.
20663 * sysdeps/s390/s390-64/configure.in: Moved to ...
20664 * sysdeps/s390/s390-64/configure.ac: ... here.
20665 * sysdeps/sh/configure.in: Moved to ...
20666 * sysdeps/sh/configure.ac: ... here.
20667 * sysdeps/sparc/configure.in: Moved to ...
20668 * sysdeps/sparc/configure.ac: ... here.
20669 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20670 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20671 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20672 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20673 * sysdeps/x86_64/configure.in: Moved to ...
20674 * sysdeps/x86_64/configure.ac: ... here.
20675 * sysdeps/x86_64/preconfigure.in: Moved to ...
20676 * sysdeps/x86_64/preconfigure.ac: ... here.
20677 * aclocal.m4: Change reference to configure.in to configure.ac.
20678 * config.h.in: Likewise.
20679 * manual/install.texi: Likewise.
20680 * manual/maint.texi: Likewise.
20681 * Makefile: Likewise.
20682 * malloc/Makefile: Likewise.
20683 * nscd/Makefile: Likewise.
20684 * Makeconfig: Change reference to configure.in and
20685 preconfigure.in to configure.ac and preconfigure.ac
20687 * INSTALL: Regenerated.
20688 * configure: Likewise.
20689 * sysdeps/gnu/configure: Likewise.
20690 * sysdeps/i386/configure: Likewise.
20691 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20692 * sysdeps/mach/configure: Likewise.
20693 * sysdeps/mach/hurd/configure: Likewise.
20694 * sysdeps/powerpc/configure: Likewise.
20695 * sysdeps/powerpc/powerpc32/configure: Likewise.
20696 * sysdeps/powerpc/powerpc64/configure: Likewise.
20697 * sysdeps/s390/s390-32/configure: Likewise.
20698 * sysdeps/s390/s390-64/configure: Likewise.
20699 * sysdeps/sh/configure: Likewise.
20700 * sysdeps/sparc/configure: Likewise.
20701 * sysdeps/unix/sysv/linux/configure: Likewise.
20702 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20703 * sysdeps/x86_64/configure: Likewise.
20704 * sysdeps/x86_64/preconfigure: Likewise.
20706 2013-10-29 Andreas Schwab <schwab@suse.de>
20708 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20710 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20712 * benchtests/pow-inputs: Add new inputs.
20714 * benchtests/exp-inputs: Add new inputs.
20716 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20717 conditional check for return value.
20718 (__cos32): Likewise.
20720 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20722 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20723 to provide a boost for large inputs with word alignment.
20724 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20725 implementation based on optimized PPC64 strcpy.
20726 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20727 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20728 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20729 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20731 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20734 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20736 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20739 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20740 * time/tst-strptime.c (day_tests): Add testcase.
20742 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20745 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20747 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20750 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20751 MAP_FAILED on error.
20753 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20756 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20757 heap for large requests.
20759 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20762 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20763 result if the result has no associated interface.
20764 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20765 interface for all 127.X.Y.Z addresses.
20767 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20769 * locale/iso-639.def: Add Ligurian (lij)
20771 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20774 * sunrpc/rpc_main.c: Document rpcgen -5.
20776 2013-10-19 Michael Stahl <mstahl@redhat.com>
20778 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20780 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20783 * posix/glob.c: Match only directories when trailing slash is present.
20784 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20785 (main): Add testcase.
20787 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20790 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20792 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20794 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20795 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20796 AUTH_DES and cindex for FIPS 140-2.
20797 (DES Encryption): Add cindex FIPS 46-3.
20799 * locale/locarchive.h (struct locarhandle): Add fname.
20800 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20801 if an optional argument was specified to --list-archive,
20803 * locale/programs/locarchive.c (show_archive_content): Take new
20804 argument fname and pass it via ah.fname to open_archive.
20805 * locale/programs/localedef.h: Update decl.
20806 (open_archive): If AH->fname is non-null, open that file
20807 rather than the default file name, and don't ignore ENOENT.
20808 (create_archive): Set AH.fname to NULL.
20809 (delete_locales_from_archive): Likewise.
20810 (add_locales_to_archive): Likewise.
20811 * locale/programs/locfile.c (write_all_categories): Likewise.
20813 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20814 Aldy Hernandez <aldyh@redhat.com>
20816 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20817 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20818 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20819 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20820 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20821 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20822 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20823 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20824 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20825 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20826 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20827 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20828 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20829 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20830 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20832 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20834 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20836 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20838 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20839 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20841 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20842 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20843 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20844 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20846 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20847 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20848 * sysdeps/powerpc/preconfigure: Likewise.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20851 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20852 Replace contents of file by #include of <fenv_libc.h>.
20853 * sysdeps/powerpc/soft-fp/sfp-machine.h
20854 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20856 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20857 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20858 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20859 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20860 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20861 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20863 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20864 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20865 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20866 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20867 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20869 Allow copysignl PLT reference to be missing.
20871 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20872 Joseph Myers <joseph@codesourcery.com
20875 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20877 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20879 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20881 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20882 * elf/tst-tls1.c: Likewise.
20883 * elf/tst-tls10.h: Likewise.
20884 * elf/tst-tls14.c: Likewise.
20885 * elf/tst-tls2.c: Likewise.
20886 * elf/tst-tls3.c: Likewise.
20887 * elf/tst-tls4.c: Likewise.
20888 * elf/tst-tls5.c: Likewise.
20889 * elf/tst-tls6.c: Likewise.
20890 * elf/tst-tls7.c: Likewise.
20891 * elf/tst-tls8.c: Likewise.
20892 * elf/tst-tls9.c: Likewise.
20893 * elf/tst-tlsmod1.c: Likewise.
20894 * elf/tst-tlsmod13.c: Likewise.
20895 * elf/tst-tlsmod13a.c: Likewise.
20896 * elf/tst-tlsmod14a.c: Likewise.
20897 * elf/tst-tlsmod16a.c: Likewise.
20898 * elf/tst-tlsmod16b.c: Likewise.
20899 * elf/tst-tlsmod2.c: Likewise.
20900 * elf/tst-tlsmod3.c: Likewise.
20901 * elf/tst-tlsmod4.c: Likewise.
20902 * elf/tst-tlsmod5.c: Likewise.
20903 * elf/tst-tlsmod6.c: Likewise.
20905 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20908 * malloc/malloc.c: remove checks for statistics.
20910 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20913 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20914 * inet/tst-network.c: Add testcase.
20916 2013-10-17 Andreas Schwab <schwab@suse.de>
20919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20920 to determine canonical name.
20922 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20924 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20925 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20926 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20927 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20929 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20930 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20931 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20932 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20933 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20934 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20935 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20936 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20937 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20938 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20939 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20941 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20942 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20943 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20944 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20946 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20947 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20948 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20949 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20954 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20961 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20962 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20963 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20964 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20966 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20967 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20968 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20969 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20971 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20972 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20973 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20974 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20975 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20976 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20977 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20978 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20979 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20980 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20981 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20983 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20986 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20987 make result into a quiet NaN.
20989 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20991 * soft-fp/adddf3.c: Fix horizontal whitespace.
20992 * soft-fp/addsf3.c: Likewise.
20993 * soft-fp/addtf3.c: Likewise.
20994 * soft-fp/divdf3.c: Likewise.
20995 * soft-fp/divsf3.c: Likewise.
20996 * soft-fp/divtf3.c: Likewise.
20997 * soft-fp/double.h: Likewise.
20998 * soft-fp/eqdf2.c: Likewise.
20999 * soft-fp/eqsf2.c: Likewise.
21000 * soft-fp/eqtf2.c: Likewise.
21001 * soft-fp/extenddftf2.c: Likewise.
21002 * soft-fp/extended.h: Likewise.
21003 * soft-fp/extendsfdf2.c: Likewise.
21004 * soft-fp/extendsftf2.c: Likewise.
21005 * soft-fp/extendxftf2.c: Likewise.
21006 * soft-fp/fixdfdi.c: Likewise.
21007 * soft-fp/fixdfsi.c: Likewise.
21008 * soft-fp/fixdfti.c: Likewise.
21009 * soft-fp/fixsfdi.c: Likewise.
21010 * soft-fp/fixsfsi.c: Likewise.
21011 * soft-fp/fixsfti.c: Likewise.
21012 * soft-fp/fixtfdi.c: Likewise.
21013 * soft-fp/fixtfsi.c: Likewise.
21014 * soft-fp/fixtfti.c: Likewise.
21015 * soft-fp/fixunsdfdi.c: Likewise.
21016 * soft-fp/fixunsdfsi.c: Likewise.
21017 * soft-fp/fixunsdfti.c: Likewise.
21018 * soft-fp/fixunssfdi.c: Likewise.
21019 * soft-fp/fixunssfsi.c: Likewise.
21020 * soft-fp/fixunssfti.c: Likewise.
21021 * soft-fp/fixunstfdi.c: Likewise.
21022 * soft-fp/fixunstfsi.c: Likewise.
21023 * soft-fp/fixunstfti.c: Likewise.
21024 * soft-fp/floatdidf.c: Likewise.
21025 * soft-fp/floatdisf.c: Likewise.
21026 * soft-fp/floatditf.c: Likewise.
21027 * soft-fp/floatsidf.c: Likewise.
21028 * soft-fp/floatsisf.c: Likewise.
21029 * soft-fp/floatsitf.c: Likewise.
21030 * soft-fp/floattidf.c: Likewise.
21031 * soft-fp/floattisf.c: Likewise.
21032 * soft-fp/floattitf.c: Likewise.
21033 * soft-fp/floatundidf.c: Likewise.
21034 * soft-fp/floatundisf.c: Likewise.
21035 * soft-fp/floatunditf.c: Likewise.
21036 * soft-fp/floatunsidf.c: Likewise.
21037 * soft-fp/floatunsisf.c: Likewise.
21038 * soft-fp/floatunsitf.c: Likewise.
21039 * soft-fp/floatuntidf.c: Likewise.
21040 * soft-fp/floatuntisf.c: Likewise.
21041 * soft-fp/floatuntitf.c: Likewise.
21042 * soft-fp/fmadf4.c: Likewise.
21043 * soft-fp/fmasf4.c: Likewise.
21044 * soft-fp/fmatf4.c: Likewise.
21045 * soft-fp/gedf2.c: Likewise.
21046 * soft-fp/gesf2.c: Likewise.
21047 * soft-fp/getf2.c: Likewise.
21048 * soft-fp/ledf2.c: Likewise.
21049 * soft-fp/lesf2.c: Likewise.
21050 * soft-fp/letf2.c: Likewise.
21051 * soft-fp/muldf3.c: Likewise.
21052 * soft-fp/mulsf3.c: Likewise.
21053 * soft-fp/multf3.c: Likewise.
21054 * soft-fp/negdf2.c: Likewise.
21055 * soft-fp/negsf2.c: Likewise.
21056 * soft-fp/negtf2.c: Likewise.
21057 * soft-fp/op-1.h: Likewise.
21058 * soft-fp/op-2.h: Likewise.
21059 * soft-fp/op-4.h: Likewise.
21060 * soft-fp/op-8.h: Likewise.
21061 * soft-fp/op-common.h: Likewise.
21062 * soft-fp/quad.h: Likewise.
21063 * soft-fp/single.h: Likewise.
21064 * soft-fp/soft-fp.h: Likewise.
21065 * soft-fp/sqrtdf2.c: Likewise.
21066 * soft-fp/sqrtsf2.c: Likewise.
21067 * soft-fp/sqrttf2.c: Likewise.
21068 * soft-fp/subdf3.c: Likewise.
21069 * soft-fp/subsf3.c: Likewise.
21070 * soft-fp/subtf3.c: Likewise.
21071 * soft-fp/truncdfsf2.c: Likewise.
21072 * soft-fp/trunctfdf2.c: Likewise.
21073 * soft-fp/trunctfsf2.c: Likewise.
21074 * soft-fp/trunctfxf2.c: Likewise.
21075 * soft-fp/unorddf2.c: Likewise.
21076 * soft-fp/unordsf2.c: Likewise.
21077 * soft-fp/unordtf2.c: Likewise.
21079 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21081 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21082 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21084 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21086 * elf/dl-libc.c: Clear initfini list after freeing.
21088 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21090 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21091 * soft-fp/addsf3.c: Likewise.
21092 * soft-fp/addtf3.c: Likewise.
21093 * soft-fp/divdf3.c: Likewise.
21094 * soft-fp/divsf3.c: Likewise.
21095 * soft-fp/divtf3.c: Likewise.
21096 * soft-fp/double.h: Likewise.
21097 * soft-fp/eqdf2.c: Likewise.
21098 * soft-fp/eqsf2.c: Likewise.
21099 * soft-fp/eqtf2.c: Likewise.
21100 * soft-fp/extenddftf2.c: Likewise.
21101 * soft-fp/extended.h: Likewise.
21102 * soft-fp/extendsfdf2.c: Likewise.
21103 * soft-fp/extendsftf2.c: Likewise.
21104 * soft-fp/extendxftf2.c: Likewise.
21105 * soft-fp/fixdfdi.c: Likewise.
21106 * soft-fp/fixdfsi.c: Likewise.
21107 * soft-fp/fixdfti.c: Likewise.
21108 * soft-fp/fixsfdi.c: Likewise.
21109 * soft-fp/fixsfsi.c: Likewise.
21110 * soft-fp/fixsfti.c: Likewise.
21111 * soft-fp/fixtfdi.c: Likewise.
21112 * soft-fp/fixtfsi.c: Likewise.
21113 * soft-fp/fixtfti.c: Likewise.
21114 * soft-fp/fixunsdfdi.c: Likewise.
21115 * soft-fp/fixunsdfsi.c: Likewise.
21116 * soft-fp/fixunsdfti.c: Likewise.
21117 * soft-fp/fixunssfdi.c: Likewise.
21118 * soft-fp/fixunssfsi.c: Likewise.
21119 * soft-fp/fixunssfti.c: Likewise.
21120 * soft-fp/fixunstfdi.c: Likewise.
21121 * soft-fp/fixunstfsi.c: Likewise.
21122 * soft-fp/fixunstfti.c: Likewise.
21123 * soft-fp/floatdidf.c: Likewise.
21124 * soft-fp/floatdisf.c: Likewise.
21125 * soft-fp/floatditf.c: Likewise.
21126 * soft-fp/floatsidf.c: Likewise.
21127 * soft-fp/floatsisf.c: Likewise.
21128 * soft-fp/floatsitf.c: Likewise.
21129 * soft-fp/floattidf.c: Likewise.
21130 * soft-fp/floattisf.c: Likewise.
21131 * soft-fp/floattitf.c: Likewise.
21132 * soft-fp/floatundidf.c: Likewise.
21133 * soft-fp/floatundisf.c: Likewise.
21134 * soft-fp/floatunsidf.c: Likewise.
21135 * soft-fp/floatunsisf.c: Likewise.
21136 * soft-fp/floatuntidf.c: Likewise.
21137 * soft-fp/floatuntisf.c: Likewise.
21138 * soft-fp/floatuntitf.c: Likewise.
21139 * soft-fp/fmadf4.c: Likewise.
21140 * soft-fp/fmasf4.c: Likewise.
21141 * soft-fp/fmatf4.c: Likewise.
21142 * soft-fp/gedf2.c: Likewise.
21143 * soft-fp/gesf2.c: Likewise.
21144 * soft-fp/getf2.c: Likewise.
21145 * soft-fp/ledf2.c: Likewise.
21146 * soft-fp/lesf2.c: Likewise.
21147 * soft-fp/letf2.c: Likewise.
21148 * soft-fp/muldf3.c: Likewise.
21149 * soft-fp/mulsf3.c: Likewise.
21150 * soft-fp/multf3.c: Likewise.
21151 * soft-fp/negdf2.c: Likewise.
21152 * soft-fp/negsf2.c: Likewise.
21153 * soft-fp/negtf2.c: Likewise.
21154 * soft-fp/op-1.h: Likewise.
21155 * soft-fp/op-2.h: Likewise.
21156 * soft-fp/op-4.h: Likewise.
21157 * soft-fp/op-8.h: Likewise.
21158 * soft-fp/op-common.h: Likewise.
21159 * soft-fp/quad.h: Likewise.
21160 * soft-fp/single.h: Likewise.
21161 * soft-fp/soft-fp.h: Likewise.
21162 * soft-fp/sqrtdf2.c: Likewise.
21163 * soft-fp/sqrtsf2.c: Likewise.
21164 * soft-fp/sqrttf2.c: Likewise.
21165 * soft-fp/subdf3.c: Likewise.
21166 * soft-fp/subsf3.c: Likewise.
21167 * soft-fp/subtf3.c: Likewise.
21168 * soft-fp/truncdfsf2.c: Likewise.
21169 * soft-fp/trunctfdf2.c: Likewise.
21170 * soft-fp/trunctfsf2.c: Likewise.
21171 * soft-fp/trunctfxf2.c: Likewise.
21172 * soft-fp/unorddf2.c: Likewise.
21173 * soft-fp/unordsf2.c: Likewise.
21174 * soft-fp/unordtf2.c: Likewise.
21176 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21179 * misc/error.c (error_tail): Fix possible buffer overflow.
21181 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21184 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21187 2013-10-14 P. J. McDermott <pj@pehjota.net>
21190 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21191 testing pipefail option.
21193 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21195 * soft-fp/double.h: Indent preprocessor directives inside #if.
21196 * soft-fp/extended.h: Likewise.
21197 * soft-fp/op-2.h: Likewise.
21198 * soft-fp/op-4.h: Likewise.
21199 * soft-fp/op-common.h: Likewise.
21200 * soft-fp/quad.h: Likewise.
21201 * soft-fp/single.h: Likewise.
21202 * soft-fp/soft-fp.h: Likewise.
21204 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21206 * iconv/iconv_prog.c: Fix typos.
21207 * stdio-common/psiginfo-data.h: Likewise.
21209 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21212 * locale/setlocale.c: Fix typo.
21214 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21217 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21218 signaling NaN arguments.
21219 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21220 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21223 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21224 unordered operands.
21225 * soft-fp/gesf2.c (__gesf2): Likewise.
21226 * soft-fp/getf2.c (__getf2): Likewise.
21227 * soft-fp/ledf2.c (__ledf2): Likewise.
21228 * soft-fp/lesf2.c (__lesf2): Likewise.
21229 * soft-fp/letf2.c (__letf2): Likewise.
21231 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21232 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21233 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21234 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21235 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21236 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21237 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21238 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21239 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21240 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21241 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21242 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21243 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21244 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21245 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21246 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21247 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21248 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21249 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21250 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21251 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21252 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21253 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21254 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21255 * soft-fp/floattidf.c (__floattidf): Likewise.
21256 * soft-fp/floattisf.c (__floattisf): Likewise.
21257 * soft-fp/floattitf.c (__floattitf): Likewise.
21258 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21259 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21260 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21261 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21262 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21263 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21264 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21265 * soft-fp/gesf2.c (__gesf2): Likewise.
21266 * soft-fp/getf2.c (__getf2): Likewise.
21267 * soft-fp/ledf2.c (__ledf2): Likewise.
21268 * soft-fp/lesf2.c (__lesf2): Likewise.
21269 * soft-fp/letf2.c (__letf2): Likewise.
21271 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21272 Undefine and redefine.
21273 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21274 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21275 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21276 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21277 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21278 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21279 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21280 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21281 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21282 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21283 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21284 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21285 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21286 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21287 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21290 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21291 without decrementing exponent if mantissa >= that for the
21292 denominator, not >.
21293 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21294 denominator, not >. Decrement exponent in < case instead of
21295 incrementing in >= case.
21296 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21297 without decrementing exponent if mantissa >= that for the
21298 denominator, not >.
21300 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21301 computing saturated result for unsigned overflow.
21303 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21304 Jeff Law <law@redhat.com>
21306 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21307 (atan2Mp): Add systemtap probe marker.
21308 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21309 (__ieee754_log): Add systemtap probe marker.
21310 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21311 (atanMp): Add systemtap probe marker.
21312 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21313 (tanMp): Add systemtap probe marker.
21314 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21315 (__slowexp): Add systemtap probe marker.
21316 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21317 (__slowpow): Add systemtap probe marker.
21318 * manual/probes.texi: Document probes.
21320 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21323 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21325 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21327 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21328 written to buffer but not flushed.
21329 * libio/iofwrite_u.c: Likewise.
21330 * libio/iopadn.c: Return bytes returned even if EOF was
21332 * libio/iowpadn.c: Likewise.
21333 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21334 if _IO_padn does not write the whole buffer.
21335 [!COMPILE_WPRINTF] (PAD): Likewise.
21337 2013-10-10 David S. Miller <davem@davemloft.net>
21339 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21342 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21344 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21345 instead of FSF address.
21346 * soft-fp/fixdfti.c: Likewise.
21347 * soft-fp/fixsfti.c: Likewise.
21348 * soft-fp/fixtfti.c: Likewise.
21349 * soft-fp/fixunsdfti.c: Likewise.
21350 * soft-fp/fixunssfti.c: Likewise.
21351 * soft-fp/fixunstfti.c: Likewise.
21352 * soft-fp/floattidf.c: Likewise.
21353 * soft-fp/floattisf.c: Likewise.
21354 * soft-fp/floattitf.c: Likewise.
21355 * soft-fp/floatuntidf.c: Likewise.
21356 * soft-fp/floatuntisf.c: Likewise.
21357 * soft-fp/floatuntitf.c: Likewise.
21358 * soft-fp/trunctfxf2.c: Likewise.
21360 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21361 * soft-fp/fixdfti.c: Likewise.
21362 * soft-fp/fixsfti.c: Likewise.
21363 * soft-fp/fixtfti.c: Likewise.
21364 * soft-fp/fixunsdfti.c: Likewise.
21365 * soft-fp/fixunssfti.c: Likewise.
21366 * soft-fp/fixunstfti.c: Likewise.
21367 * soft-fp/floattidf.c: Likewise.
21368 * soft-fp/floattisf.c: Likewise.
21369 * soft-fp/floattitf.c: Likewise.
21370 * soft-fp/floatuntidf.c: Likewise.
21371 * soft-fp/floatuntisf.c: Likewise.
21372 * soft-fp/floatuntitf.c: Likewise.
21373 * soft-fp/trunctfxf2.c: Likewise.
21375 2013-10-10 David S. Miller <davem@davemloft.net>
21377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21379 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21381 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21382 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21383 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21384 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21385 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21386 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21387 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21390 for NaNs before doing comparisons on argument.
21391 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21394 2013-10-10 Will Newton <will.newton@linaro.org>
21396 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21397 passed to _int_memalign does not overflow.
21399 2013-10-10 Torvald Riegel <triegel@redhat.com>
21401 * scripts/bench.pl: Add include-sources directive.
21402 * benchtests/README: Update documentation.
21404 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21406 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21407 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21408 instead of FP_INIT_ROUNDMODE.
21409 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21410 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21413 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21414 copy class of input value.
21415 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21416 not handle exceptions.
21417 * soft-fp/negsf2.c (__negsf2): Likewise.
21418 * soft-fp/negtf2.c (__negtf2): Likewise.
21419 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21421 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21423 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21424 semicolon. From Linux kernel.
21426 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21428 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21430 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21433 * manual/socket.texi: Added statement about buffer
21434 for gethostbyname2_r.
21436 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21438 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21439 Use .p2align directive instead, throughout.
21440 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21441 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21442 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21443 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21444 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21445 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21446 * sysdeps/x86_64/strchr.S: Likewise.
21447 * sysdeps/x86_64/strrchr.S: Likewise.
21449 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21451 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21453 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21455 * sysdeps/generic/math_private.h (__mpsin1): Remove
21457 (__mpcos1): Likewise.
21458 (__mpsin): New argument __range_reduce.
21459 (__mpcos): Likewise.
21460 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21461 (slow): Use __mpsin and __mpcos.
21465 (sloww1): Likewise.
21466 (sloww2): Likewise.
21467 (bsloww): Likewise.
21468 (bsloww1): Likewise.
21469 (bsloww2): Likewise.
21470 (cslow2): Likewise.
21471 (csloww): Likewise.
21472 (csloww1): Likewise.
21473 (csloww2): Likewise.
21474 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21475 range_reduce. Merge in __mpsin1.
21476 (__mpcos): Likewise.
21477 (__mpsin1): Remove.
21478 (__mpcos1): Likewise.
21480 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21482 * locale/loadlocale.c (_nl_intern_locale_data): Use
21484 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21485 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21486 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21487 obstack data is appropriately aligned.
21488 (obstack_int32_grow_fast): Likewise.
21489 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21490 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21491 (add_locale_uint32_array): Likewise.
21493 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21495 * benchtests/Makefile: Remove ARGLIST and RET variables.
21496 ($(objpfx)bench-%.c): Pass only function name to the script.
21497 * benchtests/README: Update documentation.
21498 * benchtests/acos-inputs: Add new directives.
21499 * benchtests/acosh-inputs: Likewise.
21500 * benchtests/asin-inputs: Likewise.
21501 * benchtests/asinh-inputs: Likewise.
21502 * benchtests/atan-inputs: Likewise.
21503 * benchtests/atanh-inputs: Likewise.
21504 * benchtests/cos-inputs: Likewise.
21505 * benchtests/cosh-inputs: Likewise.
21506 * benchtests/exp-inputs: Likewise.
21507 * benchtests/log-inputs: Likewise.
21508 * benchtests/pow-inputs: Likewise.
21509 * benchtests/rint-inputs: Likewise.
21510 * benchtests/sin-inputs: Likewise.
21511 * benchtests/sinh-inputs: Likewise.
21512 * benchtests/tan-inputs: Likewise.
21513 * benchtests/tanh-inputs: Likewise.
21514 * scripts/bench.pl: Add support for new directives.
21516 2013-10-07 Alan Modra <amodra@gmail.com>
21518 * README: Fix careless merge.
21520 2013-10-05 Alan Modra <amodra@gmail.com>
21522 * NEWS: Mention powerpc64le support and bugs fixed.
21523 * README: Both big-endian and little-endian powerpc64 supported.
21525 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21527 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21528 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21529 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21530 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21532 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21534 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21537 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21539 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21540 Move -mhard-float appending from
21541 ports/sysdeps/powerpc/powerpc32/Makefile.
21542 [$(with-fp) = yes] (ASFLAGS): Likewise.
21543 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21544 * sysdeps/powerpc/nofpu: Move directory from
21545 ports/sysdeps/powerpc/nofpu.
21546 * sysdeps/powerpc/soft-fp: Move directory from
21547 ports/sysdeps/powerpc/soft-fp.
21548 * sysdeps/powerpc/powerpc32/405: Move directory from
21549 ports/sysdeps/powerpc/powerpc32/405.
21550 * sysdeps/powerpc/powerpc32/440: Move directory from
21551 ports/sysdeps/powerpc/powerpc32/440.
21552 * sysdeps/powerpc/powerpc32/464: Move directory from
21553 ports/sysdeps/powerpc/powerpc32/464.
21554 * sysdeps/powerpc/powerpc32/476: Move directory from
21555 ports/sysdeps/powerpc/powerpc32/476.
21556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21557 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21559 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21561 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21563 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21565 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21566 * README: Update for powerpc-*-linux-gnu software floating point
21569 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21570 case to powerpc/powerpc32*.
21571 * sysdeps/unix/sysv/linux/configure: Regenerated.
21573 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21574 (_FPU_MASK_OM): Define as 0x04.
21575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21580 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21583 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21586 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21589 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21590 and setcontext_e500.
21592 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21594 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21596 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21598 * manual/threads.texi (Default Thread Attributes): Fix typo.
21600 2013-10-04 Will Newton <will.newton@linaro.org>
21602 * malloc/Makefile: Add tst-memalign.
21603 * malloc/tst-memalign.c: New file.
21605 * malloc/tst-posix_memalign.c: Add comments.
21606 (do_test): Add comments and call free on all potentially
21607 allocated pointers. Add space after cast.
21609 * malloc/tst-pvalloc.c: Add comments.
21610 (do_test): Add comments and call free on all potentially
21611 allocated pointers. Remove duplicate check for NULL pointer.
21612 Add space after cast.
21614 * malloc/tst-valloc.c: Add comments.
21615 (do_test): Add comments and call free on all potentially
21616 allocated pointers. Remove duplicate check for NULL pointer.
21617 Add space after cast.
21619 2013-10-04 Alan Modra <amodra@gmail.com>
21621 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21622 Use stdint types in rather than __attribute__((mode())).
21623 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21625 2013-10-04 Alan Modra <amodra@gmail.com>
21627 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21628 Correct handling of unaligned relocs for little-endian.
21629 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21631 2013-10-04 Alan Modra <amodra@gmail.com>
21633 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21634 * configure: Regenerate.
21635 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21636 * shlib-versions: Likewise.
21638 2013-10-04 Alan Modra <amodra@gmail.com>
21640 * string/tester.c (test_memrchr): Increment reported test cycle.
21642 2013-10-04 Alan Modra <amodra@gmail.com>
21644 * string/test-memcpy.c (do_one_test): When reporting errors, print
21645 string address and don't overrun end of string.
21647 2013-10-04 Alan Modra <amodra@gmail.com>
21649 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21650 insrdi. Make better use of reg selection to speed exit slightly.
21651 Schedule entry path a little better. Remove useless "are we done"
21652 checks on entry to main loop. Handle wrapping around zero address.
21653 Correct main loop count. Handle single left-over word from main
21654 loop inline rather than by using loop_small. Remove extra word
21655 case in loop_small caused by wrong loop count. Add little-endian
21657 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21658 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21660 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21661 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21662 support. Avoid rlwimi.
21663 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21665 2013-10-04 Alan Modra <amodra@gmail.com>
21667 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21668 insrdi. Formatting.
21669 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21670 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21671 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21672 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21673 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21674 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21676 2013-10-04 Alan Modra <amodra@gmail.com>
21678 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21679 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21680 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21681 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21682 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21683 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21684 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21685 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21686 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21687 use of regs. Use power7 mtocrf. Tidy function tails.
21689 2013-10-04 Alan Modra <amodra@gmail.com>
21691 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21692 Formatting. Consistently use rXXX register defines or rN defines.
21693 Use early exit labels that avoid restoring unused non-volatile regs.
21694 Make cr field use more consistent with rWORDn compares. Rename
21695 regs used as shift registers for unaligned loop, using rN defines
21696 for short lifetime/multiple use regs.
21697 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21698 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21699 addi 1,1,64 to pop stack frame. Simplify return value code.
21700 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21702 2013-10-04 Alan Modra <amodra@gmail.com>
21704 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21705 support. Correct typos, formatting. Optimize tail. Use insrdi
21706 rather than rlwimi.
21707 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21708 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21709 little-endian support. Correct typos.
21710 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21711 rather than rlwimi.
21712 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21713 in loop and entry code to keep "and." results.
21714 (strchr): Add little-endian support. Comment. Move cntlzd
21716 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21718 2013-10-04 Alan Modra <amodra@gmail.com>
21720 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21721 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21722 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21723 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21725 2013-10-04 Alan Modra <amodra@gmail.com>
21727 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21728 (rTMP): Define as r11.
21729 (strcmp): Add little-endian support. Optimise tail.
21730 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21731 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21732 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21733 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21734 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21735 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21738 2013-10-04 Alan Modra <amodra@gmail.com>
21740 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21741 little-endian support. Remove unnecessary "are we done" tests.
21742 Handle "s" wrapping around zero and extremely large "size".
21743 Correct main loop count. Handle single left-over word from main
21744 loop inline rather than by using small_loop. Correct comments.
21745 Delete "zero" tail, use "end_max" instead.
21746 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21748 2013-10-04 Alan Modra <amodra@gmail.com>
21750 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21751 support. Don't branch over align.
21752 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21753 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21754 support. Rearrange tmp reg use to suit. Comment.
21755 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21757 2013-10-04 Alan Modra <amodra@gmail.com>
21759 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21761 2013-10-04 Alan Modra <amodra@gmail.com>
21763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21764 conditional form of branch and link when obtaining pc.
21765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21767 2013-10-04 Alan Modra <amodra@gmail.com>
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21774 2013-10-04 Alan Modra <amodra@gmail.com>
21776 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21777 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21778 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21779 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21780 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21781 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21782 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21783 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21784 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21785 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21787 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21788 Alistair Popple <alistair@ozlabs.au.ibm.com>
21789 Alan Modra <amodra@gmail.com>
21792 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21793 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21794 _dl_hwcap access for little-endian.
21795 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21796 destroy vmx regs when saving unaligned.
21797 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21798 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21799 destroy vmx regs when saving unaligned.
21801 2013-10-04 Alan Modra <amodra@gmail.com>
21803 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21804 Don't use a union to pack hi/low value.
21806 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21808 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21810 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21811 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21812 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21813 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21814 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21816 2013-10-04 Alan Modra <amodra@gmail.com>
21818 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21819 constants to usual value for .cst8 section, and remove redundant
21821 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21822 constant for 0x1p52. Load little-endian words of double from
21823 correct stack offsets.
21825 2013-10-04 Alan Modra <amodra@gmail.com>
21827 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21828 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21829 words of double from correct stack offsets.
21830 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21831 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21832 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21833 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21834 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21835 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21836 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21837 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21838 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21839 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21840 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21841 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21842 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21843 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21844 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21845 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21846 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21848 2013-10-04 Alan Modra <amodra@gmail.com>
21850 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21851 64-bit int/double union.
21852 (_FPU_SETCW): Likewise.
21853 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21854 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21856 2013-10-04 Alan Modra <amodra@gmail.com>
21858 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21859 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21861 2013-10-04 Alan Modra <amodra@gmail.com>
21863 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21864 use vector int constants.
21865 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21867 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21869 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21870 array with long long.
21871 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21872 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21873 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21874 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21875 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21876 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21877 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21878 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21879 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21880 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21881 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21882 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21883 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21885 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21887 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21888 (__signbit): Likewise. Correct for little-endian.
21889 (__signbitl): Call __signbit.
21890 (lrint): Correct for little-endian.
21891 (lrintf): Call lrint.
21893 2013-10-04 Alan Modra <amodra@gmail.com>
21895 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21896 union 32-bit int array member with 64-bit int array.
21897 (t515, tm256): Double rather than long double.
21898 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21900 2013-10-04 Alan Modra <amodra@gmail.com>
21902 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21904 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21905 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21906 version of math_ldbl.h.
21908 2013-10-04 Alan Modra <amodra@gmail.com>
21910 [BZ #15734], [BZ #15735]
21911 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21912 all uses of ieee875 long double macros and unions. Simplify test
21913 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21914 ldbl_extract_mantissa value for ix,iy exponents. Properly
21915 normalize after ldbl_extract_mantissa, and don't add hidden bit
21916 already handled. Don't treat low word of ieee854 mantissa like
21917 low word of IBM long double and mask off bit when testing for
21919 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21920 all uses of ieee875 long double macros and unions. Simplify tests
21921 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21922 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21923 two1022, instead use their values. Recognise that tests for large
21924 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21925 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21926 Rewrite all uses of ieee875 long double macros and unions. Simplify
21927 test for 0.0L and nan. Correct negation.
21928 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21929 ieee875 long double macros and unions. Correct output for large
21930 magnitude x. Correct absolute value calculation.
21931 (__erfcl): Likewise.
21932 * math/libm-test.inc: Add tests for errors discovered in IBM long
21933 double versions of fmodl, remainderl, erfl and erfcl.
21935 2013-10-04 Alan Modra <amodra@gmail.com>
21937 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21938 all uses of ieee854 long double macros and unions. Simplify tests
21939 for long doubles that are fully specified by the high double.
21940 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21942 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21943 Remove dead code too.
21944 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21945 (__ieee754_ynl): Likewise.
21946 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21947 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21948 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21949 Remove dead code too.
21950 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21951 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21952 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21953 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21955 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21957 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21958 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21959 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21960 Comment on variable precision.
21961 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21962 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21964 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21965 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21966 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21967 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21968 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21970 2013-10-04 Alan Modra <amodra@gmail.com>
21972 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21973 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21974 all uses of ieee854 long double macros and unions.
21975 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21976 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21977 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21978 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21979 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21980 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21983 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21984 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21985 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21986 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21987 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21988 Simplify sign and nan test too.
21989 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21990 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21991 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21992 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21994 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21997 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21998 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21999 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22001 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22004 2013-10-04 Alan Modra <amodra@gmail.com>
22006 * stdio-common/printf_size.c (__printf_size): Don't use
22007 union ieee854_long_double in fpnum union.
22008 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22009 signbit macro to retrieve sign from long double.
22010 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22011 retrieve sign from long double.
22012 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22013 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22014 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22015 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22016 * math/test-misc.c (main): Don't use union ieee854_long_double.
22018 2013-10-04 Alan Modra <amodra@gmail.com>
22021 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22022 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22023 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22024 calculation. Remove unnecessary test for denormal exponent.
22025 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22026 Correct handling of denormals. Avoid undefined shift behaviour.
22027 Correct normalisation of low mantissa when low double is denormal.
22028 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22029 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22030 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22031 Correct normalisation of low mantissa. Test for overflow of high
22032 mantissa and normalise.
22033 (ldbl_nearbyint): Use more readable constant for two52.
22034 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22035 (__mpn_construct_long_double): Fix test for overflow of high
22036 mantissa and correct normalisation. Avoid undefined shift.
22038 2013-10-04 Alan Modra <amodra@gmail.com>
22040 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22041 (union ibm_extended_long_double): Define as an array of ieee754_double.
22042 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22043 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22044 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22045 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22046 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22047 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22048 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22049 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22050 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22051 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22052 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22054 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22056 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22057 page size instead of calling getpagesize.
22059 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22060 (LOCFILE_ALIGN_MASK): Likewise.
22061 (LOCFILE_ALIGN_UP): Likewise.
22062 (LOCFILE_ALIGNED_P): Likewise.
22063 * locale/programs/ld-collate.c (collate_output): Use the new
22064 macros instead of __alignof__ (int32_t).
22065 * locale/weight.h (findidx): Likewise.
22067 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22070 * manual/string.texi: Fix strncat and wcsncat.
22072 2013-10-03 Brooks Moses <bmoses@google.com>
22075 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22076 * Makerules: ...here, and adjust associated comments.
22078 2013-10-02 Will Newton <will.newton@linaro.org>
22080 * malloc/Makefile: Add tst-pvalloc.
22081 * malloc/tst-pvalloc.c: New file.
22083 2013-10-02 Will Newton <will.newton@linaro.org>
22085 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22086 improve test coverage.
22088 2013-10-02 Will Newton <will.newton@linaro.org>
22090 * malloc/Makefile: Add tst-posix_memalign.
22091 * malloc/tst-posix_memalign.c: New file.
22093 2013-10-01 Eric Blake <eblake@redhat.com>
22095 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22096 Use __THROWNL rather than __THROW on static functions.
22098 2013-09-30 Petr Machata <pmachata@redhat.com>
22100 * elf/elf.h (R_AARCH64_ABS16): New macro.
22101 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22102 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22103 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22104 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22105 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22106 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22107 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22108 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22109 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22110 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22111 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22112 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22113 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22114 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22115 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22116 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22117 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22118 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22119 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22120 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22121 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22122 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22123 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22124 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22125 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22126 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22127 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22128 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22129 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22130 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22131 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22132 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22133 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22134 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22135 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22136 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22137 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22138 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22139 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22140 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22141 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22142 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22143 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22144 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22145 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22146 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22147 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22148 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22149 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22150 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22151 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22152 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22153 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22154 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22155 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22156 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22157 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22158 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22159 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22160 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22161 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22162 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22163 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22164 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22165 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22166 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22167 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22168 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22169 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22170 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22171 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22172 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22173 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22174 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22175 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22176 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22177 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22178 (R_AARCH64_TLSDESC_LDR): Likewise.
22179 (R_AARCH64_TLSDESC_ADD): Likewise.
22180 (R_AARCH64_TLSDESC_CALL): Likewise.
22182 2013-09-30 Andreas Schwab <schwab@suse.de>
22185 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22186 the nss database lookup.
22187 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22190 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22192 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22194 2013-09-28 P. J. McDermott <pj@pehjota.net>
22196 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22197 ${Bash-specific parameter/pattern/string} parameter expansion.
22198 * sysdeps/unix/make-syscalls.sh: Likewise.
22200 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22202 * sysdeps/sh/stackguard-macros.h: New file.
22204 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22207 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22208 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22209 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22210 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22211 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22213 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22215 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22216 Fix thread ID register.
22218 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22220 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22221 [POSIX || UNIX98]: Require rather than permitting all symbols from
22223 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22224 element of struct sched_param.
22225 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22226 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22227 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22228 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22231 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22233 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22234 argument calculation.
22236 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22238 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22240 [POSIX] (pthread_attr_t): Do not require type.
22241 [POSIX] (pthread_cond_t): Likewise.
22242 [POSIX] (pthread_condattr_t): Likewise.
22243 [POSIX] (pthread_key_t): Likewise.
22244 [POSIX] (pthread_mutex_t): Likewise.
22245 [POSIX] (pthread_mutexattr_t): Likewise.
22246 [POSIX] (pthread_once_t): Likewise.
22247 [POSIX] (pthread_t): Likewise.
22248 [POSIX-based standards] (pthread_atfork): Expect function.
22250 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22251 Richard Sandiford <richard@codesourcery.com>
22253 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22254 (swap_endianness_p): New extern variable.
22255 (set_big_endian): New inline function.
22256 (maybe_swap_uint32): Likewise.
22257 (maybe_swap_uint32_array): Likewise.
22258 (maybe_swap_uint32_obstack): Likewise.
22259 * locale/programs/locfile.c: Include <stdbool.h>.
22260 (swap_endianness_p): New variable.
22261 (add_locale_uint32): Call maybe_swap_uint32.
22262 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22263 (write_locale_data): Call maybe_swap_uint32_array.
22264 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22266 (obstack_int32_grow_fast): Likewise.
22267 (output_weightwc): Call maybe_swap_uint32_obstack.
22268 (collate_output): Likewise.
22269 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22270 (OPT_LITTLE_ENDIAN): Likewise.
22271 (options): Add --little-endian and --big-endian options.
22272 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22273 * locale/programs/locarchive.c: Include "locfile.h".
22277 (create_archive): Use the new macros to access fields of
22278 structures directly mapped from or written to locale archives.
22279 (oldlocrecentcmp): Likewise.
22280 (enlarge_archive): Likewise.
22281 (insert_name): Likewise.
22282 (add_alias): Likewise.
22283 (add_locale): Likewise.
22284 (delete_locales_from_archive): Likewise.
22285 (show_archive_content): Likewise.
22286 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22289 2013-09-24 Roland McGrath <roland@hack.frob.com>
22291 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22292 http://www.gnu.org/doc/freemanuals.texi.
22293 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22295 2013-09-24 Will Newton <will.newton@linaro.org>
22297 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22300 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22302 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22305 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22307 * manual/threads.texi (POSIX Threads): Fix a typo.
22309 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22312 * string/tst-strcoll-overflow.c: New test case.
22313 * string/Makefile (xtests): Add tst-strcoll-overflow.
22314 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22315 cache if string sizes may cause integer overflow.
22318 * string/strcoll_l.c (coll_seq): New members rule, idx,
22319 save_idx and back_us.
22320 (get_next_seq_nocache): New function.
22321 (do_compare_nocache): New function.
22322 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22325 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22328 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22329 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22330 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22333 * elf/Makefile (tests): Add tst-ptrguard1.
22334 (tests-static): Add tst-ptrguard1-static.
22335 (tst-ptrguard1-ARGS): Define.
22336 (tst-ptrguard1-static-ARGS): Define.
22337 * elf/tst-ptrguard1.c: New file.
22338 * elf/tst-ptrguard1-static.c: New file.
22339 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22340 * sysdeps/i386/stackguard-macros.h: Likewise.
22341 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22342 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22343 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22344 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22345 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22346 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22348 2013-09-23 Hector Marco <hecmargi@upv.es>
22349 Ismael Ripoll <iripoll@disca.upv.es>
22350 Carlos O'Donell <carlos@redhat.com>
22353 * sysdeps/generic/stackguard-macros.h: Define
22354 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22355 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22356 Define __pointer_chk_guard_local.
22357 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22358 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22360 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22363 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22365 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22367 * include/string.h (__ffs): Declare as hidden.
22368 * string/ffs.c (__ffs): Define as hidden.
22369 * sysdeps/i386/ffs.c (__ffs): Likewise.
22370 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22371 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22372 * sysdeps/s390/ffs.c (__ffs): Likewise.
22373 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22375 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22377 * NEWS: Mention malloc probes.
22379 * malloc/arena.c (new_heap): New memory_heap_new probe.
22380 (grow_heap): New memory_heap_more probe.
22381 (shrink_heap): New memory_heap_less probe.
22382 (heap_trim): New memory_heap_free probe.
22383 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22384 (systrim): New memory_sbrk_less probe.
22385 * manual/probes.texi: Document them.
22387 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22388 * manual/probes.texi: Document it.
22390 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22391 (__libc_realloc): Add memory_realloc_retry probe.
22392 (__libc_memalign): Add memory_memalign_retry probe.
22393 (__libc_valloc): Add memory_valloc_retry probe.
22394 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22395 (__libc_calloc): Add memory_calloc_retry probe.
22396 * manual/probes.texi: Document them.
22398 * malloc/arena.c (get_free_list): Add probe
22399 memory_arena_reuse_free_list.
22400 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22401 and memory_arena_reuse.
22402 (arena_get2) [!PER_THREAD]: Likewise.
22403 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22404 memory_arena_reuse_realloc.
22405 * manual/probes.texi: Document them.
22407 * malloc/malloc.c (__libc_free): Add
22408 memory_mallopt_free_dyn_thresholds probe.
22409 (__libc_mallopt): Add multiple memory_mallopt probes.
22410 * manual/probes.texi: Document them.
22412 * malloc/malloc.c: Include stap-probe.h.
22413 (__libc_mallopt): Add memory_mallopt probe.
22414 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22415 * manual/probes.texi: New.
22416 * manual/Makefile (chapters): Add probes.
22417 * manual/threads.texi: Set next node.
22419 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22421 [BZ #15963, #13985]
22422 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22423 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22424 Add `Chinese' to `nan' entry name.
22426 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22428 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22429 (POLYNOMIAL): Likewise.
22430 (TAYLOR_SINCOS): Likewise.
22431 (TAYLOR_SLOW): Likewise.
22432 (__sin): Use TAYLOR_SINCOS.
22434 (slow): Use TAYLOR_SLOW.
22436 (bsloww): Likewise.
22437 (csloww): Likewise.
22439 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22441 * stdlib/strtod_l.c: Fix buffer overrun.
22443 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22445 * benchtests/Makefile (bench): Add sincos.
22446 * benchtests/bench-sincos.c: New file.
22448 * math/libm-test.inc (cos_test_data): New test inputs.
22449 (sin_test_data): Likewise.
22451 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22457 (sloww1): Likewise.
22458 (sloww2): Likewise.
22459 (bsloww1): Likewise.
22460 (bsloww2): Likewise.
22461 (cslow2): Likewise.
22462 (csloww1): Likewise.
22463 (csloww2): Likewise.
22465 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22470 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22474 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22476 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22477 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22478 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22479 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22480 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22481 * elf/cache.c (print_entry): Handle the new cache flags.
22483 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22484 Aldy Hernandez <aldyh@redhat.com>
22486 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22487 Change condition to [_SOFT_FLOAT].
22488 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22489 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22491 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22492 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22493 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22494 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22495 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22496 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22497 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22498 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22499 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22500 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22501 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22502 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22503 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22506 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22508 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22509 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22510 (__longjmp): Use LOAD_GP to load saved GPRs.
22511 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22512 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22513 (__sigsetjmp): Use SAVE_GP to save GPRs.
22515 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22516 Do not append -msoft-float.
22517 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22519 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22521 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22523 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22526 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22527 (_FPU_GETCW): Use initial "__" on variable and field names but not
22528 on macro parameter name.
22529 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22530 parentheses around reference to macro parameter.
22532 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22534 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22536 (ctype_startup): Use uint32_t in cast and sizeof for
22539 2013-09-11 Jia Liu <proljc@gmail.com>
22541 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22543 [__FreeBSD__]: Likewise.
22545 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22547 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22548 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22549 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22550 (strchr): Remove __strchr_sse42 ifunc selection.
22551 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22552 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22554 2013-09-11 Will Newton <will.newton@linaro.org>
22556 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22557 parameter to RES. Remove hardcoded 1000 value.
22558 * benchtests/bench-skeleton.c (main): Pass RES parameter
22559 to TIMING_INIT and multiply result by 1000.
22561 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22565 2013-09-11 Andreas Schwab <schwab@suse.de>
22567 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22569 (O_TMPFILE) [__USE_GNU]: Define.
22570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22573 2013-09-11 Will Newton <will.newton@linaro.org>
22576 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22579 2013-09-11 Will Newton <will.newton@linaro.org>
22582 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22585 2013-09-11 Will Newton <will.newton@linaro.org>
22588 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22591 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22593 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22594 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22599 2013-09-10 Allan McRae <allan@archlinux.org>
22602 * manual/arith.texi (Parsing of Floats): Clarify
22606 * manual/install.texi (Running make install): Mention
22608 * INSTALL: Regenerated.
22610 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22612 * csu/init-first.c (_init): Remove the !SHARED condition around
22613 FPU control word initialization.
22614 * elf/dl-support.c (_dl_fpu_control): New variable.
22615 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22616 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22617 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22618 * math/test-fpucw-static.c: New file.
22619 * math/test-fpucw-ieee.c: New file.
22620 * math/test-fpucw-ieee-static.c: New file.
22621 * math/Makefile (tests): Add `test-fpucw-ieee' and
22623 (tests-static): New variable.
22624 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22626 [($(build-shared),yes)]
22627 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22629 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22632 2013-09-09 Allan McRae <allan@archlinux.org>
22635 * manual/string.texi (Collation Functions): Fix typo in
22637 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22640 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22643 * libio/memstream.c (open_memstream): Fix memory leak.
22644 * libio/wmemstream.c (open_wmemstream): Likewise.
22647 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22649 2013-09-09 Will Newton <will.newton@linaro.org>
22651 * malloc/Makefile: Add tst-realloc to tests.
22652 * malloc/tst-realloc.c: New file.
22654 2013-09-09 Allan McRae <allan@archlinux.org>
22657 * COPYING: Update from GNU website to fix FSF address.
22658 * COPYING.LIB: Likewise.
22660 2013-09-06 David S. Miller <davem@davemloft.net>
22662 * po/zh_TW.po: Update Chinese (traditional) translation from
22663 translation project.
22665 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22666 Joseph Myers <joseph@codesourcery.com>
22668 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22670 (obstack_chunk_alloc): New macro.
22671 (obstack_chunk_free): Likewise.
22672 (record_offset): New function.
22673 (init_locale_data): Likewise.
22674 (align_locale_data): Likewise.
22675 (add_locale_empty): Likewise.
22676 (add_locale_raw_data): Likewise.
22677 (add_locale_raw_obstack): Likewise.
22678 (add_locale_string): Likewise.
22679 (add_locale_wstring): Likewise.
22680 (add_locale_uint32): Likewise.
22681 (add_locale_uint32_array): Likewise.
22682 (add_locale_char): Likewise.
22683 (start_locale_structure): Likewise.
22684 (end_locale_structure): Likewise.
22685 (start_locale_prelude): Likewise.
22686 (end_locale_prelude): Likewise.
22687 (write_locale_data): Take locale_file structure rather than an
22689 * locale/programs/locfile.h: Include "obstack.h".
22690 (struct locale_file): Change to store locale file contents instead
22692 (init_locale_data): New prototype.
22693 (align_locale_data): Likewise.
22694 (add_locale_empty): Likewise.
22695 (add_locale_raw_data): Likewise.
22696 (add_locale_raw_obstack): Likewise.
22697 (add_locale_string): Likewise.
22698 (add_locale_wstring): Likewise.
22699 (add_locale_uint32): Likewise.
22700 (add_locale_uint32_array): Likewise.
22701 (add_locale_char): Likewise.
22702 (start_locale_structure): Likewise.
22703 (end_locale_structure): Likewise.
22704 (start_locale_prelude): Likewise.
22705 (end_locale_prelude): Likewise.
22706 (write_locale_data): Update prototype.
22707 * locale/programs/3level.h (struct TABLE): Remove result field.
22708 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22709 Use new locale_file interface.
22710 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22711 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22712 * locale/programs/ld-address.c (address_output): Use new
22713 locale_file interface.
22714 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22716 (collate_finish): Don't call collseq_table_finalize.
22717 (collate_output): Use new locale_file interface.
22718 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22720 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22721 (TABLE): Move defines earlier in file.
22722 (ELEMENT): Likewise.
22723 (DEFAULT): Likewise.
22724 (wctrans_table_add): Move macro and inline function earlier in
22726 (struct wctype_table): Move type earlier in file.
22727 (add_locale_wctype_table): New static prototype.
22728 (struct locale_ctype_t): Use logical types instead of struct iovec
22729 pointers for members.
22730 (ctype_output): Use new locale_file interface.
22731 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22732 new locale_file interface.
22733 (allocate_arrays): Update for use of new locale_file interface.
22734 * locale/programs/ld-identification.c (identification_output): Use
22735 new locale_file interface.
22736 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22737 * locale/programs/ld-messages.c (messages_output): Likewise.
22738 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22739 * locale/programs/ld-name.c (name_output): Likewise.
22740 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22741 * locale/programs/ld-paper.c (paper_output): Likewise.
22742 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22743 * locale/programs/ld-time.c (time_output): Likewise.
22745 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22747 * benchtests/Makefile: Add memrchr benchmark.
22748 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22749 benchmark as memrchr.
22750 * benchtests/bench-memrchr-ifunc.c: New file.
22751 * benchtests/bench-memrchr.c: New file.
22753 2013-09-06 Will Newton <will.newton@linaro.org>
22755 * benchtests/Makefile (string-bench): Add memcpy.
22757 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22758 Cong Wang <amwang@redhat.com>
22761 * sysdeps/unix/sysv/linux/bits/in.h
22762 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22763 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22764 before __USE_KERNEL_IPV6_DEFS uses.
22765 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22767 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22768 sockaddr_in6, or ipv6_mreq.
22770 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22772 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22773 memory access for final bytes in some large inputs.
22774 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22776 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22778 * string/test-memrchr.c: New file.
22779 * string/test-memrchr-ifunc.c: New file.
22780 * string/Makefile: Add new memrchr testcase.
22782 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22784 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22785 fanotify_init returns EPERM.
22787 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22789 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22791 (top level): Treat second token from macro or constant entries for
22792 allowed headers as allowed.
22793 * include/complex.h: Condition internal declarations on
22795 * include/fenv.h: Condition include of <stdbool.h> and internal
22796 declarations on [!_ISOMAC].
22798 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22801 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22803 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22805 * configure.in (--enable-versioning): Remove configure option.
22806 (libc_cv_asm_symver_directive): Remove configure test.
22807 (libc_cv_ld_version_script_option): Likewise.
22808 (VERSIONING): Remove variable and AC_SUBST.
22809 (DO_VERSIONING): Remove AC_DEFINE.
22810 * configure: Regenerated.
22811 * config.h.in (DO_VERSIONING): Remove macro.
22812 * Makerules [$(versioning) = yes]: Change conditionals to
22813 [$(build-shared) = yes].
22814 * config.make.in (versioning): Remove variable.
22815 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22816 [$(build-shared) = yes].
22817 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22818 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22819 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22820 [$(build-shared) = yes].
22821 * extra-lib.mk [$(versioning) = yes]: Likewise.
22822 * hurd/Makefile [$(versioning) = yes]: Likewise.
22823 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22825 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22827 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22828 [SHARED && !NO_HIDDEN].
22829 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22831 [SHARED && DO_VERSIONING]: Likewise..
22832 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22833 [$(build-shared) = yes].
22834 * manual/install.texi (--disable-versioning): Remove
22836 * INSTALL: Regenerated.
22837 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22839 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22840 [$(build-shared) = yes].
22841 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22842 * sysdeps/i386/i686/multiarch/strstr-c.c
22843 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22844 [SHARED && !NO_HIDDEN].
22845 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22846 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22847 * sysdeps/powerpc/powerpc32/dl-machine.c
22848 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22849 * sysdeps/powerpc/powerpc32/sysdep.h
22850 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22851 to [SHARED && PIC && !NO_HIDDEN].
22852 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22853 conditional to [SHARED].
22855 2013-09-04 Will Newton <will.newton@linaro.org>
22857 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22858 * benchtests/bench-string.h: Include bench-timing.h instead
22859 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22860 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22861 call to HP_TIMING_DIFF_INIT.
22862 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22863 instead of hp-timing.h macros.
22864 * benchtests/bench-memchr.c: Likewise.
22865 * benchtests/bench-memcmp.c: Likewise.
22866 * benchtests/bench-memcpy.c: Likewise.
22867 * benchtests/bench-memmem.c: Likewise.
22868 * benchtests/bench-memmove.c: Likewise.
22869 * benchtests/bench-memset.c: Likewise.
22870 * benchtests/bench-rawmemchr.c: Likewise.
22871 * benchtests/bench-strcasecmp.c: Likewise.
22872 * benchtests/bench-strcasestr.c: Likewise.
22873 * benchtests/bench-strcat.c: Likewise.
22874 * benchtests/bench-strchr.c: Likewise.
22875 * benchtests/bench-strcmp.c: Likewise.
22876 * benchtests/bench-strcpy.c: Likewise.
22877 * benchtests/bench-strcpy_chk.c: Likewise.
22878 * benchtests/bench-strlen.c: Likewise.
22879 * benchtests/bench-strncasecmp.c: Likewise.
22880 * benchtests/bench-strncat.c: Likewise.
22881 * benchtests/bench-strncmp.c: Likewise.
22882 * benchtests/bench-strncpy.c: Likewise.
22883 * benchtests/bench-strnlen.c: Likewise.
22884 * benchtests/bench-strpbrk.c: Likewise.
22885 * benchtests/bench-strrchr.c: Likewise.
22886 * benchtests/bench-strspn.c: Likewise.
22887 * benchtests/bench-strstr.c: Likewise.
22889 2013-09-04 Will Newton <will.newton@linaro.org>
22891 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22893 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22896 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22897 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22898 * math/libm-test.inc (lgamma_test_data): Add more tests.
22899 * sysdeps/i386/fpu/libm-test-ulps: Update.
22900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22902 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22904 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22905 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22908 Add strcmp-sse2-unaligned
22909 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22911 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22913 * Versions.def (libc): Add GLIBC_2.19.
22915 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22917 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22918 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22920 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22923 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22924 intermediate calculations in recurrence.
22925 (__ieee754_ynf): Likewise.
22926 * math/libm-test.inc (jn_test_data): Do not allow spurious
22927 underflow exception. Add more tests.
22928 (yn_test_data): Add more tests.
22929 * sysdeps/i386/fpu/libm-test-ulps: Update.
22930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22932 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22934 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22936 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22938 * csu/init-first.c: Fix then/than typos.
22939 * locale/programs/ld-collate.c: Likewise.
22940 * locale/programs/linereader.h: Likewise.
22941 * manual/charset.texi: Likewise.
22942 * manual/filesys.texi: Likewise.
22943 * manual/stdio.texi: Likewise.
22944 * manual/string.texi: Likewise.
22945 * stdlib/fmtmsg.c: Likewise.
22946 * sysdeps/i386/stpncpy.S: Likewise.
22947 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22948 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22949 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22950 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22952 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22954 * elf/dl-open.c: Fix typos.
22955 * iconvdata/gbbig5.c: Likewise.
22956 * iconvdata/iso-2022-jp.c: Likewise.
22957 * iconv/gconv_int.h: Likewise.
22958 * iconv/loop.c: Likewise.
22959 * nis/rpcsvc/nis.h: Likewise.
22960 * resolv/ns_name.c: Likewise.
22961 * stdio-common/vfscanf.c: Likewise.
22962 * streams/stropts.h: Likewise.
22963 * sunrpc/rpc_thread.c: Likewise.
22964 * sysdeps/i386/strpbrk.S: Likewise.
22965 * sysdeps/ieee754/k_standard.c: Likewise.
22966 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22967 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22968 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22969 * sysdeps/mach/hurd/profil.c: Likewise.
22970 * sysdeps/s390/dl-procinfo.h: Likewise.
22971 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22972 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22973 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22974 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22975 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22977 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22979 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22982 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22984 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22985 aix specific files.
22986 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22987 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22988 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22989 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22990 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22991 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22992 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22993 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22995 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22996 Roland McGrath <roland@hack.frob.com>
22998 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22999 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23001 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23003 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23004 __executable_start symbol instead of _start.
23006 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23008 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23009 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23011 * sysdeps/gnu/ldsodefs.h: ... this new file.
23013 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23014 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23015 instead of ELFOSABI_LINUX.
23017 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23018 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23019 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23020 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23022 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23023 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23024 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23026 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23027 (ibm_extended_long_double): Add ieee_nan member.
23028 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23029 (do_test): New function.
23031 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23033 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23034 functions, renamed from truncdfsf_test, trunctfsf_test,
23036 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23038 (do_test): Run all these.
23040 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23042 * argp/argp-help.c: Fix typos.
23043 * argp/argp-parse.c: Likewise.
23044 * debug/backtracesyms.c: Likewise.
23045 * elf/elf.h: Likewise.
23046 * malloc/malloc.c: Likewise.
23047 * nis/nis_print.c: Likewise.
23048 * resolv/res_comp.c: Likewise.
23049 * stdlib/stdlib.h: Likewise.
23050 * sunrpc/clnt_tcp.c: Likewise.
23051 * sunrpc/clnt_udp.c: Likewise.
23052 * sunrpc/clnt_unix.c: Likewise.
23053 * sysdeps/unix/bsd/ptsname.c: Likewise.
23054 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23055 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23062 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23064 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23066 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23069 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23072 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23073 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23074 ($(objpfx)bug-dl-leaf): New rule.
23075 ($(objpfx)bug-dl-leaf.so): Likewise.
23076 ($(objpfx)bug-dl-leaf.out): Likewise.
23077 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23078 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23079 * dlfcn/bug-dl-leaf.c: New test.
23080 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23081 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23082 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23083 (dlclose): Likewise.
23084 (dlmopen): Likewise.
23086 2013-08-27 Roland McGrath <roland@hack.frob.com>
23088 * include/netdb.h [!_ISOMAC]:
23089 Don't include <tls.h>.
23090 (h_errno, __libc_h_errno): Move declaration and macros out of
23093 * include/resolv.h [_RESOLV_H_]:
23094 Don't include <tls.h>.
23095 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23096 * resolv/res_libc.c: Don't include <tls.h>.
23097 (_res): Use __attribute__ ((nocommon)) in place of
23098 __attribute__ ((section (".bss"))).
23100 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23101 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23103 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23105 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23106 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23108 * resolv/res_mkquery.c: Include <sys/time.h>.
23110 * inet/ifreq.c: Moved to ...
23111 * sysdeps/unix/ifreq.c: ... here.
23112 * inet/ifreq.c: New file, true stub version.
23114 * socket/sa_len.c: New file.
23115 * socket/Makefile (aux): Add it.
23116 * sysdeps/unix/sysv/linux/Makefile
23117 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23118 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23119 and #include <socket/sa_len.c>.
23120 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23121 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23123 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23124 * bits/socket.h: ... here.
23126 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23127 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23128 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23130 2013-08-27 Andreas Schwab <schwab@suse.de>
23133 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23134 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23135 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23136 * string/test-strcasecmp.c (test_main): Run tests in several
23138 * string/test-strncasecmp.c (test_main): Likewise.
23140 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23141 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23142 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23143 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23144 (__strncasecmp_ssse3) [PIC]: Likewise.
23146 2013-08-26 Roland McGrath <roland@hack.frob.com>
23148 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23150 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23151 instead of explicitly declaring xdecrypt.
23152 * nis/nss_nis/nis-publickey.c: Likewise.
23154 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23157 * nscd/aicache.c: Include res_hconf.h.
23158 (addhstaiX): Initialize res_hconf.
23160 2013-08-26 Andreas Schwab <schwab@suse.de>
23162 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23163 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23165 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23167 * nscd/aicache.c (addhstaiX): Fix indentation.
23169 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23171 * configure.ac: Quote $build_pt_chown test.
23172 * configure: Regenerated.
23174 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23177 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23178 * math/s_cexpf.c (__cexpf): Likewise.
23179 * math/s_cexpl.c (__cexpl): Likewise.
23180 * math/libm-test.inc (cexp_test_data): Correct expected return
23181 value for NaN + i0. Add another test.
23183 2013-08-22 David S. Miller <davem@davemloft.net>
23185 * po/ca.po: Update Catalan translation from translation project.
23186 * po/uk.po: Add Ukrainian translations from translation project.
23188 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23191 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23192 is infinite, not alongside NaN test.
23193 * math/s_fdimf.c (__fdimf): Likewise.
23194 * math/s_fdiml.c (__fdiml): Likewise.
23195 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23196 errno is unchanged.
23198 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23200 * argp/argp-help.c: Fix typos.
23201 * crypt/speeds.c: Likewise.
23202 * csu/check_fds.c: Likewise.
23203 * elf/dl-load.c: Likewise.
23204 * elf/dl-open.c: Likewise.
23205 * elf/reldep3.c: Likewise.
23206 * elf/reldep.c: Likewise.
23207 * elf/sprof.c: Likewise.
23208 * iconv/iconv_charmap.c: Likewise.
23209 * iconv/skeleton.c: Likewise.
23210 * iconv/strtab.c: Likewise.
23211 * io/lockf64.c: Likewise.
23212 * libio/libioP.h: Likewise.
23213 * resolv/gai_notify.c: Likewise.
23214 * resolv/ns_name.c: Likewise.
23215 * resolv/ns_samedomain.c: Likewise.
23216 * resolv/res_send.c: Likewise.
23217 * stdlib/random.c: Likewise.
23218 * sunrpc/rpc/xdr.h: Likewise.
23219 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23220 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23221 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23222 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23224 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23225 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23226 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23227 * sysdeps/mach/hurd/check_fds.c: Likewise.
23228 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23229 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23231 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23232 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23233 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23234 * sysdeps/pthread/aio_notify.c: Likewise.
23235 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23236 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23237 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23238 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23239 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23241 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23243 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23244 version if bit_Slow_SSE4_2 is set.
23245 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23246 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23248 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23251 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23252 trampoline stack frame information.
23253 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23254 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23255 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23256 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23257 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23258 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23259 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23260 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23262 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23263 interrupting a syscall and set with option SA_SIGINFO.
23265 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23268 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23269 argument is infinite.
23270 * math/s_cprojf.c (__cprojf): Likewise.
23271 * math/s_cprojl.c (__cprojl): Likewise.
23272 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23273 * math/libm-test.inc (cproj_test_data): Add more tests.
23275 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23277 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23278 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23279 size. Use __ffs to determine corresponding shift.
23281 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23282 Roland McGrath <roland@hack.frob.com>
23284 * Makefile (INSTALL): Remove trailing blank lines from output of
23287 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23289 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23290 Align 32 bit compat elf_greg to 8 bytes.
23292 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23294 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23296 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23298 * string/strcoll_l.c (coll_seq): New structure.
23299 (get_next_seq_cached): New function.
23300 (get_next_seq): New function.
23301 (do_compare): New function.
23302 (STRCOLL): Use GNU style definition. Simplify implementation
23303 by using get_next_seq, get_next_seq_cached and do_compare.
23305 2013-08-16 Florian Weimer <fweimer@redhat.com>
23309 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23311 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23313 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23314 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23315 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23317 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23318 GETDENTS_64BIT_ALIGNED.
23319 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23320 * manual/filesys.texi (Reading/Closing Directory): Document
23321 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23323 * manual/conf.texi (Limits for Files): Add portability note to
23324 NAME_MAX, PATH_MAX.
23325 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23327 2013-08-13 Andreas Schwab <schwab@suse.de>
23330 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23332 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23333 LDBL_MAX_EXP >= 16384]: Add tests for it.
23335 2013-08-12 David S. Miller <davem@davemloft.net>
23337 * version.h (RELEASE): Set to "development".
23338 (VERSION): Set to "2.18.90".
23339 * NEWS: Add 2.19 section.
23341 2013-08-03 David S. Miller <davem@davemloft.net>
23343 * po/ko.po: Update Korean translation from translation project.
23345 2013-08-01 David S. Miller <davem@davemloft.net>
23347 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23348 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23351 2013-07-30 David S. Miller <davem@davemloft.net>
23353 * po/fr.po: Update French translation from translation project.
23355 2013-07-28 David S. Miller <davem@davemloft.net>
23357 * po/cs.po: Update Czech translation from translation project.
23359 * po/sv.po: Update Swedish translation from translation project.
23361 2013-07-27 David S. Miller <davem@davemloft.net>
23363 * po/eo.po: Update Esperanto translation from translation project.
23365 * po/vi.po: Update Vietnamese translation from translation project.
23367 * po/de.po: Update German translation from translation project.
23369 2013-07-26 David S. Miller <davem@davemloft.net>
23371 * po/bg.po: Update Bulgarian translation from translation project.
23373 * po/nl.po: Update Dutch translation from translation project.
23374 * po/pl.po: Update Polish translation from translation project.
23375 * po/ru.po: Update Russian translation from translation project.
23377 2013-07-24 David S. Miller <davem@davemloft.net>
23379 * po/libc.pot: Update.
23381 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23383 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23384 variable page size.
23385 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23386 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23387 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23389 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23391 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23393 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23394 Andreas Schwab <schwab@suse.de>
23395 Roland McGrath <roland@hack.frob.com>
23396 Joseph Myers <joseph@codesourcery.com>
23397 Carlos O'Donell <carlos@redhat.com>
23400 * config.h.in: Define HAVE_PT_CHOWN.
23401 * config.make.in (build-pt-chown): New variable.
23402 * configure.in (--enable-pt_chown): New configure option.
23403 * configure: Regenerate.
23404 * login/Makefile: Include Makeconfig. Build pt_chown only if
23405 build-pt-chown is enabled.
23406 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23407 pt_chown to fix pty ownership.
23408 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23410 * manual/install.texi (Configuring and compiling): Mention
23411 --enable-pt_chown. Add @findex for grantpt.
23412 * INSTALL: Regenerate.
23414 2013-07-20 David S. Miller <davem@davemloft.net>
23416 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23417 difference between 32-bit and 64-bit.
23419 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23422 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23423 Avoid system header dependency with -ffreestanding.
23424 ($(objpfx)bits/syscall%d): Likewise.
23426 2013-07-13 David S. Miller <davem@davemloft.net>
23428 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23429 underflows from atanl/atan2l due to bug 15319.
23430 (casinh_test_data): Likewise.
23432 2013-07-07 David S. Miller <davem@davemloft.net>
23434 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23436 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23438 * sysdeps/i386/fpu/libm-test-ulps: Update.
23439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23441 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23443 * configure.in (--enable-lock-elision): Fix message text.
23444 * INSTALL: Regenerate.
23445 * configure: Regenerate.
23447 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23451 2013-07-03 Andreas Jaeger <aj@suse.de>
23453 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23455 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23456 (ptrace_peeksiginfo_args): Add.
23457 (__ptrace_peeksiginfo_flags): Add.
23458 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23459 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23462 2013-07-03 Allan McRae <allan@archlinux.org>
23464 * sysdeps/i386/fpu/libm-test-ulps: Update.
23466 2013-07-02 David S. Miller <davem@davemloft.net>
23468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23470 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23474 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23476 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23479 2013-07-02 Andi Kleen <ak@linux.intel.com>
23481 * config.h.in (ENABLE_LOCK_ELISION): Add.
23482 * configure.in (--enable-lock-elision): Add option.
23483 * manual/install.texi: Document --enable lock elision.
23484 * configure: Regenerate
23485 * INSTALL: Regenerate.
23487 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23489 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23490 SSE4.2 strcasecmp for libc.a.
23491 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23493 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23496 * soft-fp/op-common.h (_FP_FMA): New macro.
23497 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23498 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23499 (_FP_MUL_MEAT_1_imm): ... here.
23500 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23501 (_FP_MUL_MEAT_1_wide): ... here.
23502 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23503 (_FP_MUL_MEAT_1_hard): ... here.
23504 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23505 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23506 (_FP_MUL_MEAT_2_wide): ... here.
23507 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23508 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23509 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23510 (_FP_MUL_MEAT_2_gmp): ... here.
23511 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23512 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23513 (_FP_MUL_MEAT_4_wide): ... here.
23514 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23515 (_FP_MUL_MEAT_4_gmp): ... here.
23516 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23517 (_FP_WFRACBITS_DW_S): Likewise.
23518 (_FP_WFRACXBITS_DW_S): Likewise.
23519 (_FP_HIGHBIT_DW_S): Likewise.
23520 (FP_FMA_S): Likewise.
23521 (_FP_FRAC_HIGH_DW_S): Likewise.
23522 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23523 (_FP_WFRACBITS_DW_D): Likewise.
23524 (_FP_WFRACXBITS_DW_D): Likewise.
23525 (_FP_HIGHBIT_DW_D): Likewise.
23526 (FP_FMA_D): Likewise.
23527 (_FP_FRAC_HIGH_DW_D): Likewise.
23528 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23529 (_FP_WFRACBITS_DW_E): Likewise.
23530 (_FP_WFRACXBITS_DW_E): Likewise.
23531 (_FP_HIGHBIT_DW_E): Likewise.
23532 (FP_FMA_E): Likewise.
23533 (_FP_FRAC_HIGH_DW_E): Likewise.
23534 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23535 (_FP_WFRACBITS_DW_Q): Likewise.
23536 (_FP_WFRACXBITS_DW_Q): Likewise.
23537 (_FP_HIGHBIT_DW_Q): Likewise.
23538 (FP_FMA_Q): Likewise.
23539 (_FP_FRAC_HIGH_DW_Q): Likewise.
23540 * soft-fp/fmasf4.c: New file.
23541 * soft-fp/fmadf4.c: Likewise.
23542 * soft-fp/fmatf4.c: Likewise.
23544 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23547 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23549 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23551 (index_Slow_SSE4_2): Likewise.
23552 (index_Prefer_PMINUB_for_stringop): Likewise.
23553 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23554 bit_Slow_SSE4_2 is set.
23555 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23556 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23558 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23560 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23561 rtld_global._dl_hwcap2.
23562 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23564 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23565 POWER8 feature descriptions defined in _dl_hwcap2.
23566 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23567 string handling for POWER8 feature bits.
23568 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23569 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23570 _dl_powerpc_cap_flags.
23571 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23572 * sysdeps/powerpc/rtld-global-offsets.sym
23573 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23574 _dl_hwcap2 in the rtld_global_ro structure.
23576 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23578 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23579 hardware capabilities in support of AT_HWCAP2.
23580 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23581 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23583 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23584 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23585 explicitly the unknown a_type display mechanism is used.
23586 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23587 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23589 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23590 to macro prototype for AT_HWCAP2 support.
23591 * sysdeps/i386/dl-procinfo.h: Likewise.
23592 * sysdeps/s390/dl-procinfo.h: Likewise.
23593 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23594 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23595 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23596 return -1 for unknown a_type display fallback.
23597 * sysdeps/sparc/dl-procinfo.h: Likewise.
23598 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23599 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23601 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23603 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23604 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23606 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23609 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23610 mprotect making __stack_prot writable.
23612 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23613 Joseph Myers <joseph@codesourcery.com>
23615 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23616 as being properly aligned.
23618 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23620 * dlfcn/modstatic5.c: New file.
23621 * dlfcn/tststatic5.c: New file.
23622 * dlfcn/Makefile (tests): Add tststatic5.
23623 (tests-static): Likewise.
23624 (modules-names): Add modstatic5.
23625 (tststatic5-ENV): New variable.
23626 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23629 * elf/dl-support.c (_dl_main_map): New variable.
23630 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23631 (_dl_nns, _dl_load_adds): Set to 1.
23632 (_dl_initial_searchlist): Refer to _dl_main_map.
23633 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23634 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23635 call to _dl_get_origin.
23636 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23638 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23639 * dlfcn/modstatic3.c: New file.
23640 * dlfcn/tststatic3.c: New file.
23641 * dlfcn/tststatic4.c: New file.
23642 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23643 (tests-static): Likewise.
23644 (modules-names): Add modstatic3.
23645 (tststatic3-ENV, tststatic4-ENV): New variables.
23646 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23647 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23649 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23651 * configure.in (CC): Require GCC version 4.4 or later.
23652 * configure: Regenerated.
23653 * manual/install.texi (Tools for Compilation): Update GCC version
23655 * INSTALL: Regenerated.
23657 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23660 * string/test-memcmp.c (check2): New.
23661 (main): Call check2.
23663 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23665 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23668 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23670 (dl_open_worker) [!SHARED]: ... here.
23672 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23674 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23676 2013-06-25 Richard Henderson <rth@redhat.com>
23678 * locale/programs/locarchive.c: Include <libc-internal.h>
23680 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23682 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23683 trailing whitespace removed.
23685 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23688 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23689 * locale/programs/locarchive.c: Include libc-mmap.h.
23690 (prepare_address_space): Take two new outputs (the mmap base and len).
23691 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23693 (create_archive): Declare new mmap base and len values for
23694 prepare_address_space, and store the result in ah.
23695 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23696 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23697 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23698 Declare new mmap base and len values for
23699 prepare_address_space, and store the result in new_ah.
23700 (open_archive): Declare new mmap base and len values for
23701 prepare_address_space, and store the result in ah.
23702 (close_archive): If ah->mmap_base is not NULL, use that and
23703 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23704 * sysdeps/generic/libc-mmap.h: New file.
23706 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23708 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23709 (ALIGN_UP): Likewise.
23710 (PTR_ALIGN_DOWN): Likewise.
23711 (PTR_ALIGN_UP): Likewise.
23713 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23715 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23716 entry mapped to PPC_PLATFORM_POWER8.
23717 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23719 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23720 (_dl_string_platform): Add case for exporting platform position for
23722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23723 search path to sysdeps/powerpc/powerpc32/power8 directory.
23724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23725 search path to sysdeps/powerpc/powerpc64/power8 directory.
23726 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23727 power7 directories.
23728 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23729 power7 directories.
23731 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23733 * INSTALL: Regenerate.
23735 * nscd/connections.c (nscd_init): Fix comment.
23737 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23739 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23742 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23743 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23745 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23747 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23749 (DL_DST_REQ_STATIC): Remove macro.
23751 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23754 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23755 with a shift of 0 bits.
23757 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23759 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23762 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23765 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23767 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23769 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23770 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23771 accepts -fno-tree-loop-distribute-patterns.
23772 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23773 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23775 * string/memset.c (memset): Likewise.
23776 * string/test-memmove.c (simple_memmove): Disable loop transformation
23778 * string/test-memset.c (simple_memset): Likewise.
23779 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23780 * benchtests/bench-memset.c (simple_memset): Likewise.
23781 * configure: Regenerated.
23783 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23785 * math/test-misc.c (main): Ignore fesetround failure when failures
23786 of subsequent rounding tests would be ignored.
23789 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23790 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23791 * math/fegetenv.c (__fegetenv): Return 0.
23792 * math/fegetexcept.c (fegetexcept): Return 0.
23793 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23795 * math/feholdexcpt.c (feholdexcept): Return 0.
23796 * math/fesetenv.c (__fesetenv): Return 0.
23797 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23798 argument FE_TONEAREST.
23799 * math/feupdateenv.c (__feupdateenv): Return 0.
23800 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23802 2013-06-18 Roland McGrath <roland@hack.frob.com>
23804 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23805 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23806 ($(objpfx)rtld-%.os rules): Use them.
23808 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23810 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23813 2013-06-17 Roland McGrath <roland@hack.frob.com>
23815 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23816 length of target pattern, then descending length of dependency pattern.
23817 * configure.in (AWK): Require gawk 3.1.2 or newer.
23818 * manual/install.texi (Tools for Compilation): Say that we do.
23819 * configure: Regenerated.
23821 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23822 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23823 * scripts/sysd-rules.awk: ... this new script.
23824 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23825 than a glob-style pattern.
23827 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23829 * math/test-misc.c (main): Do not treat incorrectly rounded
23830 conversions as failure unless ROUNDING_TESTS passes.
23832 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23835 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23836 restore exception state around main square root computation, then
23837 check for inexactness explicitly.
23839 * math/libm-test.inc (fma_test_data): Add another test.
23841 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23843 * manual/threads.texi (Non-POSIX Extensions): New document
23844 node. Document pthread_getattr_default_np and
23845 pthread_setattr_default_np.
23847 * Versions.def (libpthread): Add GLIBC_2.18.
23848 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23857 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23859 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23868 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23870 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23871 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23873 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23874 H.J. Lu <hjl.tools@gmail.com>
23877 * sysdeps/x86_64/rtld-memset.c: Remove file.
23878 * sysdeps/x86_64/rtld-memset.S: New file.
23880 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23882 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23883 (test_in_one_mode): Take arguments for whether the rounding mode
23884 is supported for each floating-point type.
23885 (do_test): Pass new arguments to test_in_one_mode using
23888 2013-06-13 Roland McGrath <roland@hack.frob.com>
23890 * posix/tst-waitid.c (do_test): Distinguish different instances of
23891 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23892 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23893 before entering the kernel for waitpid.
23895 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23897 * NEWS: Fix note on clock function precision. Text by Roland
23900 2013-06-13 Roland McGrath <roland@hack.frob.com>
23902 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23903 it into place only when and if the sanity check passes.
23905 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23907 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23908 output for whether conversion result is exact. Take argument
23909 indicating whether type is IBM long double.
23910 (round_for_all): Change need_exact field to ibm_ld.
23911 * stdlib/tst-strtod-round.c (struct exactness): New type.
23912 (struct test): Change bool ld_ok field to struct exactness exact.
23913 (TEST): Update all definitions for change to field.
23914 (tests): Regenerate array contents.
23915 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23916 field value. Check for IBM long double here.
23917 (do_test): Update calls to test_in_one_mode.
23919 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23922 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23923 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23925 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23928 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23929 generated by the compiler on loop optimizations.
23930 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23931 general definitions.
23933 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23935 * math/bug-nextafter.c: Include <math-tests.h>.
23936 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23938 * math/bug-nexttoward.c: Include <math-tests.h>.
23939 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23941 * math/test-misc.c: Include <math-tests.h>.
23942 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23945 2013-06-12 Andreas Jaeger <aj@suse.de>
23947 * po/ia.po: Update Interlingua translation from translation
23950 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23952 * include/fenv.h: Include stdbool.h.
23953 (struct rm_ctx): New structure.
23954 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23956 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23957 (SET_RESTORE_ROUNDF): Likewise.
23958 (SET_RESTORE_ROUNDL): Likewise.
23959 (SET_RESTORE_ROUND_NOEX): Likewise.
23960 (SET_RESTORE_ROUND_NOEXF): Likewise.
23961 (SET_RESTORE_ROUND_NOEXL): Likewise.
23962 (SET_RESTORE_ROUND_53BIT): Likewise.
23963 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23964 (libc_feresetround_noexf_ctx): Likewise.
23965 (libc_feresetround_noexl_ctx): Likewise.
23966 (libc_feholdsetround_53bit_ctx): Likewise.
23967 (libc_feresetround_53bit_ctx): Likewise.
23968 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23969 (libc_feholdexcept_setround_sse_ctx): New function.
23970 (libc_fesetenv_sse_ctx): Likewise.
23971 (libc_feupdateenv_sse_ctx): Likewise.
23972 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23973 (libc_feholdexcept_setround_387_ctx): Likewise.
23974 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23975 (libc_feholdsetround_387_prec_ctx): Likewise.
23976 (libc_feholdsetround_387_ctx): Likewise.
23977 (libc_feholdsetround_387_53bit_ctx): Likewise.
23978 (libc_feholdsetround_sse_ctx): Likewise.
23979 (libc_feresetround_sse_ctx): Likewise.
23980 (libc_feresetround_387_ctx): Likewise.
23981 (libc_feupdateenv_387_ctx): Likewise.
23982 (libc_feholdexcept_setroundf_ctx): Define macro.
23983 (libc_fesetenvf_ctx): Likewise.
23984 (libc_feupdateenvf_ctx): Likewise.
23985 (libc_feholdsetroundf_ctx): Likewise.
23986 (libc_feresetroundf_ctx): Likewise.
23987 (libc_feholdexcept_setround_ctx): Likewise.
23988 (libc_fesetenv_ctx): Likewise.
23989 (libc_feupdateenv_ctx): Likewise.
23990 (libc_feholdsetround_ctx): Likewise.
23991 (libc_feresetround_ctx): Likewise.
23992 (libc_feholdexcept_setroundl_ctx): Likewise.
23993 (libc_feupdateenvl_ctx): Likewise.
23994 (libc_feholdsetroundl_ctx): Likewise.
23995 (libc_feresetroundl_ctx): Likewise.
23996 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23997 (libc_feresetround_53bit_ctx): Likewise.
23999 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24001 * locale/iso-639.def: Convert to UTF-8.
24003 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24005 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24006 (EXCEPTION_TESTS_double): Likewise.
24007 (EXCEPTION_TESTS_long_double): Likewise.
24008 (EXCEPTION_TESTS): Likewise.
24009 * math/libm-test.inc (test_exceptions): Only test exceptions if
24010 EXCEPTION_TESTS (FLOAT).
24012 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24014 * benchtests/Makefile (string-bench): Add strcpy_chk and
24016 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24017 * benchtests/bench-stpcpy_chk.c: New file.
24018 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24019 * benchtests/bench-strcpy_chk.c: New file.
24020 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24022 (do_test): Likewise.
24024 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24026 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24027 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24028 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24029 with tabs where appropriate.
24030 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24032 [PPC_PLATFORM_PPC440]: Likewise.
24033 [PPC_PLATFORM_PPC464]: Likewise.
24034 [PPC_PLATFORM_PPC476]: Likewise.
24035 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24036 ppc464, and ppc476 platform strings merging from ports/
24039 2013-06-11 Andreas Schwab <schwab@suse.de>
24042 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24043 (from_ucs4_idx): Regenerate.
24044 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24045 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24046 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24047 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24048 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24049 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24050 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24051 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24052 from FROM_LOOP and TO_LOOP specific macros.
24053 (BODY): Handle combining characters.
24054 * iconvdata/BIG5HKSCS.irreversible: Update.
24055 * iconvdata/BIG5HKSCS.precomposed: New file.
24056 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24058 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24060 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24062 * include/sys/time.h: Fix indentation and add copyright header.
24064 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24065 (do_test): Likewise.
24066 * string/test-memchr.c (do_one_test): Likewise.
24067 (do_test): Likewise.
24068 * string/test-memcmp.c (do_one_test): Likewise.
24069 (do_test): Likewise.
24070 * string/test-memcpy.c (do_one_test): Likewise.
24071 (do_test): Likewise.
24072 * string/test-memmem.c (do_one_test): Likewise.
24073 (do_test): Likewise.
24074 (do_random_tests): Likewise.
24075 * string/test-memmove.c (do_one_test): Likewise.
24076 (do_test): Likewise.
24077 * string/test-memset.c (do_one_test): Likewise.
24078 (do_test): Likewise.
24079 * string/test-rawmemchr.c (do_one_test): Likewise.
24080 (do_test): Likewise.
24081 * string/test-strcasecmp.c (do_one_test): Likewise.
24082 (do_test): Likewise.
24083 * string/test-strcasestr.c (do_one_test): Likewise.
24084 (do_test): Likewise.
24085 * string/test-strcat.c (do_one_test): Likewise.
24086 (do_test): Likewise.
24087 * string/test-strchr.c (do_one_test): Likewise.
24088 (do_test): Likewise.
24089 * string/test-strcmp.c (do_one_test): Likewise.
24090 (do_test): Likewise.
24091 * string/test-strcpy.c (do_one_test): Likewise.
24092 (do_test): Likewise.
24093 * string/test-string.h: Likewise.
24094 (test_init): Likewise.
24095 * string/test-strlen.c (do_one_test): Likewise.
24096 (do_test): Likewise.
24097 * string/test-strncasecmp.c (do_one_test): Likewise.
24098 (do_test): Likewise.
24099 * string/test-strncat.c (do_one_test): Likewise.
24100 (do_test): Likewise.
24101 * string/test-strncmp.c (do_one_test): Likewise.
24102 (do_test_limit): Likewise.
24103 (do_test): Likewise.
24104 * string/test-strncpy.c (do_one_test): Likewise.
24105 (do_test): Likewise.
24106 * string/test-strnlen.c (do_one_test): Likewise.
24107 (do_test): Likewise.
24108 * string/test-strpbrk.c (do_one_test): Likewise.
24109 (do_test): Likewise.
24110 * string/test-strrchr.c (do_one_test): Likewise.
24111 (do_test): Likewise.
24112 * string/test-strspn.c (do_one_test): Likewise.
24113 (do_test): Likewise.
24114 * string/test-strstr.c (do_one_test): Likewise.
24115 (do_test): Likewise.
24117 * benchtests/Makefile (string-bench): Add string benchmarks.
24118 * benchtests/bench-bcopy-ifunc.c: New file.
24119 * benchtests/bench-bcopy.c: New file.
24120 * benchtests/bench-bzero-ifunc.c: New file.
24121 * benchtests/bench-bzero.c: New file.
24122 * benchtests/bench-memccpy-ifunc.c: New file.
24123 * benchtests/bench-memccpy.c: New file.
24124 * benchtests/bench-memchr-ifunc.c: New file.
24125 * benchtests/bench-memchr.c: New file.
24126 * benchtests/bench-memcmp-ifunc.c: New file.
24127 * benchtests/bench-memcmp.c: New file.
24128 * benchtests/bench-memmem-ifunc.c: New file.
24129 * benchtests/bench-memmem.c: New file.
24130 * benchtests/bench-memmove-ifunc.c: New file.
24131 * benchtests/bench-memmove.c: New file.
24132 * benchtests/bench-mempcpy-ifunc.c: New file.
24133 * benchtests/bench-mempcpy.c: New file.
24134 * benchtests/bench-memset-ifunc.c: New file.
24135 * benchtests/bench-memset.c: New file.
24136 * benchtests/bench-rawmemchr-ifunc.c: New file.
24137 * benchtests/bench-rawmemchr.c: New file.
24138 * benchtests/bench-stpcpy-ifunc.c: New file.
24139 * benchtests/bench-stpcpy.c: New file.
24140 * benchtests/bench-stpncpy-ifunc.c: New file.
24141 * benchtests/bench-stpncpy.c: New file.
24142 * benchtests/bench-strcasecmp-ifunc.c: New file.
24143 * benchtests/bench-strcasecmp.c: New file.
24144 * benchtests/bench-strcasestr-ifunc.c: New file.
24145 * benchtests/bench-strcasestr.c: New file.
24146 * benchtests/bench-strcat-ifunc.c: New file.
24147 * benchtests/bench-strcat.c: New file.
24148 * benchtests/bench-strchr-ifunc.c: New file.
24149 * benchtests/bench-strchr.c: New file.
24150 * benchtests/bench-strchrnul-ifunc.c: New file.
24151 * benchtests/bench-strchrnul.c: New file.
24152 * benchtests/bench-strcmp-ifunc.c: New file.
24153 * benchtests/bench-strcmp.c: New file.
24154 * benchtests/bench-strcpy-ifunc.c: New file.
24155 * benchtests/bench-strcpy.c: New file.
24156 * benchtests/bench-strcspn-ifunc.c: New file.
24157 * benchtests/bench-strcspn.c: New file.
24158 * benchtests/bench-strlen-ifunc.c: New file.
24159 * benchtests/bench-strlen.c: New file.
24160 * benchtests/bench-strncasecmp-ifunc.c: New file.
24161 * benchtests/bench-strncasecmp.c: New file.
24162 * benchtests/bench-strncat-ifunc.c: New file.
24163 * benchtests/bench-strncat.c: New file.
24164 * benchtests/bench-strncmp-ifunc.c: New file.
24165 * benchtests/bench-strncmp.c: New file.
24166 * benchtests/bench-strncpy-ifunc.c: New file.
24167 * benchtests/bench-strncpy.c: New file.
24168 * benchtests/bench-strnlen-ifunc.c: New file.
24169 * benchtests/bench-strnlen.c: New file.
24170 * benchtests/bench-strpbrk-ifunc.c: New file.
24171 * benchtests/bench-strpbrk.c: New file.
24172 * benchtests/bench-strrchr-ifunc.c: New file.
24173 * benchtests/bench-strrchr.c: New file.
24174 * benchtests/bench-strspn-ifunc.c: New file.
24175 * benchtests/bench-strspn.c: New file.
24176 * benchtests/bench-strstr-ifunc.c: New file.
24177 * benchtests/bench-strstr.c: New file.
24179 * benchtests/Makefile: Disable parallel execution of targets.
24180 (string-bench): Add memcpy.
24181 (benchset): New variable to store a list of benchmark sets.
24182 (bench-func): Renamed from bench.
24183 (bench-set): New target.
24184 (bench): Depend on bench-func and bench-set.
24185 * benchtests/README: Add section on benchmark sets.
24186 * benchtests/bench-memcpy-ifunc.c: New file.
24187 * benchtests/bench-memcpy.c: New file.
24188 * benchtests/bench-string.h: New file.
24190 2013-06-11 Andreas Schwab <schwab@suse.de>
24193 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24194 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24195 values in the triple.
24196 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24197 terminator in the group key.
24199 2013-06-11 Andreas Jaeger <aj@suse.de>
24201 * po/zh_TW.po: Update Chinese (traditional) translation from
24202 translation project.
24204 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24206 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24207 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24208 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24209 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24210 (clock_getcpuclockid): Likewise.
24211 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24212 Add weak_alias and libc_hidden_def.
24213 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24214 * rt/clock_gettime.c (clock_gettime): Rename to
24215 __clock_gettime. Add weak_alias and libc_hidden_def.
24216 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24217 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24218 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24219 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24220 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24222 * rt/clock_settime.c (clock_settime): Rename to
24223 __clock_settime. Add weak_alias and libc_hidden_def.
24224 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24226 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24228 * mach/err_boot.sub: Remove trailing whitespace.
24229 * mach/err_ipc.sub: Likewise.
24230 * mach/err_mach.sub: Likewise.
24232 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24233 (ROUNDING_TESTS_double): Likewise.
24234 (ROUNDING_TESTS_long_double): Likewise.
24235 (ROUNDING_TESTS): Likewise.
24236 * math/libm-test.inc: Include <math-tests.h>.
24237 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24238 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24239 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24240 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24242 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24244 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24247 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24249 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24250 otherwise empty TRANS lines.
24251 * sysdeps/gnu/errlist.c: Regenerated.
24253 * catgets/gencat.c (error_print): Use (void) in function
24255 * crypt/crypt_util.c (__init_des): Likewise.
24256 * crypt/speeds.c (Stop): Likewise.
24258 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24259 * inet/ruserpass.c (token): Likewise.
24260 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24261 * intl/localealias.c (extend_alias_table): Likewise.
24262 * intl/plural-exp.c (init_germanic_plural): Likewise.
24263 * libio/fcloseall.c (__fcloseall): Likewise.
24264 * libio/genops.c (_IO_flush_all): Likewise.
24265 (_IO_flush_all_linebuffered): Likewise.
24266 (_IO_cleanup): Likewise.
24267 (_IO_iter_begin): Likewise.
24268 (_IO_iter_end): Likewise.
24269 (_IO_list_lock): Likewise.
24270 (_IO_list_unlock): Likewise.
24271 (_IO_list_resetlock): Likewise.
24272 * libio/getchar.c (getchar): Likewise.
24273 * libio/getchar_u.c (getchar_unlocked): Likewise.
24274 * libio/getwchar.c (getwchar): Likewise.
24275 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24276 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24277 * login/getpt.c (__getpt): Likewise.
24278 * login/tst-utmp.c (main): Likewise.
24279 * malloc/hooks.c (__malloc_check_init): Likewise.
24280 * malloc/malloc.c (__malloc_stats): Likewise.
24281 * malloc/mtrace.c (tr_break): Likewise.
24282 (mtrace): Likewise.
24283 (muntrace): Likewise.
24284 * misc/fstab.c (endfsent): Likewise.
24285 * misc/getclktck.c (__getclktck): Likewise.
24286 * misc/getdtsz.c (__getdtablesize): Likewise.
24287 * misc/gethostid.c (gethostid): Likewise.
24288 * misc/getpagesize.c (__getpagesize): Likewise.
24289 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24290 (__get_nprocs): Likewise.
24291 (__get_phys_pages): Likewise.
24292 (__get_avphys_pages): Likewise.
24293 * misc/getttyent.c (getttyent): Likewise.
24294 (setttyent): Likewise.
24295 (endttyent): Likewise.
24296 * misc/getusershell.c (getusershell): Likewise.
24297 (endusershell): Likewise.
24298 (setusershell): Likewise.
24299 (initshells): Likewise.
24300 * misc/hsearch.c (__hdestroy): Likewise.
24301 * misc/sync.c (sync): Likewise.
24302 * misc/syslog.c (closelog_internal): Likewise.
24303 (closelog): Likewise.
24304 * misc/ttyslot.c (ttyslot): Likewise.
24305 * misc/vhangup.c (vhangup): Likewise.
24306 * posix/fork.c (__fork): Likewise.
24307 * posix/getegid.c (__getegid): Likewise.
24308 * posix/geteuid.c (__geteuid): Likewise.
24309 * posix/getgid.c (__getgid): Likewise.
24310 * posix/getpid.c (__getpid): Likewise.
24311 * posix/getppid.c (__getppid): Likewise.
24312 * posix/getuid.c (__getuid): Likewise.
24313 * posix/pause.c (pause): Likewise.
24314 * posix/setpgrp.c (setpgrp): Likewise.
24315 * posix/setsid.c (__setsid): Likewise.
24316 * posix/test-vfork.c (noop): Likewise.
24317 * resolv/gethnamaddr.c (_endhtent): Likewise.
24318 (_gethtent): Likewise.
24319 (ht_endhostent): Likewise.
24320 (gethostent): Likewise.
24321 (dns_service): Likewise.
24322 * stdlib/drand48.c (drand48): Likewise.
24323 * stdlib/lrand48.c (lrand48): Likewise.
24324 * stdlib/mrand48.c (mrand48): Likewise.
24325 * stdlib/rand.c (rand): Likewise.
24326 * stdlib/random.c (__random): Likewise.
24327 * stdlib/setenv.c (clearenv): Likewise.
24328 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24329 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24330 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24331 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24332 (__get_nprocs): Likewise.
24333 (__get_phys_pages): Likewise.
24334 (__get_avphys_pages): Likewise.
24335 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24336 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24337 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24338 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24339 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24340 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24341 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24342 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24343 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24344 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24345 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24346 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24347 * sysdeps/posix/clock.c (clock): Likewise.
24348 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24349 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24350 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24351 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24352 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24353 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24354 (__get_nprocs_conf): Likewise.
24355 (__get_phys_pages): Likewise.
24356 (__get_avphys_pages): Likewise.
24357 * time/clock.c (clock): Likewise.
24358 * time/tzset.c (__tzname_max): Likewise.
24360 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24362 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24363 (__bswap_32): Do not use "register".
24364 * crypt/crypt.c (_ufc_doit_r): Likewise.
24365 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24366 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24367 * gmon/gmon.c (__monstartup): Likewise.
24368 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24369 * hurd/hurdmalloc.c (more_memory): Likewise.
24370 (malloc): Likewise.
24372 (realloc): Likewise.
24373 (malloc_fork_prepare): Likewise.
24374 (malloc_fork_parent): Likewise.
24375 (malloc_fork_child): Likewise.
24376 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24377 (_svcauth_des): Likewise.
24378 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24379 * inet/inet_net.c (inet_network): Likewise.
24380 * inet/inet_netof.c (inet_netof): Likewise.
24381 * inet/rcmd.c (__validuser2_sa): Likewise.
24382 * io/fts.c (fts_open): Likewise.
24383 (fts_load): Likewise.
24384 (fts_close): Likewise.
24385 (fts_read): Likewise.
24386 (fts_children): Likewise.
24387 (fts_build): Likewise.
24388 (fts_stat): Likewise.
24389 (fts_sort): Likewise.
24390 (fts_alloc): Likewise.
24391 (fts_lfree): Likewise.
24392 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24393 (_IO_file_xsgetn): Likewise.
24394 (_IO_file_xsgetn_mmap): Likewise.
24395 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24396 (_IO_cookie_write): Likewise.
24397 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24398 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24399 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24400 * malloc/obstack.c (_obstack_begin): Likewise.
24401 (_obstack_begin_1): Likewise.
24402 (_obstack_newchunk): Likewise.
24403 (_obstack_allocated_p): Likewise.
24404 (obstack_free): Likewise.
24405 (_obstack_memory_used): Likewise.
24406 * misc/getttyent.c (getttynam): Likewise.
24407 (getttyent): Likewise.
24410 * misc/getusershell.c (initshells): Likewise.
24411 * misc/syslog.c (__vsyslog_chk): Likewise.
24412 * misc/ttyslot.c (ttyslot): Likewise.
24413 * nis/nis_hash.c (__nis_hash): Likewise.
24414 * posix/fnmatch_loop.c (FCT): Likewise.
24415 * posix/getconf.c (print_all): Likewise.
24417 * posix/getopt.c (exchange): Likewise.
24418 * posix/glob.c (globfree): Likewise.
24419 (prefix_array): Likewise.
24420 (__glob_pattern_type): Likewise.
24421 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24422 (NS_GET32): Likewise.
24423 (NS_PUT16): Likewise.
24424 (NS_PUT32): Likewise.
24425 * resolv/gethnamaddr.c (getanswer): Likewise.
24426 (gethostbyname2): Likewise.
24427 (gethostbyaddr): Likewise.
24428 (_gethtent): Likewise.
24429 (_gethtbyname2): Likewise.
24430 (_gethtbyaddr): Likewise.
24431 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24432 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24433 * resolv/res_init.c (__res_vinit): Likewise.
24434 (net_mask): Likewise.
24435 * resolv/res_mkquery.c (outchar): Likewise.
24437 * stdio-common/printf_fp.c (outchar): Likewise.
24439 * stdio-common/printf_fphex.c (outchar): Likewise.
24441 * stdio-common/printf_size.c (outchar): Likewise.
24443 * stdio-common/test_rdwr.c (main): Likewise.
24444 * stdio-common/tfformat.c (matches): Likewise.
24445 * stdio-common/vfprintf.c (outchar): Likewise.
24446 (printf_unknown): Likewise.
24447 (buffered_vfprintf): Likewise.
24448 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24449 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24450 (ReadFile): Likewise.
24451 * stdlib/qsort.c (SWAP): Likewise.
24452 (_quicksort): Likewise.
24453 * stdlib/setenv.c (__add_to_environ): Likewise.
24454 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24455 * stdlib/strtol_l.c (__strtol_l): Likewise.
24456 * stdlib/tst-strtod.c (main): Likewise.
24457 * stdlib/tst-strtol.c (main): Likewise.
24458 * stdlib/tst-strtoll.c (main): Likewise.
24459 * string/bits/string2.h (__strcmp_cc): Likewise.
24460 (__strcmp_cg): Likewise.
24461 (__strcspn_c1): Likewise.
24462 (__strcspn_c2): Likewise.
24463 (__strcspn_c3): Likewise.
24464 (__strspn_c1): Likewise.
24465 (__strspn_c2): Likewise.
24466 (__strspn_c3): Likewise.
24467 (__strsep_1c): Likewise.
24468 (__strsep_2c): Likewise.
24469 (__strsep_3c): Likewise.
24470 * string/memccpy.c (__memccpy): Likewise.
24471 * string/stpcpy.c (__stpcpy): Likewise.
24472 * string/strcmp.c (strcmp): Likewise.
24473 * string/strrchr.c (strrchr): Likewise.
24474 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24476 * sysdeps/mach/hurd/getcwd.c
24477 (_hurd_canonicalize_directory_name_internal): Likewise.
24478 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24479 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24480 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24481 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24482 Likewise, in both definitions.
24483 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24485 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24486 64] (__bswap_64): Likewise.
24487 * time/test_time.c (main): Likewise.
24488 * time/tzfile.c (__tzfile_read): Likewise.
24489 (__tzfile_compute): Likewise.
24490 * time/tzset.c (__tzset_parse_tz): Likewise.
24491 (tzset_internal): Likewise.
24492 (compute_change): Likewise.
24493 * wcsmbs/wcscat.c (__wcscat): Likewise.
24494 * wcsmbs/wcschr.c (wcschr): Likewise.
24495 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24496 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24497 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24498 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24499 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24500 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24501 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24502 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24503 * wcsmbs/wmemset.c (wmemset): Likewise.
24505 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24507 * scripts/config.guess: Update to version 2013-05-16.
24508 * scripts/config.sub: Update to version 2013-04-24.
24509 * scripts/install-sh: Update to version 2011-11-20.07.
24510 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24511 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24513 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24515 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24516 * elf/sln.c: Likewise.
24517 * hurd/hurd/ioctl.h: Likewise.
24518 * hurd/hurdmalloc.c: Likewise.
24519 * hurd/xattr.c: Likewise.
24520 * include/shlib-compat.h: Likewise.
24521 * inet/ruserpass.c: Likewise.
24522 * libio/iofgets_u.c: Likewise.
24523 * libio/iofgetws_u.c: Likewise.
24524 * locale/programs/ld-identification.c: Likewise.
24525 * locale/programs/ld-time.c: Likewise.
24526 * mach/msg-destroy.c: Likewise.
24527 * nss/nss_files/files-netgrp.c: Likewise.
24528 * resolv/res_data.c: Likewise.
24529 * soft-fp/op-1.h: Likewise.
24530 * soft-fp/op-2.h: Likewise.
24531 * soft-fp/op-4.h: Likewise.
24532 * soft-fp/op-common.h: Likewise.
24533 * stdio-common/printf_fphex.c: Likewise.
24534 * stdlib/strtod_l.c: Likewise.
24535 * sunrpc/rpc/clnt.h: Likewise.
24536 * sysdeps/generic/framestate.c: Likewise.
24537 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24538 * sysdeps/i386/bsd-setjmp.S: Likewise.
24539 * sysdeps/i386/__longjmp.S: Likewise.
24540 * sysdeps/i386/setjmp.S: Likewise.
24541 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24542 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24552 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24553 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24554 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24555 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24556 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24557 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24558 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24559 * sysdeps/ieee754/support.c: Likewise.
24560 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24561 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24562 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24563 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24564 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24565 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24566 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24567 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24568 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24569 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24570 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24571 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24572 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24573 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24574 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24575 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24576 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24579 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24581 * posix/transbug.c: Remove executable mode.
24583 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24585 * crypt/speeds.c: Remove trailing whitespace.
24586 * dlfcn/default.c: Likewise.
24587 * elf/ifuncdep2.c: Likewise.
24588 * elf/ifuncmain1.c: Likewise.
24589 * elf/ifuncmain1vis.c: Likewise.
24590 * elf/testobj.h: Likewise.
24591 * elf/tst-stackguard1.c: Likewise.
24592 * gmon/sys/gmon.h: Likewise.
24593 * hurd/hurdmsg.c: Likewise.
24594 * hurd/new-fd.c: Likewise.
24595 * hurd/ports-get.c: Likewise.
24596 * iconvdata/ibm1008_420.c: Likewise.
24597 * inet/tst-getni1.c: Likewise.
24598 * inet/tst-getni2.c: Likewise.
24599 * libio/ioungetc.c: Likewise.
24600 * libio/wfiledoalloc.c: Likewise.
24601 * manual/libm-err-tab.pl: Likewise.
24602 * math/w_dremf.c: Likewise.
24603 * misc/ftruncate.c: Likewise.
24604 * posix/bug-glob2.c: Likewise.
24605 * posix/tst-pcre.c: Likewise.
24606 * posix/wait4.c: Likewise.
24607 * resolv/README: Likewise.
24608 * resolv/res_debug.h: Likewise.
24609 * resolv/tst-inet_ntop.c: Likewise.
24610 * setjmp/bug269-setjmp.c: Likewise.
24611 * soft-fp/extended.h: Likewise.
24612 * soft-fp/op-1.h: Likewise.
24613 * soft-fp/op-2.h: Likewise.
24614 * soft-fp/op-4.h: Likewise.
24615 * soft-fp/op-8.h: Likewise.
24616 * soft-fp/testit.c: Likewise.
24617 * stdio-common/bug16.c: Likewise.
24618 * stdlib/random.c: Likewise.
24619 * sunrpc/rpcsvc/rquota.x: Likewise.
24620 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24621 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24622 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24623 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24624 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24625 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24626 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24627 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24628 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24629 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24630 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24631 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24632 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24633 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24634 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24635 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24636 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24637 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24638 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24639 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24640 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24641 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24642 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24643 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24644 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24645 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24646 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24648 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24649 * sysdeps/ieee754/s_lib_version.c: Likewise.
24650 * sysdeps/mach/hurd/check_fds.c: Likewise.
24651 * sysdeps/mach/hurd/getsockname.c: Likewise.
24652 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24653 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24654 * sysdeps/powerpc/bits/link.h: Likewise.
24655 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24656 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24657 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24658 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24659 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24660 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24661 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24662 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24663 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24664 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24665 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24666 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24667 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24668 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24669 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24670 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24671 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24672 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24673 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24674 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24675 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24676 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24677 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24678 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24679 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24680 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24681 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24682 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24683 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24684 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24685 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24686 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24687 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24688 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24689 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24690 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24691 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24692 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24693 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24694 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24695 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24696 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24697 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24698 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24699 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24700 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24701 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24702 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24703 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24704 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24705 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24706 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24707 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24708 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24709 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24710 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24711 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24712 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24713 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24714 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24715 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24716 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24717 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24718 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24719 * sysdeps/powerpc/sysdep.h: Likewise.
24720 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24721 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24722 * sysdeps/sh/dl-trampoline.S: Likewise.
24723 * sysdeps/sh/memset.S: Likewise.
24724 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24725 * sysdeps/sh/strlen.S: Likewise.
24726 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24727 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24728 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24729 * sysdeps/sparc/sparc32/rem.S: Likewise.
24730 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24731 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24732 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24733 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24734 * sysdeps/sparc/sparc32/urem.S: Likewise.
24735 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24736 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24737 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24738 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24739 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24740 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24741 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24742 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24743 * sysdeps/unix/bsd/times.c: Likewise.
24744 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24745 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24749 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24750 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24751 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24752 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24753 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24754 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24755 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24756 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24757 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24758 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24759 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24760 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24761 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24762 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24763 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24764 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24765 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24766 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24767 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24768 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24769 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24770 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24771 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24772 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24773 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24774 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24775 * sysdeps/x86_64/strcspn.S: Likewise.
24777 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24779 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24780 generated file. Regenerate properly from gen-translit.pl.
24781 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24782 locale/C-translit.h.
24784 2013-06-05 Andreas Schwab <schwab@suse.de>
24787 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24788 week as 6 instead of -1.
24789 * time/tst-strptime.c (day_tests): Add test case.
24791 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24793 * sysdeps/generic/math_private.h
24794 (libc_feholdexcept_setround_53bit): Replace with
24795 libc_feholdsetround_53bit.
24796 (libc_feupdateenv_53bit): Replace with
24797 libc_feresetround_53bit.
24798 (SET_RESTORE_ROUND_53BIT): Adjust.
24800 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24802 * string/test-strchrnul.c: Add copyright header.
24804 * posix/tst-getaddrinfo4.c: Increase test timeout.
24806 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24809 * math/libm-test.inc (MAX_EXP): Remove
24811 (ulp): Use MIN_EXP - MANT_DIG.
24812 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24814 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24816 * po/be.po: Revert last change.
24817 * po/zh_CN.po: Likewise.
24818 * po/header.pot: Likewise.
24820 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24822 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24823 link-libc-deps to empty as target-specific variable.
24824 * Makerules (link-libc-args): New variable.
24825 (libc-for-link): Likewise.
24826 (link-libc-deps): Likewise.
24827 (lib%.so): Depend on $(link-libc-deps). Link with
24829 (build-module): Link with $(link-libc-args).
24830 (build-module-asneeded): Likewise.
24831 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24833 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24834 target-specific variable.
24835 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24836 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24837 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24839 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24841 ($(objpfx)libpcprofile.so): Likewise.
24842 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24844 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24845 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24846 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24848 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24849 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24850 * login/Makefile ($(objpfx)libutil.so): Likewise.
24851 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24852 * math/Makefile ($(objpfx)libm.so): Likewise.
24853 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24854 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24855 variable instead of depending directly on libc.
24856 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24857 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24859 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24861 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24862 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24863 ($(objpfx)libanl.so): Likewise.
24864 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24866 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24868 * sysdeps/i386/fpu/Makefile: Remove file.
24869 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24870 ($(objpfx)libm.so): Remove dependency on ld.so.
24872 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24875 * nis/yp_xdr.c (XDRMAXNAME): Define.
24876 (XDRMAXRECORD): Define.
24877 (xdr_domainname): Use XDRMAXNAME.
24878 (xdr_mapname): Likewise.
24879 (xdr_peername): Likewise.
24880 (xdr_keydat): Use XDRMAXRECORD.
24881 (xdr_valdat): Likewise.
24883 2013-05-30 Jeff Law <law@redhat.com>
24886 * manual/errno.texi (ESTALE): Update to account for more than
24887 just NFS file systems.
24888 * sysdeps/gnu/errlist.c: Regenerated.
24890 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24893 * elf/Makefile (tests): Add tst-null-argv.
24894 (modules-names): Add tst-null-argv-lib.
24895 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24896 (tst-null-argv-ENV): Set environment for tst-null-argv.
24897 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24898 (RTLD_PROGNAME): New macro.
24899 * elf/tst-null-argv.c: New test case.
24900 * elf/tst-null-argv-lib.c: Library for test case.
24901 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24902 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24903 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24904 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24905 * elf/dl-init.c (call_init): Likewise.
24906 (_dl_init): Likewise.
24907 * elf/dl-load.c (print_search_path): Likewise.
24908 (_dl_map_object): Likewise.
24909 * elf/dl-lookup.c (do_lookup_x): Likewise.
24910 (add_dependency): Likewise.
24911 (_dl_lookup_symbol_x): Likewise.
24912 (_dl_debug_bindings): Likewise.
24913 * elf/dl-open.c (_dl_show_scope): Likewise.
24914 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24915 * elf/dl-version.c (match_symbol): Likewise.
24916 (_dl_check_map_versions): Likewise.
24917 * elf/rtld.c (dl_main): Likewise.
24918 (print_unresolved): Use RTLD_PROGNAME.
24919 (print_missing_version): Likewise.
24920 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24921 (elf_machine_rela): Likewise.
24922 * sysdeps/powerpc/powerpc32/dl-machine.c
24923 (__process_machine_rela): Likewise.
24924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24926 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24928 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24930 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24937 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24939 * po/be.po: Add descriptive title.
24940 * po/zh_CN.po: Likewise.
24941 * po/header.pot: Likewise.
24943 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24945 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24947 (enlarge_archive): Likewise.
24949 2013-05-28 Ben North <ben@redfrontdoor.org>
24951 * manual/arith.texi (frexp): It is the magnitude of the return
24952 value which lies in [0.5, 1), not the return value itself.
24954 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24958 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24960 * stdio-common/bug26.c (main): Correct fscanf template.
24962 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24963 declare _dl_skip_args.
24965 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24968 * manual/platform.texi: Add missing @end deftypefun.
24970 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24973 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24974 bit of mantissa of 2^16382.
24975 * math/libm-test.inc (hypot_test_data): Add more tests.
24977 * math/libm-test.inc: Add drem and pow10 to list of tested
24979 (pow10_test): New function.
24980 (drem_test): Likewise.
24981 (drem_test_tonearest): Likewise.
24982 (drem_test_towardzero): Likewise.
24983 (drem_test_downward): Likewise.
24984 (drem_test_upward): Likewise.
24985 (main): Call the new functions.
24987 * math/libm-test.inc (finite_test_data): Remove.
24988 (finite_test): Run tests from isfinite_test_data.
24989 (gamma_test_data): Remove.
24990 (gamma_test): Run tests from lgamma_test_data.
24991 * sysdeps/i386/fpu/libm-test-ulps: Update.
24992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24994 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24996 * manual/platform.texi: Add PowerPC PPR function set documentation.
24997 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25000 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25002 * math/libm-test.inc (MAX_EXP): Define.
25004 (ulp): New function.
25005 (check_float_internal): Use ULPDIFF.
25006 (cpow_test): Disable failing test.
25007 (check_ulp): Test ulp() implemetnation.
25008 (main): Call check_ulp before starting tests.
25010 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25012 * math/gen-libm-test.pl (generate_testfile): Do not handle
25013 START_DATA and END_DATA.
25014 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25016 (acos_tonearest_test_data): Likewise.
25017 (acos_towardzero_test_data): Likewise.
25018 (acos_downward_test_data): Likewise.
25019 (acos_upward_test_data): Likewise.
25020 (acosh_test_data): Likewise.
25021 (asin_test_data): Likewise.
25022 (asin_tonearest_test_data): Likewise.
25023 (asin_towardzero_test_data): Likewise.
25024 (asin_downward_test_data): Likewise.
25025 (asin_upward_test_data): Likewise.
25026 (asinh_test_data): Likewise.
25027 (atan_test_data): Likewise.
25028 (atanh_test_data): Likewise.
25029 (atan2_test_data): Likewise.
25030 (cabs_test_data): Likewise.
25031 (cacos_test_data): Likewise.
25032 (cacosh_test_data): Likewise.
25033 (carg_test_data): Likewise.
25034 (casin_test_data): Likewise.
25035 (casinh_test_data): Likewise.
25036 (catan_test_data): Likewise.
25037 (catanh_test_data): Likewise.
25038 (cbrt_test_data): Likewise.
25039 (ccos_test_data): Likewise.
25040 (ccosh_test_data): Likewise.
25041 (ceil_test_data): Likewise.
25042 (cexp_test_data): Likewise.
25043 (cimag_test_data): Likewise.
25044 (clog_test_data): Likewise.
25045 (clog10_test_data): Likewise.
25046 (conj_test_data): Likewise.
25047 (copysign_test_data): Likewise.
25048 (cos_test_data): Likewise.
25049 (cos_tonearest_test_data): Likewise.
25050 (cos_towardzero_test_data): Likewise.
25051 (cos_downward_test_data): Likewise.
25052 (cos_upward_test_data): Likewise.
25053 (cosh_test_data): Likewise.
25054 (cosh_tonearest_test_data): Likewise.
25055 (cosh_towardzero_test_data): Likewise.
25056 (cosh_downward_test_data): Likewise.
25057 (cosh_upward_test_data): Likewise.
25058 (cpow_test_data): Likewise.
25059 (cproj_test_data): Likewise.
25060 (creal_test_data): Likewise.
25061 (csin_test_data): Likewise.
25062 (csinh_test_data): Likewise.
25063 (csqrt_test_data): Likewise.
25064 (ctan_test_data): Likewise.
25065 (ctan_tonearest_test_data): Likewise.
25066 (ctan_towardzero_test_data): Likewise.
25067 (ctan_downward_test_data): Likewise.
25068 (ctan_upward_test_data): Likewise.
25069 (ctanh_test_data): Likewise.
25070 (ctanh_tonearest_test_data): Likewise.
25071 (ctanh_towardzero_test_data): Likewise.
25072 (ctanh_downward_test_data): Likewise.
25073 (ctanh_upward_test_data): Likewise.
25074 (erf_test_data): Likewise.
25075 (erfc_test_data): Likewise.
25076 (exp_test_data): Likewise.
25077 (exp_tonearest_test_data): Likewise.
25078 (exp_towardzero_test_data): Likewise.
25079 (exp_downward_test_data): Likewise.
25080 (exp_upward_test_data): Likewise.
25081 (exp10_test_data): Likewise.
25082 (exp2_test_data): Likewise.
25083 (expm1_test_data): Likewise.
25084 (fabs_test_data): Likewise.
25085 (fdim_test_data): Likewise.
25086 (finite_test_data): Likewise.
25087 (floor_test_data): Likewise.
25088 (fma_test_data): Likewise.
25089 (fma_towardzero_test_data): Likewise.
25090 (fma_downward_test_data): Likewise.
25091 (fma_upward_test_data): Likewise.
25092 (fmax_test_data): Likewise.
25093 (fmin_test_data): Likewise.
25094 (fmod_test_data): Likewise.
25095 (fpclassify_test_data): Likewise.
25096 (frexp_test_data): Likewise.
25097 (gamma_test_data): Likewise.
25098 (hypot_test_data): Likewise.
25099 (ilogb_test_data): Likewise.
25100 (isfinite_test_data): Likewise.
25101 (isgreater_test_data): Likewise.
25102 (isgreaterequal_test_data): Likewise.
25103 (isinf_test_data): Likewise.
25104 (isless_test_data): Likewise.
25105 (islessequal_test_data): Likewise.
25106 (islessgreater_test_data): Likewise.
25107 (isnan_test_data): Likewise.
25108 (isnormal_test_data): Likewise.
25109 (issignaling_test_data): Likewise.
25110 (isunordered_test_data): Likewise.
25111 (j0_test_data): Likewise.
25112 (j1_test_data): Likewise.
25113 (jn_test_data): Likewise.
25114 (ldexp_test_data): Likewise.
25115 (lgamma_test_data): Likewise.
25116 (lrint_test_data): Likewise.
25117 (lrint_tonearest_test_data): Likewise.
25118 (lrint_towardzero_test_data): Likewise.
25119 (lrint_downward_test_data): Likewise.
25120 (lrint_upward_test_data): Likewise.
25121 (llrint_test_data): Likewise.
25122 (llrint_tonearest_test_data): Likewise.
25123 (llrint_towardzero_test_data): Likewise.
25124 (llrint_downward_test_data): Likewise.
25125 (llrint_upward_test_data): Likewise.
25126 (log_test_data): Likewise.
25127 (log10_test_data): Likewise.
25128 (log1p_test_data): Likewise.
25129 (log2_test_data): Likewise.
25130 (logb_test_data): Likewise.
25131 (logb_downward_test_data): Likewise.
25132 (lround_test_data): Likewise.
25133 (llround_test_data): Likewise.
25134 (modf_test_data): Likewise.
25135 (nearbyint_test_data): Likewise.
25136 (nextafter_test_data): Likewise.
25137 (nexttoward_test_data): Likewise.
25138 (pow_test_data): Likewise.
25139 (pow_tonearest_test_data): Likewise.
25140 (pow_towardzero_test_data): Likewise.
25141 (pow_downward_test_data): Likewise.
25142 (pow_upward_test_data): Likewise.
25143 (remainder_test_data): Likewise.
25144 (remainder_tonearest_test_data): Likewise.
25145 (remainder_towardzero_test_data): Likewise.
25146 (remainder_downward_test_data): Likewise.
25147 (remainder_upward_test_data): Likewise.
25148 (remquo_test_data): Likewise.
25149 (rint_test_data): Likewise.
25150 (rint_tonearest_test_data): Likewise.
25151 (rint_towardzero_test_data): Likewise.
25152 (rint_downward_test_data): Likewise.
25153 (rint_upward_test_data): Likewise.
25154 (round_test_data): Likewise.
25155 (scalb_test_data): Likewise.
25156 (scalbn_test_data): Likewise.
25157 (scalbln_test_data): Likewise.
25158 (signbit_test_data): Likewise.
25159 (sin_test_data): Likewise.
25160 (sin_tonearest_test_data): Likewise.
25161 (sin_towardzero_test_data): Likewise.
25162 (sin_downward_test_data): Likewise.
25163 (sin_upward_test_data): Likewise.
25164 (sincos_test_data): Likewise.
25165 (sinh_test_data): Likewise.
25166 (sinh_tonearest_test_data): Likewise.
25167 (sinh_towardzero_test_data): Likewise.
25168 (sinh_downward_test_data): Likewise.
25169 (sinh_upward_test_data): Likewise.
25170 (sqrt_test_data): Likewise.
25171 (tan_test_data): Likewise.
25172 (tan_tonearest_test_data): Likewise.
25173 (tan_towardzero_test_data): Likewise.
25174 (tan_downward_test_data): Likewise.
25175 (tan_upward_test_data): Likewise.
25176 (tanh_test_data): Likewise.
25177 (tgamma_test_data): Likewise.
25178 (trunc_test_data): Likewise.
25179 (y0_test_data): Likewise.
25180 (y1_test_data): Likewise.
25181 (yn_test_data): Likewise.
25182 (significand_test_data): Likewise.
25184 * math/gen-libm-test.pl (@functions): Remove variable.
25185 (generate_testfile): Don't handle START and END lines.
25186 * math/libm-test.inc (START): New macro.
25188 (END_COMPLEX): Likewise.
25189 (acos_test): Use END macro without arguments.
25190 (acos_test_tonearest): Likewise.
25191 (acos_test_towardzero): Likewise.
25192 (acos_test_downward): Likewise.
25193 (acos_test_upward): Likewise.
25194 (acosh_test): Likewise.
25195 (asin_test): Likewise.
25196 (asin_test_tonearest): Likewise.
25197 (asin_test_towardzero): Likewise.
25198 (asin_test_downward): Likewise.
25199 (asin_test_upward): Likewise.
25200 (asinh_test): Likewise.
25201 (atan_test): Likewise.
25202 (atanh_test): Likewise.
25203 (atan2_test): Likewise.
25204 (cabs_test): Likewise.
25205 (cacos_test): Use END_COMPLEX macro without arguments.
25206 (cacosh_test): Likewise.
25207 (carg_test): Use END macro without arguments.
25208 (casin_test): Use END_COMPLEX macro without arguments.
25209 (casinh_test): Likewise.
25210 (catan_test): Likewise.
25211 (catanh_test): Likewise.
25212 (cbrt_test): Use END macro without arguments.
25213 (ccos_test): Use END_COMPLEX macro without arguments.
25214 (ccosh_test): Likewise.
25215 (ceil_test): Use END macro without arguments.
25216 (cexp_test): Use END_COMPLEX macro without arguments.
25217 (cimag_test): Use END macro without arguments.
25218 (clog_test): Use END_COMPLEX macro without arguments.
25219 (clog10_test): Likewise.
25220 (conj_test): Likewise.
25221 (copysign_test): Use END macro without arguments.
25222 (cos_test): Likewise.
25223 (cos_test_tonearest): Likewise.
25224 (cos_test_towardzero): Likewise.
25225 (cos_test_downward): Likewise.
25226 (cos_test_upward): Likewise.
25227 (cosh_test): Likewise.
25228 (cosh_test_tonearest): Likewise.
25229 (cosh_test_towardzero): Likewise.
25230 (cosh_test_downward): Likewise.
25231 (cosh_test_upward): Likewise.
25232 (cpow_test): Use END_COMPLEX macro without arguments.
25233 (cproj_test): Likewise.
25234 (creal_test): Use END macro without arguments.
25235 (csin_test): Use END_COMPLEX macro without arguments.
25236 (csinh_test): Likewise.
25237 (csqrt_test): Likewise.
25238 (ctan_test): Likewise.
25239 (ctan_test_tonearest): Likewise.
25240 (ctan_test_towardzero): Likewise.
25241 (ctan_test_downward): Likewise.
25242 (ctan_test_upward): Likewise.
25243 (ctanh_test): Likewise.
25244 (ctanh_test_tonearest): Likewise.
25245 (ctanh_test_towardzero): Likewise.
25246 (ctanh_test_downward): Likewise.
25247 (ctanh_test_upward): Likewise.
25248 (erf_test): Use END macro without arguments.
25249 (erfc_test): Likewise.
25250 (exp_test): Likewise.
25251 (exp_test_tonearest): Likewise.
25252 (exp_test_towardzero): Likewise.
25253 (exp_test_downward): Likewise.
25254 (exp_test_upward): Likewise.
25255 (exp10_test): Likewise.
25256 (exp2_test): Likewise.
25257 (expm1_test): Likewise.
25258 (fabs_test): Likewise.
25259 (fdim_test): Likewise.
25260 (finite_test): Likewise.
25261 (floor_test): Likewise.
25262 (fma_test): Likewise.
25263 (fma_test_towardzero): Likewise.
25264 (fma_test_downward): Likewise.
25265 (fma_test_upward): Likewise.
25266 (fmax_test): Likewise.
25267 (fmin_test): Likewise.
25268 (fmod_test): Likewise.
25269 (fpclassify_test): Likewise.
25270 (frexp_test): Likewise.
25271 (gamma_test): Likewise.
25272 (hypot_test): Likewise.
25273 (ilogb_test): Likewise.
25274 (isfinite_test): Likewise.
25275 (isgreater_test): Likewise.
25276 (isgreaterequal_test): Likewise.
25277 (isinf_test): Likewise.
25278 (isless_test): Likewise.
25279 (islessequal_test): Likewise.
25280 (islessgreater_test): Likewise.
25281 (isnan_test): Likewise.
25282 (isnormal_test): Likewise.
25283 (issignaling_test): Likewise.
25284 (isunordered_test): Likewise.
25285 (j0_test): Likewise.
25286 (j1_test): Likewise.
25287 (jn_test): Likewise.
25288 (ldexp_test): Likewise.
25289 (lgamma_test): Likewise.
25290 (lrint_test): Likewise.
25291 (lrint_test_tonearest): Likewise.
25292 (lrint_test_towardzero): Likewise.
25293 (lrint_test_downward): Likewise.
25294 (lrint_test_upward): Likewise.
25295 (llrint_test): Likewise.
25296 (llrint_test_tonearest): Likewise.
25297 (llrint_test_towardzero): Likewise.
25298 (llrint_test_downward): Likewise.
25299 (llrint_test_upward): Likewise.
25300 (log_test): Likewise.
25301 (log10_test): Likewise.
25302 (log1p_test): Likewise.
25303 (log2_test): Likewise.
25304 (logb_test): Likewise.
25305 (logb_test_downward): Likewise.
25306 (lround_test): Likewise.
25307 (llround_test): Likewise.
25308 (modf_test): Likewise.
25309 (nearbyint_test): Likewise.
25310 (nextafter_test): Likewise.
25311 (nexttoward_test): Likewise.
25312 (pow_test): Likewise.
25313 (pow_test_tonearest): Likewise.
25314 (pow_test_towardzero): Likewise.
25315 (pow_test_downward): Likewise.
25316 (pow_test_upward): Likewise.
25317 (remainder_test): Likewise.
25318 (remainder_test_tonearest): Likewise.
25319 (remainder_test_towardzero): Likewise.
25320 (remainder_test_downward): Likewise.
25321 (remainder_test_upward): Likewise.
25322 (remquo_test): Likewise.
25323 (rint_test): Likewise.
25324 (rint_test_tonearest): Likewise.
25325 (rint_test_towardzero): Likewise.
25326 (rint_test_downward): Likewise.
25327 (rint_test_upward): Likewise.
25328 (round_test): Likewise.
25329 (scalb_test): Likewise.
25330 (scalbn_test): Likewise.
25331 (scalbln_test): Likewise.
25332 (signbit_test): Likewise.
25333 (sin_test): Likewise.
25334 (sin_test_tonearest): Likewise.
25335 (sin_test_towardzero): Likewise.
25336 (sin_test_downward): Likewise.
25337 (sin_test_upward): Likewise.
25338 (sincos_test): Likewise.
25339 (sinh_test): Likewise.
25340 (sinh_test_tonearest): Likewise.
25341 (sinh_test_towardzero): Likewise.
25342 (sinh_test_downward): Likewise.
25343 (sinh_test_upward): Likewise.
25344 (sqrt_test): Likewise.
25345 (tan_test): Likewise.
25346 (tan_test_tonearest): Likewise.
25347 (tan_test_towardzero): Likewise.
25348 (tan_test_downward): Likewise.
25349 (tan_test_upward): Likewise.
25350 (tanh_test): Likewise.
25351 (tgamma_test): Likewise.
25352 (trunc_test): Likewise.
25353 (y0_test): Likewise.
25354 (y1_test): Likewise.
25355 (yn_test): Likewise.
25356 (significand_test): Likewise.
25358 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25361 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25363 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25366 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25367 __ppc_mdoio and __ppc_mdoom.
25368 * manual/platform.texi: Document new functions __ppc_yield,
25369 __ppc_mdoio and __ppc_mdoom.
25371 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25373 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25374 (main): Mention "tls" pseudo-hwcap is legacy.
25375 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25377 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25379 * math/gen-libm-test.pl (parse_args): Output only string of
25380 arguments as text for test name, not full call or descriptions of
25381 tests for extra outputs.
25382 (generate_testfile): Do not pass function name to parse_args.
25383 Generate this_func variable from START.
25384 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25386 (struct test_ff_f_data): Likewise.
25387 (test_ff_f_data_nexttoward): Likewise.
25388 (struct test_fi_f_data): Likewise.
25389 (struct test_fl_f_data): Likewise.
25390 (struct test_if_f_data): Likewise.
25391 (struct test_fff_f_data): Likewise.
25392 (struct test_c_f_data): Likewise.
25393 (struct test_f_f1_data): Likewise. Remove field extra_name.
25394 (struct test_fF_f1_data): Likewise.
25395 (struct test_ffI_f1_data): Likewise.
25396 (struct test_c_c_data): Rename test_name field to arg_str.
25397 (struct test_cc_c_data): Likewise.
25398 (struct test_f_i_data): Likewise.
25399 (struct test_ff_i_data): Likewise.
25400 (struct test_f_l_data): Likewise.
25401 (struct test_f_L_data): Likewise.
25402 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25404 (COMMON_TEST_SETUP): New macro.
25405 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25406 (COMMON_TEST_CLEANUP): Likewise.
25407 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25408 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25410 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25411 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25413 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25414 (RUN_TEST_fff_f): Take argument string. Call new setup and
25416 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25417 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25419 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25420 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25422 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25423 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25425 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25426 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25428 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25429 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25431 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25432 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25434 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25435 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25437 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25438 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25440 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25441 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25443 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25444 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25446 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25447 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25449 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25450 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25452 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25453 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25455 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25456 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25458 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25459 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25461 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25463 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25465 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25466 to _sifields.sigfault.
25467 (si_addr_lsb): Define new macro.
25468 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25469 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25470 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25472 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25475 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25477 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25479 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25480 loading the domain.
25482 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25484 * math/gen-libm-test.pl (parse_args): Do not include expected
25485 result in test name.
25486 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25488 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25489 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25490 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25493 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25495 * benchtests/Makefile: Sort function entries.
25497 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25498 tanh, asinh, acosh, atanh.
25499 * benchtests/acos-inputs: New file.
25500 * benchtests/acosh-inputs: New file.
25501 * benchtests/asin-inputs: New file.
25502 * benchtests/asinh-inputs: New file.
25503 * benchtests/atanh-inputs: New file.
25504 * benchtests/cosh-inputs: New file.
25505 * benchtests/log-inputs: New file.
25506 * benchtests/sinh-inputs: New file.
25507 * benchtests/tanh-inputs: New file.
25509 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25512 * posix/tst-getaddrinfo4.c: New test.
25513 * posix/Makefile (tests): Add it.
25515 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25518 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25519 when no services were used.
25520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25521 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25523 2013-05-21 Andreas Schwab <schwab@suse.de>
25526 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25527 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25529 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25530 redundant variable declarations and reallocation of buffer when
25531 parsing as IPv6 address. Always set NSS status when called from
25532 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25533 buffer too small. Correct computation of needed size.
25534 * nss/Makefile (tests): Add test-digits-dots.
25535 * nss/test-digits-dots.c: New test.
25537 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25539 * benchtests/Makefile: Remove instructions for adding
25541 * benchtests/README: New file to explain how to execute and
25542 enhance the benchmark tests.
25544 2013-05-21 Andreas Schwab <schwab@suse.de>
25547 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25548 * setjmp/tst-sigsetjmp.c: New test.
25550 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25552 * sysdeps/x86_64/memset.S (memset): New implementation.
25553 (__bzero): Likewise.
25554 (__memset_tail): New function.
25556 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25558 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25559 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25560 __memcpy_sse2_unaligned ifunc selection.
25561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25562 Add memcpy-sse2-unaligned.S.
25563 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25564 Add: __memcpy_sse2_unaligned.
25566 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25569 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25570 math_force_eval before restoring floating-point envrionment.
25571 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25572 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25574 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25576 (__nearbyintl): Use math_force_eval before restoring
25577 floating-point environment.
25578 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25580 * math/gen-libm-test.pl (special_functions): Remove.
25581 (parse_args): Don't handle TEST_extra. Handle functions with no
25583 * math/libm-test.inc (struct test_sincos_data): Replace with
25584 struct test_fFF_11_data.
25585 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25586 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25587 (sincos_test_data): Change element type to struct
25588 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25589 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25590 RUN_TEST_LOOP_sincos.
25591 * math/README.libm-test: Don't mention special handling of
25592 individual functions.
25593 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25594 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25595 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25596 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25597 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25600 * math/gen-libm-test.pl (get_variable): Remove function.
25601 (parse_args): Don't show pointer parameters to call in test
25602 names. Use "extra output N" in test names for extra outputs
25603 rather than naming variables.
25605 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25608 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25609 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25610 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25612 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25614 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25617 * math/gen-libm-test.pl (@tests): Remove variable.
25618 ($count): Likewise.
25619 (new_test): Remove function.
25620 (show_exceptions): New function.
25621 (special_functions): Use show_exceptions instead of new_test.
25622 (parse_args): Likewise.
25623 (generate_testfile): Pass only function name in generated call to
25624 print_max_error or print_complex_max_error.
25625 (get_ulps): Do not handle complex tests specially.
25626 (output_test): Rename to ...
25627 (get_all_ulps_for_test): ... this. Return a string rather than
25628 printing to a file. Require ulps to be present.
25629 (output_ulps): Generate arrays rather than #defines.
25630 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25631 (struct ulp_data): New type.
25632 (BUILD_COMPLEX_ULP): Remove macro.
25633 (compare_ulp_data): New function.
25634 (find_ulps): Likewise.
25635 (find_test_ulps): Likewise.
25636 (find_function_ulps): Likewise.
25637 (find_complex_function_ulps): Likewise.
25638 (print_max_error): Determine allowed ulps using
25639 find_function_ulps.
25640 (print_complex_max_error): Determine allowed ulps using
25641 find_complex_function_ulps.
25642 (check_float_internal): Determine max ulps using find_test_ulps.
25643 (check_float): Do not take max_ulp parameter. Update call to
25644 check_float_internal.
25645 (check_complex): Likewise.
25646 (check_int): Do not take max_ulp parameter.
25647 (check_long): Likewise.
25648 (check_bool): Likewise.
25649 (check_longlong): Likewise.
25650 (struct test_f_f_data): Remove max_ulp field.
25651 (struct test_ff_f_data): Likewise.
25652 (struct test_ff_f_data_nexttoward): Likewise.
25653 (struct test_fi_f_data): Likewise.
25654 (struct test_fl_f_data): Likewise.
25655 (struct test_if_f_data): Likewise.
25656 (struct test_fff_f_data): Likewise.
25657 (struct test_c_f_data): Likewise.
25658 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25659 (struct test_fF_f1_data): Likewise.
25660 (struct test_ffI_f1_data): Likewise.
25661 (struct test_c_c_data): Remove max_ulp field.
25662 (struct test_cc_c_data): Likewise.
25663 (struct test_f_i_data): Likewise.
25664 (struct test_ff_i_data): Likewise.
25665 (struct test_f_l_data): Likewise.
25666 (struct test_f_L_data): Likewise.
25667 (struct test_sincos_data): Likewise.
25668 (RUN_TEST_f_f): Do not handle ulps.
25669 (RUN_TEST_LOOP_f_f): Likewise.
25670 (RUN_TEST_2_f): Likewise.
25671 (RUN_TEST_LOOP_2_f): Likewise.
25672 (RUN_TEST_fff_f): Likewise.
25673 (RUN_TEST_LOOP_fff_f): Likewise.
25674 (RUN_TEST_c_f): Likewise.
25675 (RUN_TEST_LOOP_c_f): Likewise.
25676 (RUN_TEST_f_f1): Likewise.
25677 (RUN_TEST_LOOP_f_f1): Likewise.
25678 (RUN_TEST_fF_f1): Likewise.
25679 (RUN_TEST_LOOP_fF_f1): Likewise.
25680 (RUN_TEST_fI_f1): Likewise.
25681 (RUN_TEST_LOOP_fI_f1): Likewise.
25682 (RUN_TEST_ffI_f1): Likewise.
25683 (RUN_TEST_LOOP_ffI_f1): Likewise.
25684 (RUN_TEST_c_c): Likewise.
25685 (RUN_TEST_LOOP_c_c): Likewise.
25686 (RUN_TEST_cc_c): Likewise.
25687 (RUN_TEST_LOOP_cc_c): Likewise.
25688 (RUN_TEST_f_i): Likewise.
25689 (RUN_TEST_LOOP_f_i): Likewise.
25690 (RUN_TEST_f_i_tg): Likewise.
25691 (RUN_TEST_LOOP_f_i_tg): Likewise.
25692 (RUN_TEST_ff_i_tg): Likewise.
25693 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25694 (RUN_TEST_f_b): Likewise.
25695 (RUN_TEST_LOOP_f_b): Likewise.
25696 (RUN_TEST_f_b_tg): Likewise.
25697 (RUN_TEST_LOOP_f_b_tg): Likewise.
25698 (RUN_TEST_f_l): Likewise.
25699 (RUN_TEST_LOOP_f_l): Likewise.
25700 (RUN_TEST_f_L): Likewise.
25701 (RUN_TEST_LOOP_f_L): Likewise.
25702 (RUN_TEST_sincos): Likewise.
25703 (RUN_TEST_LOOP_sincos): Likewise.
25705 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25709 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25710 main case of finite arguments, set rounding mode to FE_TONEAREST
25711 and discard exceptions.
25712 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25714 (remainder_tonearest_test_data): New variable.
25715 (remainder_test_tonearest): New function.
25716 (remainder_towardzero_test_data): New variable.
25717 (remainder_test_towardzero): New function.
25718 (remainder_downward_test_data): New variable.
25719 (remainder_test_downward): New function.
25720 (remainder_upward_test_data): New variable.
25721 (remainder_test_upward): New function.
25722 (main): Call the new test functions.
25724 * math/libm-test.inc (struct test_f_f1_data): Remove field
25726 (struct test_fF_f1_data): Likewise.
25727 (struct test_ffI_f1_data): Likewise.
25728 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25729 based on value of EXTRA_EXPECTED.
25730 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25731 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25732 EXTRA_VAR based on value of EXTRA_EXPECTED.
25733 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25734 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25735 EXTRA_VAR based on value of EXTRA_EXPECTED.
25736 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25737 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25738 EXTRA_VAR based on value of EXTRA_EXPECTED.
25739 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25740 * math/gen-libm-test.pl (parse_args): Don't output initializers
25741 for extra output values.
25743 * math/libm-test.inc (check_int): Expect result to be exactly
25744 equal to expected value and do not handle ulps.
25745 (check_long): Likewise.
25746 (check_longlong): Likewise.
25748 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25750 (cimag_test_data): Likewise.
25751 (conj_test_data): Likewise.
25752 (copysign_test_data): Likewise.
25753 (cproj_test_data): Likewise.
25754 (creal_test_data): Likewise.
25755 (fabs_test_data): Likewise.
25756 (fdim_test_data): Likewise.
25757 (finite_test_data): Likewise.
25758 (floor_test_data): Likewise.
25759 (fmax_test_data): Likewise.
25760 (fmin_test_data): Likewise.
25761 (fmod_test_data): Likewise.
25762 (fpclassify_test_data): Likewise.
25763 (frexp_test_data): Likewise.
25764 (ilogb_test_data): Likewise.
25765 (isfinite_test_data): Likewise.
25766 (isgreater_test_data): Likewise.
25767 (isgreaterequal_test_data): Likewise.
25768 (isinf_test_data): Likewise.
25769 (isless_test_data): Likewise.
25770 (islessequal_test_data): Likewise.
25771 (islessgreater_test_data): Likewise.
25772 (isnan_test_data): Likewise.
25773 (isnormal_test_data): Likewise.
25774 (issignaling_test_data): Likewise.
25775 (isunordered_test_data): Likewise.
25776 (ldexp_test_data): Likewise.
25777 (lrint_test_data): Likewise.
25778 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25779 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25780 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25781 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25782 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25783 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25785 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25786 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25787 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25788 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25790 (lrint_downward_test_data): Test for "inexact" exceptions.
25791 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25792 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25793 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25795 (lrint_upward_test_data): Test for "inexact" exceptions.
25796 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25798 (llrint_test_data): Test for "inexact" exceptions.
25799 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25800 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25801 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25802 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25803 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25804 (llrint_downward_test_data): Test for "inexact" exceptions.
25805 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25806 (llrint_upward_test_data): Test for "inexact" exceptions.
25807 (logb_test_data): Likewise.
25808 (logb_downward_test_data): Likewise.
25809 (nextafter_test_data): Likewise.
25810 (nexttoward_test_data): Likewise.
25811 (remainder_test_data): Likewise.
25812 (remquo_test_data): Likewise.
25813 (scalbn_test_data): Likewise.
25814 (scalbln_test_data): Likewise.
25815 (signbit_test_data): Likewise.
25816 (sqrt_test_data): Likewise.
25817 (significand_test_data): Likewise.
25819 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25822 * benchtests/bench-modf.c (struct args): Mark arg0 as
25824 * scripts/bench.pl: Mark members of struct args as volatile.
25826 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25829 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25830 negative infinity on POWER6 or lower.
25831 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25833 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25836 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25837 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25838 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25839 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25840 (_FP_SETQNAN): New macro.
25841 (_FP_SETQNAN_SEMIRAW): Likewise.
25842 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25843 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25844 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25845 (FP_EXTEND): Use _FP_FRAC_SNANP.
25846 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25847 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25849 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25851 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25854 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25856 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25857 with DIVIDE_BY_ZERO_EXCEPTION.
25858 (gamma_test_data): Likewise.
25859 (lgamma_test_data): Likewise.
25860 (log_test_data): Likewise.
25861 (log10_test_data): Likewise.
25862 (log2_test_data): Likewise.
25863 (tgamma_test_data): Likewise.
25865 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25866 (acos_test_tonearest): Likewise.
25867 (acos_test_towardzero): Likewise.
25868 (acos_test_downward): Likewise.
25869 (acos_test_upward): Likewise.
25870 (acosh_test): Likewise.
25871 (asin_test): Likewise.
25872 (asin_test_tonearest): Likewise.
25873 (asin_test_towardzero): Likewise.
25874 (asin_test_downward): Likewise.
25875 (asin_test_upward): Likewise.
25876 (asinh_test): Likewise.
25877 (atan_test): Likewise.
25878 (atanh_test): Likewise.
25879 (atan2_test): Likewise.
25880 (cabs_test): Likewise.
25881 (cacos_test): Likewise.
25882 (cacosh_test): Likewise.
25883 (casin_test): Likewise.
25884 (casinh_test): Likewise.
25885 (catan_test): Likewise.
25886 (catanh_test): Likewise.
25887 (cbrt_test): Likewise.
25888 (ccos_test): Likewise.
25889 (ccosh_test): Likewise.
25890 (cexp_test): Likewise.
25891 (clog_test): Likewise.
25892 (clog10_test): Likewise.
25893 (cos_test): Likewise.
25894 (cos_test_tonearest): Likewise.
25895 (cos_test_towardzero): Likewise.
25896 (cos_test_downward): Likewise.
25897 (cos_test_upward): Likewise.
25898 (cosh_test): Likewise.
25899 (cosh_test_tonearest): Likewise.
25900 (cosh_test_towardzero): Likewise.
25901 (cosh_test_downward): Likewise.
25902 (cosh_test_upward): Likewise.
25903 (cpow_test): Likewise.
25904 (csin_test): Likewise.
25905 (csinh_test): Likewise.
25906 (csqrt_test): Likewise.
25907 (ctan_test): Likewise.
25908 (ctan_test_tonearest): Likewise.
25909 (ctan_test_towardzero): Likewise.
25910 (ctan_test_downward): Likewise.
25911 (ctan_test_upward): Likewise.
25912 (ctanh_test): Likewise.
25913 (ctanh_test_tonearest): Likewise.
25914 (ctanh_test_towardzero): Likewise.
25915 (ctanh_test_downward): Likewise.
25916 (ctanh_test_upward): Likewise.
25917 (erf_test): Likewise.
25918 (erfc_test): Likewise.
25919 (exp_test): Likewise.
25920 (exp_test_tonearest): Likewise.
25921 (exp_test_towardzero): Likewise.
25922 (exp_test_downward): Likewise.
25923 (exp_test_upward): Likewise.
25924 (exp10_test): Likewise.
25925 (exp2_test): Likewise.
25926 (expm1_test): Likewise.
25927 (fmod_test): Likewise.
25928 (gamma_test): Likewise.
25929 (hypot_test): Likewise.
25930 (j0_test): Likewise.
25931 (j1_test): Likewise.
25932 (jn_test): Likewise.
25933 (lgamma_test): Likewise.
25934 (log_test): Likewise.
25935 (log10_test): Likewise.
25936 (log1p_test): Likewise.
25937 (log2_test): Likewise.
25938 (logb_test_downward): Likewise.
25939 (pow_test): Likewise.
25940 (pow_test_tonearest): Likewise.
25941 (pow_test_towardzero): Likewise.
25942 (pow_test_downward): Likewise.
25943 (pow_test_upward): Likewise.
25944 (remainder_test): Likewise.
25945 (remquo_test): Likewise.
25946 (sin_test): Likewise.
25947 (sin_test_tonearest): Likewise.
25948 (sin_test_towardzero): Likewise.
25949 (sin_test_downward): Likewise.
25950 (sin_test_upward): Likewise.
25951 (sincos_test): Likewise.
25952 (sinh_test): Likewise.
25953 (sinh_test_tonearest): Likewise.
25954 (sinh_test_towardzero): Likewise.
25955 (sinh_test_downward): Likewise.
25956 (sinh_test_upward): Likewise.
25957 (sqrt_test): Likewise.
25958 (tan_test): Likewise.
25959 (tan_test_tonearest): Likewise.
25960 (tan_test_towardzero): Likewise.
25961 (tan_test_downward): Likewise.
25962 (tan_test_upward): Likewise.
25963 (tanh_test): Likewise.
25964 (tgamma_test): Likewise.
25965 (y0_test): Likewise.
25966 (y1_test): Likewise.
25967 (yn_test): Likewise.
25969 * math/gen-libm-test.pl (adjust_arg): Remove function.
25970 (special_function): Remove argument $in_func. Only handle
25971 generating output for tables of tests, not inside functions.
25972 (parse_args): Likewise.
25973 (generate_testfile): Remove variable $in_func. Update call to
25975 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25976 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25977 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25978 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25979 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25980 (MAX_VALUE_INIT): Rename macro to max_value.
25981 (MIN_VALUE_INIT): Rename macro to min_value.
25982 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25983 (plus_zero): Remove variable.
25984 (minus_zero): Likewise.
25985 (plus_infty): Likewise.
25986 (minus_infty): Likewise.
25987 (qnan_value): Likewise.
25988 (max_value): Likewise.
25989 (min_value): Likewise.
25990 (min_subnorm_value): Likewise.
25992 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25994 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25995 uint64_t or uint32_t usage.
25996 * crypt/sha256-block.c: Likewise.
25997 * crypt/sha256-crypt.c: Likewise.
25998 * crypt/sha256.c: Likewise.
25999 * crypt/sha512-block.c: Likewise.
26000 * crypt/sha512-crypt.c: Likewise.
26001 * crypt/sha512.c: Likewise.
26002 * debug/backtrace-tst.c: Likewise.
26003 * debug/pcprofiledump.c: Likewise.
26004 * elf/cache.c: Likewise.
26005 * elf/dl-cache.c: Likewise.
26006 * elf/dl-misc.c: Likewise.
26007 * elf/dl-profile.c: Likewise.
26008 * elf/dl-support.c: Likewise.
26009 * elf/ldconfig.c: Likewise.
26010 * elf/sprof.c: Likewise.
26011 * iconv/dummy-repertoire.c: Likewise.
26012 * iconv/iconv_charmap.c: Likewise.
26013 * iconv/skeleton.c: Likewise.
26014 * iconvdata/8bit-generic.c: Likewise.
26015 * iconvdata/cp737.h: Likewise.
26016 * iconvdata/cp775.h: Likewise.
26017 * iconvdata/ibm1008.h: Likewise.
26018 * iconvdata/ibm1025.h: Likewise.
26019 * iconvdata/ibm1046.h: Likewise.
26020 * iconvdata/ibm1097.h: Likewise.
26021 * iconvdata/ibm1112.h: Likewise.
26022 * iconvdata/ibm1122.h: Likewise.
26023 * iconvdata/ibm1123.h: Likewise.
26024 * iconvdata/ibm1124.h: Likewise.
26025 * iconvdata/ibm1129.h: Likewise.
26026 * iconvdata/ibm1130.h: Likewise.
26027 * iconvdata/ibm1132.h: Likewise.
26028 * iconvdata/ibm1133.h: Likewise.
26029 * iconvdata/ibm1137.h: Likewise.
26030 * iconvdata/ibm1140.h: Likewise.
26031 * iconvdata/ibm1141.h: Likewise.
26032 * iconvdata/ibm1142.h: Likewise.
26033 * iconvdata/ibm1143.h: Likewise.
26034 * iconvdata/ibm1144.h: Likewise.
26035 * iconvdata/ibm1145.h: Likewise.
26036 * iconvdata/ibm1146.h: Likewise.
26037 * iconvdata/ibm1147.h: Likewise.
26038 * iconvdata/ibm1148.h: Likewise.
26039 * iconvdata/ibm1149.h: Likewise.
26040 * iconvdata/ibm1153.h: Likewise.
26041 * iconvdata/ibm1154.h: Likewise.
26042 * iconvdata/ibm1155.h: Likewise.
26043 * iconvdata/ibm1156.h: Likewise.
26044 * iconvdata/ibm1157.h: Likewise.
26045 * iconvdata/ibm1158.h: Likewise.
26046 * iconvdata/ibm1160.h: Likewise.
26047 * iconvdata/ibm1161.h: Likewise.
26048 * iconvdata/ibm1162.h: Likewise.
26049 * iconvdata/ibm1163.h: Likewise.
26050 * iconvdata/ibm1164.h: Likewise.
26051 * iconvdata/ibm1166.h: Likewise.
26052 * iconvdata/ibm1167.h: Likewise.
26053 * iconvdata/ibm12712.h: Likewise.
26054 * iconvdata/ibm1390.h: Likewise.
26055 * iconvdata/ibm1399.h: Likewise.
26056 * iconvdata/ibm16804.h: Likewise.
26057 * iconvdata/ibm4517.h: Likewise.
26058 * iconvdata/ibm4899.h: Likewise.
26059 * iconvdata/ibm4909.h: Likewise.
26060 * iconvdata/ibm4971.h: Likewise.
26061 * iconvdata/ibm5347.h: Likewise.
26062 * iconvdata/ibm803.h: Likewise.
26063 * iconvdata/ibm856.h: Likewise.
26064 * iconvdata/ibm901.h: Likewise.
26065 * iconvdata/ibm902.h: Likewise.
26066 * iconvdata/ibm9030.h: Likewise.
26067 * iconvdata/ibm9066.h: Likewise.
26068 * iconvdata/ibm921.h: Likewise.
26069 * iconvdata/ibm922.h: Likewise.
26070 * iconvdata/ibm9448.h: Likewise.
26071 * iconvdata/isiri-3342.h: Likewise.
26072 * iconvdata/jis0201.h: Likewise.
26073 * include/link.h: Likewise.
26074 * include/netdb.h: Likewise.
26075 * inet/check_native.c: Likewise.
26076 * inet/check_pf.c: Likewise.
26077 * inet/getipv4sourcefilter.c: Likewise.
26078 * inet/getnameinfo.c: Likewise.
26079 * inet/getsourcefilter.c: Likewise.
26080 * inet/htonl.c: Likewise.
26081 * inet/setipv4sourcefilter.c: Likewise.
26082 * inet/setsourcefilter.c: Likewise.
26083 * inet/test-inet6_opt.c: Likewise.
26084 * inet/tst-network.c: Likewise.
26085 * locale/C-collate.c: Likewise.
26086 * locale/C-ctype.c: Likewise.
26087 * locale/C-time.c: Likewise.
26088 * locale/C-translit.h: Likewise.
26089 * locale/loadarchive.c: Likewise.
26090 * locale/programs/3level.h: Likewise.
26091 * locale/programs/charmap.c: Likewise.
26092 * locale/programs/charmap.h: Likewise.
26093 * locale/programs/ld-address.c: Likewise.
26094 * locale/programs/ld-collate.c: Likewise.
26095 * locale/programs/ld-ctype.c: Likewise.
26096 * locale/programs/ld-identification.c: Likewise.
26097 * locale/programs/ld-measurement.c: Likewise.
26098 * locale/programs/ld-messages.c: Likewise.
26099 * locale/programs/ld-monetary.c: Likewise.
26100 * locale/programs/ld-name.c: Likewise.
26101 * locale/programs/ld-numeric.c: Likewise.
26102 * locale/programs/ld-paper.c: Likewise.
26103 * locale/programs/ld-telephone.c: Likewise.
26104 * locale/programs/ld-time.c: Likewise.
26105 * locale/programs/linereader.c: Likewise.
26106 * locale/programs/locale.c: Likewise.
26107 * locale/programs/locarchive.c: Likewise.
26108 * locale/programs/locfile.h: Likewise.
26109 * locale/programs/repertoire.c: Likewise.
26110 * locale/programs/simple-hash.c: Likewise.
26111 * locale/programs/simple-hash.h: Likewise.
26112 * malloc/memusage.c: Likewise.
26113 * malloc/memusagestat.c: Likewise.
26114 * nis/nis_defaults.c: Likewise.
26115 * nis/nis_hash.c: Likewise.
26116 * nis/nis_print.c: Likewise.
26117 * nis/nis_xdr.c: Likewise.
26118 * nscd/connections.c: Likewise.
26119 * nscd/hstcache.c: Likewise.
26120 * nscd/nscd_gethst_r.c: Likewise.
26121 * nscd/nscd_getserv_r.c: Likewise.
26122 * nscd/nscd_helper.c: Likewise.
26123 * nscd/servicescache.c: Likewise.
26124 * nss/makedb.c: Likewise.
26125 * nss/nss_db/db-XXX.c: Likewise.
26126 * nss/nss_db/db-initgroups.c: Likewise.
26127 * nss/nss_db/db-netgrp.c: Likewise.
26128 * nss/nss_files/files-network.c: Likewise.
26129 * nss/nss_files/files-parse.c: Likewise.
26130 * posix/bug-regex5.c: Likewise.
26131 * posix/fnmatch_loop.c: Likewise.
26132 * posix/regcomp.c: Likewise.
26133 * posix/regexec.c: Likewise.
26134 * posix/tst-rfc3484-2.c: Likewise.
26135 * posix/tst-rfc3484-3.c: Likewise.
26136 * posix/tst-rfc3484.c: Likewise.
26137 * resolv/nss_dns/dns-canon.c: Likewise.
26138 * resolv/nss_dns/dns-network.c: Likewise.
26139 * resolv/res_init.c: Likewise.
26140 * resolv/res_mkquery.c: Likewise.
26141 * resolv/tst-aton.c: Likewise.
26142 * stdlib/cxa_atexit.c: Likewise.
26143 * stdlib/cxa_finalize.c: Likewise.
26144 * stdlib/gen-fpioconst.c: Likewise.
26145 * stdlib/strtol_l.c: Likewise.
26146 * string/tst-endian.c: Likewise.
26147 * sunrpc/auth_des.c: Likewise.
26148 * sunrpc/clnt_udp.c: Likewise.
26149 * sunrpc/rtime.c: Likewise.
26150 * sunrpc/svcauth_des.c: Likewise.
26151 * sunrpc/xdr.c: Likewise.
26152 * sunrpc/xdr_intXX_t.c: Likewise.
26153 * sunrpc/xdr_rec.c: Likewise.
26154 * sysdeps/generic/ldconfig.h: Likewise.
26155 * sysdeps/generic/ldsodefs.h: Likewise.
26156 * sysdeps/generic/memusage.h: Likewise.
26157 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26159 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26160 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26161 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26166 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26167 * sysdeps/posix/getaddrinfo.c: Likewise.
26168 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26169 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26170 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26171 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26172 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26173 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26174 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26175 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26176 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26177 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26178 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26179 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26180 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26181 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26182 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26183 * sysdeps/x86_64/dl-tls.h: Likewise.
26184 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26185 * time/alt_digit.c: Likewise.
26186 * time/era.c: Likewise.
26187 * wcsmbs/tst-c16c32-1.c: Likewise.
26189 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26191 * math/libm-test.inc (struct test_sincos_data): New type.
26192 (RUN_TEST_LOOP_sincos): New macro.
26193 (sincos_test_data): New variable.
26194 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26196 2013-05-16 Richard Henderson <rth@redhat.com>
26198 * math/atest-exp2.c (LIMB64): New macro.
26199 (CONSTSZ): New macro.
26200 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26202 (print_mpn_fp): ... to function scope.
26203 (read_mpn_hex): Remove.
26204 (get_log2): Remove.
26205 (exp2_mpn): Use mp_log2.
26206 (main): Use mp_exp1.
26208 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26210 * math/libm-test.inc: Remove comment about not testing "inexact"
26212 (INEXACT_EXCEPTION): New macro.
26213 (NO_INEXACT_EXCEPTION): Likewise.
26214 (INVALID_EXCEPTION_OK): Update value.
26215 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26216 (OVERFLOW_EXCEPTION_OK): Likewise.
26217 (UNDERFLOW_EXCEPTION_OK): Likewise.
26218 (IGNORE_ZERO_INF_SIGN): Likewise.
26219 (ERRNO_UNCHANGED): Likewise.
26220 (ERRNO_EDOM): Likewise.
26221 (ERRNO_ERANGE): Likewise.
26222 (test_exceptions): Handle testing "inexact" exceptions.
26223 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26224 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26225 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26226 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26228 (rint_towardzero_test_data): Likewise.
26229 (rint_downward_test_data): Likewise.
26230 (rint_upward_test_data): Likewise.
26232 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26233 with OVERFLOW_EXCEPTION.
26234 (exp10_test_data): Likewise.
26235 (exp2_test_data): Likewise.
26236 (expm1_test_data): Likewise.
26237 (lgamma_test_data): Likewise.
26238 (pow_test_data): Likewise.
26239 (tgamma_test_data): Likewise.
26240 (yn_test_data): Remove duplicate test of overflow.
26242 * math/libm-test.inc (struct test_cc_c_data): New type.
26243 (RUN_TEST_LOOP_cc_c): New macro.
26244 (cpow_test_data): New variable.
26245 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26247 * math/libm-test.inc (struct test_f_L_data): New type.
26248 (RUN_TEST_LOOP_f_L): New macro.
26249 (llrint_test_data): New variable.
26250 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26251 (llrint_tonearest_test_data): New variable.
26252 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26253 (llrint_towardzero_test_data): New variable.
26254 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26255 (llrint_downward_test_data): New variable.
26256 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26257 (llrint_upward_test_data): New variable.
26258 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26259 (llround_test_data): New variable.
26260 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26262 2013-05-13 Peter Collingbourne <pcc@google.com>
26264 * math/atest-exp2.c (get_log2): Remove const attribute.
26266 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26268 * math/libm-test.inc (struct test_f_l_data): New type.
26269 (RUN_TEST_LOOP_f_l): New macro.
26270 (lrint_test_data): New variable.
26271 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26272 (lrint_tonearest_test_data): New variable.
26273 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26274 (lrint_towardzero_test_data): New variable.
26275 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26276 (lrint_downward_test_data): New variable.
26277 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26278 (lrint_upward_test_data): New variable.
26279 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26280 (lround_test_data): New variable.
26281 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26283 2013-05-15 Peter Collingbourne <pcc@google.com>
26285 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26286 (EXTRACT_WORDS64) Use where appropriate.
26287 (INSERT_WORDS64) Likewise.
26289 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26290 constraints with x constraints.
26291 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26293 * malloc/obstack.c (_obstack_compat): Add initializer.
26295 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26297 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26298 si_trapno and add si_addr_lsb to _sifields.sigfault.
26299 (si_trapno): Remove macro.
26300 (si_addr_lsb): Define new macro.
26301 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26303 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26305 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26306 instead of TEST_f_l.
26307 (llrint_test_tonearest): Likewise.
26308 (llrint_test_towardzero): Likewise.
26309 (llrint_test_downward): Likewise.
26310 (llrint_test_upward): Likewise.
26311 (llround_test): Likewise.
26313 * math/libm-test.inc (struct test_f_i_data): Add comment.
26314 (RUN_TEST_LOOP_f_b): New macro.
26315 (RUN_TEST_LOOP_f_b_tg): Likewise.
26316 (finite_test_data): New variable.
26317 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26318 (isfinite_test_data): New variable.
26319 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26320 (isinf_test_data): New variable.
26321 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26322 (isnan_test_data): New variable.
26323 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26324 (isnormal_test_data): New variable.
26325 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26326 (issignaling_test_data): New variable.
26327 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26328 (signbit_test_data): New variable.
26329 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26331 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26332 with INVALID_EXCEPTION.
26333 (acosh_test_data): Likewise.
26334 (asin_test_data): Likewise.
26335 (atanh_test_data): Likewise.
26336 (fmod_test_data): Likewise.
26337 (log_test_data): Likewise.
26338 (log10_test_data): Likewise.
26339 (log2_test_data): Likewise.
26340 (pow_test_data): Likewise.
26341 (sqrt_test_data): Likewise.
26342 (y0_test_data): Likewise.
26343 (y1_test_data): Likewise.
26344 (yn_test_data): Likewise.
26346 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26349 * math/libm-test.inc (struct test_ff_i_data): New type.
26350 (RUN_TEST_LOOP_ff_i_tg): New macro.
26351 (isgreater_test_data): New variable.
26352 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26353 (isgreaterequal_test_data): New variable.
26354 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26355 (isless_test_data): New variable.
26356 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26357 (islessequal_test_data): New variable.
26358 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26359 (islessgreater_test_data): New variable.
26360 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26361 (isunordered_test_data): New variable.
26362 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26364 2013-05-14 David S. Miller <davem@davemloft.net>
26366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26368 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26370 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26372 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26374 (struct test_f_i_data): Change type of max_ulp to int.
26376 * math/libm-test.inc (test_ffI_f1_data): New type.
26377 (RUN_TEST_LOOP_ffI_f1): New macro.
26378 (remquo_test_data): New variable.
26379 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26381 * setjmp/tst-setjmp-fp.c: New file.
26382 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26383 (link-libm): New variable.
26384 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26386 * math/libm-test.inc (struct test_f_i_data): New type.
26387 (RUN_TEST_LOOP_f_i): New macro.
26388 (RUN_TEST_LOOP_f_i_tg): Likewise.
26389 (fpclassify_test_data): New variable.
26390 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26391 (ilogb_test_data): New variable.
26392 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26394 * math/libm-test.inc (scalbln_test): Correct function name in END
26397 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26398 (RUN_TEST_LOOP_fI_f1): New macro.
26399 (frexp_test_data): New variable.
26400 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26402 * math/libm-test.inc (struct test_fF_f1_data): New type.
26403 (RUN_TEST_LOOP_fF_f1): New macro.
26404 (modf_test_data): New variable.
26405 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26407 * math/libm-test.inc (struct test_f_f1_data): New type.
26408 (RUN_TEST_LOOP_f_f1): New macro.
26409 (gamma_test_data): New variable.
26410 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26411 (lgamma_test_data): New variable.
26412 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26414 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26416 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26417 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26418 (main): Comment "tls" pseudo-hwcap.
26420 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26422 * math/libm-test.inc (struct test_fl_f_data): New type.
26423 (RUN_TEST_LOOP_fl_f): New variable.
26424 (scalbln_test_data): New variable.
26425 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26427 * math/libm-test.inc (struct test_fi_f_data): New type.
26428 (RUN_TEST_LOOP_fi_f): New macro.
26429 (ldexp_test_data): New variable.
26430 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26431 (scalbn_test_data): New variable.
26432 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26434 * math/libm-test.inc (struct test_c_f_data): New type.
26435 (RUN_TEST_LOOP_c_f): New macro.
26436 (cabs_test_data): New variable.
26437 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26438 (carg_test_data): New variable.
26439 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26440 (cimag_test_data): New variable.
26441 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26442 (creal_test_data): New variable.
26443 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26445 * math/libm-test.inc (struct test_if_f_data): New type.
26446 (RUN_TEST_LOOP_if_f): New macro.
26447 (jn_test_data): New variable.
26448 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26449 (yn_test_data): New variable.
26450 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26452 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26454 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26456 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26457 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26459 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26461 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26462 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26463 (bench-deps): Add bench-timing.h.
26464 * benchtests-bench-skeleton.c: Include bench-timing.h.
26465 (main): Use TIMING_* macros instead of clock_gettime.
26466 * benchtests/bench-timing.h: New file.
26469 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26470 Renamed from _LIB_VERSION.
26471 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26473 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26475 * math/libm-test.inc (struct test_fff_f_data): New type.
26476 (RUN_TEST_LOOP_fff_f): New macro.
26477 (fma_test_data): New variable.
26478 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26479 (fma_towardzero_test_data): New variable.
26480 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26481 (fma_downward_test_data): New variable.
26482 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26483 (fma_upward_test_data): New variable.
26484 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26486 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26487 (struct test_c_c_data): New type.
26488 (RUN_TEST_LOOP_c_c): New macro.
26489 (cacos_test_data): New variable.
26490 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26491 (cacosh_test_data): New variable.
26492 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26493 (casin_test_data): New variable.
26494 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26495 (casinh_test_data): New variable.
26496 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26497 (catan_test_data): New variable.
26498 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26499 (catanh_test_data): New variable.
26500 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26501 (ccos_test_data): New variable.
26502 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26503 (ccosh_test_data): New variable.
26504 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26505 (cexp_test_data): New variable.
26506 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26507 (clog_test_data): New variable.
26508 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26509 (clog10_test_data): New variable.
26510 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26511 (conj_test_data): New variable.
26512 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26513 (cproj_test_data): New variable.
26514 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26515 (csin_test_data): New variable.
26516 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26517 (csinh_test_data): New variable.
26518 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26519 (csqrt_test_data): New variable.
26520 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26521 (ctan_test_data): New variable.
26522 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26523 (ctan_tonearest_test_data): New variable.
26524 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26525 (ctan_towardzero_test_data): New variable.
26526 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26527 (ctan_downward_test_data): New variable.
26528 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26529 (ctan_upward_test_data): New variable.
26530 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26531 (ctanh_test_data): New variable.
26532 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26533 (ctanh_tonearest_test_data): New variable.
26534 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26535 (ctanh_towardzero_test_data): New variable.
26536 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26537 (ctanh_downward_test_data): New variable.
26538 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26539 (ctanh_upward_test_data): New variable.
26540 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26541 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26544 * math/libm-test.inc (struct test_ff_f_data): New type.
26545 (struct test_ff_f_data_nexttoward): Likewise.
26546 (RUN_TEST_LOOP_2_f): New macro.
26547 (RUN_TEST_LOOP_ff_f): Likewise.
26548 (atan2_test_data): New variable.
26549 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26550 (copysign_test_data): New variable.
26551 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26552 (fdim_test_data): New variable.
26553 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26554 (fmax_test_data): New variable.
26555 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26556 (fmin_test_data): New variable.
26557 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26558 (fmod_test_data): New variable.
26559 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26560 (hypot_test_data): New variable.
26561 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26562 (nextafter_test_data): New variable.
26563 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26564 (nexttoward_test_data): New variable.
26565 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26566 (pow_test_data): New variable.
26567 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26568 (pow_tonearest_test_data): New variable.
26569 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26570 (pow_towardzero_test_data): New variable.
26571 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26572 (pow_downward_test_data): New variable.
26573 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26574 (pow_upward_test_data): New variable.
26575 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26576 (remainder_test_data): New variable.
26577 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26578 (scalb_test_data): New variable.
26579 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26580 * sysdeps/i386/fpu/libm-test-ulps: Update.
26582 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26584 * math/libm-test.inc (fma_test): Use max_value instead of local
26586 (nextafter_test): Likewise.
26588 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26589 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26590 (acos_downward_test_data): New variable.
26591 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26592 (acos_upward_test_data): New variable.
26593 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26594 (acosh_test_data): New variable.
26595 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26596 (asin_test_data): New variable.
26597 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26598 (asin_tonearest_test_data): New variable.
26599 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26600 (asin_towardzero_test_data): New variable.
26601 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26602 (asin_downward_test_data): New variable.
26603 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26604 (asin_upward_test_data): New variable.
26605 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26606 (asinh_test_data): New variable.
26607 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26608 (atan_test_data): New variable.
26609 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26610 (atanh_test_data): New variable.
26611 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26612 (cbrt_test_data): New variable.
26613 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26614 (ceil_test_data): New variable.
26615 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26616 (cos_test_data): New variable.
26617 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26618 (cos_tonearest_test_data): New variable.
26619 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26620 (cos_towardzero_test_data): New variable.
26621 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26622 (cos_downward_test_data): New variable.
26623 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26624 (cos_upward_test_data): New variable.
26625 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26626 (cosh_test_data): New variable.
26627 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26628 (cosh_tonearest_test_data): New variable.
26629 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26630 (cosh_towardzero_test_data): New variable.
26631 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26632 (cosh_downward_test_data): New variable.
26633 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26634 (cosh_upward_test_data): New variable.
26635 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26636 (erf_test_data): New variable.
26637 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26638 (erfc_test_data): New variable.
26639 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26640 (exp_test_data): New variable.
26641 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26642 (exp_tonearest_test_data): New variable.
26643 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26644 (exp_towardzero_test_data): New variable.
26645 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26646 (exp_downward_test_data): New variable.
26647 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26648 (exp_upward_test_data): New variable.
26649 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26650 (exp10_test_data): New variable.
26651 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26652 (exp2_test_data): New variable.
26653 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26654 (expm1_test_data): New variable.
26655 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26656 (fabs_test_data): New variable.
26657 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26658 (floor_test_data): New variable.
26659 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26660 (j0_test_data): New variable.
26661 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26662 (j1_test_data): New variable.
26663 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26664 (log_test_data): New variable.
26665 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26666 (log10_test_data): New variable.
26667 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26668 (log1p_test_data): New variable.
26669 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26670 (log2_test_data): New variable.
26671 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26672 (logb_test_data): New variable.
26673 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26674 (logb_downward_test_data): New variable.
26675 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26676 (nearbyint_test_data): New variable.
26677 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26678 (rint_test_data): New variable.
26679 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26680 (rint_tonearest_test_data): New variable.
26681 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26682 (rint_towardzero_test_data): New variable.
26683 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26684 (rint_downward_test_data): New variable.
26685 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26686 (rint_upward_test_data): New variable.
26687 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26688 (round_test_data): New variable.
26689 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26690 (sin_test_data): New variable.
26691 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26692 (sin_tonearest_test_data): New variable.
26693 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26694 (sin_towardzero_test_data): New variable.
26695 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26696 (sin_downward_test_data): New variable.
26697 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26698 (sin_upward_test_data): New variable.
26699 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26700 (sinh_test_data): New variable.
26701 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26702 (sinh_tonearest_test_data): New variable.
26703 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26704 (sinh_towardzero_test_data): New variable.
26705 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26706 (sinh_downward_test_data): New variable.
26707 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26708 (sinh_upward_test_data): New variable.
26709 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26710 (sqrt_test_data): New variable.
26711 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26712 (tan_test_data): New variable.
26713 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26714 (tan_tonearest_test_data): New variable.
26715 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26716 (tan_towardzero_test_data): New variable.
26717 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26718 (tan_downward_test_data): New variable.
26719 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26720 (tan_upward_test_data): New variable.
26721 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26722 (tanh_test_data): New variable.
26723 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26724 (tgamma_test_data): New variable.
26725 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26726 (trunc_test_data): New variable.
26727 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26728 (y0_test_data): New variable.
26729 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26730 (y1_test_data): New variable.
26731 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26732 (significand_test_data): New variable.
26733 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26735 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26738 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26740 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26742 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26744 2013-05-10 Andreas Jaeger <aj@suse.de>
26747 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26748 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26750 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26752 * math/gen-libm-test.pl (adjust_arg): New function.
26753 (special_functions): Handle generating output in both functions
26755 (parse_args): Likewise.
26756 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26757 $in_func argument to parse_args.
26758 * math/libm-test.inc (struct test_f_f_data): New type.
26759 (IF_ROUND_INIT_): New macro.
26760 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26761 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26762 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26763 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26764 (ROUND_RESTORE_): Likewise.
26765 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26766 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26767 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26768 (ROUND_RESTORE_FE_UPWARD): Likewise.
26769 (RUN_TEST_LOOP_f_f): New macro.
26770 (acos_test_data): New variable.
26771 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26772 (acos_tonearest_test_data): New variable.
26773 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26775 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26777 * benchtests/bench-skeleton.c (startup): Fix coding style.
26779 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26782 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26783 negative infinity argument.
26784 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26785 negative infinity argument.
26786 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26787 negative infinity argument.
26788 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26791 2013-05-10 Florian Weimer <fweimer@redhat.com>
26793 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26794 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26795 * iconv/iconv_prog.c (main): Likewise.
26796 * locale/programs/charmap-dir.c (charmap_readdir)
26797 (fopen_uncompressed): Likewise.
26798 * locale/programs/locfile.c (siblings_uncached)
26799 (write_locale_data): Use lstat64 instead of lstat.
26800 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26803 2013-05-10 Andreas Jaeger <aj@suse.de>
26806 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26808 Include <locale.h>.
26810 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26812 * elf/dl-close.c (_dl_close_worker): Add comments.
26814 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26817 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26819 (__ieee754_rem_pio2l): Update comments.
26822 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26824 (__ieee754_rem_pio2l): Update comments.
26826 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26827 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26829 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26832 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26833 (M_PI_34_LOG10El): Likewise.
26834 (M_PI2_LOG10El): Likewise.
26835 (M_PI4_LOG10El): Likewise.
26836 (M_PI_LOG10El): Likewise.
26838 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26842 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26844 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26845 (MINUS_ZERO_INIT): Likewise.
26846 (PLUS_INFTY_INIT): Likewise.
26847 (MINUS_INFTY_INIT): Likewise.
26848 (QNAN_VALUE_INIT): Likewise.
26849 (MAX_VALUE_INIT): Likewise.
26850 (MIN_VALUE_INIT): Likewise.
26851 (MIN_SUBNORM_VALUE_INIT): Likewise.
26852 (plus_zero): Initialize with PLUS_ZERO_INIT.
26853 (minus_zero): Initialize with MINUS_ZERO_INIT.
26854 (plus_infty): Initialize with PLUS_INFTY_INIT.
26855 (minus_infty): Initialize with MINUS_INFTY_INIT.
26856 (qnan_value): Initialize with QNAN_VALUE_INIT.
26857 (max_value): Initialize with MAX_VALUE_INIT.
26858 (min_value): Initialize with MIN_VALUE_INIT.
26859 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26861 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26862 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26863 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26864 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26866 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26867 (RUN_TEST_2_f): Likewise.
26868 (RUN_TEST_ff_f): Likewise.
26869 (RUN_TEST_fi_f): Likewise.
26870 (RUN_TEST_fl_f): Likewise.
26871 (RUN_TEST_fff_f): Likewise.
26872 (RUN_TEST_c_f): Likewise.
26873 (RUN_TEST_f_f1): Likewise.
26874 (RUN_TEST_fF_f1): Likewise.
26875 (RUN_TEST_fI_f1): Likewise.
26876 (RUN_TEST_ffI_f1): Likewise.
26877 (RUN_TEST_c_c): Likewise.
26878 (RUN_TEST_cc_c): Likewise.
26879 (RUN_TEST_f_i): Likewise.
26880 (RUN_TEST_f_i_tg): Likewise.
26881 (RUN_TEST_ff_i_tg): Likewise.
26882 (RUN_TEST_f_b): Likewise.
26883 (RUN_TEST_f_b_tg): Likewise.
26884 (RUN_TEST_f_l): Likewise.
26885 (RUN_TEST_f_L): Likewise.
26886 (RUN_TEST_sincos): Likewise.
26887 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26888 whether to show exceptions. Do not include ");\n" in return
26890 (special_functions): Output call to RUN_TEST_sincos instead of
26891 check_float calls. Update calls to new_test.
26892 (parse_args): Output call to single RUN_TEST_* macro instead of
26893 check_* calls and other assignments. Update calls to new_test.
26899 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26900 input to result for tgamma overflow.
26901 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26902 (gamma_coeff): New variable.
26903 (NCOEFF): New macro.
26904 (gamma_positive): New function.
26905 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26906 underflow here. Use gamma_positive instead of exp (lgamma) for
26908 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26909 (gamma_coeff): New variable.
26910 (NCOEFF): New macro.
26911 (gammaf_positive): New function.
26912 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26913 underflow here. Use gamma_positive instead of exp (lgamma) for
26915 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26916 (gamma_coeff): New variable.
26917 (NCOEFF): New macro.
26918 (gammal_positive): New function.
26919 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26920 underflow here. Use gamma_positive instead of exp (lgamma) for
26922 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26923 (gamma_coeff): New variable.
26924 (NCOEFF): New macro.
26925 (gammal_positive): New function.
26926 (__ieee754_gammal_r): Handle positive infinity, overflow and
26927 underflow here. Handle NaN the same as positive infinity. Remove
26928 check x < 0xffffffff for negative integers. Use gamma_positive
26929 instead of exp (lgamma) for other arguments.
26930 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26931 (gamma_coeff): New variable.
26932 (NCOEFF): New macro.
26933 (gammal_positive): New function.
26934 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26935 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26936 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26938 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26939 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26940 * sysdeps/generic/math_private.h (__gamma_productf): New
26942 (__gamma_product): Likewise.
26943 (__gamma_productl): Likewise.
26944 * math/Makefile (libm-calls): Add gamma_product.
26945 * math/libm-test.inc (tgamma_test): Add more tests.
26946 * sysdeps/i386/fpu/libm-test-ulps: Update.
26947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26949 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26951 * benchtests/bench-skeleton.c (main): Preheat CPU.
26953 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26955 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26957 2013-05-07 Roland McGrath <roland@hack.frob.com>
26959 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26960 and _dl_skip_args_internal.
26962 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26964 * manual/message.texi (Message Translation): Talk about users.
26965 Message to key mapping impacts design.
26967 2013-05-06 Roland McGrath <roland@hack.frob.com>
26969 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26971 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26973 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26974 * sysdeps/wordsize-64/glob64.c: ... here.
26976 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26977 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26980 * debug/getlogin_r_chk.c: Moved to ...
26981 * login/getlogin_r_chk.c: ... here.
26982 * debug/Makefile (routines): Move getlogin_r_chk to ...
26983 * login/Makefile (routines): ... here.
26984 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26985 * login/Versions (libc: GLIBC_2.4): ... here.
26987 * io/poll.c (__poll): Renamed from poll.
26988 Add libc_hidden_def.
26989 (poll): Define as weak alias.
26991 * debug/ptsname_r_chk.c: Moved to ...
26992 * login/ptsname_r_chk.c: ... here.
26993 * debug/Makefile (routines): Move ptsname_r_chk to ...
26994 * login/Makefile (routines): ... here.
26995 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26996 * login/Versions (libc: GLIBC_2.4): ... here.
26998 * posix/getlogin.c: Moved to ...
26999 * login/getlogin.c: ... here.
27000 * posix/getlogin_r.c: Moved to ...
27001 * login/getlogin_r.c: ... here.
27002 * posix/getlogin_r.c: Moved to ...
27003 * login/getlogin_r.c: ... here.
27004 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27005 * login/Makefile (routines): ... here.
27006 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27007 * login/Versions (libc: GLIBC_2.0): ... here.
27009 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27010 (setrlimit): Define as weak alias.
27012 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27013 Call __ names for open, ftruncate, and close.
27014 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27015 (truncate): Define as weak alias.
27017 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27019 * math/gen-libm-test.pl (parse_args): Initialize x before each
27020 test of frexp, modf and remquo.
27022 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27023 test signgam value.
27025 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27029 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27031 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27033 2013-05-06 Roland McGrath <roland@hack.frob.com>
27035 * elf/dl-writev.h: New file.
27036 * elf/dl-misc.c: Include it.
27037 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27038 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27040 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27042 * math/libm-test.inc (noXFails): Remove variable.
27043 (noXPasses): Likewise.
27044 (BUILD_COMPLEX_INT): Remove macro.
27045 (print_screen): Remove xfail argument.
27046 (print_screen_max_error): Likewise.
27047 (update_stats): Likewise.
27048 (print_max_error): Likewise. Update calls to other affected
27050 (print_complex_max_error): Likewise.
27051 (test_single_exception): Update calls to print_screen.
27052 (test_single_errno): Likewise.
27053 (check_float_internal): Remove xfail argument. Update calls to
27054 other affected functions.
27055 (check_float): Likewise.
27056 (check_complex): Likewise.
27057 (check_int): Likewise.
27058 (check_long): Likewise.
27059 (check_bool): Likewise.
27060 (check_longlong): Likewise.
27061 (main): Don't print noXFails and noXPasses.
27062 * math/gen-libm-test.pl (top level): Don't mention expected
27063 failure handling in comment.
27064 (new_test): Don't handle expected failures.
27065 (parse_args): Don't mention expected failure handling in comment.
27066 (generate_testfile): Don't handle expected failures.
27067 (parse_ulps): Likewise.
27068 (print_ulps_file): Likewise.
27069 (get_failure): Remove function.
27070 (output_test): Don't handle expected failures.
27071 * make/README.libm-test: Don't mention expected failure handling.
27073 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27074 (minus_zero): Likewise.
27075 (plus_infty): Likewise.
27076 (minus_infty): Likewise.
27077 (qnan_value): Likewise.
27078 (max_value): Likewise.
27079 (min_value): Likewise.
27080 (min_subnorm_value): Likewise.
27081 (initialize): Do not initialize those variables dynamically.
27083 2013-05-03 Roland McGrath <roland@hack.frob.com>
27085 * io/open.c (__open_2): Moved to ...
27086 * io/open_2.c: ... this new file.
27087 * io/open64.c (__open64_2): Moved to ...
27088 * io/open64_2.c: ... this new file.
27089 * io/openat.c (__openat_2): Moved to ...
27090 * io/openat_2.c: ... this new file.
27091 * io/openat64.c (__openat64_2): Moved to ...
27092 * io/openat64_2.c: ... this new file.
27093 * io/Makefile (routines): Add them.
27094 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27095 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27096 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27097 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27098 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27099 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27100 (__openat64): Add hidden_ver.
27101 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27102 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27104 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27105 Separately conditionalize setting of GLRO(dl_sysinfo) so
27106 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27107 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27109 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27111 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27114 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27115 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27116 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27117 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27118 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27120 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27122 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27123 test signgam value.
27125 * math/libm-test.inc (hypot_test): Do not use
27126 IGNORE_ZERO_INF_SIGN.
27128 2013-05-03 Andreas Jaeger <aj@suse.de>
27130 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27132 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27133 (PF_MAX): Adjust for VSOCK change.
27135 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27139 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27142 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27143 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27144 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27146 2013-05-02 David S. Miller <davem@davemloft.net>
27148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27150 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27152 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27154 2013-05-01 Roland McGrath <roland@hack.frob.com>
27156 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27158 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27161 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27162 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27163 Use __attribute__ ((__gnu_inline__)).
27164 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27165 Don't use __attribute__ ((__gnu_inline__)).
27167 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27170 * math/s_catan.c (__catan): Handle small real or imaginary part of
27171 input specially to avoid spurious underflow.
27172 * math/s_catanf.c (__catanf): Likewise.
27173 * math/s_catanh.c (__catanh): Likewise.
27174 * math/s_catanhf.c (__catanhf): Likewise.
27175 * math/s_catanhl.c (__catanhl): Likewise.
27176 * math/s_catanl.c (__catanl): Likewise.
27177 * math/libm-test.inc (catan_test): Add more tests.
27178 (catanh_test): Likewise.
27179 * sysdeps/i386/fpu/libm-test-ulps: Update.
27180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27182 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27186 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27189 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27190 accurately for denominator in atan2.
27191 * math/s_catanf.c (__catanf): Likewise.
27192 * math/s_catanh.c (__catanh): Likewise.
27193 * math/s_catanhf.c (__catanhf): Likewise.
27194 * math/s_catanhl.c (__catanhl): Likewise.
27195 * math/s_catanl.c (__catanl): Likewise.
27196 * math/libm-test.inc (catan_test): Add more tests.
27197 (catanh_test): Likewise.
27198 * sysdeps/i386/fpu/libm-test-ulps: Update.
27199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27201 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27203 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27205 * benchtests/Makefile (bench): Remove slow benchmarks.
27206 * benchtests/atan-inputs: Add slow benchmark inputs.
27207 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27208 (BENCH_FUNC): Accept variant offset.
27210 * benchtests/bench-skeleton.c (main): Run benchmark for each
27212 * benchtests/cos-inputs: Add slow benchmark inputs.
27213 * benchtests/exp-inputs: Likewise.
27214 * benchtests/pow-inputs: Likewise.
27215 * benchtests/sin-inputs: Likewise.
27216 * benchtests/slowatan-inputs: Remove.
27217 * benchtests/slowatan.c: Remove.
27218 * benchtests/slowcos-inputs: Remove.
27219 * benchtests/slowcos.c: Remove.
27220 * benchtests/slowexp-inputs: Remove.
27221 * benchtests/slowexp.c: Remove.
27222 * benchtests/slowpow-inputs: Remove.
27223 * benchtests/slowpow.c: Remove.
27224 * benchtests/slowsin-inputs: Remove.
27225 * benchtests/slowsin.c: Remove.
27226 * benchtests/slowtan-inputs: Remove.
27227 * benchtests/slowtan.c: Remove.
27228 * benchtests/tan-inputs: Add slow benchmark inputs.
27229 * scripts/bench.pl: Parse comments and directives.
27231 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27233 ($(objpfx)bench-%.c): Remove *-ITER.
27234 * benchtests/bench-modf.c: Remove definition of ITER.
27235 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27236 (main): Loop for DURATION seconds instead of fixed number of
27238 * scripts/bench.pl: Don't expect iterations in parameters.
27240 2013-04-29 Roland McGrath <roland@hack.frob.com>
27242 * io/fchdir.c (__fchdir): Renamed from fchdir.
27243 (fchdir): Define as weak alias.
27245 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27247 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27248 (ERRNO_EDOM): Likewise.
27249 (ERRNO_ERANGE): Likewise.
27250 (noErrnoTests): New variable.
27251 (init_max_error): Set errno to 0.
27252 (test_single_errno): New function.
27253 (test_errno): Likewise.
27254 (check_float_internal): Call test_errno. Set errno to 0.
27255 (check_complex): Refer to errno tests in comment.
27256 (check_int): Call test_errno. Set errno to 0.
27257 (check_long): Likewise.
27258 (check_bool): Likewise.
27259 (check_longlong): Likewise.
27260 (cos_test): Use ERRNO_* flags for errno tests instead of
27262 (expm1_test): Likewise.
27263 (fmod_test): Likewise.
27264 (ilogb_test): Likewise.
27265 (lgamma_test): Likewise.
27266 (pow_test): Likewise.
27267 (remainder_test): Likewise.
27268 (sin_test): Likewise.
27269 (tan_test): Likewise.
27270 (yn_test): Likewise.
27271 (initialize): Set errno to 0.
27272 (main): Print number of errno tests.
27273 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27275 2013-04-29 Andreas Jaeger <aj@suse.de>
27278 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27282 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27283 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27287 * stdlib/random.c (__initstate): Return NULL if
27291 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27292 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27295 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27299 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27301 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27302 of individual tests.
27303 (casin_test): Likewise.
27304 (casinh_test): Likewise.
27306 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27309 * math/s_catan.c (__catan): Handle arguments with large real or
27310 imaginary part separately without squaring.
27311 * math/s_catanf.c (__catanf): Likewise.
27312 * math/s_catanh.c (__catanh): Likewise.
27313 * math/s_catanhf.c (__catanhf): Likewise.
27314 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27316 (__catanhl): Handle arguments with large real or imaginary part
27317 separately without squaring.
27318 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27320 (__catanl): Handle arguments with large real or imaginary part
27321 separately without squaring.
27322 * math/libm-test.inc (catan_test): Add more tests.
27323 (catanh_test): Likewise.
27324 * sysdeps/i386/fpu/libm-test-ulps: Update.
27325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27327 2013-04-27 Andreas Jaeger <aj@suse.de>
27330 * stdlib/stdlib.h: Update guards for qecvt.
27331 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27334 2013-04-27 Allan McRae <allan@archlinux.org>
27336 * sysdeps/i386/fpu/libm-test-ulps: Update.
27338 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27341 * math/s_catan.c: Include <float.h>.
27342 (__catan): Ensure underflow exception occurs for underflowed
27344 * math/s_catanf.c: Include <float.h>.
27345 (__catanf): Ensure underflow exception occurs for underflowed
27347 * math/s_catanh.c: Include <float.h>.
27348 (__catanh): Ensure underflow exception occurs for underflowed
27350 * math/s_catanhf.c: Include <float.h>.
27351 (__catanhf): Ensure underflow exception occurs for underflowed
27353 * math/s_catanhl.c: Include <float.h>.
27354 (__catanhl): Ensure underflow exception occurs for underflowed
27356 * math/s_catanl.c: Include <float.h>.
27357 (__catanl): Ensure underflow exception occurs for underflowed
27359 * math/libm-test.inc (catan_test): Add more tests.
27360 (catanh_test): Likewise.
27363 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27364 underflowed result.
27365 * math/s_ccoshf.c (__ccoshf): Likewise.
27366 * math/s_ccoshl.c (__ccoshl): Likewise.
27367 * math/s_csin.c (__csin): Likewise.
27368 * math/s_csinf.c (__csinf): Likewise.
27369 * math/s_csinh.c (__csinh): Likewise.
27370 * math/s_csinhf.c (__csinhf): Likewise.
27371 * math/s_csinhl.c (__csinhl): Likewise.
27372 * math/s_csinl.c (__csinl): Likewise.
27373 * math/libm-test.inc (ccos_test): Add more tests.
27374 (ccosh_test): Likewise.
27375 (csin_test): Likewise.
27376 (csinh_test): Likewise.
27378 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27380 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27381 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27382 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27383 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27384 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27385 powerpc/power5+/fpu folders.
27386 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27389 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27393 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27395 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27396 additions to variable.
27397 [$(config-machine) = x86_64] (modules-names): Likewise.
27398 ($(objpfx)tst-audit3): Remove dependency.
27399 ($(objpfx)tst-audit3.out): Likewise.
27400 ($(objpfx)tst-audit4): Likewise.
27401 ($(objpfx)tst-audit4.out): Likewise.
27402 ($(objpfx)tst-audit5): Likewise.
27403 ($(objpfx)tst-audit5.out): Likewise.
27404 ($(objpfx)tst-audit6): Likewise.
27405 ($(objpfx)tst-audit6.out): Likewise.
27406 ($(objpfx)tst-audit7): Likewise.
27407 ($(objpfx)tst-audit7.out): Likewise.
27408 (tst-audit3-ENV): Remove variable.
27409 (tst-audit4-ENV): Likewise.
27410 (tst-audit5-ENV): Likewise.
27411 (tst-audit6-ENV): Likewise.
27412 (tst-audit7-ENV): Likewise.
27413 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27414 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27415 addition to variable.
27416 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27417 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27418 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27419 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27420 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27421 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27422 tst-audit3, tst-audit4 and tst-audit5.
27423 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27424 tst-audit6 and tst-audit7.
27425 [$(subdir) = elf] (modules-names): Add audit modules for those
27427 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27428 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27429 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27430 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27431 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27432 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27433 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27434 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27435 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27436 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27437 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27438 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27439 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27440 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27441 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27442 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27444 [$(subdir) = elf && $(config-cflags-avx) = yes]
27445 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27446 [$(subdir) = elf && $(config-cflags-avx) = yes]
27447 (CFLAGS-tst-auditmod4a.c): Likewise.
27448 [$(subdir) = elf && $(config-cflags-avx) = yes]
27449 (CFLAGS-tst-auditmod4b.c): Likewise.
27450 [$(subdir) = elf && $(config-cflags-avx) = yes]
27451 (CFLAGS-tst-auditmod6b.c): Likewise.
27452 [$(subdir) = elf && $(config-cflags-avx) = yes]
27453 (CFLAGS-tst-auditmod6c.c): Likewise.
27454 [$(subdir) = elf && $(config-cflags-avx) = yes]
27455 (CFLAGS-tst-auditmod7b.c): Likewise.
27456 * elf/tst-audit3.c: Move to ...
27457 * sysdeps/x86_64/tst-audit3.c: ... here.
27458 * elf/tst-audit4.c: Move to ...
27459 * sysdeps/x86_64/tst-audit4.c: ... here.
27460 * elf/tst-audit5.c: Move to ...
27461 * sysdeps/x86_64/tst-audit5.c: ... here.
27462 * elf/tst-audit6.c: Move to ...
27463 * sysdeps/x86_64/tst-audit6.c: ... here.
27464 * elf/tst-audit7.c: Move to ...
27465 * sysdeps/x86_64/tst-audit7.c: ... here.
27466 * elf/tst-auditmod3a.c: Move to ...
27467 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27468 * elf/tst-auditmod3b.c: Move to ...
27469 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27470 * elf/tst-auditmod4a.c: Move to ...
27471 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27472 * elf/tst-auditmod4b.c: Move to ...
27473 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27474 * elf/tst-auditmod5a.c: Move to ...
27475 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27476 * elf/tst-auditmod5b.c: Move to ...
27477 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27478 * elf/tst-auditmod6a.c: Move to ...
27479 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27480 * elf/tst-auditmod6b.c: Move to ...
27481 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27482 * elf/tst-auditmod6c.c: Move to ...
27483 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27484 * elf/tst-auditmod7a.c: Move to ...
27485 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27486 * elf/tst-auditmod7b.c: Move to ...
27487 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27489 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27492 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27493 define unconditionally.
27494 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27495 define unconditionally.
27496 (INT8_C, INT16_C, etc.): Likewise.
27498 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27500 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27501 __ehdr_start with hidden visibility.
27503 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27505 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27507 * math/libm-test.inc (cos_test): Use accurate hex constants.
27508 (sincost_test): Likewise.
27510 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27512 * math/libm-test.inc (catan_test): Add more tests.
27513 (catanh_test): Likewise.
27515 * math/s_catanf.c (__catanf): Use suffixed floating-point
27517 * math/s_catanhf.c (__catanhf): Likewise.
27518 * math/s_catanhl.c (__catanhl): Likewise.
27519 * math/s_catanl.c (__catanl): Likewise.
27522 * math/s_catan.c (__catan): Calculate imaginary part of result
27523 with log1p not log unless computing log of number close to 0.
27524 * math/s_catanf.c (__catanf): Likewise.
27525 * math/s_catanl.c (__catanl): Likewise.
27526 * math/s_catanh.c (__catanh): Calculate real part of result with
27527 log1p not log unless computing log of number close to 0.
27528 * math/s_catanhf.c (__catanhf): Likewise.
27529 * math/s_catanhl.c (__catanhl): Likewise.
27530 * math/libm-test.inc (catan_test): Add more tests.
27531 (catanh_test): Likewise.
27532 * sysdeps/i386/fpu/libm-test-ulps: Update.
27533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27535 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27537 * benchtests/Makefile: Mention files in which fast and slow
27538 paths of math functions are implemented.
27540 2013-04-23 Roland McGrath <roland@hack.frob.com>
27542 * sysdeps/posix/timespec_get.c: New file.
27544 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27546 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27548 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27550 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27551 powerpc/power5/fpu folders.
27552 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27553 * benchtests/Makefile: Add modf testcase.
27554 * benchtests/bench-modf.c: New file: Benchmark test for mo
27556 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27559 * time/Makefile (tests): Add tst-strptime-whitespace.
27560 * time/strptime_l.c (get_number): Use ISSPACE.
27561 (__strptime_internal): Likewise.
27562 * time/tst-strptime-whitespace.c: New test case.
27564 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27566 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27568 (_nss_files_init): Set it here.
27570 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27572 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27573 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27576 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27578 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27580 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27585 2013-04-21 David S. Miller <davem@davemloft.net>
27587 * po/ru.po: Update Russion translation from translation project.
27589 2013-04-17 Adam Conrad <adconrad@0c3.net>
27591 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27594 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27596 * configure.in: Remove i386 configure warning. Remove i386 case.
27597 * configure: Regenerate.
27598 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27599 Add example to error message.
27600 * sysdeps/i386/configure: Regenerate.
27602 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27604 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27606 * benchtests/cos-inputs: New file.
27607 * benchtests/slowcos-inputs: New file.
27608 * benchtests/slowcos.c: New file.
27609 * benchtests/slowtan-inputs: New file.
27610 * benchtests/slowtan.c: New file.
27611 * benchtests/tan-inputs: New file.
27613 2013-04-16 Roland McGrath <roland@hack.frob.com>
27615 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27618 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27620 * benchtests/Makefile: Include cppflags-iterator.mk to add
27621 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27623 * Makefile.in (bench-clean): New target.
27624 * benchtests/Makefile (bench-clean): Likewise.
27626 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27628 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27630 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27632 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27634 2013-04-15 Andreas Schwab <schwab@suse.de>
27636 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27637 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27638 * nscd/pwdcache.c (cache_addpw): Likewise.
27639 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27642 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27644 * benchtests/Makefile (bench): Write all output to
27645 bench-out.tmp together.
27647 2013-04-15 Andreas Schwab <schwab@suse.de>
27649 * nscd/nscd.c (main): Don't fork again after closing files.
27651 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27653 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27655 * benchtests/Rules (bench-deps): Collect dependencies into a
27656 single variable. Add Makefile to dependencies.
27657 ($(objpfx)bench-%.c): Depend on bench-deps.
27659 2013-04-12 Roland McGrath <roland@hack.frob.com>
27660 Xavier Roche <roche+kml2@exalead.com>
27663 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27664 just that it's a file descriptor.
27665 * manual/llio.texi (Synchronizing AIO Operations): Update description
27666 for EBADF error from aio_fsync.
27668 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27670 * Rules (bench): Move target definition...
27671 * benchtests/Makefile: ... here.
27673 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27675 * math/libm-test.inc (cos_test): Fix PI/2 test.
27676 (sincos_test): Likewise.
27677 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27678 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27680 2013-04-11 Andreas Schwab <schwab@suse.de>
27683 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27684 accept exponent character only when digits were seen.
27685 * stdio-common/Makefile (tests): Add bug26.
27686 * stdio-common/bug26.c: New file.
27689 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27692 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27694 * Makeconfig (rtld-prefix): Define built linker prefix.
27695 * Rules (run-bench): Use it.
27696 * math/Makefile (run-regen-ulps): Likewise.
27698 * Rules (bench): Remove eval.
27700 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27701 Roland McGrath <roland@hack.frob.com>
27702 Ondrej Bilka <neleai@seznam.cz>
27705 * time/getdate.c: Include ctype.h and alloca.h.
27706 (__getdate_r): Trim leading and trailing spaces of input.
27707 * time/tst-getdate.c (tests): Add tests with leading and
27710 2013-04-08 Roland McGrath <roland@hack.frob.com>
27713 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27714 when computing value.
27716 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27718 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27719 Use testrun.sh to run libm tests.
27722 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27724 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27727 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27729 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27731 * Makefile.in (regen-ulps): New target.
27732 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27733 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27734 [ifneq (no,$(PERL)] (regen-ulps): New target.
27735 [ifeq (no,$(PERL)] (regen-ulps): New target.
27736 * math/libm-test.inc (ulps_file_name): Define.
27737 (output_dir): New variable.
27738 (options): Add "output-dir" option.
27739 (parse_opt): Handle 'o' case.
27740 (main): If output_dir is non-NULL use it as a prefix
27742 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27744 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27746 [BZ #10060, #10062]
27747 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27748 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27749 fail configure if __sync_val_compare_and_swap is not inlined.
27750 * sysdeps/i386/configure: Regenerate.
27751 * configure.in: Build for i686 when configured for i386.
27752 * configure: Regenerate.
27753 * README: Remove i386 reference.
27755 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27757 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27758 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27760 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27762 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27763 (lmsnanval): New variables.
27764 (F): Add conversion tests.
27765 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27766 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27768 * stdio-common/tstdiomisc.c (F): Properly collect individual
27771 [BZ #14686, #15336]
27772 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27773 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27774 Instead, use input NaN values or generate a qNaN by arithmetic
27775 operation. Also fix bugs to comply with the standard.
27776 * math/libm-test.inc (remainder_test): Add more tests.
27778 [BZ #15335, #15342]
27779 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27780 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27781 input NaN values or generate a qNaN by arithmetic operation.
27783 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27786 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27789 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27792 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27793 underflowed result.
27794 * math/s_cexpf.c (__cexpf): Likewise.
27795 * math/s_cexpl.c (__cexpl): Likewise.
27796 * math/libm-test.inc (cexp_test): Add more tests.
27798 2013-04-03 Andreas Schwab <schwab@suse.de>
27801 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27802 order arrays from heap if bigger than alloca cutoff.
27804 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27806 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27807 (SNAN_TESTS_double): Refer to GCC PR56831.
27808 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27811 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27813 * Rules (bench): Move bench.out after the run is complete.
27815 * Rules (bench): Echo currently running benchmark.
27817 * benchtests/Makefile (bench): Add atan and slowatan.
27818 * benchtests/atan-inputs: New file.
27819 * benchtests/slowatan-inputs: New file.
27820 * benchtests/slowatan.c: New file.
27822 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27823 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27827 * sysdeps/unix/sysv/linux/kernel-features.h
27828 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27829 __ASSUME_XFS_RESTRICTED_CHOWN.
27830 * sysdeps/unix/sysv/linux/pathconf.c
27831 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27832 Save and restore errno.
27834 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27837 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27838 arguments using __kernel_casinh.
27839 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27840 arguments using __kernel_casinhf.
27841 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27842 arguments using __kernel_casinhl.
27843 * math/libm-test.inc (cacosh_test): Add more tests.
27844 * sysdeps/i386/fpu/libm-test-ulps: Update.
27845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27847 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27849 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27850 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27852 * bench/Makefile (bench): Add sin and slowsin.
27853 * benchtests/sin-inputs: New file.
27854 * benchtests/slowsin-inputs: New file.
27855 * benchtests/slowsin.c: New file.
27857 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27858 (bench): Add slowexp and slowpow.
27859 (exp-ITER): Increase iterations.
27860 (pow-ITER): Likewise.
27861 * benchtests/exp-inputs: Change input.
27862 * benchtests/pow-inputs: Likewise.
27863 * benchtests/slowexp-inputs: New file.
27864 * benchtests/slowexp.c: New file.
27865 * benchtests/slowpow-inputs: New file.
27866 * benchtests/slowpow.c: New file.
27868 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27870 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27872 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27873 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27874 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27875 * benchtests/Makefile: Add rint benchtest.
27876 * benchtests/rint-inputs: Input for rint benchtest.
27878 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27880 * Versions.def (libm): Add GLIBC_2.18.
27881 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27882 hidden libm prototypes.
27883 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27884 * math/Makefile (libm-calls): Add s_issignaling.
27885 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27886 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27887 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27889 * math/math.h [__USE_GNU] (issignaling): New macro.
27890 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27891 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27892 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27893 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27894 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27895 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27896 * manual/arith.texi (issignaling): New section.
27897 * manual/libm-err-tab.pl (@all_functions): Update comment.
27898 * math/gen-libm-test.pl (parse_args): Apply special handling for
27900 * math/libm-test.inc (print_float, issignaling_test): New
27902 (check_float_internal): Add issignaling checks.
27903 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27904 default definition.
27905 * sysdeps/powerpc/math-tests.h: New file.
27906 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27908 * math/test-snan.c (TEST_FUNC): Likewise.
27910 2013-03-30 David S. Miller <davem@davemloft.net>
27912 * po/de.po: Update from translation team.
27914 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27917 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27918 imaginary part less than 1.0 and real part less than 0.5
27920 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27921 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27922 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27923 (cacos_test): Add more tests.
27924 (casin_test): Likewise.
27925 (casinh_test): Likewise.
27926 * sysdeps/i386/fpu/libm-test-ulps: Update.
27927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27929 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27931 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27932 ONE with its value.
27934 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27935 (__pow_mp): Replace ONE and MONE with their values.
27936 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27937 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27938 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27939 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27940 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27941 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27943 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27945 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27946 (__pow_mp): Replace ZERO and MZERO with their values.
27947 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27948 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27949 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27950 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27951 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27952 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27955 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27957 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27959 2013-03-28 Roland McGrath <roland@hack.frob.com>
27961 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27962 Declare with __attribute__ ((weak)).
27963 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27964 Call __call_tls_dtors only if it's not NULL.
27966 2013-03-28 Roland McGrath <roland@hack.frob.com>
27968 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27969 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27970 magic __ehdr_start linker symbol if it's defined.
27971 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27972 them up here if it was already done.
27974 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27975 (_dl_aux_init): Use const in cast when setting it.
27976 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27977 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27978 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27980 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27982 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27983 * csu/libc-tls.c: Nor here.
27984 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27986 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27987 (__libc_message): Never call vsyslog.
27989 2013-03-28 Alan Modra <amodra@gmail.com>
27991 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27993 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27996 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27999 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28003 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28006 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28007 Don't add gid passed as argument.
28009 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28011 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28014 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28015 imaginary part between 1.0 and 1.5 and real part less than 0.5
28017 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28018 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28019 * math/libm-test.inc (cacos_test): Add more tests.
28020 (casin_test): Likewise.
28021 (casinh_test): Likewise.
28022 * sysdeps/i386/fpu/libm-test-ulps: Update.
28023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28025 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28027 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28030 (denorm): Likewise.
28031 (__dbl_mp): Likewise.
28032 (add_magnitudes): Likewise.
28033 (sub_magnitudes): Likewise.
28041 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28043 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28044 (__dubcos): Likewise.
28045 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28046 (__ieee754_acos): Likewise.
28047 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28048 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28049 (__exp1): Likewise.
28050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28053 (my_log2): Likewise.
28054 (checkint): Likewise.
28055 * sysdeps/ieee754/dbl-64/e_remainder.c
28056 (__ieee754_remainder): Likewise.
28057 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28058 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28059 (bsloww): Likewise.
28060 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28062 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28063 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28064 MANTISSA_STORE_T to store computations on mantissa. Use
28065 macros for rounding and division.
28066 (denorm): Likewise.
28067 (__dbl_mp): Likewise.
28068 (add_magnitudes): Likewise.
28069 (sub_magnitudes): Likewise.
28072 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28073 powers of two in terms of TWOPOW macro.
28074 (mp_no): Make type of mantissa as MANTISSA_T.
28075 [!RADIXI]: Define RADIXI.
28076 [!TWO52]: Define TWO52.
28077 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28079 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28081 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28082 llroundl symbol when building for PPC32.
28084 2013-03-24 Mark H Weaver <mhw@netris.org>
28086 * manual/arith.texi (Normalization Functions): Fix prototypes for
28087 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28089 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28092 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28093 high value to check if expl overflow.
28094 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28095 to check for underflow and overflow.
28096 * math/libm-test.inc: Add exp test.
28098 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28101 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28104 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28106 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28109 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28111 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28112 wrap blocks consisting of several statements.
28114 * sysdeps/generic/math-tests.h: New file.
28115 * sysdeps/i386/fpu/math-tests.h: Likewise.
28116 * math/test-snan.c: Include it.
28117 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28119 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28122 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28123 (__ieee754_j0l): Do not improve calculations using cos of twice
28124 input for inputs above LDBL_MAX / 2.0L.
28125 (__ieee754_y0l): Likewise.
28126 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28127 (__ieee754_j1l): Do not improve calculations using cos of twice
28128 input for inputs above LDBL_MAX / 2.0L.
28129 (__ieee754_y1l): Likewise.
28130 * math/libm-test.inc (j0_test): Add another test.
28131 (j1_test): Likewise.
28132 (y0_test): Likewise.
28133 (y1_test): Likewise.
28134 * sysdeps/i386/fpu/libm-test-ulps: Update.
28136 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28138 * Rules ($(objpfx)bench-%.c): Include code from a C source
28141 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28144 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28145 imaginary part 1.0 and real part less than 0.5 specially.
28146 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28147 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28148 * math/libm-test.inc (cacos_test): Add more tests.
28149 (casin_test): Likewise.
28150 (casinh_test): Likewise.
28151 * sysdeps/i386/fpu/libm-test-ulps: Update.
28152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28154 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28156 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28157 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28159 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28161 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28162 * config.make.in (config-cflags-sse4): Remove variable.
28163 (config-cflags-avx): Likewise.
28164 (config-cflags-sse2avx): Likewise.
28165 (config-cflags-novzeroupper): Likewise.
28166 (config-asflags-i686): Likewise.
28167 (have-mfma4): Likewise.
28168 (have-as-vis3): Likewise.
28170 * configure.in (MIG): Do not AC_SUBST.
28171 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28172 (libc_cv_cc_sse4): Do not AC_SUBST.
28173 (libc_cv_cc_avx): Likewise.
28174 (libc_cv_cc_sse2avx): Likewise.
28175 (libc_cv_cc_novzeroupper): Likewise.
28176 (libc_cv_cc_fma4): Likewise.
28177 (libc_cv_as_i686): Likewise.
28178 (libc_cv_sparc_as_vis3): Likewise.
28179 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28181 (config-asflags-i686): Likewise.
28182 (config-cflags-avx): Likewise.
28183 (config-cflags-sse2avx): Likewise.
28184 (have-mfma4): Likewise.
28185 (config-cflags-novzeroupper): Likewise.
28186 * sysdeps/mach/configure.in (MIG): Likewise.
28187 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28188 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28190 (config-cflags-avx): Likewise.
28191 (config-cflags-sse2avx): Likewise.
28192 (have-mfma4): Likewise.
28193 (config-cflags-novzeroupper): Likewise.
28194 * configure: Regenerated.
28195 * sysdeps/i386/configure: Likewise.
28196 * sysdeps/mach/configure: Likewise.
28197 * sysdeps/sparc/configure: Likewise.
28198 * sysdeps/x86_64/configure: Likewise.
28200 2013-03-20 Roland McGrath <roland@hack.frob.com>
28203 * locale/programs/localedef.c (options): Put N_ translation marker
28204 on argument names, not just descriptions.
28206 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28208 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28210 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28213 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28215 2013-03-19 Roland McGrath <roland@hack.frob.com>
28217 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28218 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28219 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28220 [!BEFORE_ABORT] (before_abort): New function.
28221 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28222 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28223 (writev_for_fatal): New function.
28224 (WRITEV_FOR_FATAL): New macro; call that.
28225 (backtrace_and_maps): New function.
28226 (BEFORE_ABORT): New macro; call that.
28227 (struct str_list): Type removed.
28228 (__libc_message, __libc_fatal): Functions removed.
28229 Include <sysdeps/posix/libc_fatal.c> instead.
28231 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28233 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28235 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28238 2013-03-19 Andreas Schwab <schwab@suse.de>
28240 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28241 * sysdeps/gnu/configure: Regenerate.
28243 * configure.in: Substitute libc_cv_rtlddir.
28244 * configure: Regenerate.
28245 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28246 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28247 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28248 * elf/Makefile (install-others, CFLAGS-interp.c)
28249 (ldso_install, common-ldd-rewrite): Likewise.
28250 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28251 $(inst_slibdir)/$(rtld-installed-name).
28252 * scripts/rellns-sh: Add -p option.
28253 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28256 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28258 * manual/nptl.texi: Renamed to ...
28259 * manual/threads.texi: ... this.
28260 * manual/Makefile (chapters): Update.
28262 2013-03-18 Roland McGrath <roland@hack.frob.com>
28265 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28266 on argument names, not just descriptions.
28267 * malloc/memusagestat.c (options): Likewise.
28268 * nss/getent.c (options): Likewise.
28270 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28273 * iconv/iconv_prog.c (options): Put N_ translation marker
28274 on argument names, not just descriptions.
28275 * iconv/iconvconfig.c (options): Likewise.
28277 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28279 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28280 implementation which is faster on all x86_64 architectures.
28281 Tested on AMD, Intel Nehalem, SNB, IVB.
28282 * sysdeps/x86_64/strnlen.S: Likewise.
28284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28285 Remove all multiarch strlen and strnlen versions.
28286 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28287 Remove strlen and strnlen related parts.
28289 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28290 Inline strlen part.
28291 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28293 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28294 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28295 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28296 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28297 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28298 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28300 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28302 * manual/memory.texi (Malloc Tunable Parameters):
28303 Sort parameters alphabetically. Add comments for missing entries.
28305 2013-03-17 David S. Miller <davem@davemloft.net>
28307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28309 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28312 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28313 for arguments at most half maximum finite value.
28314 * math/libm-test.inc (j0_test): Add more tests.
28315 (j1_test): Likewise.
28316 (y0_test): Likewise.
28317 (y1_test): Likewise.
28318 * sysdeps/i386/fpu/libm-test-ulps: Update.
28319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28322 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28323 1 / x and functions P and Q for arguments above 0x1p256L.
28324 (__ieee754_y0l): Likewise.
28325 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28326 (__ieee754_y1l): Likewise.
28327 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28328 (j1_test): Likewise.
28329 (y0_test): Likewise.
28330 (y1_test): Likewise.
28332 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28334 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28337 2013-03-15 Roland McGrath <roland@hack.frob.com>
28339 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28340 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28341 zero since it's initialized to EXEC_PAGESIZE.
28343 * sysdeps/unix/sysv/linux/ldsodefs.h
28344 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28345 * sysdeps/generic/ldsodefs.h: ... here.
28347 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28349 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28351 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28353 * math/test-snan.c: Renamed from
28354 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28355 * math/Makefile (tests): Add test-snan.
28356 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28359 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28360 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28362 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28363 __builtin_nan family of functions.
28364 * math/libm-test.inc (initialize): Initialize qnan_value with
28365 __builtin_nan family of functions.
28366 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28368 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28370 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28371 storage class. Initialize qNaN_var and sNaN_var with
28372 __builtin_nan and __builtin_nans families of functions,
28375 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28376 (sqrt_test): Remove duplicate test with qNaN input.
28377 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28378 (round_test, signbit_test, significand_test): Note missing +/-Inf
28379 as well as qNaN tests.
28381 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28382 qNaN_var. Fix a few strings, too.
28383 * math/libm-test.inc (nan_value): Rename to qnan_value.
28384 * math/gen-libm-test.pl (%beautify): Adjust to that.
28385 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28386 * math/test-misc.c (main): Likewise.
28387 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28388 to __qnan_bytes, and __qnan_union, respectively.
28389 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28391 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28392 and lqnanval, respectively.
28393 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28394 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28395 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28396 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28398 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28399 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28402 * math/test-misc.c (main): Fix copy'n'pastos.
28403 * misc/tst-efgcvt.c (special): Likewise.
28405 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28406 Remove declarations.
28408 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28410 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28411 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28412 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28413 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28415 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28417 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28418 macro to return vdso values correctly in IFUNC implementations.
28419 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28420 Optimization by using IFUNC.
28422 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28423 Richard Henderson <rth@redhat.com>
28424 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28426 * Makefile.in (bench): New target.
28427 * NEWS: Mention the benchmark framework.
28428 * Rules (bench): Likewise.
28429 (binaries-bench): Generate binaries for functions to
28431 * benchtests/Makefile: New makefile for benchmark tests.
28432 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28434 * benchtests/exp-inputs: New input file for EXP function.
28435 * benchtests/pow-inputs: New input file for POW function.
28436 * scripts/bench.pl: New script to generate source files for
28437 benchmark programs.
28439 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28441 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28442 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28443 computations on mantissa. Use macros for rounding and
28445 (denorm): Likewise.
28446 (__dbl_mp): Likewise.
28447 (add_magnitudes): Likewise.
28448 (sub_magnitudes): Likewise.
28451 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28452 powers of two in terms of TWOPOW macro.
28453 (mp_no): Make type of mantissa as MANTISSA_T.
28454 [!RADIXI]: Define RADIXI.
28455 [!TWO52]: Define TWO52.
28456 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28458 * manual/nptl.texi (cindex): Modify threads to pthreads.
28460 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28462 * sysdeps/x86_64/preconfigure: Regenerated.
28464 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28467 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28469 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28470 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28472 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28473 * math/libm-test.inc (j0_test): Do not allow one spurious
28474 underflow exception.
28475 (y1_test): Likewise.
28477 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28479 * manual/Makefile (chapters): Add nptl.
28480 * manual/debug.texi (Debugging Support): Add link to Threads
28482 * manual/nptl.texi: New file.
28484 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28486 2013-03-14 Petr Baudis <pasky@ucw.cz>
28488 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28489 for non-NULL pointer before the memory validity test. Pointed
28490 out by Holger Brunck <holger.brunck@keymile.com>.
28492 2013-03-13 Andreas Schwab <schwab@suse.de>
28494 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28497 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28499 * timezone/zic.c: Update from tzcode 2013b.
28501 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28503 * manual/install.texi (Configuring and compiling):
28504 Mention i686 and i586.
28505 * INSTALL: Regenerate.
28507 2013-03-12 Roland McGrath <roland@hack.frob.com>
28509 * sysdeps/init_array/elf-init.c: New file.
28511 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28512 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28514 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28515 __gmon_start__ as global, but as static with a .preinit_array pointer.
28516 * sysdeps/init_array/gmon-start.c: New file. Use that.
28517 * sysdeps/init_array/crti.S: New file, empty except for comments.
28518 * sysdeps/init_array/crtn.S: Likewise.
28520 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28522 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28524 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28525 Remove Prefer_SSE_for_memop.
28526 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28527 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28528 HAS_PREFER_SSE_FOR_MEMOP.
28529 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28531 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28532 Remove bzero, memset ifunc support.
28533 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28534 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28535 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28536 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28538 2013-03-11 Andreas Schwab <schwab@suse.de>
28541 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28544 (GLIBC_2.16): Remove pthread_atfork.
28546 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28548 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28549 (ptestcases.h): Likewise.
28551 2013-03-08 Roland McGrath <roland@hack.frob.com>
28553 * Makeconfig ($(common-objpfx)config.status): Depend on
28554 sysdeps/*/preconfigure{,.in} too.
28556 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28558 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28559 (__free_hook): Use void * instead of __malloc_ptr_t.
28560 (__malloc_hook): Likewise.
28561 (__realloc_hook): Likewise.
28562 (__memalign_hook): Likewise.
28563 (__after_morecore_hook): Likewise.
28564 * malloc/arena.c (save_malloc_hook): Likewise.
28565 (save_free_hook): Likewise.
28566 * malloc/hooks.c (malloc_hook_ini): Likewise.
28567 (realloc_hook_ini): Likewise.
28568 (memalign_hook_ini): Likewise.
28569 * malloc/malloc.c (malloc_hook_ini): Likewise.
28570 (realloc_hook_ini): Likewise.
28571 (memalign_hook_ini): Likewise.
28572 (__free_hook): Likewise.
28573 (__malloc_hook): Likewise.
28574 (__realloc_hook): Likewise.
28575 (__memalign_hook): Likewise.
28576 (__libc_malloc): Likewise.
28577 (__libc_free): Likewise.
28578 (__libc_realloc): Likewise.
28579 (__libc_memalign): Likewise.
28580 (__libc_valloc): Likewise.
28581 (__libc_pvalloc): Likewise.
28582 (__libc_calloc): Likewise.
28583 (__posix_memalign): Likewise.
28584 * malloc/morecore.c (__sbrk): Likewise.
28585 (__default_morecore): Likewise.
28587 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28589 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28590 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28591 __malloc_ptrdiff_t.
28593 * malloc/malloc.h (__malloc_size_t): Remove macro.
28594 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28596 (old_memalign_hook): Likewise.
28597 (old_realloc_hook): Likewise.
28598 (struct hdr): Likewise.
28600 (mallochook): Likewise.
28601 (memalignhook): Likewise.
28602 (reallochook): Likewise.
28603 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28604 (tr_old_realloc_hook): Likewise.
28605 (tr_old_memalign_hook): Likewise.
28606 (tr_mallochook): Likewise.
28607 (tr_reallochook): Likewise.
28608 (tr_memalignhook): Likewise.
28610 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28612 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28613 default_ldbl_pack and using as default implementation.
28614 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28616 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28617 redundant definition.
28618 (ldbl_insert_mantissa): Likewise.
28619 (ldbl_canonicalize): Likewise.
28620 (ldbl_nearbyint): Likewise.
28621 (ldbl_pack): Rename to ldbl_pack_ppc.
28622 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28623 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28624 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28626 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28628 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28629 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28630 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28631 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28633 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28634 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28635 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28637 2013-03-07 Andreas Jaeger <aj@suse.de>
28639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28642 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28644 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28645 Include mpa.h and declare __MPEXP.
28646 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28647 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28648 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28649 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28650 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28651 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28652 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28654 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28655 (__slowpow): Use long double EXPL and LOGL functions to
28657 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28658 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28659 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28660 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28661 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28662 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28665 intermediate variable to calculate exponent.
28667 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28671 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28672 [!NO__SQR]: Define __sqr.
28673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28674 and NO__SQR. Remove all code except __mul and __sqr. Include
28675 sysdeps/ieee754/dbl-64/mpa.c.
28676 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28679 * posix/Makefile (tests): Add tst-pathconf.
28680 * posix/tst-pathconf.c: New test case.
28681 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28683 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28685 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28687 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28689 2013-03-06 Andreas Jaeger <aj@suse.de>
28691 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28692 definition via __MAP_ANONYMOUS.
28694 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28695 it's not part of Linux headers.
28697 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28698 (MAP_HUGE_MASK): Define.
28700 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28702 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28703 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28705 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28706 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28708 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28709 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28711 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28713 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28714 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28715 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28716 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28717 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28718 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28720 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28723 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28724 Handle f2fs and efivarfs.
28726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28729 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28730 (EFIVARFS_MAGIC): Add.
28731 (F2FS_LINK_MAX): Add.
28733 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28735 * stdio-common/vfprintf.c: Replace __builtin_expect with
28738 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28741 * sysdeps/generic/bp-sym.h: Remove file.
28742 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28743 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28744 <bp-sym.h> and <bp-asm.h>.
28745 (__longjmp): Don't use BP_SYM.
28746 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28748 (memcpy): Don't use BP_SYM.
28749 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28750 <bp-sym.h> and <bp-asm.h>.
28751 (memcpy): Don't use BP_SYM.
28752 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28754 (memcpy): Don't use BP_SYM.
28755 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28757 (memset): Don't use BP_SYM.
28758 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28759 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28760 (__bzero): Don't use BP_SYM.
28761 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28762 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28763 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28764 <bp-sym.h> and <bp-asm.h>.
28765 (memcmp): Don't use BP_SYM. Remove comment about bounded
28767 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28768 <bp-sym.h> and <bp-asm.h>.
28769 (memcpy): Don't use BP_SYM.
28770 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28771 <bp-sym.h> and <bp-asm.h>.
28772 (memset): Don't use BP_SYM.
28773 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28774 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28775 (__bzero): Don't use BP_SYM.
28776 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28777 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28778 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28779 <bp-sym.h> and <bp-asm.h>.
28780 (strncmp): Don't use BP_SYM. Remove comment about bounded
28782 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28783 <bp-sym.h> and <bp-asm.h>.
28784 (memcpy): Don't use BP_SYM.
28785 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28786 <bp-sym.h> and <bp-asm.h>.
28787 (memset): Don't use BP_SYM.
28788 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28789 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28790 (__bzero): Don't use BP_SYM.
28791 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28792 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28793 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28794 <bp-sym.h> and <bp-asm.h>.
28795 (__memchr): Don't use BP_SYM.
28796 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28797 <bp-sym.h> and <bp-asm.h>.
28798 (memcmp): Don't use BP_SYM. Remove comment about bounded
28800 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28801 <bp-sym.h> and <bp-asm.h>.
28802 (memcpy): Don't use BP_SYM.
28803 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28804 <bp-sym.h> and <bp-asm.h>.
28805 (__mempcpy): Don't use BP_SYM.
28806 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28807 <bp-sym.h> and <bp-asm.h>.
28808 (__memrchr): Don't use BP_SYM.
28809 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28810 <bp-sym.h> and <bp-asm.h>.
28811 (memset): Don't use BP_SYM.
28812 (__bzero): Likewise.
28813 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28814 <bp-sym.h> and <bp-asm.h>.
28815 (__rawmemchr): Don't use BP_SYM.
28816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28817 <bp-sym.h> and <bp-asm.h>.
28818 (__STRCMP): Don't use BP_SYM.
28819 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28820 <bp-sym.h> and <bp-asm.h>.
28821 (strchr): Don't use BP_SYM.
28822 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28823 <bp-sym.h> and <bp-asm.h>.
28824 (__strchrnul): Don't use BP_SYM.
28825 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28826 <bp-sym.h> and <bp-asm.h>.
28827 (strlen): Don't use BP_SYM.
28828 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28829 <bp-sym.h> and <bp-asm.h>.
28830 (strncmp): Don't use BP_SYM. Remove comment about bounded
28832 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28833 <bp-sym.h> and <bp-asm.h>.
28834 (__strnlen): Don't use BP_SYM.
28835 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28836 <bp-sym.h> and <bp-asm.h>.
28837 (__GI__setjmp): Don't use BP_SYM.
28838 (_setjmp): Likewise.
28839 (__sigsetjmp): Likewise.
28840 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28841 (L(start_addresses)): Don't use BP_SYM.
28842 (_start): Likewise.
28843 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28845 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28846 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28847 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28848 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28849 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28851 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28852 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28853 about bounded pointers.
28854 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28855 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28856 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28858 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28859 about bounded pointers. Remove GKM FIXME comments.
28860 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28861 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28863 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28864 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28865 Remove GKM FIXME comments.
28866 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28867 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28868 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28870 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28871 about bounded pointers. Remove GKM FIXME comment.
28872 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28874 (strncmp): Don't use BP_SYM. Remove comment about bounded
28876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28877 <bp-sym.h> and <bp-asm.h>.
28878 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28880 <bp-sym.h> and <bp-asm.h>.
28881 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28884 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28886 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28889 2013-03-05 David S. Miller <davem@davemloft.net>
28891 * po/es.po: Update from translation team.
28893 2013-03-05 Andreas Jaeger <aj@suse.de>
28895 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28896 <bits/mman-linux.h>.
28897 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28899 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28900 <bits/mman-linux.h> to end of file.
28901 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28903 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28904 <bits/mman-linux.h> to end of file.
28905 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28907 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28908 <bits/mman-linux.h> to end of file.
28910 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28911 (MCL_CURRENT, MCL_FUTURE): Define here.
28913 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28916 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28918 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28920 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28922 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28923 fourth parameter needed for rt_sigprocmask syscall.
28924 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28925 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28926 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28927 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28928 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28929 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28931 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28934 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28935 comment about bounded pointers.
28936 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28937 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28939 2013-03-04 Andreas Jaeger <aj@suse.de>
28941 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28942 common definitions.
28944 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28945 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28946 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28947 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28948 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28949 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28951 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28954 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28955 __ieee754_sqrl instead of __sqrl.
28957 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28959 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28960 * sysdeps/powerpc/fpu_control.h: ... here.
28961 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28962 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28963 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28964 * sysdeps/powerpc/bits/mathinline.h: ... here.
28966 2013-03-01 Roland McGrath <roland@hack.frob.com>
28968 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28969 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28970 to just [NEED_DL_SYSINFO_DSO].
28971 * elf/dl-support.c: Likewise.
28972 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28973 * elf/rtld.c (dl_main): Likewise.
28974 * elf/setup-vdso.h (setup_vdso): Likewise.
28975 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28976 * sysdeps/unix/sysv/linux/dl-sysdep.c
28977 (_dl_discover_osversion): Likewise.
28979 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28981 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28982 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28984 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28986 * NEWS: Mention libm performance improvements and non-x86 PI
28989 * csu/libc-start.c (__pthread_initialize_minimal): Change
28990 function arguments.
28991 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28993 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28996 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28997 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28998 <bp-sym.h> and <bp-asm.h>.
28999 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29000 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29002 (memcpy): Don't use BP_SYM.
29003 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29005 (__mpn_add_n): Don't use BP_SYM.
29006 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29007 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29009 (__mpn_addmul_1): Don't use BP_SYM.
29010 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29011 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29013 (_setjmp): Don't use BP_SYM.
29014 (__novmx_setjmp): Likewise.
29015 (__GI__setjmp): Likewise.
29016 (__vmx_setjmp): Likewise.
29017 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29019 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29020 (__bzero): Don't use BP_SYM.
29021 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29022 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29023 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29024 <bp-sym.h> and <bp-asm.h>.
29025 (memcpy): Don't use BP_SYM.
29026 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29027 <bp-sym.h> and <bp-asm.h>.
29028 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29029 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29030 <bp-sym.h> and <bp-asm.h>.
29031 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29032 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29034 (__mpn_lshift): Don't use BP_SYM.
29035 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29036 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29038 (memset): Don't use BP_SYM.
29039 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29040 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29041 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29043 (__mpn_mul_1): Don't use BP_SYM.
29044 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29045 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29046 <bp-sym.h> and <bp-asm.h>.
29047 (memcmp): Don't use BP_SYM.
29048 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29049 <bp-sym.h> and <bp-asm.h>.
29050 (memcpy): Don't use BP_SYM.
29051 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29052 <bp-sym.h> and <bp-asm.h>.
29053 (memset): Don't use BP_SYM.
29054 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29055 <bp-sym.h> and <bp-asm.h>.
29056 (strncmp): Don't use BP_SYM.
29057 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29058 <bp-sym.h> and <bp-asm.h>.
29059 (memcpy): Don't use BP_SYM.
29060 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29061 <bp-sym.h> and <bp-asm.h>.
29062 (memset): Don't use BP_SYM.
29063 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29064 <bp-sym.h> and <bp-asm.h>.
29065 (__memchr): Don't use BP_SYM.
29066 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29067 <bp-sym.h> and <bp-asm.h>.
29068 (memcmp): Don't use BP_SYM.
29069 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29070 <bp-sym.h> and <bp-asm.h>.
29071 (memcpy): Don't use BP_SYM.
29072 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29073 <bp-sym.h> and <bp-asm.h>.
29074 (__mempcpy): Don't use BP_SYM.
29075 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29076 <bp-sym.h> and <bp-asm.h>.
29077 (__memrchr): Don't use BP_SYM.
29078 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29079 <bp-sym.h> and <bp-asm.h>.
29080 (memset): Don't use BP_SYM.
29081 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29082 <bp-sym.h> and <bp-asm.h>.
29083 (__rawmemchr): Don't use BP_SYM.
29084 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29085 <bp-sym.h> and <bp-asm.h>.
29086 (__STRCMP): Don't use BP_SYM.
29087 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29088 <bp-sym.h> and <bp-asm.h>.
29089 (strchr): Don't use BP_SYM.
29090 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29091 <bp-sym.h> and <bp-asm.h>.
29092 (__strchrnul): Don't use BP_SYM.
29093 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29094 <bp-sym.h> and <bp-asm.h>.
29095 (strlen): Don't use BP_SYM.
29096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29097 <bp-sym.h> and <bp-asm.h>.
29098 (strncmp): Don't use BP_SYM.
29099 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29100 <bp-sym.h> and <bp-asm.h>.
29101 (__strnlen): Don't use BP_SYM.
29102 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29104 (__mpn_rshift): Don't use BP_SYM.
29105 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29106 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29107 <bp-sym.h> and <bp-asm.h>.
29108 (__sigsetjmp): Don't use BP_SYM.
29109 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29110 (L(start_addresses)): Don't use BP_SYM.
29111 (_start): Likewise.
29112 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29114 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29115 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29116 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29117 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29119 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29120 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29121 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29122 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29124 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29126 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29127 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29129 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29131 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29132 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29133 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29135 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29137 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29139 (strncmp): Don't use BP_SYM,
29140 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29142 (__mpn_sub_n): Don't use BP_SYM.
29143 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29144 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29146 (__mpn_submul_1): Don't use BP_SYM.
29147 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29149 <bp-sym.h> and <bp-asm.h>.
29150 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29152 <bp-sym.h> and <bp-asm.h>.
29153 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29156 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29158 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29159 Use ZK to minimize writes to Z.
29160 (sub_magnitudes): Simplify code a bit.
29161 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29162 Use ZK to minimize writes to Z.
29163 (sub_magnitudes): Simplify code a bit.
29165 2013-02-27 Roland McGrath <roland@hack.frob.com>
29167 * csu/gmon-start.c: Add special exception to license text.
29169 2013-02-27 Richard Henderson <rth@redhat.com>
29171 * scripts/config.guess: Update from config.git.
29172 * scripts/config.sub: Likewise.
29174 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29176 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29178 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29180 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29182 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29184 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29186 2013-02-26 Roland McGrath <roland@hack.frob.com>
29188 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29189 [$(build-shared = yes].
29191 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29193 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29194 (__mul): Reduce iterations for calculating mantissa.
29196 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29198 (__mpranred): Likewise.
29201 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29202 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29204 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29206 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29207 Define __attribute__.
29209 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29211 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29213 * posix/regex_internal.h (__attribute): Remove.
29214 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29215 (re_string_context_at): Likewise.
29216 (bitset_not): Use __attribute__ and mark function as possibly
29218 (bitset_merge): Likewise.
29219 (bitset_mask): Likewise.
29220 (re_string_char_size_at): Likewise.
29221 (re_string_wchar_at): Likewise.
29222 (re_string_elem_size_at): Likewise.
29224 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29226 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29230 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29234 (denorm): Likewise.
29235 (__dbl_mp): Likewise.
29236 (add_magnitudes): Likewise.
29237 (sub_magnitudes): Likewise.
29241 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29244 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29247 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29251 up changes with default code.
29252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29255 2013-02-24 Allan McRae <allan@archlinux.org>
29257 * manual/socket.texi (The Internet Namespace): Order menu items
29258 to match that in the file.
29260 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29261 node listing of the info page menu.
29263 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29266 * sysdeps/i386/bp-asm.h: Remove file.
29267 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29268 (PARMS): Do not use macros from bp-asm.h.
29272 (__mpn_add_n): Do not use BP_SYM
29273 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29275 (PARMS): Do not use macros from bp-asm.h.
29278 (__mpn_addmul_1): Do not use BP_SYM
29279 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29281 (PARMS): Do not use macros from bp-asm.h.
29282 (SIGMSK): Likewise.
29283 (_setjmp): Likewise. Do not use BP_SYM.
29284 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29286 (PARMS): Do not use macros from bp-asm.h.
29287 (SIGMSK): Likewise.
29288 (setjmp): Likewise. Do not use BP_SYM.
29289 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29291 (PARMS): Do not use macros from bp-asm.h.
29292 (__frexp): Do not use BP_SYM.
29294 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29296 (PARMS): Do not use macros from bp-asm.h.
29297 (__frexpf): Do not use BP_SYM.
29298 (frexpf): Likewise.
29299 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29301 (PARMS): Do not use macros from bp-asm.h.
29302 (__frexpl): Do not use BP_SYM.
29303 (frexpl): Likewise.
29304 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29306 (PARMS): Do not use macros from bp-asm.h.
29307 (__remquo): Do not use BP_SYM.
29308 (remquo): Likewise.
29309 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29311 (PARMS): Do not use macros from bp-asm.h.
29312 (__remquof): Do not use BP_SYM.
29313 (remquof): Likewise.
29314 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29316 (PARMS): Do not use macros from bp-asm.h.
29317 (__remquol): Do not use BP_SYM.
29318 (remquol): Likewise.
29319 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29321 (PARMS): Do not use macros from bp-asm.h.
29324 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29325 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29327 (PARMS): Do not use macros from bp-asm.h.
29328 (strlen): Do not use BP_SYM.
29329 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29331 (PARMS): Do not use macros from bp-asm.h.
29335 (__mpn_add_n): Do not use BP_SYM.
29336 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29338 (PARMS): Do not use macros from bp-asm.h.
29341 (__mpn_addmul_1): Do not use BP_SYM.
29342 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29345 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29347 (PARMS): Do not use macros from bp-asm.h.
29350 (__mpn_lshift): Do not use BP_SYM.
29351 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29353 (PARMS): Do not use macros from bp-asm.h.
29357 (memcpy): Likewise. Do not use BP_SYM.
29358 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29359 libc_hidden_def and weak_alias.
29360 (mempcpy): Do not use BP_SYM in weak_alias.
29361 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29363 (PARMS): Do not use macros from bp-asm.h.
29366 [!BZERO_P] (CHR): Likewise.
29367 (memset): Likewise. Do not use BP_SYM.
29368 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29370 (PARMS): Do not use macros from bp-asm.h.
29373 (__mpn_mul_1): Do not use BP_SYM.
29374 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29376 (PARMS): Do not use macros from bp-asm.h.
29379 (__mpn_rshift): Do not use BP_SYM.
29380 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29382 (PARMS): Do not use macros from bp-asm.h.
29385 (strchr): Likewise. Do not use BP_SYM.
29386 (index): Do not use BP_SYM in weak_alias.
29387 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29389 (PARMS): Do not use macros from bp-asm.h.
29392 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29393 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29395 (PARMS): Do not use macros from bp-asm.h.
29396 (strlen): Do not use BP_SYM.
29397 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29399 (PARMS): Do not use macros from bp-asm.h.
29403 (__mpn_sub_n): Do not use BP_SYM.
29404 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29406 (PARMS): Do not use macros from bp-asm.h.
29409 (__mpn_submul_1): Do not use BP_SYM.
29410 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29412 (PARMS): Do not use macros from bp-asm.h.
29416 (__mpn_add_n): Do not use BP_SYM.
29417 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29420 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29422 (PARMS): Do not use macros from bp-asm.h.
29425 (memcmp): Do not use BP_SYM.
29426 (bcmp): Do not use BP_SYM in weak_alias.
29427 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29429 (PARMS): Do not use macros from bp-asm.h.
29433 (memcpy): Likewise. Do not use BP_SYM.
29434 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29436 (PARMS): Do not use macros from bp-asm.h.
29440 (memmove): Likewise. Do not use BP_SYM.
29441 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29443 (PARMS): Do not use macros from bp-asm.h.
29447 (__mempcpy): Likewise. Do not use BP_SYM.
29448 (mempcpy): Do not use BP_SYM in weak_alias.
29449 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29451 (PARMS): Do not use macros from bp-asm.h.
29454 [!BZERO_P] (CHR): Likewise.
29455 (memset): Likewise. Do not use BP_SYM.
29456 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29458 (PARMS): Do not use macros from bp-asm.h.
29460 (strcmp): Do not use BP_SYM.
29461 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29463 (PARMS): Do not use macros from bp-asm.h.
29466 [USE_AS_STRTOK_R] (SAVE): Likewise.
29467 (FUNCTION): Likewise. Do not use BP_SYM.
29468 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29470 (strtok_r): Likewise.
29471 (__GI___strtok_r): Likewise.
29472 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29473 (PARMS): Do not use macros from bp-asm.h.
29476 (__mpn_lshift): Do not use BP_SYM.
29477 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29478 (PARMS): Do not use macros from bp-asm.h.
29481 (__memchr): Do not use BP_SYM.
29482 (memchr): Do not use BP_SYM in weak_alias.
29483 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29484 (PARMS): Do not use macros from bp-asm.h.
29487 (memcmp): Do not use BP_SYM.
29488 (bcmp): Do not use BP_SYM in weak_alias.
29489 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29490 (PARMS): Do not use macros from bp-asm.h.
29493 (__mpn_mul_1): Do not use BP_SYM.
29494 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29496 (PARMS): Do not use macros from bp-asm.h.
29499 (__rawmemchr): Do not use BP_SYM.
29500 (rawmemchr): Do not use BP_SYM in weak_alias.
29501 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29502 (PARMS): Do not use macros from bp-asm.h.
29505 (__mpn_rshift): Do not use BP_SYM.
29506 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29507 (PARMS): Do not use macros from bp-asm.h.
29508 (SIGMSK): Likewise.
29509 (__sigsetjmp): Likewise. Do not use BP_SYM.
29510 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29511 (_start): Do not use BP_SYM.
29512 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29513 (PARMS): Do not use macros from bp-asm.h.
29516 (__stpcpy): Likewise. Do not use BP_SYM.
29517 (stpcpy): Do not use BP_SYM in weak_alias.
29518 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29520 (PARMS): Do not use macros from bp-asm.h.
29524 (__stpncpy): Likewise. Do not use BP_SYM.
29525 (stpncpy): Do not use BP_SYM in weak_alias.
29526 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29527 (PARMS): Do not use macros from bp-asm.h.
29530 (strchr): Likewise. Do not use BP_SYM.
29531 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29533 (PARMS): Do not use macros from bp-asm.h.
29536 (__strchrnul): Likewise. Do not use BP_SYM.
29537 (strchrnul): Do not use BP_SYM in weak_alias.
29538 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29540 (PARMS): Do not use macros from bp-asm.h.
29542 (strcspn): Do not use BP_SYM.
29543 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29545 (PARMS): Do not use macros from bp-asm.h.
29548 (strpbrk): Likewise. Do not use BP_SYM.
29549 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29551 (PARMS): Do not use macros from bp-asm.h.
29554 (strrchr): Likewise. Do not use BP_SYM.
29555 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29556 (PARMS): Do not use macros from bp-asm.h.
29558 (strspn): Do not use BP_SYM.
29559 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29560 (PARMS): Do not use macros from bp-asm.h.
29564 (FUNCTION): Likewise. Do not use BP_SYM.
29565 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29567 (strtok_r): Likewise.
29568 (__GI___strtok_r): Likewise.
29569 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29570 (PARMS): Do not use macros from bp-asm.h.
29574 (__mpn_sub_n): Do not use BP_SYM.
29575 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29577 (PARMS): Do not use macros from bp-asm.h.
29580 (__mpn_submul_1): Do not use BP_SYM.
29581 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29583 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29585 (PARMS): Do not use macros from bp-asm.h.
29590 (__clone): Do not use BP_SYM.
29591 (clone): Do not use BP_SYM in weak_alias.
29592 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29594 (PARMS): Do not use macros from bp-asm.h.
29596 (__mmap64): Do not use BP_SYM.
29597 (mmap64): Do not use BP_SYM in weak_alias.
29598 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29599 <bp-sym.h> and <bp-asm.h>.
29600 (PARMS): Do not use macros from bp-asm.h.
29601 (__posix_fadvise64_l64): Do not use BP_SYM.
29602 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29603 (PARMS): Do not use macros from bp-asm.h.
29605 (semtimedop): Do not use BP_SYM.
29606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29609 2013-02-21 Allan McRae <allan@archlinux.org>
29611 * manual/message.texi (Charset conversion in gettext):
29612 Move @end statement to beginning of line.
29614 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29616 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29618 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29621 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29622 (denorm): Likewise.
29623 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29624 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29626 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29628 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29629 tail-call to the resolved function if pltexit isn't needed.
29631 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29634 or Y being zero as being unlikely.
29635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29638 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29640 * manual/nss.texi (System Databases and Name Service Switch):
29641 Remove frobnicate @pxref.
29643 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29645 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29646 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29648 2013-02-20 Petr Machata <pmachata@redhat.com>
29650 * elf/elf.h (R_ARM_TARGET1): New macro.
29651 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29652 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29653 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29654 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29655 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29656 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29657 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29658 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29659 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29660 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29661 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29662 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29663 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29664 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29665 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29666 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29667 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29668 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29669 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29670 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29671 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29672 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29673 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29674 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29675 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29676 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29677 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29678 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29679 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29680 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29681 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29682 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29683 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29684 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29685 (R_ARM_THM_GOT_BREL12): Likewise.
29686 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29687 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29688 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29689 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29690 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29691 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29692 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29693 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29694 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29696 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29698 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29699 __attribute_used__ to __attribute__ ((unused)).
29701 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29703 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29706 comment formatting.
29707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29709 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29712 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29714 (ENTER): Remove both macro definitions.
29716 (CHECK_BOUNDS_LOW): Likewise.
29717 (CHECK_BOUNDS_HIGH): Likewise.
29718 (CHECK_BOUNDS_BOTH): Likewise.
29719 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29720 (RETURN_BOUNDED_POINTER): Likewise.
29721 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29722 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29723 (POP_ERRNO_LOCATION_RETURN): Likewise.
29724 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29725 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29726 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29728 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29729 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29730 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29731 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29732 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29733 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29734 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29735 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29736 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29737 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29738 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29739 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29740 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29741 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29743 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29744 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29746 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29747 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29748 * sysdeps/i386/i586/memset.S (memset): Likewise.
29749 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29750 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29751 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29753 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29754 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29755 Change uses of L(2) to L(out).
29756 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29757 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29758 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29759 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29760 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29762 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29763 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29765 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29766 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29767 (RETURN): Do not use macro LEAVE.
29768 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29769 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29770 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29771 * sysdeps/i386/i686/memset.S (memset): Likewise.
29772 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29773 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29774 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29775 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29777 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29778 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29779 L(1_2) and L(1_3) into L(1).
29780 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29781 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29782 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29783 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29784 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29785 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29786 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29787 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29788 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29790 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29791 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29792 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29793 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29794 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29795 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29796 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29797 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29798 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29799 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29800 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29801 * sysdeps/i386/strspn.S (strspn): Likewise.
29802 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29804 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29805 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29806 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29807 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29808 L(1_3) into L(1_1).
29809 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29810 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29811 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29813 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29815 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29817 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29820 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29822 * math/atest-exp.c (exp_mpn): Remove ROUND.
29823 * math/atest-exp2.c (exp_mpn): Likewise.
29824 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29826 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29827 * stdlib/tst-tls-atexit-lib.c: Likewise.
29828 * stdlib/tst-tls-atexit.c: Likewise.
29830 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29832 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29833 and __attribute_alloc_size__.
29835 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29837 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29838 __attribute_alloc_size__.
29839 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29840 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29842 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29844 * include/programs/xmalloc.h: New file.
29845 * catgets/gencat.c: Include it.
29846 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29847 * elf/pldd.c: Likewise.
29848 * iconv/iconv_charmap.c: Likewise.
29849 * iconv/iconvconfig.c: Likewise.
29850 * iconv/strtab.c: Likewise.
29851 * locale/programs/locale.c: Likewise.
29852 * locale/programs/localedef.h: Likewise.
29853 * locale/programs/simple-hash.c: Likewise.
29854 * nscd/nscd.h: Likewise.
29855 * nss/makedb.c: Likewise.
29856 * sysdeps/generic/ldconfig.h: Likewise.
29858 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29860 * Versions.def: Add GLIBC_2.18.
29861 * include/link.h (struct link_map): New member l_tls_dtor_count.
29862 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29863 (__call_tls_dtors): Likewise.
29864 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29865 __cxa_thread_atexit_impl.
29866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29872 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29875 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29882 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29883 (tests): Add test case tst-tls-atexit.
29884 (modules-names): Add shared library for tst-tls-atexit.
29885 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29886 (GLIBC_PRIVATE): Add __call_tls_dtors.
29887 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29889 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29890 * stdlib/tst-tls-atexit.c: New test case.
29891 * stdlib/tst-tls-atexit-lib.c: New test case.
29893 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29895 * elf/Versions (ld): Add _dl_find_dso_for_object.
29896 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29897 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29898 (dl_open_worker): Use _dl_find_dso_for_object.
29899 * elf/dl-sym.c (do_sym): Likewise.
29900 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29902 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29904 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29905 Syntactic changes only.
29906 (_dl_runtime_profile): Do a tail-call to the resolved function.
29908 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29911 * sysdeps/x86_64/bp-asm.h: Remove file.
29912 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29913 <bp-sym.h> and <bp-asm.h>.
29914 (__clone): Do not use BP_SYM.
29915 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29916 <bp-sym.h> and <bp-asm.h>.
29917 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29918 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29920 (_setjmp): Do not use BP_SYM.
29921 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29923 (setjmp): Do not use BP_SYM.
29924 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29926 (mempcpy): Do not use BP_SYM in weak_alias.
29927 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29929 (strchr): Do not use BP_SYM.
29930 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29932 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29933 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29934 (_start): Do not use BP_SYM.
29935 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29937 (strcat): Do not use BP_SYM.
29938 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29940 (STRCMP): Do not use BP_SYM.
29941 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29943 (STRCPY): Do not use BP_SYM.
29944 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29946 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29948 (FUNCTION): Do not use BP_SYM.
29949 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29951 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29953 2013-02-17 Andreas Jaeger <aj@suse.de>
29955 * time/Versions: Sort entries.
29956 * string/Versions: Likewise.
29957 * resolv/Versions: Likewise.
29958 * posix/Versions: Likewise.
29959 * iconv/Versions: Likewise.
29960 * elf/Versions: Likewise.
29961 * wcsmbs/Versions: Likewise.
29963 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29965 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29966 loop termination condition.
29968 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29969 variable to calculate EZ.
29972 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29973 the lower precision input.
29975 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29978 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29979 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29980 (run-via-rtld-prefix): Do not handle %-bp tests.
29981 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29982 (all-object-suffixes): Remove .ob.
29983 (bppfx): Remove variable.
29984 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29985 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29986 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29987 [$(build-bounded) = yes] (libtype.ob): Likewise.
29988 * Makerules (elide-routines.ob): Remove variable.
29989 (do-tests-clean): Do not handle *-bp.out.
29990 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29991 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29992 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29993 (tests): Do not include $(tests-bp.out).
29994 (xtests): Do not include $(xtests-bp.out).
29995 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29996 [$(build-bounded) = yes] ($(addprefix
29997 $(objpfx),$(binaries-bounded))): Remove rule.
29998 ($(objpfx)%-bp.out): Remove rule.
29999 * config.make.in (build-bounded): Remove variable.
30000 * crypt/Makefile [$(build-bounded) = yes]
30001 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30002 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30003 append to variable.
30004 [$(build-bounded) = yes] (install-lib): Likewise.
30005 [$(build-bounded) = yes] (generated): Likewise.
30006 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30008 * intl/Makefile [$(build-bounded) = yes]
30009 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30010 * math/Makefile [$(build-bounded) = yes]
30011 ($(tests:%=$(objpfx)%-bp): Likewise.
30012 * misc/Makefile [$(build-bounded) = yes]
30013 ($(objpfx)tst-tsearch-bp): Likewise.
30014 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30015 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30017 * string/Makefile (o-objects.ob): Remove variable.
30018 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30019 (CFLAGS-.ob): Remove variable.
30020 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30021 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30022 both definitions of variable.
30023 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30024 (ASFLAGS-.ob): Remove variable.
30026 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30029 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30030 Remove __BOUNDED_POINTERS__ from condition.
30031 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30032 * string/bits/string2.h [!__NO_STRING_INLINES &&
30033 !__BOUNDED_POINTERS__]: Likewise.
30034 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30036 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30037 Remove conditional code.
30038 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30039 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30040 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30044 * csu/libc-start.c: Do not include <bp-sym.h>.
30045 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30046 * elf/dl-open.c: Do not include <bp-sym.h>.
30047 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30048 * math/fegetenv.c: Do not include <bp-sym.h>.
30049 (fegetenv): Do not use BP_SYM in versioned symbols.
30050 * nptl/sysdeps/pthread/bits/libc-lockP.h
30051 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30053 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30054 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30055 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30056 (__pthread_mutex_destroy): Likewise.
30057 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30058 (__pthread_mutex_lock): Likewise.
30059 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30060 (__pthread_mutex_trylock): Likewise.
30061 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30062 (__pthread_mutex_unlock): Likewise.
30063 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30064 (__pthread_mutexattr_init): Likewise.
30065 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30066 (__pthread_mutexattr_destroy): Likewise.
30067 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30068 (__pthread_mutexattr_settype): Likewise.
30069 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30070 (__pthread_rwlock_init): Likewise.
30071 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30072 (__pthread_rwlock_destroy): Likewise.
30073 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30074 (__pthread_rwlock_rdlock): Likewise.
30075 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30076 (__pthread_rwlock_tryrdlock): Likewise.
30077 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30078 (__pthread_rwlock_wrlock): Likewise.
30079 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30080 (__pthread_rwlock_trywrlock): Likewise.
30081 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30082 (__pthread_rwlock_unlock): Likewise.
30083 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30084 (__pthread_key_create): Likewise.
30085 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30086 (__pthread_setspecific): Likewise.
30087 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30088 (__pthread_getspecific): Likewise.
30089 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30092 (_pthread_cleanup_push_defer): Likewise.
30093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30094 (_pthread_cleanup_pop_restore): Likewise.
30095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30096 (pthread_setcancelstate): Likewise.
30097 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30099 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30100 (memchr): Do not use BP_SYM in weak_alias.
30101 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30102 (fegetenv): Do not use BP_SYM in versioned symbols.
30103 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30104 (fesetenv): Do not use BP_SYM in versioned symbols.
30105 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30106 (feupdateenv): Do not use BP_SYM in versioned symbols.
30107 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30108 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30109 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30110 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30111 (open64): Do not use BP_SYM in weak_alias.
30112 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30113 (fegetenv): Do not use BP_SYM in versioned symbols.
30114 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30115 (fesetenv): Do not use BP_SYM in versioned symbols.
30116 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30117 (feupdateenv): Do not use BP_SYM in versioned symbols.
30118 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30119 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30120 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30121 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30122 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30123 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30124 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30126 (__libc_start_main): Do not use BP_SYM.
30128 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30130 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30131 redundant return line.
30133 (denorm): Likewise.
30134 (dbl_mp): Likewise.
30135 (sub_magnitudes): Likewise.
30141 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30143 (denorm): Likewise.
30144 (dbl_mp): Likewise.
30145 (sub_magnitudes): Likewise.
30152 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30154 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30155 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30158 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30159 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30161 of __mul for squares.
30162 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30167 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30169 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30172 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30174 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30175 prototype or function definition. Rename ubp_* variables and
30176 parameters. Remove argv definitions conditional on
30177 [__BOUNDED_POINTERS__].
30178 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30179 * elf/dl-runtime.c (_dl_fixup): Likewise.
30180 * include/set-hooks.h (RUN_HOOK): Likewise.
30181 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30183 * string/strcpy.c (strcpy): Do not use __unbounded.
30184 * sysdeps/generic/frame.h (struct layout): Likewise.
30185 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30186 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30187 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30188 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30189 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30190 (__backtrace): Likewise.
30191 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30193 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30194 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30195 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30197 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30198 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30199 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30200 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30201 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30202 Do not use __unbounded.
30203 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30204 Rename __unboundedrlimits parameter to rlimits in prototype.
30205 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30206 Do not use __unbounded.
30207 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30208 not use __ptrvalue.
30209 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30210 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30211 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30212 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30213 __ptrvalue or __unbounded.
30214 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30215 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30217 (__new_msgctl): Do not use __ptrvalue.
30218 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30220 (__libc_msgrcv): Do not use __ptrvalue.
30221 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30222 startup_info): Do not use __unbounded.
30223 (__libc_start_main): Likewise. Rename ubp_* variables and
30224 parameters. Remove argv definitions conditional on
30225 [__BOUNDED_POINTERS__].
30226 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30228 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30230 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30232 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30234 (__new_shmctl): Do not use __ptrvalue.
30235 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30236 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30238 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30239 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30240 (__libc_sigaction): Likewise.
30241 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30242 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30244 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30246 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30248 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30250 * string/mempcpy.c: Implement by calling memcpy.
30252 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30256 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30260 values in the mantissa.
30262 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30263 minimize writes to Z.
30264 (sub_magnitudes): Simplify code a bit.
30266 2013-02-12 Roland McGrath <roland@hack.frob.com>
30268 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30269 from the message. The linker prefixes all warnings with that already.
30271 2013-02-12 Andreas Schwab <schwab@suse.de>
30274 * posix/regexec.c (extend_buffers): Add parameter min_len.
30275 (check_matching): Pass minimum needed length.
30276 (clean_state_log_if_needed): Likewise.
30277 (get_subexp): Likewise.
30278 * posix/Makefile (tests): Add bug-regex34.
30279 (bug-regex34-ENV): Define.
30280 * posix/bug-regex34.c: New file.
30283 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30284 elements compare against the byte sequence of it, not its name.
30285 * posix/Makefile (tests): Add bug-regex35.
30286 (bug-regex35-ENV): Define.
30287 * posix/bug-regex35.c: New file.
30289 2013-02-11 Tom de Vries <tom@codesourcery.com>
30291 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30293 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30294 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30295 (CHECK_EOL): Add undef.
30297 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30299 * bits/stdlib-bsearch.h: New file.
30300 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30301 * stdlib/stdlib.h: Likewise.
30303 2013-02-11 Roland McGrath <roland@hack.frob.com>
30305 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30306 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30308 * manual/search.texi (Array Search Function): Add missing const in
30310 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30311 declaration to use rlim_t.
30312 (Basic Scheduling Functions): Remove erroneous const from
30313 sched_getparam prototype. Remove erroneous * from
30314 sched_get_priority_max and sched_get_priority_min prototypes.
30315 (Resource Usage): Fix summary @comment on vtimes to refer to
30316 sys/vtimes.h rather than vtimes.h.
30317 Add missing *s in vtimes prototype.
30318 (Limits on Resources): Fix ulimit prototype to return long int.
30319 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30320 prototypes to use long int rather than double.
30321 (BSD Random): Fix initstate and setstate to use char *, not void *.
30322 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30323 prototype to make second argument 'struct aiocb64 *const[]'.
30324 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30325 (Status of AIO Operations): Remove erroneous const in aio_return and
30326 aio_return64 prototypes.
30327 (Synchronizing I/O): Fix sync prototype to return void.
30328 * manual/startup.texi (Suboptions): Remove an erroneous const in
30329 getsubopt prototype.
30330 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30331 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30332 use size_t rather than int.
30333 (Scanning All Users): Likewise for getpwent_r.
30334 (Setting Groups): Add missing const to setgroups prototype.
30335 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30336 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30337 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30338 'const void *' rather than 'const char *'.
30339 (Host Address Functions): Likewise for inet_ntop.
30340 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30341 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30342 ssize_t for return value.
30343 (Sending Data): Likewise for send, sendto, sendmsg.
30344 (Socket Option Functions): Add a missing const in setsockopt prototype.
30345 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30346 use wchar_t for the argument.
30347 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30348 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30350 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30351 double/float/long double for second argument.
30352 Fix return types of significand, significandf, significandl.
30353 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30354 argument in fchmod prototype.
30355 (File Owner): Use uid_t and gid_t in fchown prototype.
30356 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30357 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30358 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30359 use 'const struct dirent **' as argument types to CMP function pointer
30361 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30362 (File Times): Fix summary magic @comment for struct utimbuf and utime
30363 to refer to utime.h, not time.h.
30364 * manual/string.texi (Argz Functions): Add missing const in
30365 argz_extract and argz_next prototypes.
30366 (Finding Tokens in a String): Likewise for basename.
30367 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30368 (Copying and Concatenation): Fix typo in wmemmove prototype.
30369 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30370 (Signal Stack): Remove erroneous const in sigstack prototype.
30371 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30373 (Simple Calendar Time): Likewise for stime.
30374 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30376 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30377 say sys/sysctl.h instead.
30378 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30379 and vsyslog prototypes.
30381 2013-02-11 Tom de Vries <tom@codesourcery.com>
30383 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30386 2013-02-11 Roland McGrath <roland@hack.frob.com>
30388 * misc/sys/mman.h: Fix typo in mremap comment.
30390 2013-02-08 Roland McGrath <roland@hack.frob.com>
30392 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30393 the '\0' terminator.
30395 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30398 * debug/segfault.c: Don't include <bp-checks.h>.
30399 * sysdeps/generic/bp-checks.h: Remove file.
30400 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30401 (__GETDENTS): Don't use CHECK_N.
30402 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30403 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30404 (__getgroups): Don't use CHECK_N.
30405 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30406 (setgroups): Don't use CHECK_N.
30407 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30408 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30409 (__libc_msgrcv): Don't use CHECK_N.
30410 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30411 (__libc_msgsnd): Don't use CHECK_N.
30412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30414 (__libc_pread): Don't use CHECK_N.
30415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30416 include <bp-checks.h>.
30417 (__libc_pread64): Don't use CHECK_N.
30418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30419 include <bp-checks.h>.
30420 (__libc_pwrite): Don't use CHECK_N.
30421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30422 include <bp-checks.h>.
30423 (__libc_pwrite64): Don't use CHECK_N.
30424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30426 (__libc_pread): Don't use CHECK_N.
30427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30428 include <bp-checks.h>.
30429 (__libc_pread64): Don't use CHECK_N.
30430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30431 include <bp-checks.h>.
30432 (__libc_pwrite): Don't use CHECK_N.
30433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30434 include <bp-checks.h>.
30435 (__libc_pwrite64): Don't use CHECK_N.
30436 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30437 (do_pread): Don't use CHECK_N.
30438 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30439 (do_pread64): Don't use CHECK_N.
30440 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30441 (do_pwrite): Don't use CHECK_N.
30442 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30443 (do_pwrite64): Don't use CHECK_N.
30444 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30445 (__libc_readv): Don't use CHECK_N.
30446 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30447 (semop): Don't use CHECK_N.
30448 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30450 (semtimedop): Don't use CHECK_N.
30451 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30452 (__libc_pread): Don't use CHECK_N.
30453 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30455 (__libc_pread64): Don't use CHECK_N.
30456 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30458 (__libc_pwrite): Don't use CHECK_N.
30459 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30461 (__libc_pwrite64): Don't use CHECK_N.
30462 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30464 (__libc_msgrcv): Don't use CHECK_N.
30465 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30466 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30467 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30468 (__libc_writev): Don't use CHECK_N.
30470 2013-02-08 Roland McGrath <roland@hack.frob.com>
30472 * string/strcpy.c: Removed unused variable.
30474 * Makeconfig (+sysdep-includes): Define with := rather than =.
30475 Use an existing include/ subdir of each sysdeps dir before it.
30477 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30479 * nscd/connection.c (register_traced_file): Comment function.
30480 [HAVE_INOTIFY] (union __inev): Define.
30481 [HAVE_INOTIFY] (inotify_check_files): New function.
30482 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30483 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30485 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30487 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30489 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30490 loaded if not already and that a failure is permanent.
30492 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30495 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30496 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30498 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30501 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30502 (CHECK_1_NULL_OK): Likewise.
30503 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30504 (__fxstat): Do not use CHECK_1.
30505 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30507 (___fxstat64): Do not use CHECK_1.
30508 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30510 (__fxstatat): Do not use CHECK_1.
30511 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30513 (__fxstatat64): Do not use CHECK_1.
30514 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30516 (__fxstat): Do not use CHECK_1.
30517 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30519 (__fxstatat): Do not use CHECK_1.
30520 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30522 (__getresgid): Do not use CHECK_1.
30523 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30525 (__getresuid): Do not use CHECK_1.
30526 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30528 (__lxstat): Do not use CHECK_1.
30529 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30531 (__old_msgctl): Do not use CHECK_1.
30532 (__new_msgctl): Likewise.
30533 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30535 (__new_setrlimit): Do not use CHECK_1.
30536 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30538 (__old_shmctl): Do not use CHECK_1.
30539 (__new_shmctl): Likewise.
30540 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30542 (__xstat): Do not use CHECK_1.
30543 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30544 (__lxstat): Do not use CHECK_1.
30545 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30547 (___lxstat64): Do not use CHECK_1.
30548 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30549 (__old_msgctl): Do not use CHECK_1.
30550 (__new_msgctl): Likewise.
30551 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30553 (__gettimeofday): Do not use CHECK_1.
30554 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30555 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30556 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30558 (__gettimeofday): Do not use CHECK_1.
30559 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30560 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30561 (__new_shmctl): Do not use CHECK_1.
30562 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30564 (do_sigtimedwait): Do not use CHECK_1.
30565 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30567 (do_sigwaitinfo): Do not use CHECK_1.
30568 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30570 (msgctl): Do not use CHECK_1.
30571 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30573 (shmctl): Do not use CHECK_1.
30574 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30575 (ustat): Do not use CHECK_1.
30576 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30578 (__fxstat): Do not use CHECK_1.
30579 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30581 (__fxstatat): Do not use CHECK_1.
30582 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30584 (__lxstat): Do not use CHECK_1.
30585 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30587 (__xstat): Do not use CHECK_1.
30588 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30589 (__xstat): Do not use CHECK_1.
30590 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30591 (___xstat64): Do not use CHECK_1.
30594 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30596 (CHECK_BOUNDS_HIGH): Likewise.
30597 * string/strcpy.c: Do not include <bp-checks.h>.
30598 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30600 2013-02-07 Roland McGrath <roland@hack.frob.com>
30602 * nscd/nscd-client.h (__nscd_drop_map_ref):
30603 Add __attribute__ ((unused)).
30604 * nis/nss-nisplus.h (niserr2nss): Likewise.
30606 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30607 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30609 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30610 Remove inline keyword.
30611 * include/rounding-mode.h (round_away): Likewise.
30612 * libio/wfileops.c (adjust_wide_data): Likewise.
30613 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30614 (__m128i_strloadu_tolower): Likewise.
30615 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30616 (__m128i_strloadu_tolower): Likewise.
30617 * time/mktime.c (ydhms_diff): Likewise.
30618 * locale/elem-hash.h (elem_hash): Likewise.
30619 * locale/setlocale.c (setdata): Likewise.
30620 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30621 (re_string_wchar_at): Likewise.
30622 (bitset_not, bitset_merge, bitset_mask): Likewise.
30623 [!(__GNUC__ > 3)] (inline): Remove macro.
30624 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30625 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30626 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30627 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30628 * string/memcmp.c (memcmp_bytes): Likewise.
30629 * locale/programs/locarchive.c (compute_hashval): Likewise.
30630 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30631 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30632 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30633 * nss/getent.c (print_rpc, print_protocols): Likewise.
30634 (print_passwd, print_group, print_aliases): Likewise.
30635 * nis/nss-nisplus.h (niserr2nss): Likewise.
30636 * nscd/connections.c (restart_p): Likewise.
30637 Change return type to bool.
30639 2013-02-05 Roland McGrath <roland@hack.frob.com>
30641 * Makeconfig (all-Depend-files): Add existing
30642 $(sorted-subdirs:=/Depend) files.
30643 (all-subdirs): Remove nss.
30644 * sysdeps/unix/inet/Subdirs: Add it here instead.
30645 * hesiod/Depend: New file.
30647 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30648 instead of calling alloca.
30650 * io/lseek.c (__lseek): Rename to __libc_lseek.
30651 Define __lseek as an alias.
30653 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30655 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30657 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30658 else clause and remove check for non-standard endianness.
30660 2013-02-04 David S. Miller <davem@davemloft.net>
30662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30664 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30667 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30668 (__ubp_memchr): Remove prototype.
30669 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30670 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30671 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30672 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30673 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30675 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30676 (__ubp_memchr): Likewise.
30677 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30678 (__ubp_memchr): Likewise.
30679 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30680 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30681 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30682 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30684 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30685 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30686 (__getcwd): Do not use CHECK_STRING.
30687 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30689 (__real_chown): Do not use CHECK_STRING.
30690 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30692 (fchownat): Do not use CHECK_STRING.
30693 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30695 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30697 (__lchown): Do not use CHECK_STRING.
30698 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30699 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30700 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30701 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30703 include <bp-checks.h>.
30704 (truncate64): Do not use CHECK_STRING.
30705 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30707 (__real_chown): Do not use CHECK_STRING.
30708 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30710 (__lchown): Do not use CHECK_STRING.
30711 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30713 (__chown): Do not use CHECK_STRING.
30714 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30716 (truncate64): Do not use CHECK_STRING.
30717 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30719 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30720 (__xmknod): Do not use CHECK_STRING.
30721 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30723 (__xmknodat): Do not use CHECK_STRING.
30724 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30725 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30727 2013-02-04 Andreas Schwab <schwab@suse.de>
30730 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30731 * include/netdb.h: Likewise for h_errno.
30732 * elf/tst-stackguard1.c: Include <tls.h>.
30734 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30736 * elf/link.h (struct link_map): Extend the l_addr comment.
30737 * include/link.h (struct link_map): Likewise.
30739 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30742 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30743 (BOUNDED_1): Remove macro.
30744 * debug/backtrace.c: Don't include <bp-checks.h>.
30745 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30746 (__backtrace): Likewise.
30747 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30749 (__backtrace): Don't use BOUNDED_1.
30750 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30752 (__backtrace): Don't use BOUNDED_1.
30753 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30754 (__backtrace): Don't use BOUNDED_1.
30755 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30756 (shmat): Don't use BOUNDED_N.
30758 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30761 * sysdeps/generic/bp-start.h: Remove file.
30762 * csu/libc-start.c: Don't include <bp-start.h>.
30763 (LIBC_START_MAIN): Set up __environ directly instead of using
30764 INIT_ARGV_and_ENVIRON.
30765 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30769 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30771 (CHECK_FCNTL): Likewise.
30772 (CHECK_N_PAGES): Likewise.
30775 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30777 (CHECK_SIGSET_NULL_OK): Likewise.
30778 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30780 (sigpending): Don't use CHECK_SIGSET.
30781 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30783 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30784 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30786 (do_sigsuspend): Don't use CHECK_SIGSET.
30787 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30789 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30790 (do_sigwait): Don't use CHECK_SIGSET.
30791 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30793 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30794 include <bp-checks.h>.
30795 (sigpending): Don't use CHECK_SIGSET.
30796 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30797 include <bp-checks.h>.
30798 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30799 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30801 (sigpending): Don't use CHECK_SIGSET.
30802 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30804 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30807 * sysdeps/generic/bp-semctl.h: Remove file.
30808 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30809 <bp-checks.h> and <bp-semctl.h>.
30810 (__old_semctl): Don't use CHECK_SEMCTL.
30811 (__new_semctl): Likewise.
30812 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30814 (__old_semctl): Don't use CHECK_SEMCTL.
30815 (__new_semctl): Likewise.
30816 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30817 <bp-checks.h> and <bp-semctl.h>.
30818 (__old_semctl): Don't use CHECK_SEMCTL.
30819 (__new_semctl): Likewise.
30820 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30821 <bp-checks.h> and <bp-semctl.h>.
30822 (semctl): Don't use CHECK_SEMCTL.
30825 * Makerules (elide-bp-thunks): Remove variable.
30826 (elide-routines.oS): Don't use $(elide-bp-thunks).
30827 (elide-routines.os): Likewise.
30828 (elide-routines.o): Likewise.
30829 (elide-routines.op): Likewise.
30830 (elide-routines.og): Likewise.
30831 (objects): Don't use $(bp-thunks).
30832 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30834 (common-generated): Do not add s-proto-bp.d.
30835 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30838 Do not generate makefile rules for bounded-pointer thunks.
30839 * sysdeps/generic/bp-thunks.h: Remove file.
30840 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30841 * sysdeps/unix/s-proto-bp.S: Likewise.
30844 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30845 parts of result separately when argument is not close to line from
30846 -i to i and one part of argument is small.
30847 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30848 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30849 * math/libm-test.inc (cacos_test): Add more tests.
30850 (casin_test): Likewise.
30851 (casinh_test): Likewise.
30852 * sysdeps/i386/fpu/libm-test-ulps: Update.
30853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30855 2013-01-31 David S. Miller <davem@davemloft.net>
30857 * po/de.po: Update from translation team.
30859 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30861 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30863 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30865 * configure.in (_AC_PROG_CC_C89): New definition.
30866 * configure: Regenerate.
30868 * configure.in (AC_PROG_CPP): New definition.
30869 * configure: Regenerate.
30871 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30873 * debug/tst-backtrace.h: New file.
30874 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30875 (ret): Remove variable.
30877 (FAIL): Remove macro.
30878 (NO_INLINE): Likewise.
30879 (fn1): Use match function instead of strstr.
30880 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30881 (ret): Remove variable.
30883 (FAIL): Remove macro.
30884 (NO_INLINE): Likewise.
30885 (fn): Use match function instead of strstr.
30886 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30887 (ret): Remove variable.
30889 (FAIL): Remove macro.
30890 (NO_INLINE): Likewise.
30891 (handle_signal): Use match function instead of strstr.
30892 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30893 (ret): Remove variable.
30895 (FAIL): Remove macro.
30896 (NO_INLINE): Likewise.
30897 (handle_signal): Use match function instead of strstr.
30899 2013-01-23 Roland McGrath <roland@hack.frob.com>
30901 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30903 2013-01-23 David S. Miller <davem@davemloft.net>
30905 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30906 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30907 argument of CAS if possible.
30908 * sysdeps/sparc/sparc64/bits/atomic.h
30909 (__arch_compare_and_exchange_val_32_acq): Likewise.
30910 (__arch_compare_and_exchange_val_64_acq): Likewise.
30912 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30914 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30915 * sysdeps/posix/ulimit.c: ... this.
30916 Include <limits.h>.
30917 * sysdeps/unix/bsd/ulimit.c: Remove file.
30919 2013-01-23 Adam Conrad <adconrad@0c3.net>
30921 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30922 (LDFLAGS-tst-array5): Likewise.
30924 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30927 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30928 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30929 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30930 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30932 2013-01-21 David S. Miller <davem@davemloft.net>
30934 * sysdeps/sparc/backtrace.c: New file.
30935 * sysdeps/sparc/sparc32/backtrace.h: New file.
30936 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30937 * sysdeps/sparc/sparc64/backtrace.h: New file.
30938 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30939 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30942 2013-01-21 Andreas Schwab <schwab@suse.de>
30945 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30948 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30954 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30955 Mark Mitchell <mark@codesourcery.com>
30956 Tom de Vries <tom@codesourcery.com>
30957 Paul Pluzhnikov <ppluzhnikov@google.com>
30959 * debug/tst-backtrace2.c: New file.
30960 * debug/tst-backtrace3.c: Likewise.
30961 * debug/tst-backtrace4.c: Likewise.
30962 * debug/tst-backtrace5.c: Likewise.
30963 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30964 (CFLAGS-tst-backtrace3.c): Likewise.
30965 (CFLAGS-tst-backtrace4.c): Likewise.
30966 (CFLAGS-tst-backtrace5.c): Likewise.
30967 (LDFLAGS-tst-backtrace2): Likewise.
30968 (LDFLAGS-tst-backtrace3): Likewise.
30969 (LDFLAGS-tst-backtrace4): Likewise.
30970 (LDFLAGS-tst-backtrace5): Likewise.
30971 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30972 tst-backtrace4 and tst-backtrace5.
30974 2013-01-18 Anton Blanchard <anton@samba.org>
30975 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30977 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30978 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30979 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30980 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30982 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30983 "+r" and remove output regs list as redundant. Add explicit inline
30984 asm to specify register of return val to work around compiler codegen
30985 bug. Remove (int) cast on return value. Add return type parameter to
30986 use in macro so that this macro does not truncate return value for
30988 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30989 pass to INTERNAL_VSYSCALL_NCS.
30990 (INLINE_VSYSCALL): Add 'long int' as return type to
30991 INTERNAL_VSYSCALL_NCS macro invocation.
30992 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30993 INTERNAL_VSYSCALL_NCS macro invocation.
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30996 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30999 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31000 Fix application of SIMD FP exception mask.
31002 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31003 mp_no from a power of two.
31004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31005 __mpexp_twomm1. Use __pow_mp.
31007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31010 2013-01-17 David S. Miller <davem@davemloft.net>
31012 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31014 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31017 * include/complex.h: Condition contents on [!_COMPLEX_H].
31018 (__kernel_casinhf): New prototype.
31019 (__kernel_casinh): Likewise.
31020 (__kernel_casinhl): Likewise.
31021 * math/Makefile (libm_calls): Add k_casinh.
31022 * math/k_casinh.c: New file.
31023 * math/k_casinhf.c: Likewise.
31024 * math/k_casinhl.c: Likewise.
31025 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31026 finite nonzero arguments.
31027 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31028 finite nonzero arguments.
31029 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31030 finite nonzero arguments.
31031 * math/s_casinh.c: Do not include <float.h>.
31032 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31033 * math/s_casinhf.c: Do not include <float.h>.
31034 (__casinhf): Move code for finite nonzero arguments to
31036 * math/s_casinhl.c: Do not include <float.h>.
31037 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31039 (__casinhl): Move code for finite nonzero arguments to
31041 * math/libm-test.inc (cacos_test): Add more tests.
31042 * sysdeps/i386/fpu/libm-test-ulps: Update.
31043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31045 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31047 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31048 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31049 [!HAVE_MREMAP]: Remove [defined linux] case.
31050 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31052 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31054 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31056 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31058 * elf/elf.h (R_386_SIZE32): New relocation.
31059 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31061 (elf_machine_rela): Likewise.
31062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31063 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31065 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31067 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31068 (FP_FAST_FMA): Do not define.
31069 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31070 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31071 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31072 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31073 !_SOFT_FLOAT]: Likewise.
31074 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31075 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31077 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31078 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31079 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31080 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31081 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31082 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31085 2013-01-16 Andreas Schwab <schwab@suse.de>
31088 * include/stdlib.h (__mktemp): Add declaration.
31089 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31090 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31092 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31094 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31096 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31097 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31098 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31100 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31101 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31103 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31105 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31106 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31107 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31109 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31110 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31112 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31114 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31116 2013-01-15 David S. Miller <davem@davemloft.net>
31118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31119 trunc{,f} to libm-sysdep_routes.
31120 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31130 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31131 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31132 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31133 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31134 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31135 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31138 nearbyint{,f} to libm-sysdep_routes.
31139 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31150 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31152 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31153 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31155 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31156 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31157 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31159 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31160 libc_feholdexcept and libc_fesetenv.
31162 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31164 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31166 2013-01-14 David S. Miller <davem@davemloft.net>
31168 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31169 (SPARC_ASM_VIS2_IFUNC): Likewise.
31170 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31172 use of 'siam' instruction.
31173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31179 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31193 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31201 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31202 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31206 routines to libm-sysdep_routines.
31207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31210 fdim/fdimf to libm-sysdep_routines.
31211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31219 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31220 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31221 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31222 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31224 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31226 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31227 to optimize copies.
31229 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31231 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31234 local variable MPTWO.
31235 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31238 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31240 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31243 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31245 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31247 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31249 * manual/pattern.texi (glob_t): Document gl_flags.
31250 (glob64_t): Likewise.
31252 2013-01-11 David S. Miller <davem@davemloft.net>
31254 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31255 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31256 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31257 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31258 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31259 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31260 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31261 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31262 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31263 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31264 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31265 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31266 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31268 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31269 sparc V9 rather than using V8 code.
31270 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31271 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31273 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31275 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31278 2013-01-11 Roland McGrath <roland@hack.frob.com>
31280 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31281 not in the main loop.
31282 * configure: Regenerated.
31284 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31286 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31287 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31289 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31290 [!__GLIBC_HAVE_LONG_LONG] case.
31291 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31292 condition to just #else.
31293 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31294 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31295 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31296 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31298 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31299 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31300 #elif condition to just #else.
31301 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31302 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31303 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31304 #elif condition to just #else.
31306 2013-01-11 Steve Ellcey <sellcey@mips.com>
31308 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31309 (EF_MIPS_ARCH_64): Fix value.
31310 (EF_MIPS_ARCH_32R2): New.
31311 (EF_MIPS_ARCH_64R2): New.
31313 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31315 * Makeconfig (+link-pie-before-libc): New.
31316 (+link-pie-after-libc): Likewise.
31317 (+link-pie-tests): Likewise.
31318 (+link-pie): Rewritten.
31319 (link-before-libc): Remove $(config-LDFLAGS).
31320 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31321 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31322 (config-LDFLAGS): Renamed to ...
31323 (rtld-LDFLAGS): This.
31324 (rtld-tests-LDFLAGS): New macro.
31325 (link-libc-rpath-link): Likewise.
31326 (link-libc-tests-rpath-link): Likewise.
31327 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31328 (link-libc): Prepand $(link-libc-rpath-link).
31329 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31330 (test-program-prefix): New macro.
31331 (test-via-rtld-prefix): Likewise.
31332 (test-program-cmd): Likewise.
31333 (host-test-program-cmd): Likewise.
31334 * Makefile ($(common-objpfx)testrun.sh): Replace
31335 $(run-program-prefix) with $(test-program-prefix).
31336 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31338 ($(common-objpfx)shlib.lds): Likewise.
31339 (build-module-helper): Likewise.
31340 ($(common-objpfx)format.lds): Likewise.
31341 * Rules (binaries-pie-tests): New.
31342 (binaries-pie-notests): Likewise.
31343 (binaries-pie): Rewritten.
31344 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31345 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31346 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31347 (make-test-out): Replace $(host-built-program-cmd) with
31348 $(host-test-program-cmd).
31349 * config.make.in (build-hardcoded-path-in-tests): New variable.
31350 * configure.in (--enable-hardcoded-path-in-tests): New configure
31352 (hardcoded_path_in_tests): New AC_SUBST.
31353 * configure: Regenerated.
31354 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31355 $(built-program-cmd) with $(test-program-cmd).
31356 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31357 (test_program_cmd): This.
31358 * elf/Makefile ($(objpfx)order.out): Run test with
31359 $(test-program-prefix).
31360 ($(objpfx)order2.out): Likewise.
31361 ($(objpfx)tst-initorder.out): Likewise.
31362 ($(objpfx)tst-initorder2.out): Likewise.
31363 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31364 $(test-program-cmd).
31365 ($(objpfx)tst-array1-static.out): Likewise.
31366 ($(objpfx)tst-array2.out): Likewise.
31367 ($(objpfx)tst-array3.out): Likewise.
31368 ($(objpfx)tst-array4.out): Likewise.
31369 ($(objpfx)tst-array5.out): Likewise.
31370 ($(objpfx)tst-array5-static.out): Likewise.
31371 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31372 $(test-program-cmd).
31373 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31374 $(run-program-prefix) with $(test-program-prefix).
31375 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31376 (test_program_prefix): This.
31377 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31378 $(run-program-prefix) with $(test-program-prefix).
31379 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31380 (test_program_prefix): This.
31381 * iconvdata/tst-tables.sh: Likewise.
31382 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31383 $(run-program-prefix) with $(test-program-prefix).
31384 ($(objpfx)tst-translit.out): Likewise.
31385 ($(objpfx)tst-gettext2.out): Likewise.
31386 ($(objpfx)tst-gettext4.out): Likewise.
31387 ($(objpfx)tst-gettext6.out): Likewise.
31388 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31389 (test_program_prefix): This.
31390 * intl/tst-gettext2.sh: Likewise.
31391 * intl/tst-gettext4.sh Likewise.
31392 * intl/tst-gettext6.sh: Likewise.
31393 * intl/tst-translit.sh: Likewise.
31394 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31395 with $(test-program-cmd).
31396 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31397 $(run-program-prefix) with $(test-program-prefix).
31398 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31399 (test_program_prefix): This.
31400 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31401 $(run-program-prefix) with $(test-program-prefix).
31402 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31403 (test_program_prefix): This.
31404 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31405 * posix/Makefile ($(objpfx)globtest.out): Replace
31406 $(run-via-rtld-prefix) and $(test-wrapper) with
31407 $(test-program-prefix) and $(test-via-rtld-prefix).
31408 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31409 $(test-program-prefix).
31410 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31411 $(host-test-program-cmd).
31412 (tst-spawn-ARGS): Likewise.
31413 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31414 $(test-program-prefix).
31415 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31416 (test_via_rtld_prefix): This.
31417 (test_wrapper): Renamed to ...
31418 (test_program_prefix): This.
31419 (run_program_prefix): Replaced by test_program_prefix.
31420 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31421 (test_program_prefix): This.
31422 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31423 with $(host-test-program-cmd).
31424 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31425 $(run-program-prefix) with $(test-program-prefix).
31426 ($(objpfx)tst-printf.out): Likewise.
31427 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31428 $(test-program-cmd).
31429 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31430 (test_program_prefix): This.
31431 * stdio-common/tst-unbputc.sh: Likewise.
31432 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31433 $(run-program-prefix) with $(test-program-prefix).
31434 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31435 (test_program_prefix): This.
31436 * string/Makefile ($(objpfx)tst-svc.out): Replace
31437 $(built-program-cmd) with $(test-program-cmd).
31439 2013-01-11 Andreas Jaeger <aj@suse.de>
31442 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31443 value. Sync with Linux 3.7.
31445 2013-01-10 David S. Miller <davem@davemloft.net>
31447 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31448 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31449 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31451 2013-01-10 Roland McGrath <roland@hack.frob.com>
31453 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31455 * configure: Regenerated.
31457 2013-01-10 David S. Miller <davem@davemloft.net>
31459 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31460 sparc V9 rather than using V8 code.
31461 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31462 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31464 2013-01-10 Roland McGrath <roland@hack.frob.com>
31466 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31467 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31468 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31469 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31470 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31471 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31472 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31473 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31474 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31475 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31476 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31477 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31478 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31479 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31480 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31481 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31482 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31483 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31484 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31485 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31486 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31487 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31488 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31489 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31490 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31491 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31492 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31494 2013-01-10 David S. Miller <davem@davemloft.net>
31496 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31498 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31500 * posix/Makefile (tests-static): New variable.
31501 (tests): Add $(tests-static).
31502 (tst-exec-static-ARGS): New variable.
31503 (tst-spawn-static-ARGS): Likewise.
31504 * posix/tst-exec-static.c: New file.
31505 * posix/tst-spawn-static.c: Likewise.
31506 * posix/tst-exec.c: Support run directly.
31507 * posix/tst-spawn.c: Likewise.
31509 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31511 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31513 * math/bits/mathcalls.h (llrint): Likewise.
31514 (llround): Likewise.
31515 * stdlib/stdlib.h (struct drand48_data): Likewise.
31516 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31517 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31518 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31520 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31522 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31523 (elf_greg_t): Likewise.
31524 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31525 (__jmp_buf): Likewise.
31526 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31528 (llrint): Likewise, for all definitions.
31529 (llrintl): Likewise.
31531 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31532 Remove [__GNUC__] condition.
31533 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31534 condition to just [__USE_ISOC99].
31535 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31537 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31540 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31541 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31543 (_POSIX_V6_ILP32_OFF32): Likewise.
31544 (_XBS5_ILP32_OFF32): Likewise.
31545 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31546 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31548 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31550 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31552 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31553 doubles __mpexp_twomm1. Adjust usage.
31554 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31557 2013-01-10 Andreas Schwab <schwab@suse.de>
31560 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31561 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31563 2013-01-09 David S. Miller <davem@davemloft.net>
31566 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31567 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31568 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31569 (TCP_FASTOPEN): Define.
31570 (tcp_repair_opt): New structure.
31571 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31573 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31574 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31575 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31576 (tcp_cookie_transactions): New structure.
31578 2013-01-09 Anton Blanchard <anton@samba.org>
31580 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31581 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31582 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31583 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31585 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31587 * include/features.h (__USE_ANSI): Remove.
31589 2013-01-09 Roland McGrath <roland@hack.frob.com>
31591 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31593 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31595 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31597 * sysdeps/s390/fpu/libm-test-ulps: Update.
31599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31601 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31605 (denorm): Likewise.
31606 (__mp_dbl): Likewise.
31607 (__dbl_mp): Likewise.
31608 (add_magnitudes): Likewise.
31609 (sub_magnitudes): Likewise.
31615 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31619 (denorm): Likewise.
31620 (__mp_dbl): Likewise.
31621 (__dbl_mp): Likewise.
31622 (add_magnitudes): Likewise.
31623 (sub_magnitudes): Likewise.
31629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31633 (denorm): Likewise.
31634 (__mp_dbl): Likewise.
31635 (__dbl_mp): Likewise.
31636 (add_magnitudes): Likewise.
31637 (sub_magnitudes): Likewise.
31644 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31646 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31647 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31648 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31649 2 && __USE_EXTERN_INLINES]: Likewise.
31651 2013-01-08 Andreas Jaeger <aj@suse.de>
31654 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31656 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31657 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31659 2013-01-07 Anton Blanchard <anton@samba.org>
31661 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31662 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31663 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31664 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31665 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31666 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31667 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31668 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31670 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31671 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31672 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31673 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31674 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31675 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31676 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31677 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31678 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31679 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31680 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31681 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31682 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31683 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31684 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31685 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31686 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31687 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31688 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31689 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31690 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31691 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31693 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31694 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31695 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31696 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31697 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31698 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31699 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31700 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31701 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31702 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31703 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31705 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31707 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31708 (__MALLOC_PMT): Likewise.
31709 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31710 [__GNUC__], only on [_LIBC].
31711 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31712 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31713 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31714 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31715 forward declaration.
31716 (realloc_hook_ini): Likewise.
31717 (memalign_hook_ini): Likewise.
31718 (__libc_memalign): Do not use __MALLOC_PMT in variable
31720 (__libc_valloc): Likewise.
31721 (__libc_pvalloc): Likewise.
31722 (__libc_calloc): Likewise.
31723 (__posix_memalign): Likewise.
31726 * math/s_casinh.c: Include <float.h>.
31727 (__casinh): Do not do computation with squaring and square root
31728 for large arguments.
31729 * math/s_casinhf.c: Include <float.h>.
31730 (__casinhf): Do not do computation with squaring and square root
31731 for large arguments.
31732 * math/s_casinhl.c: Include <float.h>.
31733 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31734 (__casinhl): Do not do computation with squaring and square root
31735 for large arguments.
31736 * math/libm-test.inc (casin_test): Add more tests.
31737 (casinh_test): Likewise.
31738 * sysdeps/i386/fpu/libm-test-ulps: Update.
31739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31741 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31743 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31744 (__x86_64_raw_data_cache_size): Likewise.
31745 (__x86_64_data_cache_size_half): Likewise.
31746 (__x86_64_raw_data_cache_size_half): Likewise.
31747 (__x86_64_shared_cache_size): Likewise.
31748 (__x86_64_raw_shared_cache_size): Likewise.
31749 (__x86_64_shared_cache_size_half): Likewise.
31750 (__x86_64_raw_shared_cache_size_half): Likewise.
31751 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31753 (__x86_data_cache_size): This.
31754 (__x86_64_raw_data_cache_size): Renamed to ...
31755 (__x86_raw_data_cache_size): This.
31756 (__x86_64_data_cache_size_half): Renamed to ...
31757 (__x86_data_cache_size_half): This.
31758 (__x86_64_raw_data_cache_size_half): Renamed to ...
31759 (__x86_raw_data_cache_size_half): This.
31760 (__x86_64_shared_cache_size): Renamed to ...
31761 (__x86_shared_cache_size): This.
31762 (__x86_64_raw_shared_cache_size): Renamed to ...
31763 (__x86_raw_shared_cache_size): This.
31764 (__x86_64_shared_cache_size_half): Renamed to ...
31765 (__x86_shared_cache_size_half): This.
31766 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31767 (__x86_raw_shared_cache_size_half): This.
31768 * sysdeps/x86_64/memcpy.S: Updated.
31769 * sysdeps/x86_64/memset.S: Likewise.
31770 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31771 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31774 2013-01-04 David S. Miller <davem@davemloft.net>
31776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31778 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31780 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31781 1 to avoid redefinition warning.
31782 (__USE_GNU): Don't define.
31783 (init_signaling_nan): Protoize.
31785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31787 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31789 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31791 (__cpymn): Likewise.
31792 (norm): Remove commented code.
31793 (denorm): Likewise.
31794 (__mp_dbl): Likewise.
31796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31797 (__cpymn): Likewise.
31798 (norm): Remove commented code.
31799 (denorm): Likewise.
31800 (__mp_dbl): Likewise.
31803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31804 mp_no value for 1.0 and 2.0.
31805 (norm): Use RADIXI instead of radixi.d.
31806 (denorm): Likewise.
31807 (__mul): Use 0.0 instead of zero.d.
31808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31809 mp_no value for 1.0 and 2.0.
31810 (norm): Use RADIXI instead of radixi.d.
31811 (denorm): Likewise.
31812 (__mul): Use 0.0 instead of zero.d.
31814 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31817 * math/s_casinh.c (__casinh): Reduce finite argument to first
31818 quadrant then set signs of results at the end.
31819 * math/s_casinhf.c (__casinhf): Likewise.
31820 * math/s_casinhl.c (__casinhl): Likewise.
31821 * math/libm-test.inc (casin_test): Add more tests.
31822 (casinh_test): Likewise.
31823 * sysdeps/i386/fpu/libm-test-ulps: Update.
31824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31826 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31828 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31830 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31832 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31834 (denorm): Likewise.
31835 (__mp_dbl): Likewise.
31838 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31839 and adjust the header comment.
31841 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31842 variable name from declaration.
31844 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31847 Initialize COMMON_CPUID_INDEX_7 element.
31848 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31849 (CPUID_RTM): Likewise.
31850 (HAS_RTM): Likewise.
31851 (COMMON_CPUID_INDEX_7): New enum.
31853 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31856 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31857 size is zero, record memory as freed.
31859 2013-01-03 Andreas Jaeger <aj@suse.de>
31861 * po/ia.po: Add new Interlingua translation.
31863 2012-01-03 Allan McRae <allan@archlinux.org>
31865 * locale/programs/localedef.c: Fix description of '--posix' flag.
31867 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31869 * NEWS: Update dates in second copyright notice.
31870 * README: Update copyright dates in example.
31871 * manual/libc.texinfo: Update copyright dates.
31872 * scripts/test-installation.pl: Update copyright date in --version
31875 * hurd/ctty-input.c: Fix copyright notice formatting.
31876 * hurd/ctty-output.c: Likewise.
31877 * hurd/dtable.c: Likewise.
31878 * hurd/hurd-raise.c: Likewise.
31879 * hurd/hurdprio.c: Likewise.
31880 * hurd/msgportdemux.c: Likewise.
31881 * misc/sys/file.h: Likewise.
31882 * misc/sys/ioctl.h: Likewise.
31883 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31884 * sysdeps/mach/hurd/chdir.c: Likewise.
31885 * sysdeps/mach/hurd/fchdir.c: Likewise.
31886 * sysdeps/mach/hurd/rename.c: Likewise.
31887 * sysdeps/mach/hurd/rmdir.c: Likewise.
31888 * sysdeps/mach/hurd/seekdir.c: Likewise.
31889 * sysdeps/mach/hurd/setsid.c: Likewise.
31890 * sysdeps/posix/wait3.c: Likewise.
31892 * All files with FSF copyright notices: Update copyright dates
31893 using scripts/update-copyrights.
31894 * intl/plural.c: Regenerated.
31895 * locale/programs/charmap-kw.h: Likewise.
31896 * locale/programs/locfile-kw.h: Likewise.
31898 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31900 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31903 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31904 calculation loop and add branch prediction.
31906 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31907 check access beyond bounds of m1np.
31909 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31911 (__inv): Remove local variable MPTWO to use the global
31913 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31914 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31916 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31917 MP3HALFS static const.
31919 2013-01-01 David S. Miller <davem@davemloft.net>
31921 * po/ca.po: Update from translation team.
31923 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31925 * scripts/update-copyrights: New file.
31926 * Makeconfig: Reformat copyright notice.
31927 * ctype/ctype.h: Likewise.
31928 * debug/swprintf_chk.c: Likewise.
31929 * elf/dl-cache.c: Likewise.
31930 * elf/dl-debug.c: Likewise.
31931 * elf/dl-object.c: Likewise.
31932 * grp/initgroups.c: Likewise.
31933 * hurd/Makefile: Likewise.
31934 * hurd/hurd/signal.h: Likewise.
31935 * hurd/hurdfault.c: Likewise.
31936 * hurd/hurdioctl.c: Likewise.
31937 * hurd/hurdlookup.c: Likewise.
31938 * hurd/intr-msg.c: Likewise.
31939 * iconv/gconv_open.c: Likewise.
31940 * libio/swprintf.c: Likewise.
31941 * locale/lc-ctype.c: Likewise.
31942 * locale/nl_langinfo.c: Likewise.
31943 * mach/Machrules: Likewise.
31944 * mach/Makefile: Likewise.
31945 * malloc/obstack.h: Likewise.
31946 * manual/Makefile: Likewise.
31947 * manual/tsort.awk: Likewise.
31948 * misc/bits/stab.def: Likewise.
31949 * nis/nis_print_group_entry.c: Likewise.
31950 * nis/nis_table.c: Likewise.
31951 * nis/nss_compat/compat-pwd.c: Likewise.
31952 * nis/nss_compat/compat-spwd.c: Likewise.
31953 * po/Makefile: Likewise.
31954 * posix/fnmatch.c: Likewise.
31955 * posix/regex.h: Likewise.
31956 * resolv/Makefile: Likewise.
31957 * resolv/nss_dns/dns-network.c: Likewise.
31958 * resolv/res_hconf.c: Likewise.
31959 * scripts/gen-sorted.awk: Likewise.
31960 * soft-fp/soft-fp.h: Likewise.
31961 * stdio-common/printf.h: Likewise.
31962 * stdlib/monetary.h: Likewise.
31963 * stdlib/random.c: Likewise.
31964 * stdlib/random_r.c: Likewise.
31965 * sysdeps/generic/Makefile: Likewise.
31966 * sysdeps/gnu/Makefile: Likewise.
31967 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31969 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31970 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31971 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31972 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31973 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31974 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31975 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31976 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31977 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31978 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31979 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31980 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31981 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31982 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31983 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31984 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31985 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31987 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31988 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31989 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31990 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31991 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31992 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31993 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31994 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31995 * sysdeps/mach/hurd/errnos.awk: Likewise.
31996 * sysdeps/mach/hurd/fork.c: Likewise.
31997 * sysdeps/mach/hurd/getcwd.c: Likewise.
31998 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31999 * sysdeps/mach/hurd/mmap.c: Likewise.
32000 * sysdeps/mach/hurd/utimes.c: Likewise.
32001 * sysdeps/mach/hurd/xmknod.c: Likewise.
32002 * sysdeps/posix/profil.c: Likewise.
32003 * sysdeps/posix/readdir_r.c: Likewise.
32004 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32005 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32006 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32007 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32009 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32010 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32011 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32013 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32014 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32015 * sysdeps/pthread/lio_listio.c: Likewise.
32016 * sysdeps/sparc/dl-procinfo.h: Likewise.
32017 * sysdeps/unix/i386/sysdep.S: Likewise.
32018 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32019 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32020 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32021 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32023 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32024 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32025 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32026 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32027 * sysdeps/wordsize-32/divdi3.c: Likewise.
32028 * time/sys/time.h: Likewise.
32029 * wcsmbs/Makefile: Likewise.
32031 2013-01-01 David S. Miller <davem@davemloft.net>
32033 * po/fr.po: Update from translation team.
32035 * catgets/gencat.c: Update copyright year.
32036 * csu/version.c: Likewise.
32037 * debug/catchsegv.sh: Likewise.
32038 * debug/pcprofiledump.c: Likewise.
32039 * debug/xtrace.sh: Likewise.
32040 * elf/ldconfig.c: Likewise.
32041 * elf/ldd.bash.in: Likewise.
32042 * elf/pldd.c: Likewise.
32043 * elf/sotruss.ksh: Likewise.
32044 * elf/sprof.c: Likewise.
32045 * iconv/iconv_prog.c: Likewise.
32046 * iconv/iconvconfig.c: Likewise.
32047 * locale/programs/locale.c: Likewise.
32048 * locale/programs/localedef.c: Likewise.
32049 * login/programs/pt_chown.c: Likewise.
32050 * malloc/memusage.sh: Likewise.
32051 * malloc/memusagestat.c: Likewise.
32052 * malloc/mtrace.pl: Likewise.
32053 * nscd/nscd.c: Likewise.
32054 * nss/getent.c: Likewise.
32055 * nss/makedb.c: Likewise.
32056 * posix/getconf.c: Likewise.
32058 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32060 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32063 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32065 * math/bits/mathcalls.h (modf): Use __nonnull.
32067 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32069 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32070 (split): Use macro CN instead of the bare value.
32071 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32073 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32074 instead of the bare value.
32075 (power1): Likewise.
32077 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32079 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32081 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32083 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32085 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32086 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32087 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32088 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32090 2012-12-28 Andreas Jaeger <aj@suse.de>
32092 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32093 values are from Linux 3.7.
32095 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32096 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32098 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32100 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32103 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32105 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32106 variables with preprocessor constants.
32107 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32108 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32109 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32111 2012-12-27 Bruno Haible <bruno@clisp.org>
32114 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32117 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32119 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32120 and use variable directly.
32121 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32123 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32125 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32126 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32128 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32129 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32130 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32131 include directive. Remove local variable MPONE.
32132 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32133 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32134 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32136 2012-12-25 David S. Miller <davem@davemloft.net>
32138 * version.h (RELEASE): Set to "development".
32139 (VERSION): Set to "2.17.90".
32140 * NEWS: Add 2.18 section.
32142 2012-12-21 David S. Miller <davem@davemloft.net>
32144 * po/hr.po: Update from translation team.
32146 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32148 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32150 2012-12-19 Steve Ellcey <sellcey@mips.com>
32152 * NEWS: Mention new memcpy for MIPS.
32154 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32156 * manual/contrib.texi (Contributors): Spelling correction.
32158 2012-12-15 David S. Miller <davem@davemloft.net>
32160 * po/ru.po: Update from translation team.
32162 2012-12-13 David S. Miller <davem@davemloft.net>
32164 * NEWS: Mention IFUNC testsuite enhancements.
32166 * po/pl.po: Update from translation team.
32167 * po/bg.po: Likewise.
32169 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32170 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32172 2012-12-11 David S. Miller <davem@davemloft.net>
32174 * po/sv.po: Update from translation team.
32176 * po/vi.po: Update from translation team.
32178 * po/cs.po: Update from translation team.
32180 * po/de.po: Update from translation team.
32181 * po/eo.po: Likewise.
32182 * po/nl.po: Likewise.
32184 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32187 * manual/argp.texi (Argp Helper Functions): Move node to follow
32188 Argp Parsing State.
32191 * manual/conf.texi (Limits on File System Capacity): Mention if
32192 terminating null is included in the max size.
32194 2012-12-10 Andreas Jaeger <aj@suse.de>
32196 * po/cs.po: Update from translation team.
32198 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32200 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32201 void pointer and cast to uintptr_t.
32202 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32204 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32205 * sysdeps/s390/s390-64/memset.S: Likewise.
32207 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32210 * menual/message.texi (Message Translation): Fix typos.
32211 (Helper programs for gettext): Likewise.
32213 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32216 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32219 2012-12-07 David S. Miller <davem@davemloft.net>
32221 * po/libc.pot: Update.
32223 2012-12-07 Richard Henderson <rth@redhat.com>
32226 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32227 normal/normal case to before the switch.
32228 (_FP_DIV): Likewise.
32230 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32231 Mike Frysinger <vapier@gentoo.org>
32233 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32234 check for __NR_fadvise64_64.
32236 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32238 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32239 0, not just to plain "0" as a statement.
32240 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32243 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32245 * NEWS: Use sourceware.org in Bugzilla URL.
32247 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32250 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32252 * stdio-common/tst-put-error.c (do_test): Add newline to the
32253 padded test to ensure flush.
32255 2012-12-05 Jeff Law <law@redhat.com>
32257 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32259 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32261 * README: Don't refer to ports add-on as distributed separately.
32262 Mention AArch64 in list of systems supported in the ports add-on.
32264 * LICENSES: Add more non-FSF copyright and license notices.
32266 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32269 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32271 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32272 10000 as width of padded output.
32274 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32276 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32278 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32279 variable LX with __attribute__ ((unused)).
32280 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32282 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32283 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32285 with __attribute__ ((unused)).
32287 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32289 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32291 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32293 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32294 (CFLAGS-nldbl-acos.c): New variable.
32295 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32296 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32297 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32298 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32299 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32300 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32301 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32302 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32303 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32304 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32305 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32306 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32307 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32308 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32309 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32310 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32311 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32312 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32313 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32314 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32315 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32316 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32317 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32318 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32319 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32320 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32321 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32322 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32323 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32324 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32325 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32326 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32327 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32328 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32329 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32330 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32331 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32332 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32333 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32334 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32335 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32336 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32337 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32338 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32339 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32340 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32341 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32342 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32343 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32344 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32345 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32346 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32347 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32348 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32349 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32350 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32351 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32352 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32353 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32354 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32355 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32356 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32357 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32358 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32359 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32360 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32361 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32362 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32363 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32364 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32365 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32366 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32367 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32368 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32369 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32370 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32371 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32372 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32373 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32374 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32375 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32376 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32377 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32378 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32379 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32380 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32381 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32382 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32383 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32384 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32385 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32386 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32387 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32388 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32389 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32390 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32391 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32394 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32397 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32398 whole low double instead of just low 47 bits when splitting values
32401 2012-12-03 Allan McRae <allan@archlinux.org>
32403 * manual/stdio.texi (Predefined Printf Handlers): Remove
32404 @hsep and @vsep usage.
32406 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32408 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32409 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32411 2012-12-03 Jeff Law <law@redhat.com>
32413 * time/sys/time.h (settimeofday): Do not mark TV argument
32416 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32418 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32419 when currently writing and seek to current position when not.
32420 * libio/Makefile (tests): Remove bug-fclose1.
32421 * libio/bug-fclose1.c: Delete.
32423 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32425 * manual/arith.texi (feenableexcept): Fix typo.
32426 (fedisableexcept): Likewise.
32428 2012-11-30 Roland McGrath <roland@hack.frob.com>
32430 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32431 second, differently-typed declaration, rather than a cast.
32433 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32435 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32436 * include/rpc/svc.h: ... here.
32438 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32441 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32442 depending n and resplen2 to catch cases where answer
32445 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32447 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32448 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32450 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32452 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32454 2012-11-29 Roland McGrath <roland@hack.frob.com>
32456 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32458 2012-11-28 Jeff Law <law@redhat.com>
32461 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32462 dataset_temporary. Track alloca usage into alloca_used.
32463 If dataset is large allocate and release it via malloc/free.
32465 2012-06-04 Florian Weimer <fweimer@redhat.com>
32468 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32470 2012-11-28 David S. Miller <davem@davemloft.net>
32472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32474 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32477 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32478 of pi/2 rounded to nearest to 64 bits.
32479 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32480 nearest to 64 bits.
32481 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32484 2012-11-28 Jeff Law <law@redhat.com>
32485 Martin Osvald <mosvald@redhat.com>
32488 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32489 * sunrpc/svc.c: Include time.h.
32490 (__svc_accept_failed): New function.
32491 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32492 any reason other than EINTR, call __svc_accept_failed.
32493 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32494 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32496 2012-11-28 Andreas Schwab <schwab@suse.de>
32498 * scripts/abilist.awk: Also handle indirect functions in .opd
32501 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32504 * sysdeps/x86/fpu/powl_helper.c: New file.
32505 * sysdeps/x86/fpu/Makefile: Likewise.
32506 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32508 (__ieee754_powl): Use __powl_helper for finite arguments except
32509 integer exponents below 8.
32510 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32512 (__ieee754_powl): Use __powl_helper for finite arguments except
32513 integer exponents below 8.
32514 * math/libm-test.inc (pow_test): Add more tests and enable some
32515 previously disabled tests.
32516 * sysdeps/i386/fpu/libm-test-ulps: Update.
32517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32519 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32520 Carlos O'Donell <carlos_odonell@mentor.com>
32522 * nss/makedb.c (is_prime): Assert that input is odd and greater
32523 than 4. Note that fact in a comment too.
32524 (next_prime): Add 4 to input.
32526 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32529 * libio/Makefile (tests): Add test case tst-fwrite-error.
32530 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32531 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32532 * libio/tst-fwrite-error.c: New test case.
32534 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32536 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32537 before casting to void *.
32538 * include/libc-internal.h (__pointer_type): New macro.
32539 (__integer_if_pointer_type_sub): Likewise.
32540 (__integer_if_pointer_type): Likewise.
32541 (cast_to_integer): Likewise.
32542 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32543 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32544 before casting to atomic64_t.
32545 (atomic_exchange_acq): Likewise.
32546 (__arch_exchange_and_add_body): Likewise.
32547 (__arch_add_body): Likewise.
32548 (atomic_add_negative): Likewise.
32549 (atomic_add_zero): Likewise.
32551 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32553 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32554 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32555 (add_fdes): Likewise.
32556 (linear_search_fdes): Likewise.
32557 (binary_search_unencoded_fdes): Likewise.
32559 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32561 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32563 2012-11-24 Adam Conrad <adconrad@0c3.net>
32565 * configure.in: Autodetect C++ header directories.
32566 * configure: Regenerated.
32568 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32570 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32572 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32576 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32578 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32579 LDBL_MANT_DIG == 106]: Disable some tests.
32580 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32582 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32586 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32587 input for small inputs. Return +/- pi/2 for large inputs.
32588 * math/libm-test.inc (atan_test): Add more tests.
32590 * sysdeps/generic/unwind-dw2-fde-glibc.c
32591 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32592 __attribute__ ((unused)).
32595 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32596 x * y if x and y are nonzero and z is zero.
32599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32600 nonzero exponents with absolute value below 0x1p-117 to +/-
32604 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32605 up arguments below 2**-450, not just those below 2**-500.
32606 * math/libm-test.inc (hypot_test): Add another test.
32609 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32610 Return a+b for ratio over 2**120, not 2**60.
32611 * math/libm-test.inc (hypot_test): Add another test.
32613 * math/libm-test.inc (clog_test): Use
32614 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32615 (clog10_test): Likewise.
32618 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32620 2012-11-22 Andreas Schwab <schwab@suse.de>
32622 * sysdeps/i386/fpu/libm-test-ulps: Update.
32624 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32626 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32627 printf output with newline.
32629 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32632 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32633 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32634 -z nodlopen, -z initfirst and -z execstack support.
32635 * configure: Regenerated.
32637 * elf/elf.h (DF_1_NODIRECT): New macro.
32638 (DF_1_IGNMULDEF): Likewise.
32639 (DF_1_NOKSYMS): Likewise.
32640 (DF_1_NOHDR): Likewise.
32641 (DF_1_EDITED): Likewise.
32642 (DF_1_NORELOC): Likewise.
32643 (DF_1_SYMINTPOSE): Likewise.
32644 (DF_1_GLOBAUDIT): Likewise.
32645 (DF_1_SINGLETON): Likewise.
32646 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32647 DT_1_SUPPORTED_MASK bits.
32648 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32650 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32652 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32654 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32656 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32659 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32660 (sendmmsg): Move declarations...
32661 * socket/sys/socket.h: ... here.
32662 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32663 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32665 * socket/recvmmsg.c: ... this new file.
32666 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32667 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32668 definition of __sendmmsg hidden.
32669 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32670 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32671 Move ENOSYS stub into and include it from...
32672 * socket/sendmmsg.c: ... this new file.
32673 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32674 (sysdep_routines): Move recvmmsg and sendmmsg...
32675 * socket/Makefile (routines): ... here.
32676 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32677 (GLIBC_PRIVATE): Add __sendmmsg.
32678 * include/sys/socket.h (__sendmmsg): Add declarations.
32679 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32682 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32684 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32685 variable I1 with __attribute__ ((unused)).
32686 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32688 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32690 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32691 DUMMY variables with __attribute__ ((unused)).
32693 * bits/byteswap.h: Include <bits/types.h>.
32694 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32696 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32698 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32699 string_t. Do not manually set errno.
32700 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32701 length with __strnlen. Make sure to both set errno and return it on
32704 2012-11-19 David S. Miller <davem@davemloft.net>
32706 With help from Joseph Myers.
32707 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32708 very large arguments properly.
32709 * math/libm-test.inc (atan_test): New tests.
32710 (atan2_test): New tests.
32711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32712 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32714 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32717 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32720 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32721 [POSIX] (EADDRNOTAVAIL): Likewise.
32722 [POSIX] (EAFNOSUPPORT): Likewise.
32723 [POSIX] (EALREADY): Likewise.
32724 [POSIX] (ECONNABORTED): Likewise.
32725 [POSIX] (ECONNREFUSED): Likewise.
32726 [POSIX] (ECONNRESET): Likewise.
32727 [POSIX] (EDESTADDRREQ): Likewise.
32728 [POSIX] (EDQUOT): Likewise.
32729 [POSIX] (EHOSTUNREACH): Likewise.
32730 [POSIX] (EIDRM): Likewise.
32731 [POSIX] (EISCONN): Likewise.
32732 [POSIX] (ELOOP): Likewise.
32733 [POSIX] (EMULTIHOP): Likewise.
32734 [POSIX] (ENETDOWN): Likewise.
32735 [POSIX] (ENETUNREACH): Likewise.
32736 [POSIX] (ENOBUFS): Likewise.
32737 [POSIX] (ENODATA): Likewise.
32738 [POSIX] (ENOLINK): Likewise.
32739 [POSIX] (ENOMSG): Likewise.
32740 [POSIX] (ENOPROTOOPT): Likewise.
32741 [POSIX] (ENOSR): Likewise.
32742 [POSIX] (ENOSTR): Likewise.
32743 [POSIX] (ENOTCONN): Likewise.
32744 [POSIX] (ENOTSOCK): Likewise.
32745 [POSIX] (EOPNOTSUPP): Likewise.
32746 [POSIX] (EOVERFLOW): Likewise.
32747 [POSIX] (EPROTO): Likewise.
32748 [POSIX] (EPROTONOSUPPORT): Likewise.
32749 [POSIX] (EPROTOTYPE): Likewise.
32750 [POSIX] (ESTALE): Likewise.
32751 [POSIX] (ETIME): Likewise.
32752 [POSIX] (ETXTBSY): Likewise.
32753 [POSIX] (EWOULDBLOCK): Likewise.
32754 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32755 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32756 [POSIX] (SEEK_CUR): Likewise.
32757 [POSIX] (SEEK_END): Likewise.
32758 [POSIX || UNIX98] (mode_t): Do not require.
32759 [POSIX] (off_t): Likewise.
32760 [POSIX] (pid_t): Likewise.
32761 [POSIX] (sys/stat.h): Do not allow header.
32762 [POSIX] (unistd.h): Likewise.
32763 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32764 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32765 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32766 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32768 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32769 sigevent): Specify elements.
32770 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32772 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32773 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32775 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32776 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32777 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32778 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32779 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32780 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32781 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32782 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32783 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32784 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32785 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32786 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32787 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32788 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32790 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32792 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32794 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32796 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32797 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32798 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32799 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32800 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32801 Specify lower bound on value.
32802 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32803 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32804 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32805 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32806 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32807 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32808 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32809 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32811 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32813 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32814 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32815 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32816 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32817 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32819 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32820 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32821 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32822 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32823 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32824 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32825 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32826 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32827 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32828 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32830 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32832 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32833 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32834 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32835 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32836 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32837 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32839 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32840 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32841 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32842 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32843 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32844 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32845 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32847 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32848 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32849 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32850 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32851 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32852 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32853 specify as optional.
32854 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32855 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32856 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32857 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32858 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32859 [XPG3] (NL_LANGMAX): Likewise.
32860 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32861 [POSIX || XPG3] (NL_NMAX): Likewise.
32862 [POSIX || XPG3] (NL_SETMAX): Likewise.
32863 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32864 [XPG3] (NZERO): Likewise.
32865 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32866 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32867 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32868 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32869 (REG_ERANGE): Expect.
32870 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32872 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32873 Use (void) in prototype.
32874 [POSIX] (*_t): Allow.
32875 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32876 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32877 (WRDE_BADVAL): Expect.
32879 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32881 [XPG3 || XPG4] (O_RSYNC): Likewise.
32882 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32884 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32885 [XPG3 || XPG4] (sigqueue): Likewise.
32886 [XPG3 || XPG4] (sigtimedwait): Likewise.
32887 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32888 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32889 [XPG3 || XPG4] (vsnprintf): Likewise.
32890 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32892 [XPG3 || XPG4] (blksize_t): Likewise.
32893 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32895 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32896 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32897 [XPG3 || XPG4] (struct itimerspec): Likewise.
32898 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32899 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32900 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32901 [XPG3 || XPG4] (clockid_t): Likewise.
32902 [XPG3 || XPG4] (timer_t): Likewise.
32903 [XPG3 || XPG4] (clock_getres): Likewise.
32904 [XPG3 || XPG4] (clock_gettime): Likewise.
32905 [XPG3 || XPG4] (clock_settime): Likewise.
32906 [XPG3 || XPG4] (nanosleep): Likewise.
32907 [XPG3 || XPG4] (timer_create): Likewise.
32908 [XPG3 || XPG4] (timer_delete): Likewise.
32909 [XPG3 || XPG4] (timer_gettime): Likewise.
32910 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32911 [XPG3 || XPG4] (timer_settime): Likewise.
32912 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32913 [XPG3 || XPG4] (getlogin_r): Likewise.
32914 [XPG3 || XPG4] (pread): Likewise.
32915 [XPG3 || XPG4] (pthread_atfork): Likewise.
32916 [XPG3 || XPG4] (pwrite): Likewise.
32919 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32922 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32924 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32925 finalizing MALLSTREAM.
32927 * sysdeps/mach/hurd/syncfs.c: New file.
32929 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32932 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32933 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32934 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32935 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32936 (_nss_dns_gethostbyname4_r): Likewise.
32937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32938 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32940 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32943 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32945 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32947 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32948 * elf/cache.c (print_entry): Print ",AArch64" for
32951 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32952 * elf/cache.c (print_entry): Print ",hard-float" for
32955 2012-11-18 David S. Miller <davem@davemloft.net>
32957 With help from Joseph Myers.
32958 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32960 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32962 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32963 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32965 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32966 * math/libm-test.inc (y0_test): New tests.
32967 (y1_test): New tests.
32968 * sysdeps/i386/fpu/libm-test-ulps: Update.
32969 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32972 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32974 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32976 * configure: Regenerated.
32978 2012-11-17 David S. Miller <davem@davemloft.net>
32981 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32982 nonzero exponents with absolute value below 0x1p-128 to +/-
32985 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32987 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32989 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32991 * posix/getconf-speclist.c: New file.
32992 * posix/posix-envs.def: Likewise.
32993 * posix/confstr.c (START_ENV_GROUP): New macro.
32994 (END_ENV_GROUP): Likewise.
32995 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32996 (KNOWN_PRESENT_ENV_STRING): Likewise.
32997 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32998 (UNKNOWN_ENVIRONMENT): Likewise.
32999 (confstr): Include posix-envs.def instead of handling
33000 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33001 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33002 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33003 (END_ENV_GROUP): Likewise.
33004 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33005 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33006 (UNKNOWN_ENVIRONMENT): Likewise.
33007 (__sysconf): Include posix-envs.def instead of handling associated
33008 cases directly here.
33009 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33010 preprocessing getconf-speclist.c rather than running getconf or
33011 generating empty file.
33013 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33015 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33017 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33020 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33022 2012-11-16 David S. Miller <davem@davemloft.net>
33024 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33025 smaller than LDBL_EPSILON/2.0L, just return xm1.
33027 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33029 * elf/tst-array1.c (init): Set constructor priority to 1000.
33030 (fini): Set destructor priority to 1000.
33031 * elf/tst-array2dep.c: Likewise.
33033 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33036 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33037 (_IO_new_file_xsputn): Also return EOF if none of the input
33038 data was written when overflow failed.
33039 * libio/iopadn.c (_IO_padn): Likewise.
33040 * libio/iowpadn.c (_IO_wpadn): Likewise.
33041 * stdio-common/tst-put-error.c: Add copyright notice.
33042 (do_test): Add case for printing padded string.
33043 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33044 _IO_padn returned error.
33045 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33046 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33049 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33051 * libio/libioP.h: Add comment note that the references to C++
33052 bits are now obsolete.
33054 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33056 * math/libm-test.inc (check_complex): Use asprintf.
33058 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33060 * debug/pcprofiledump.c (print_version): Update copyright year.
33061 * malloc/memusagestat.c (print_version): Likewise.
33063 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33066 * elf/Makefile (tests): Add tst-audit8.
33067 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33068 ($(objpfx)tst-audit8.out): New target.
33069 (tst-audit8-ENV): New variable.
33070 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33071 audit if l_reloc_result is NULL.
33072 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33073 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33074 * elf/tst-audit8.c: New file.
33076 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33078 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33079 * misc/Makefile (CFLAGS-select.c): Define.
33080 * posix/Makefile (CFLAGS-pause.c): Define.
33082 2012-11-13 David S. Miller <davem@davemloft.net>
33084 * crypt/Makefile: Move test targets after toplevel Rules
33085 inclusion. Grab any necessary sysdep routines when linking.
33086 * crypt/md5.c (md5_process_block): Remove define, we will always
33087 name it __md5_process_block.
33088 (md5_finish_ctx): Update md5_process_block call.
33089 (md5_stream): Likewise.
33090 (md5_process_bytes): Likewise.
33091 (md5_process_block): Rename to __md5_process_block and move to ...
33092 * crypt/md5-block.c: ... here.
33093 * crypt/sha256.c (sha256_process_block): Move to ...
33094 * crypt/sha256-block.c: ... here.
33095 * crypt/sha512.c (sha512_process_block): Move to ...
33096 * crypt/sha512-block.c: ... here.
33097 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33099 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33100 * sysdeps/sparc/sparc64/multiarch/Makefile
33101 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33103 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33104 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33106 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33107 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33108 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33109 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33110 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33111 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33112 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33113 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33114 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33116 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33117 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33119 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33121 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33123 * timezone/tzselect.ksh: Update from tzcode git revision
33124 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33125 * timezone/zdump.c: Likewise.
33126 * timezone/zic.c: Likewise.
33127 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33128 in TZVERSION setting, not $(PKGVERSION).
33129 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33130 REPORT_BUGS_TO settings.
33133 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33136 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33138 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33139 detection to immediately after _FP_ROUND().
33140 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33143 2012-11-11 David S. Miller <davem@davemloft.net>
33145 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33147 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33148 __close rather than their public counterparts.
33150 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33152 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33154 [UNIX98] (sem_timedwait): Do not expect.
33155 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33156 [XPG4 || UNIX98] (sockatmark): Do not expect.
33157 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33158 (clock_getcpuclockid): Do not expect.
33159 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33160 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33162 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33163 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33164 [UNIX98] (vwscanf): Likewise.
33165 [UNIX98] (vswscanf): Likewise.
33167 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33169 * timezone/version.h: Remove file.
33170 * timezone/README: Do not refer to version.h.
33171 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33172 $(objpfx)version.h.
33173 ($(objpfx)zdump.o): Likewise.
33174 ($(objpfx)version.h): New target.
33176 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33178 * timezone/README: Don't mention modification to tzselect.ksh.
33179 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33180 work on unmodified tzselect.ksh. Substitute version numbers in
33183 * Makefile (format-me): Remove.
33184 (INSTALL): Adjust indentation. Use commands directly instead of
33185 using $(format-me).
33187 * aclocal.m4 (ACX_PKGVERSION): New macro.
33188 (ACX_BUGURL): Likewise.
33189 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33190 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33191 (REPORT_BUGS_TO): Likewise.
33192 * configure: Regenerated.
33193 * config.h.in (PKGVERSION): New macro.
33194 (REPORT_BUGS_TO): Likewise.
33195 * config.make.in (PKGVERSION): New variable.
33196 (PKGVERSION_TEXI): Likewise.
33197 (REPORT_BUGS_TO): Likewise.
33198 (REPORT_BUGS_TEXI): Likewise.
33199 * Makefile (format-me): Use -I$(common-objpfx)manual.
33200 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33201 ($(common-objpfx)manual/%): New target.
33202 (manual/%): Remove target.
33203 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33204 (print_version): Use PKGVERSION.
33205 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33206 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33207 and REPORT_BUGS_TO.
33208 ($(objpfx)xtrace): Likewise.
33209 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33210 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33211 (print_version): Use PKGVERSION.
33212 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33213 (do_version): Use PKGVERSION.
33214 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33216 (common-ldd-rewrite): Likewise.
33217 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33218 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33219 (print_version): Use PKGVERSION.
33220 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33221 * elf/pldd.c (argp_program_bug_address): Remove variable.
33222 (more_help): New function.
33223 (argp): Use more_help.
33224 (print_version): Use PKGVERSION.
33225 * elf/sln.c (main): Use PKGVERSION.
33226 (usage): Use REPORT_BUGS_TO.
33227 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33228 (top level): Use PKGVERSION.
33229 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33230 (print_version): Use PKGVERSION.
33231 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33232 (print_version): Use PKGVERSION.
33233 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33234 (print_version): Use PKGVERSION.
33235 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33236 (print_version): Use PKGVERSION.
33237 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33238 (print_version): Use PKGVERSION.
33239 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33240 (print_version): Use PKGVERSION.
33241 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33243 ($(objpfx)memusage): Likewise.
33244 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33245 (do_version): Use PKGVERSION.
33246 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33247 (print_version): Use PKGVERSION.
33248 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33249 ($PKGVERSION): New variable.
33250 ($REPORT_BUGS_TO): Likewise.
33251 (usage): Use $REPORT_BUGS_TO.
33252 (top level): Use $PKGVERSION.
33253 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33254 ($(objpfx)pkgvers.texi): New rule.
33255 ($(objpfx)stamp-pkgvers): Likewise.
33256 * manual/install.texi: Include pkgvers.texi.
33257 (--with-pkgversion): Document new configure option.
33258 (--with-bugurl): Likewise.
33259 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33260 than necessarily for this particular distribution. Use
33261 REPORT_BUGS_TO for where to report bugs.
33262 * INSTALL: Regenerated.
33263 * manual/libc.texinfo: Include pkgvers.texi.
33264 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33265 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33266 (print_version): Use PKGVERSION.
33267 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33268 (print_version): Use PKGVERSION.
33269 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33270 (print_version): Use PKGVERSION.
33271 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33272 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33274 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33275 (print_version): Use PKGVERSION.
33276 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33277 (print_version): Use PKGVERSION.
33278 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33281 * timezone/checktab.awk: Update from tzcode 2012i.
33282 * timezone/ialloc.c: Likewise.
33283 * timezone/private.h: Likewise.
33284 * timezone/scheck.c: Likewise.
33285 * timezone/tzfile.h: Likewise.
33286 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33287 (TZVERSION): Hardcode tzcode version number.
33288 * timezone/zdump.c: Update from tzcode 2012i.
33289 * timezone/zic.c: Likewise.
33290 * timezone/version.h: New file.
33291 * timezone/README: Describe version.h. Update upstream location.
33294 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33295 (mktemp): Enable declaration.
33296 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33297 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33298 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33299 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33301 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33303 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33305 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33307 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33309 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33313 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33314 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33315 for copies of such integer values.
33316 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33317 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33319 2012-11-09 Andreas Jaeger <aj@suse.de>
33321 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33322 definitions and declarations that are provided by
33323 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33325 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33327 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33328 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33329 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33332 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33334 * elf/elf.h: Update comment before AArch64 relocations.
33336 2012-11-07 David S. Miller <davem@davemloft.net>
33338 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33339 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33340 (__start_context): Declare.
33341 (__makecontext_ret): Delete.
33342 (__makecontext): Hook up __start_context instead of
33344 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33345 (sysdep_routines): Add __start_context when in stdlib.
33347 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33349 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33350 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33351 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33353 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33354 (READELF): New variable. Use it instead of hardcoded "readelf".
33356 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33358 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33359 * sysdeps/x86/Makefile: Here.
33360 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33361 * sysdeps/x86/tst-xmmymm.sh: This.
33363 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33365 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33367 [UNIX98] (pthread_barrier_t): Do not expect.
33368 [UNIX98] (pthread_barrierattr_t): Likewise.
33369 [UNIX98] (pthread_spinlock_t): Likewise.
33370 [UNIX98] (pthread_barrier_destroy): Likewise.
33371 [UNIX98] (pthread_barrier_init): Likewise.
33372 [UNIX98] (pthread_barrier_wait): Likewise.
33373 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33374 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33375 [UNIX98] (pthread_barrierattr_init): Likewise.
33376 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33377 [UNIX98] (pthread_getcpuclockid): Likewise.
33378 [UNIX98] (pthread_mutex_timedlock): Likewise.
33379 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33380 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33381 [UNIX98] (pthread_sigmask): Likewise.
33382 [UNIX98] (pthread_spin_destroy): Likewise.
33383 [UNIX98] (pthread_spin_init): Likewise.
33384 [UNIX98] (pthread_spin_lock): Likewise.
33385 [UNIX98] (pthread_spin_trylock): Likewise.
33386 [UNIX98] (pthread_spin_unlock): Likewise.
33387 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33389 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33390 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33391 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33392 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33393 [XPG3 || XPG4] (pthread_key_t): Likewise.
33394 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33395 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33396 [XPG3 || XPG4] (pthread_once_t): Likewise.
33397 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33398 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33399 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33400 [XPG3 || XPG4] (pthread_t): Likewise.
33402 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33404 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33406 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33407 Change function return type to int.
33409 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33410 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33411 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33412 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33413 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33414 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33415 [!POSIX] (posix_madvise): Likewise.
33416 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33418 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33419 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33420 (mode_t): Likewise.
33421 (posix_mem_offset): Likewise.
33422 (posix_typed_mem_get_info): Likewise.
33423 (posix_typed_mem_open): Likewise.
33425 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33426 Change condition to [XOPEN2K8].
33428 * conform/conformtest.pl: Preprocess allow-header data with -x c
33429 instead of from stdin.
33430 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33431 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33432 [C99-based standards] (cerfc): Likewise.
33433 [C99-based standards] (cexp2): Likewise.
33434 [C99-based standards] (cexpm1): Likewise.
33435 [C99-based standards] (clog10): Likewise.
33436 [C99-based standards] (clog1p): Likewise.
33437 [C99-based standards] (clog2): Likewise.
33438 [C99-based standards] (clgamma): Likewise.
33439 [C99-based standards] (ctgamma): Likewise.
33440 [C99-based standards] (cerff): Likewise.
33441 [C99-based standards] (cerfcf): Likewise.
33442 [C99-based standards] (cexp2f): Likewise.
33443 [C99-based standards] (cexpm1f): Likewise.
33444 [C99-based standards] (clog10f): Likewise.
33445 [C99-based standards] (clog1pf): Likewise.
33446 [C99-based standards] (clog2f): Likewise.
33447 [C99-based standards] (clgammaf): Likewise.
33448 [C99-based standards] (ctgammaf): Likewise.
33449 [C99-based standards] (cerfl): Likewise.
33450 [C99-based standards] (cerfcl): Likewise.
33451 [C99-based standards] (cexp2l): Likewise.
33452 [C99-based standards] (cexpm1l): Likewise.
33453 [C99-based standards] (clog10l): Likewise.
33454 [C99-based standards] (clog1pl): Likewise.
33455 [C99-based standards] (clog2l): Likewise.
33456 [C99-based standards] (clgammal): Likewise.
33457 [C99-based standards] (ctgammal): Likewise.
33458 * conform/data/inttypes.h-data [C99-based standards]: Include
33459 stdint.h-data. Remove all expectations for stdint.h contents.
33460 [C99-based standards] (PRI*): Do not allow.
33461 [C99-based standards] (SCN*): Likewise.
33462 [C99-based standards] (*_t): Likewise.
33463 [C99-based-standards] (PRId8): Expect macro.
33464 [C99-based-standards] (PRIi8): Likewise.
33465 [C99-based-standards] (PRIo8): Likewise.
33466 [C99-based-standards] (PRIu8): Likewise.
33467 [C99-based-standards] (PRIx8): Likewise.
33468 [C99-based-standards] (PRIX8): Likewise.
33469 [C99-based-standards] (SCNd8): Likewise.
33470 [C99-based-standards] (SCNi8): Likewise.
33471 [C99-based-standards] (SCNo8): Likewise.
33472 [C99-based-standards] (SCNu8): Likewise.
33473 [C99-based-standards] (SCNx8): Likewise.
33474 [C99-based-standards] (PRIdLEAST8): Likewise.
33475 [C99-based-standards] (PRIiLEAST8): Likewise.
33476 [C99-based-standards] (PRIoLEAST8): Likewise.
33477 [C99-based-standards] (PRIuLEAST8): Likewise.
33478 [C99-based-standards] (PRIxLEAST8): Likewise.
33479 [C99-based-standards] (PRIXLEAST8): Likewise.
33480 [C99-based-standards] (SCNdLEAST8): Likewise.
33481 [C99-based-standards] (SCNiLEAST8): Likewise.
33482 [C99-based-standards] (SCNoLEAST8): Likewise.
33483 [C99-based-standards] (SCNuLEAST8): Likewise.
33484 [C99-based-standards] (SCNxLEAST8): Likewise.
33485 [C99-based-standards] (PRIdFAST8): Likewise.
33486 [C99-based-standards] (PRIiFAST8): Likewise.
33487 [C99-based-standards] (PRIoFAST8): Likewise.
33488 [C99-based-standards] (PRIuFAST8): Likewise.
33489 [C99-based-standards] (PRIxFAST8): Likewise.
33490 [C99-based-standards] (PRIXFAST8): Likewise.
33491 [C99-based-standards] (SCNdFAST8): Likewise.
33492 [C99-based-standards] (SCNiFAST8): Likewise.
33493 [C99-based-standards] (SCNoFAST8): Likewise.
33494 [C99-based-standards] (SCNuFAST8): Likewise.
33495 [C99-based-standards] (SCNxFAST8): Likewise.
33496 [C99-based-standards] (PRId16): Likewise.
33497 [C99-based-standards] (PRIi16): Likewise.
33498 [C99-based-standards] (PRIo16): Likewise.
33499 [C99-based-standards] (PRIu16): Likewise.
33500 [C99-based-standards] (PRIx16): Likewise.
33501 [C99-based-standards] (PRIX16): Likewise.
33502 [C99-based-standards] (SCNd16): Likewise.
33503 [C99-based-standards] (SCNi16): Likewise.
33504 [C99-based-standards] (SCNo16): Likewise.
33505 [C99-based-standards] (SCNu16): Likewise.
33506 [C99-based-standards] (SCNx16): Likewise.
33507 [C99-based-standards] (PRIdLEAST16): Likewise.
33508 [C99-based-standards] (PRIiLEAST16): Likewise.
33509 [C99-based-standards] (PRIoLEAST16): Likewise.
33510 [C99-based-standards] (PRIuLEAST16): Likewise.
33511 [C99-based-standards] (PRIxLEAST16): Likewise.
33512 [C99-based-standards] (PRIXLEAST16): Likewise.
33513 [C99-based-standards] (SCNdLEAST16): Likewise.
33514 [C99-based-standards] (SCNiLEAST16): Likewise.
33515 [C99-based-standards] (SCNoLEAST16): Likewise.
33516 [C99-based-standards] (SCNuLEAST16): Likewise.
33517 [C99-based-standards] (SCNxLEAST16): Likewise.
33518 [C99-based-standards] (PRIdFAST16): Likewise.
33519 [C99-based-standards] (PRIiFAST16): Likewise.
33520 [C99-based-standards] (PRIoFAST16): Likewise.
33521 [C99-based-standards] (PRIuFAST16): Likewise.
33522 [C99-based-standards] (PRIxFAST16): Likewise.
33523 [C99-based-standards] (PRIXFAST16): Likewise.
33524 [C99-based-standards] (SCNdFAST16): Likewise.
33525 [C99-based-standards] (SCNiFAST16): Likewise.
33526 [C99-based-standards] (SCNoFAST16): Likewise.
33527 [C99-based-standards] (SCNuFAST16): Likewise.
33528 [C99-based-standards] (SCNxFAST16): Likewise.
33529 [C99-based-standards] (PRId32): Likewise.
33530 [C99-based-standards] (PRIi32): Likewise.
33531 [C99-based-standards] (PRIo32): Likewise.
33532 [C99-based-standards] (PRIu32): Likewise.
33533 [C99-based-standards] (PRIx32): Likewise.
33534 [C99-based-standards] (PRIX32): Likewise.
33535 [C99-based-standards] (SCNd32): Likewise.
33536 [C99-based-standards] (SCNi32): Likewise.
33537 [C99-based-standards] (SCNo32): Likewise.
33538 [C99-based-standards] (SCNu32): Likewise.
33539 [C99-based-standards] (SCNx32): Likewise.
33540 [C99-based-standards] (PRIdLEAST32): Likewise.
33541 [C99-based-standards] (PRIiLEAST32): Likewise.
33542 [C99-based-standards] (PRIoLEAST32): Likewise.
33543 [C99-based-standards] (PRIuLEAST32): Likewise.
33544 [C99-based-standards] (PRIxLEAST32): Likewise.
33545 [C99-based-standards] (PRIXLEAST32): Likewise.
33546 [C99-based-standards] (SCNdLEAST32): Likewise.
33547 [C99-based-standards] (SCNiLEAST32): Likewise.
33548 [C99-based-standards] (SCNoLEAST32): Likewise.
33549 [C99-based-standards] (SCNuLEAST32): Likewise.
33550 [C99-based-standards] (SCNxLEAST32): Likewise.
33551 [C99-based-standards] (PRIdFAST32): Likewise.
33552 [C99-based-standards] (PRIiFAST32): Likewise.
33553 [C99-based-standards] (PRIoFAST32): Likewise.
33554 [C99-based-standards] (PRIuFAST32): Likewise.
33555 [C99-based-standards] (PRIxFAST32): Likewise.
33556 [C99-based-standards] (PRIXFAST32): Likewise.
33557 [C99-based-standards] (SCNdFAST32): Likewise.
33558 [C99-based-standards] (SCNiFAST32): Likewise.
33559 [C99-based-standards] (SCNoFAST32): Likewise.
33560 [C99-based-standards] (SCNuFAST32): Likewise.
33561 [C99-based-standards] (SCNxFAST32): Likewise.
33562 [C99-based-standards] (PRId64): Likewise.
33563 [C99-based-standards] (PRIi64): Likewise.
33564 [C99-based-standards] (PRIo64): Likewise.
33565 [C99-based-standards] (PRIu64): Likewise.
33566 [C99-based-standards] (PRIx64): Likewise.
33567 [C99-based-standards] (PRIX64): Likewise.
33568 [C99-based-standards] (SCNd64): Likewise.
33569 [C99-based-standards] (SCNi64): Likewise.
33570 [C99-based-standards] (SCNo64): Likewise.
33571 [C99-based-standards] (SCNu64): Likewise.
33572 [C99-based-standards] (SCNx64): Likewise.
33573 [C99-based-standards] (PRIdLEAST64): Likewise.
33574 [C99-based-standards] (PRIiLEAST64): Likewise.
33575 [C99-based-standards] (PRIoLEAST64): Likewise.
33576 [C99-based-standards] (PRIuLEAST64): Likewise.
33577 [C99-based-standards] (PRIxLEAST64): Likewise.
33578 [C99-based-standards] (PRIXLEAST64): Likewise.
33579 [C99-based-standards] (SCNdLEAST64): Likewise.
33580 [C99-based-standards] (SCNiLEAST64): Likewise.
33581 [C99-based-standards] (SCNoLEAST64): Likewise.
33582 [C99-based-standards] (SCNuLEAST64): Likewise.
33583 [C99-based-standards] (SCNxLEAST64): Likewise.
33584 [C99-based-standards] (PRIdFAST64): Likewise.
33585 [C99-based-standards] (PRIiFAST64): Likewise.
33586 [C99-based-standards] (PRIoFAST64): Likewise.
33587 [C99-based-standards] (PRIuFAST64): Likewise.
33588 [C99-based-standards] (PRIxFAST64): Likewise.
33589 [C99-based-standards] (PRIXFAST64): Likewise.
33590 [C99-based-standards] (SCNdFAST64): Likewise.
33591 [C99-based-standards] (SCNiFAST64): Likewise.
33592 [C99-based-standards] (SCNoFAST64): Likewise.
33593 [C99-based-standards] (SCNuFAST64): Likewise.
33594 [C99-based-standards] (SCNxFAST64): Likewise.
33595 [C99-based-standards] (PRIdMAX): Likewise.
33596 [C99-based-standards] (PRIiMAX): Likewise.
33597 [C99-based-standards] (PRIoMAX): Likewise.
33598 [C99-based-standards] (PRIuMAX): Likewise.
33599 [C99-based-standards] (PRIxMAX): Likewise.
33600 [C99-based-standards] (PRIXMAX): Likewise.
33601 [C99-based-standards] (SCNdMAX): Likewise.
33602 [C99-based-standards] (SCNiMAX): Likewise.
33603 [C99-based-standards] (SCNoMAX): Likewise.
33604 [C99-based-standards] (SCNuMAX): Likewise.
33605 [C99-based-standards] (SCNxMAX): Likewise.
33606 [C99-based-standards] (PRIdPTR): Likewise.
33607 [C99-based-standards] (PRIiPTR): Likewise.
33608 [C99-based-standards] (PRIoPTR): Likewise.
33609 [C99-based-standards] (PRIuPTR): Likewise.
33610 [C99-based-standards] (PRIxPTR): Likewise.
33611 [C99-based-standards] (PRIXPTR): Likewise.
33612 [C99-based-standards] (SCNdPTR): Likewise.
33613 [C99-based-standards] (SCNiPTR): Likewise.
33614 [C99-based-standards] (SCNoPTR): Likewise.
33615 [C99-based-standards] (SCNuPTR): Likewise.
33616 [C99-based-standards] (SCNxPTR): Likewise.
33617 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33619 * conform/data/stdint.h-data: Update comments to clarify
33621 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33623 [C99-based standards] (INT8_MAX): Likewise.
33624 [C99-based standards] (INT16_MIN): Likewise.
33625 [C99-based standards] (INT16_MAX): Likewise.
33626 [C99-based standards] (INT32_MIN): Likewise.
33627 [C99-based standards] (INT32_MAX): Likewise.
33628 [C99-based standards] (INT64_MIN): Likewise.
33629 [C99-based standards] (INT64_MAX): Likewise.
33630 [C99-based standards] (UINT8_MAX): Likewise.
33631 [C99-based standards] (UINT16_MAX): Likewise.
33632 [C99-based standards] (UINT32_MAX): Likewise.
33633 [C99-based standards] (UINT64_MAX): Likewise.
33634 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33635 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33636 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33637 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33638 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33639 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33640 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33641 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33642 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33643 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33644 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33645 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33646 [C99-based standards] (INT_FAST8_MIN): Likewise.
33647 [C99-based standards] (INT_FAST8_MAX): Likewise.
33648 [C99-based standards] (INT_FAST16_MIN): Likewise.
33649 [C99-based standards] (INT_FAST16_MAX): Likewise.
33650 [C99-based standards] (INT_FAST32_MIN): Likewise.
33651 [C99-based standards] (INT_FAST32_MAX): Likewise.
33652 [C99-based standards] (INT_FAST64_MIN): Likewise.
33653 [C99-based standards] (INT_FAST64_MAX): Likewise.
33654 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33655 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33656 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33657 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33658 [C99-based standards] (INTPTR_MIN): Likewise.
33659 [C99-based standards] (INTPTR_MAX): Likewise.
33660 [C99-based standards] (UINTPTR_MAX): Likewise.
33661 [C99-based standards] (INTMAX_MIN): Likewise.
33662 [C99-based standards] (INTMAX_MAX): Likewise.
33663 [C99-based standards] (UINTMAX_MAX): Likewise.
33664 [C99-based standards] (PTRDIFF_MIN): Likewise.
33665 [C99-based standards] (PTRDIFF_MAX): Likewise.
33666 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33667 [C99-based standards] (SIZE_MAX): Likewise.
33668 [C99-based standards] (WCHAR_MAX): Likewise.
33669 [C99-based standards] (WINT_MAX): Likewise.
33670 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33671 constraint on value.
33672 [C99-based standards] (WCHAR_MIN): Likewise.
33673 [C99-based standards] (WINT_MIN): Likewise.
33674 [C99-based standards] (*_t): Allow.
33675 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33676 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33677 Include math.h-data and complex.h-data. Remove all expectations
33678 of math.h and complex.h contents.
33679 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33681 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33682 (struct tm): Expect tag.
33683 [C99-based-standards] (wcstof): Expect function.
33684 [C99-based-standards] (wcstold): Likewise.
33685 [C99-based-standards] (wcstoll): Likewise.
33686 [C99-based-standards] (wcstoull): Likewise.
33687 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33688 macro-int-constant. Specify type.
33689 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33690 constraint on value.
33691 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33693 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33695 [ISO C standards]: Do not allow headers.
33696 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33697 wcs[abcdefghijklmnopqrstuvwxyz]*.
33698 [ISO C standards] (*_t): Do not allow.
33699 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33701 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33702 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33704 [ISO C standards]: Do not allow headers.
33705 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33706 is[abcdefghijklmnopqrstuvwxyz]*.
33707 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33708 to[abcdefghijklmnopqrstuvwxyz]*.
33709 [ISO C standards] (*_t): Do not allow.
33710 * conform/data/stdalign.h-data: New file.
33711 * conform/data/stdbool.h-data: Likewise.
33712 * conform/data/stdnoreturn.h-data: Likewise.
33714 2012-11-07 Roland McGrath <roland@hack.frob.com>
33717 * manual/filesys.texi (Directory Entries): Typo fix.
33718 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33720 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33722 * elf/elf.h (EM_AARCH64): New macro.
33723 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33724 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33725 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33726 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33727 (R_AARCH64_TLSDESC): Likewise.
33728 (NT_ARM_TLS): Likewise.
33729 (NT_ARM_HW_BREAK): Likewise.
33730 (NT_ARM_HW_WATCH): Likewise.
33732 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33735 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33736 (__ieee754_powl): Saturate nonzero exponents with absolute value
33737 below 0x1p-79 to +/- 0x1p-79.
33738 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33739 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33740 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33741 nonzero exponents with absolute value below 0x1p-32 to +/-
33743 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33744 (__ieee754_powl): Saturate nonzero exponents with absolute value
33745 below 0x1p-79 to +/- 0x1p-79.
33746 * math/libm-test.inc (pow_test): Add more tests.
33748 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33750 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33751 _dl_s390_cap_flags with kernel. Increase string length.
33752 (_dl_s390_platforms): Add z196 and zEC12.
33754 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33756 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33757 Change XOPEN21K to XOPEN2K.
33759 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33761 * string/memmove.c: Use memcpy when possible.
33763 2012-11-06 Andreas Jaeger <aj@suse.de>
33765 * po/eo.po: Update from translation team.
33767 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33771 exponent and small x and y exponents, scale x or y up. Increase
33772 by 2 the exponent used in scaling up.
33773 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33774 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33775 * math/libm-test.inc (fma_test): Add more tests.
33776 (fma_test_towardzero): Likewise.
33777 (fma_test_downward): Likewise.
33778 (fma_test_upward): Likewise.
33780 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33783 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33787 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33788 namespace for names of struct fields.
33789 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33791 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33792 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33794 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33797 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33799 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33801 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33805 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33808 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33812 definitely overflow as x * y not x * y + z.
33813 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33814 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33815 * math/libm-test.inc (fma_test): Add more tests.
33816 (fma_test_towardzero): Likewise.
33817 (fma_test_downward): Likewise.
33818 (fma_test_upward): Likewise.
33820 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33824 * include/stub-tag.h: Remove file.
33825 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33827 * manual/maint.texi (Porting): Don't reference it.
33828 * Makerules ($(objpfx)stubs): Likewise.
33829 * dirent/closedir.c: Don't include <stub-tag.h>.
33830 * dirent/dirfd.c: Likewise.
33831 * dirent/fdopendir.c: Likewise.
33832 * dirent/getdents.c: Likewise.
33833 * dirent/getdents64.c: Likewise.
33834 * dirent/opendir.c: Likewise.
33835 * dirent/readdir.c: Likewise.
33836 * dirent/readdir64.c: Likewise.
33837 * dirent/readdir64_r.c: Likewise.
33838 * dirent/readdir_r.c: Likewise.
33839 * dirent/rewinddir.c: Likewise.
33840 * dirent/seekdir.c: Likewise.
33841 * dirent/telldir.c: Likewise.
33842 * gmon/profil.c: Likewise.
33843 * grp/setgroups.c: Likewise.
33844 * inet/if_index.c: Likewise.
33845 * io/access.c: Likewise.
33846 * io/chdir.c: Likewise.
33847 * io/chmod.c: Likewise.
33848 * io/chown.c: Likewise.
33849 * io/close.c: Likewise.
33850 * io/dup.c: Likewise.
33851 * io/dup2.c: Likewise.
33852 * io/dup3.c: Likewise.
33853 * io/euidaccess.c: Likewise.
33854 * io/faccessat.c: Likewise.
33855 * io/fchdir.c: Likewise.
33856 * io/fchmod.c: Likewise.
33857 * io/fchmodat.c: Likewise.
33858 * io/fchown.c: Likewise.
33859 * io/fchownat.c: Likewise.
33860 * io/fcntl.c: Likewise.
33861 * io/flock.c: Likewise.
33862 * io/fstatfs.c: Likewise.
33863 * io/fstatfs64.c: Likewise.
33864 * io/fstatvfs.c: Likewise.
33865 * io/fstatvfs64.c: Likewise.
33866 * io/futimens.c: Likewise.
33867 * io/fxstat.c: Likewise.
33868 * io/fxstat64.c: Likewise.
33869 * io/fxstatat.c: Likewise.
33870 * io/fxstatat64.c: Likewise.
33871 * io/getcwd.c: Likewise.
33872 * io/isatty.c: Likewise.
33873 * io/lchmod.c: Likewise.
33874 * io/lchown.c: Likewise.
33875 * io/link.c: Likewise.
33876 * io/linkat.c: Likewise.
33877 * io/lseek.c: Likewise.
33878 * io/lseek64.c: Likewise.
33879 * io/lxstat64.c: Likewise.
33880 * io/mkdir.c: Likewise.
33881 * io/mkdirat.c: Likewise.
33882 * io/mkfifo.c: Likewise.
33883 * io/mkfifoat.c: Likewise.
33884 * io/open.c: Likewise.
33885 * io/open64.c: Likewise.
33886 * io/openat.c: Likewise.
33887 * io/openat64.c: Likewise.
33888 * io/pipe.c: Likewise.
33889 * io/pipe2.c: Likewise.
33890 * io/poll.c: Likewise.
33891 * io/posix_fadvise.c: Likewise.
33892 * io/posix_fadvise64.c: Likewise.
33893 * io/posix_fallocate.c: Likewise.
33894 * io/posix_fallocate64.c: Likewise.
33895 * io/read.c: Likewise.
33896 * io/readlink.c: Likewise.
33897 * io/readlinkat.c: Likewise.
33898 * io/rmdir.c: Likewise.
33899 * io/sendfile.c: Likewise.
33900 * io/sendfile64.c: Likewise.
33901 * io/statfs.c: Likewise.
33902 * io/statfs64.c: Likewise.
33903 * io/statvfs.c: Likewise.
33904 * io/statvfs64.c: Likewise.
33905 * io/symlink.c: Likewise.
33906 * io/symlinkat.c: Likewise.
33907 * io/ttyname.c: Likewise.
33908 * io/ttyname_r.c: Likewise.
33909 * io/umask.c: Likewise.
33910 * io/unlink.c: Likewise.
33911 * io/unlinkat.c: Likewise.
33912 * io/utime.c: Likewise.
33913 * io/utimensat.c: Likewise.
33914 * io/write.c: Likewise.
33915 * io/xmknod.c: Likewise.
33916 * io/xmknodat.c: Likewise.
33917 * io/xstat.c: Likewise.
33918 * io/xstat64.c: Likewise.
33919 * login/getpt.c: Likewise.
33920 * login/grantpt.c: Likewise.
33921 * login/unlockpt.c: Likewise.
33922 * math/e_acoshl.c: Likewise.
33923 * math/e_acosl.c: Likewise.
33924 * math/e_asinl.c: Likewise.
33925 * math/e_atan2l.c: Likewise.
33926 * math/e_atanhl.c: Likewise.
33927 * math/e_coshl.c: Likewise.
33928 * math/e_expl.c: Likewise.
33929 * math/e_fmodl.c: Likewise.
33930 * math/e_gammal_r.c: Likewise.
33931 * math/e_hypotl.c: Likewise.
33932 * math/e_j0l.c: Likewise.
33933 * math/e_j1l.c: Likewise.
33934 * math/e_jnl.c: Likewise.
33935 * math/e_lgammal_r.c: Likewise.
33936 * math/e_log10l.c: Likewise.
33937 * math/e_log2l.c: Likewise.
33938 * math/e_logl.c: Likewise.
33939 * math/e_powl.c: Likewise.
33940 * math/e_rem_pio2l.c: Likewise.
33941 * math/e_sinhl.c: Likewise.
33942 * math/e_sqrtl.c: Likewise.
33943 * math/fclrexcpt.c: Likewise.
33944 * math/fedisblxcpt.c: Likewise.
33945 * math/feenablxcpt.c: Likewise.
33946 * math/fegetenv.c: Likewise.
33947 * math/fegetexcept.c: Likewise.
33948 * math/fegetround.c: Likewise.
33949 * math/feholdexcpt.c: Likewise.
33950 * math/fesetenv.c: Likewise.
33951 * math/fesetround.c: Likewise.
33952 * math/feupdateenv.c: Likewise.
33953 * math/fgetexcptflg.c: Likewise.
33954 * math/fraiseexcpt.c: Likewise.
33955 * math/fsetexcptflg.c: Likewise.
33956 * math/ftestexcept.c: Likewise.
33957 * math/k_cosl.c: Likewise.
33958 * math/k_rem_pio2l.c: Likewise.
33959 * math/k_sinl.c: Likewise.
33960 * math/k_tanl.c: Likewise.
33961 * math/s_asinhl.c: Likewise.
33962 * math/s_atanl.c: Likewise.
33963 * math/s_cbrtl.c: Likewise.
33964 * math/s_erfl.c: Likewise.
33965 * math/s_expm1l.c: Likewise.
33966 * math/s_log1pl.c: Likewise.
33967 * math/s_tanhl.c: Likewise.
33968 * misc/acct.c: Likewise.
33969 * misc/brk.c: Likewise.
33970 * misc/chflags.c: Likewise.
33971 * misc/chroot.c: Likewise.
33972 * misc/fchflags.c: Likewise.
33973 * misc/fgetxattr.c: Likewise.
33974 * misc/flistxattr.c: Likewise.
33975 * misc/fremovexattr.c: Likewise.
33976 * misc/fsetxattr.c: Likewise.
33977 * misc/fsync.c: Likewise.
33978 * misc/ftruncate.c: Likewise.
33979 * misc/futimes.c: Likewise.
33980 * misc/futimesat.c: Likewise.
33981 * misc/getdomain.c: Likewise.
33982 * misc/getdtsz.c: Likewise.
33983 * misc/gethostid.c: Likewise.
33984 * misc/gethostname.c: Likewise.
33985 * misc/getloadavg.c: Likewise.
33986 * misc/getpagesize.c: Likewise.
33987 * misc/getsysstats.c: Likewise.
33988 * misc/getxattr.c: Likewise.
33989 * misc/gtty.c: Likewise.
33990 * misc/ioctl.c: Likewise.
33991 * misc/lgetxattr.c: Likewise.
33992 * misc/listxattr.c: Likewise.
33993 * misc/llistxattr.c: Likewise.
33994 * misc/lremovexattr.c: Likewise.
33995 * misc/lsetxattr.c: Likewise.
33996 * misc/lutimes.c: Likewise.
33997 * misc/madvise.c: Likewise.
33998 * misc/mincore.c: Likewise.
33999 * misc/mlock.c: Likewise.
34000 * misc/mlockall.c: Likewise.
34001 * misc/mmap.c: Likewise.
34002 * misc/mprotect.c: Likewise.
34003 * misc/msync.c: Likewise.
34004 * misc/munlock.c: Likewise.
34005 * misc/munlockall.c: Likewise.
34006 * misc/munmap.c: Likewise.
34007 * misc/preadv.c: Likewise.
34008 * misc/preadv64.c: Likewise.
34009 * misc/ptrace.c: Likewise.
34010 * misc/pwritev.c: Likewise.
34011 * misc/pwritev64.c: Likewise.
34012 * misc/readv.c: Likewise.
34013 * misc/reboot.c: Likewise.
34014 * misc/remap_file_pages.c: Likewise.
34015 * misc/removexattr.c: Likewise.
34016 * misc/revoke.c: Likewise.
34017 * misc/select.c: Likewise.
34018 * misc/setdomain.c: Likewise.
34019 * misc/setegid.c: Likewise.
34020 * misc/seteuid.c: Likewise.
34021 * misc/sethostid.c: Likewise.
34022 * misc/sethostname.c: Likewise.
34023 * misc/setregid.c: Likewise.
34024 * misc/setreuid.c: Likewise.
34025 * misc/setxattr.c: Likewise.
34026 * misc/sstk.c: Likewise.
34027 * misc/stty.c: Likewise.
34028 * misc/swapoff.c: Likewise.
34029 * misc/swapon.c: Likewise.
34030 * misc/sync.c: Likewise.
34031 * misc/syncfs.c: Likewise.
34032 * misc/syscall.c: Likewise.
34033 * misc/truncate.c: Likewise.
34034 * misc/ualarm.c: Likewise.
34035 * misc/usleep.c: Likewise.
34036 * misc/ustat.c: Likewise.
34037 * misc/utimes.c: Likewise.
34038 * misc/vhangup.c: Likewise.
34039 * misc/writev.c: Likewise.
34040 * posix/_exit.c: Likewise.
34041 * posix/alarm.c: Likewise.
34042 * posix/execve.c: Likewise.
34043 * posix/fexecve.c: Likewise.
34044 * posix/fork.c: Likewise.
34045 * posix/fpathconf.c: Likewise.
34046 * posix/getaddrinfo.c: Likewise.
34047 * posix/getegid.c: Likewise.
34048 * posix/geteuid.c: Likewise.
34049 * posix/getgid.c: Likewise.
34050 * posix/getgroups.c: Likewise.
34051 * posix/getlogin.c: Likewise.
34052 * posix/getlogin_r.c: Likewise.
34053 * posix/getpgid.c: Likewise.
34054 * posix/getpid.c: Likewise.
34055 * posix/getppid.c: Likewise.
34056 * posix/getresgid.c: Likewise.
34057 * posix/getresuid.c: Likewise.
34058 * posix/getsid.c: Likewise.
34059 * posix/getuid.c: Likewise.
34060 * posix/glob64.c: Likewise.
34061 * posix/nanosleep.c: Likewise.
34062 * posix/pathconf.c: Likewise.
34063 * posix/pause.c: Likewise.
34064 * posix/posix_madvise.c: Likewise.
34065 * posix/pread.c: Likewise.
34066 * posix/pread64.c: Likewise.
34067 * posix/pwrite.c: Likewise.
34068 * posix/pwrite64.c: Likewise.
34069 * posix/sched_getaffinity.c: Likewise.
34070 * posix/sched_getp.c: Likewise.
34071 * posix/sched_gets.c: Likewise.
34072 * posix/sched_primax.c: Likewise.
34073 * posix/sched_primin.c: Likewise.
34074 * posix/sched_rr_gi.c: Likewise.
34075 * posix/sched_setaffinity.c: Likewise.
34076 * posix/sched_setp.c: Likewise.
34077 * posix/sched_sets.c: Likewise.
34078 * posix/sched_yield.c: Likewise.
34079 * posix/setgid.c: Likewise.
34080 * posix/setlogin.c: Likewise.
34081 * posix/setpgid.c: Likewise.
34082 * posix/setresgid.c: Likewise.
34083 * posix/setresuid.c: Likewise.
34084 * posix/setsid.c: Likewise.
34085 * posix/setuid.c: Likewise.
34086 * posix/sleep.c: Likewise.
34087 * posix/spawni.c: Likewise.
34088 * posix/sysconf.c: Likewise.
34089 * posix/times.c: Likewise.
34090 * posix/wait.c: Likewise.
34091 * posix/wait3.c: Likewise.
34092 * posix/wait4.c: Likewise.
34093 * posix/waitpid.c: Likewise.
34094 * resolv/gai_sigqueue.c: Likewise.
34095 * resource/getpriority.c: Likewise.
34096 * resource/getrlimit.c: Likewise.
34097 * resource/getrusage.c: Likewise.
34098 * resource/nice.c: Likewise.
34099 * resource/setpriority.c: Likewise.
34100 * resource/setrlimit.c: Likewise.
34101 * resource/ulimit.c: Likewise.
34102 * rt/aio_cancel.c: Likewise.
34103 * rt/aio_fsync.c: Likewise.
34104 * rt/aio_read.c: Likewise.
34105 * rt/aio_sigqueue.c: Likewise.
34106 * rt/aio_suspend.c: Likewise.
34107 * rt/aio_write.c: Likewise.
34108 * rt/clock_getres.c: Likewise.
34109 * rt/clock_gettime.c: Likewise.
34110 * rt/clock_nanosleep.c: Likewise.
34111 * rt/clock_settime.c: Likewise.
34112 * rt/lio_listio.c: Likewise.
34113 * rt/mq_close.c: Likewise.
34114 * rt/mq_getattr.c: Likewise.
34115 * rt/mq_notify.c: Likewise.
34116 * rt/mq_open.c: Likewise.
34117 * rt/mq_receive.c: Likewise.
34118 * rt/mq_send.c: Likewise.
34119 * rt/mq_setattr.c: Likewise.
34120 * rt/mq_timedreceive.c: Likewise.
34121 * rt/mq_timedsend.c: Likewise.
34122 * rt/mq_unlink.c: Likewise.
34123 * rt/shm_open.c: Likewise.
34124 * rt/shm_unlink.c: Likewise.
34125 * rt/timer_create.c: Likewise.
34126 * rt/timer_delete.c: Likewise.
34127 * rt/timer_getoverr.c: Likewise.
34128 * rt/timer_gettime.c: Likewise.
34129 * rt/timer_settime.c: Likewise.
34130 * setjmp/__longjmp.c: Likewise.
34131 * setjmp/setjmp.c: Likewise.
34132 * signal/kill.c: Likewise.
34133 * signal/killpg.c: Likewise.
34134 * signal/raise.c: Likewise.
34135 * signal/sigaction.c: Likewise.
34136 * signal/sigaltstack.c: Likewise.
34137 * signal/sigblock.c: Likewise.
34138 * signal/sigignore.c: Likewise.
34139 * signal/sigintr.c: Likewise.
34140 * signal/signal.c: Likewise.
34141 * signal/sigpause.c: Likewise.
34142 * signal/sigpending.c: Likewise.
34143 * signal/sigqueue.c: Likewise.
34144 * signal/sigreturn.c: Likewise.
34145 * signal/sigset.c: Likewise.
34146 * signal/sigsetmask.c: Likewise.
34147 * signal/sigstack.c: Likewise.
34148 * signal/sigsuspend.c: Likewise.
34149 * signal/sigtimedwait.c: Likewise.
34150 * signal/sigvec.c: Likewise.
34151 * signal/sigwait.c: Likewise.
34152 * signal/sigwaitinfo.c: Likewise.
34153 * signal/sysv_signal.c: Likewise.
34154 * socket/accept.c: Likewise.
34155 * socket/accept4.c: Likewise.
34156 * socket/bind.c: Likewise.
34157 * socket/connect.c: Likewise.
34158 * socket/getpeername.c: Likewise.
34159 * socket/getsockname.c: Likewise.
34160 * socket/getsockopt.c: Likewise.
34161 * socket/isfdtype.c: Likewise.
34162 * socket/listen.c: Likewise.
34163 * socket/recv.c: Likewise.
34164 * socket/recvfrom.c: Likewise.
34165 * socket/recvmsg.c: Likewise.
34166 * socket/send.c: Likewise.
34167 * socket/sendmsg.c: Likewise.
34168 * socket/sendto.c: Likewise.
34169 * socket/setsockopt.c: Likewise.
34170 * socket/shutdown.c: Likewise.
34171 * socket/sockatmark.c: Likewise.
34172 * socket/socket.c: Likewise.
34173 * socket/socketpair.c: Likewise.
34174 * stdio-common/ctermid.c: Likewise.
34175 * stdio-common/cuserid.c: Likewise.
34176 * stdio-common/remove.c: Likewise.
34177 * stdio-common/rename.c: Likewise.
34178 * stdio-common/renameat.c: Likewise.
34179 * stdio-common/tempname.c: Likewise.
34180 * stdlib/getcontext.c: Likewise.
34181 * stdlib/makecontext.c: Likewise.
34182 * stdlib/setcontext.c: Likewise.
34183 * stdlib/swapcontext.c: Likewise.
34184 * stdlib/system.c: Likewise.
34185 * streams/fattach.c: Likewise.
34186 * streams/fdetach.c: Likewise.
34187 * streams/getmsg.c: Likewise.
34188 * streams/getpmsg.c: Likewise.
34189 * streams/putmsg.c: Likewise.
34190 * streams/putpmsg.c: Likewise.
34191 * sysdeps/unix/bsd/getpt.c: Likewise.
34192 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34193 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34194 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34197 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34198 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34199 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34200 * sysvipc/msgctl.c: Likewise.
34201 * sysvipc/msgget.c: Likewise.
34202 * sysvipc/msgrcv.c: Likewise.
34203 * sysvipc/msgsnd.c: Likewise.
34204 * sysvipc/semctl.c: Likewise.
34205 * sysvipc/semget.c: Likewise.
34206 * sysvipc/semop.c: Likewise.
34207 * sysvipc/semtimedop.c: Likewise.
34208 * sysvipc/shmat.c: Likewise.
34209 * sysvipc/shmctl.c: Likewise.
34210 * sysvipc/shmdt.c: Likewise.
34211 * sysvipc/shmget.c: Likewise.
34212 * termios/tcdrain.c: Likewise.
34213 * termios/tcflow.c: Likewise.
34214 * termios/tcflush.c: Likewise.
34215 * termios/tcgetattr.c: Likewise.
34216 * termios/tcgetpgrp.c: Likewise.
34217 * termios/tcsendbrk.c: Likewise.
34218 * termios/tcsetattr.c: Likewise.
34219 * termios/tcsetpgrp.c: Likewise.
34220 * time/adjtime.c: Likewise.
34221 * time/clock.c: Likewise.
34222 * time/getitimer.c: Likewise.
34223 * time/gettimeofday.c: Likewise.
34224 * time/setitimer.c: Likewise.
34225 * time/settimeofday.c: Likewise.
34226 * time/stime.c: Likewise.
34227 * time/time.c: Likewise.
34229 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34231 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34234 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34236 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34238 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34241 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34242 FE_TONEAREST before applying Dekker multiplication and Knuth
34243 addition. Clear inexact exceptions and check for exact zero
34244 results afterwards.
34245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34246 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34248 * math/libm-test.inc (fma_test): Add more tests.
34249 (fma_test_towardzero): Likewise.
34250 (fma_test_downward): Likewise.
34251 (fma_test_upward): Likewise.
34252 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34254 (libc_fesetround): New macro.
34255 (libc_fesetroundf): Likewise.
34256 (libc_fesetroundl): Likewise.
34257 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34259 (libc_fesetround_387): Likewise.
34260 (libc_fesetroundf): New macro.
34261 (libc_fesetround): Likewise.
34262 (libc_fesetroundl): Likewise.
34263 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34265 (libc_fesetroundf): New macro.
34266 (libc_fesetround): Likewise.
34267 (libc_fesetroundl): Likewise.
34268 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34269 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34270 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34272 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34273 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34275 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34276 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34278 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34282 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34283 integer constant usable in #if and use that to give value to enum
34285 (FE_DIVBYZERO): Likewise.
34286 (FE_UNDERFLOW): Likewise.
34287 (FE_OVERFLOW): Likewise.
34288 (FE_INVALID): Likewise.
34289 (FE_INVALID_SNAN): Likewise.
34290 (FE_INVALID_ISI): Likewise.
34291 (FE_INVALID_IDI): Likewise.
34292 (FE_INVALID_ZDZ): Likewise.
34293 (FE_INVALID_IMZ): Likewise.
34294 (FE_INVALID_COMPARE): Likewise.
34295 (FE_INVALID_SOFTWARE): Likewise.
34296 (FE_INVALID_SQRT): Likewise.
34297 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34298 (FE_TONEAREST): Likewise.
34299 (FE_TOWARDZERO): Likewise.
34300 (FE_UPWARD): Likewise.
34301 (FE_DOWNWARD): Likewise.
34302 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34303 (FE_DIVBYZERO): Likewise.
34304 (FE_OVERFLOW): Likewise.
34305 (FE_UNDERFLOW): Likewise.
34306 (FE_INEXACT): Likewise.
34307 (FE_TONEAREST): Likewise.
34308 (FE_DOWNWARD): Likewise.
34309 (FE_UPWARD): Likewise.
34310 (FE_TOWARDZERO): Likewise.
34311 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34312 (FE_UNDERFLOW): Likewise.
34313 (FE_OVERFLOW): Likewise.
34314 (FE_DIVBYZERO): Likewise.
34315 (FE_INVALID): Likewise.
34316 (FE_TONEAREST): Likewise.
34317 (FE_TOWARDZERO): Likewise.
34318 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34319 (FE_OVERFLOW): Likewise.
34320 (FE_UNDERFLOW): Likewise.
34321 (FE_DIVBYZERO): Likewise.
34322 (FE_INEXACT): Likewise.
34323 (FE_TONEAREST): Likewise.
34324 (FE_TOWARDZERO): Likewise.
34325 (FE_UPWARD): Likewise.
34326 (FE_DOWNWARD): Likewise.
34327 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34328 (FE_DIVBYZERO): Likewise.
34329 (FE_OVERFLOW): Likewise.
34330 (FE_UNDERFLOW): Likewise.
34331 (FE_INEXACT): Likewise.
34332 (FE_TONEAREST): Likewise.
34333 (FE_DOWNWARD): Likewise.
34334 (FE_UPWARD): Likewise.
34335 (FE_TOWARDZERO): Likewise.
34337 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34339 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34341 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34343 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34344 commands. Quote $PWD.
34345 (blacklist_exports): Don't use remove_newlines. Replace "declare
34347 (remove_newlines): Remove.
34349 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34351 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34352 * stdlib/stdlib.h (atof): Moved to ...
34353 * include/bits/stdlib-float.h: Here. New file.
34354 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34355 * stdlib/bits/stdlib-float.h: New file.
34356 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34358 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34361 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34363 * conform/conformtest.pl (@headers): Add fenv.h.
34364 * conform/data/fenv.h-data: New file.
34365 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34366 include of <math/fenv.h>.
34368 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34369 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34370 && !UNIX98]. Enables tests for XOPEN2K8.
34371 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34372 POSIX2008]: Likewise.
34374 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34375 (struct rusage): Do not expect type or its members.
34378 * math/math.h (FP_NAN): Define macro to integer constant usable in
34379 #if and use that to give value to enum constant.
34380 (FP_INFINITE): Likewise.
34381 (FP_ZERO): Likewise.
34382 (FP_SUBNORMAL): Likewise.
34383 (FP_NORMAL): Likewise.
34385 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34387 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34388 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34391 2012-11-02 Roland McGrath <roland@hack.frob.com>
34393 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34394 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34395 autoconf-time if not.
34396 * configure.in: Remove AC_PREREQ.
34398 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34400 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34401 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34402 of the internal implementation.
34404 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34406 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34407 except include of <misc/sys/syslog.h>.
34409 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34412 function returns with a NULL context exit with zero.
34414 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34416 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34418 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34420 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34421 (run_program_cmd): This.
34422 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34423 (tst_langinfo): New variable. Use it.
34425 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34427 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34428 floating point opcodes.
34430 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34432 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34435 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34437 * sysdeps/mach/hurd/powerpc: Remove directory.
34438 * sysdeps/mach/powerpc: Likewise.
34440 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34442 * scripts/check-local-headers.sh: Ignore c++ headers.
34444 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34446 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34447 __libc_cleanup_region_start argument.
34449 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34453 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34454 x * y using scaling, not as x * y + z.
34455 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34456 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34457 * math/libm-test.inc (fma_test): Add more tests.
34458 (fma_test_towardzero): Likewise.
34459 (fma_test_downward): Likewise.
34460 (fma_test_upward): Likewise.
34462 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34464 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34466 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34468 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34471 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34473 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34475 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34482 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34485 Fix the order of the list for glibc 2.17.
34486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34489 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34493 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34496 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34497 for low part of x being zero before using __atanl (y).
34498 * math/libm-test.inc (atan2_test): Add another test.
34500 * manual/install.texi (Configuring and compiling): Document
34501 general use of test-wrapper and test-wrapper-env.
34502 * INSTALL: Regenerated.
34504 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34505 (__fma): Do not extract and scale down low bits on after-rounding
34506 systems when result rounded to normal precision would have normal
34508 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34509 (__fmal): Do not extract and scale down low bits on after-rounding
34510 systems when result rounded to normal precision would have normal
34512 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34513 (__fmal): Do not extract and scale down low bits on after-rounding
34514 systems when result rounded to normal precision would have normal
34516 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34518 (fma_test): Add more tests.
34519 (fma_test_towardzero): Likewise.
34520 (fma_test_downward): Likewise.
34521 (fma_test_upward): Likewise.
34523 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34525 * sysdeps/i386/tininess.h: Renamed to ...
34526 * sysdeps/x86/tininess.h: This.
34527 * sysdeps/x86_64/tininess.h: Removed.
34529 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34531 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34532 input. Use $(build-program-cmd).
34533 ($(objpfx)tst-array1-static.out): Likewise.
34534 ($(objpfx)tst-array2.out): Likewise.
34535 ($(objpfx)tst-array3.out): Likewise.
34536 ($(objpfx)tst-array4.out): Likewise.
34537 ($(objpfx)tst-array5.out): Likewise.
34538 ($(objpfx)tst-array5-static.out): Likewise.
34540 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34542 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34545 * nss/nsswitch.h (nss_interface_function): Provide new
34546 macro for use with NSS functions.
34547 * grp/initgroups.c: Use new macro.
34548 * nss/getXXbyYY.c: Likewise.
34549 * nss/getXXbyYY_r.c: Likewise.
34550 * nss/getXXent.c: Likewise.
34551 * nss/getXXent_r.c: Likewise.
34552 * sysdeps/posix/getaddrinfo.c: Likewise.
34554 2012-10-30 Andreas Jaeger <aj@suse.de>
34556 * po/ru.po: Update Russion translation from translation project.
34558 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34562 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34563 result and shift together with sticky bit instead of replicating
34564 round-to-nearest rounding.
34565 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34566 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34567 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34568 missing underflow exceptions.
34569 (fma_test_towardzero): Add more tests.
34570 (fma_test_downward): Likewise.
34571 (fma_test_upward): Likewise.
34574 * sysdeps/generic/tininess.h: New file.
34575 * sysdeps/i386/tininess.h: Likewise.
34576 * sysdeps/sh/tininess.h: Likewise.
34577 * sysdeps/x86_64/tininess.h: Likewise.
34578 * stdlib/tst-strtod-underflow.c: Likewise.
34579 * stdlib/tst-tininess.c: Likewise.
34580 * stdlib/strtod_l.c: Include <tininess.h>.
34581 (round_and_return): Do not set errno for exact underflow cases.
34582 Force an underflow exception when setting errno for underflow.
34583 Determine underflow based on rounding to normal precision if
34584 TININESS_AFTER_ROUNDING.
34585 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34586 ERANGE for exact underflow cases.
34587 * stdlib/Makefile (tests): Add tst-tininess and
34588 tst-strtod-underflow.
34589 ($(objpfx)tst-tininess): Use $(link-libm).
34590 ($(objpfx)tst-strtod-underflow): Likewise.
34592 2012-10-30 Andreas Jaeger <aj@suse.de>
34595 * elf/Makefile (tests): Remove conditional for have-initfini-array
34596 since this is now always required and the variable does not exist
34598 (tests-static): Likewise.
34599 (modules-names): Likewise.
34601 * po/eo.po: Add Esperanto translation from translation project.
34603 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34604 merged with constructor/destructor.
34605 (init_array): Likewise.
34606 * elf/tst-array2dep.c (fini_array): Likewise.
34607 (init_array): Likewise.
34609 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34611 * manual/message.texi: Delete @cartouche tags.
34613 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34615 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34617 * sysdeps/mach/hurd/fsync.c: Likewise.
34619 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34620 [_POSIX_REALTIME_SIGNALS]: Change condition to
34621 [_POSIX_REALTIME_SIGNALS > 0].
34623 2012-10-27 Andreas Jaeger <aj@suse.de>
34625 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34626 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34628 [__WORDSIZE != 64]: Likewise.
34630 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34632 * iconvdata/tst-table.sh: Remove ${SHELL}.
34633 * iconvdata/tst-tables.sh: Likewise.
34635 2012-10-25 David S. Miller <davem@davemloft.net>
34637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34638 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34641 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34643 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34644 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34645 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34648 2012-10-25 Roland McGrath <roland@hack.frob.com>
34650 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34651 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34654 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34655 Jim Blandy <jimb@codesourcery.com>
34657 * scripts/cross-test-ssh.sh: New file.
34658 * manual/install.texi (Configuring and compiling): Document use of
34660 * INSTALL: Regenerated.
34662 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34664 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34667 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34669 * Makeconfig (run-program-prefix): Fix comment.
34671 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34672 Jim Blandy <jimb@codesourcery.com>
34674 * Makeconfig (test-wrapper): New variable,
34675 (test-wrapper-env): Likewise.
34676 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34677 (run-built-tests): Define to yes.
34678 (run-program-prefix): Use $(test-wrapper).
34679 (built-program-cmd): Likewise.
34680 * Rules (make-test-out): Use $(test-wrapper-env) and
34681 $(host-built-program-cmd).
34682 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34683 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34685 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34686 $(test-wrapper-env) to tst-rtld-load-self.sh.
34687 ($(objpfx)order2.out): Use $(test-wrapper).
34688 ($(objpfx)tst-initorder.out): Likewise.
34689 ($(objpfx)tst-initorder2.out): Likewise.
34690 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34691 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34692 (test_wrapper_env): New variable. Use it to run ld.so.
34693 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34694 Use it to run ld.so.
34695 (test_wrapper_env): Likewise.
34696 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34697 $(test-wrapper) to run-iconv-test.sh.
34698 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34699 (ICONV): Use $test_wrapper.
34700 * posix/Makefile ($(objpfx)globtest.out): Pass
34701 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34702 globtest.sh, not $(run-program-prefix).
34703 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34704 (test_wrapper): Likewise.
34705 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34706 set together with run_via_rtld_prefix.
34707 (run_program_prefix): Define in terms of test_wrapper and
34708 run_via_rtld_prefix.
34710 2012-10-24 Roland McGrath <roland@hack.frob.com>
34712 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34713 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34717 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34718 Declare __clock_getres, __clock_gettime, __clock_settime,
34719 __clock_nanosleep, and __clock_getcpuclockid.
34720 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34721 Remove librt_hidden_def (clock_gettime).
34722 * sysdeps/unix/clock_gettime.c: Likewise.
34723 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34725 * rt/clock_getres.c: Define __clock_getres as an alias.
34726 * sysdeps/posix/clock_getres.c: Likewise.
34727 * rt/clock_settime.c: Define __clock_settime as an alias.
34728 * sysdeps/unix/clock_settime.c: Likewise.
34729 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34730 * sysdeps/unix/clock_nanosleep.c: Likewise.
34731 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34732 * rt/clock-compat.c: New file.
34733 * rt/Makefile (librt-routines): Add clock-compat and move
34734 $(clock-routines) to ...
34735 (routines): ... here, new variable.
34736 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34737 Don't add get_clockfreq here.
34738 * rt/Versions (libc: GLIBC_2.17): New version set.
34739 Add clock_* symbols here.
34740 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34741 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34742 (GLIBC_2.17): Add clock_* symbols.
34743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34745 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34754 * NEWS: Mention the move.
34756 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34757 Use __open, __read, __close rather than their public counterparts.
34758 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34759 (__get_clockfreq_via_cpuinfo): Likewise.
34760 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34761 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34763 * config.h.in (HAVE_IFUNC): New #undef.
34764 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34766 * configure: Regenerated.
34768 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34770 * configure.in: Move READELF check to start of file.
34771 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34772 libc_cv_asm_gnu_indirect_function in the process.
34773 * configure: Regenerated.
34775 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34777 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34778 send the output to /dev/null.
34779 (libc_cv_cc_with_libunwind): Likewise.
34780 (libc_cv_as_noexecstack): Likewise.
34781 * configure: Regenerate.
34783 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34785 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34787 * posix/globtest.sh (TMPDIR): Do not set.
34788 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34789 (testout): Likewise.
34791 2012-10-24 Andreas Jaeger <aj@suse.de>
34793 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34794 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34795 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34796 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34797 posix_fadvise64, posix_fallocate64.
34799 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34800 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34801 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34803 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34805 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34808 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34809 <bits/fcntl-linux.h>.
34810 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34813 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34814 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34815 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34816 [__WORDSIZE != 64]: Likewise.
34818 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34820 * Makeconfig (run-built-tests): New variable.
34821 * Rules [$(cross-compiling) = yes]: Change condition to
34822 [$(run-built-tests) = no].
34823 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34824 to [$(run-built-tests) = yes].
34825 * elf/Makefile [$(cross-compiling) = no]: Likewise
34826 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34827 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34828 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34829 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34830 * io/Makefile [$(cross-compiling) = no]: Likewise.
34831 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34832 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34833 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34834 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34835 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34836 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34837 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34838 * string/Makefile [$(cross-compiling) = no]: Likewise.
34840 * posix/Makefile ($(objpfx)globtest.out): Pass
34841 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34842 $(rtld-installed-name).
34843 * posix/globtest.sh (elf_objpfx): Remove variable.
34844 (rtld_installed_name): Likewise.
34845 (library_path): Likewise.
34846 (run_program_prefix): New variable. Use for running globtest
34849 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34850 Joseph Myers <joseph@codesourcery.com>
34852 * Makeconfig (host-built-program-cmd): New variable.
34853 * elf/Makefile (tst-stackguard1-ARGS): Use
34854 $(host-built-program-cmd).
34855 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34856 (tst-spawn-ARGS): Likewise.
34857 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34859 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34860 Jim Blandy <jimb@codesourcery.com>
34862 * Makeconfig (run-via-rtld-prefix): New variable.
34863 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34864 (built-program-cmd): Likewise.
34866 2012-10-22 Andreas Jaeger <aj@suse.de>
34868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34869 __O_RSYNC if it exists, otherwise to O_SYNC.
34871 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34872 Joseph Myers <joseph@codesourcery.com>
34874 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34876 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34878 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34881 2012-10-22 Andreas Jaeger <aj@suse.de>
34883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34885 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34888 bits/fcntl-linux.h.
34890 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34891 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34893 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34895 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34898 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34899 Joseph Myers <joseph@codesourcery.com>
34901 * config.make.in (NM): New variable.
34903 2012-10-21 Andreas Jaeger <aj@suse.de>
34905 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34906 definitions and declarations that are provided by
34907 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34909 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34912 * elf/Makefile (tests-static): Add tst-leaks1-static.
34913 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34914 ($(objpfx)tst-leaks1-static): New rule.
34915 ($(objpfx)tst-leaks1-static-mem): Likewise.
34916 (tst-leaks1-static-ENV): New macro.
34917 * elf/dl-open.c (dl_open_worker): Check the main application
34918 only if SHARED is defined.
34919 * elf/tst-leaks1-static.c: New file.
34921 2012-10-20 Andreas Jaeger <aj@suse.de>
34923 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34924 generic values for Linux.
34925 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34926 and declarations that are provided by <bits/fcntl-linux.h> and
34927 include <bits/fcntl-linux.h>.
34928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34929 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34931 2012-10-20 Roland McGrath <roland@hack.frob.com>
34933 * io/fcntl.h: Move include of <bits/types.h> to the top and
34934 include it unconditionally.
34936 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34938 * wcsmbs/Makefile (tests-ifunc): New variable.
34939 (tests): Add $(tests-ifunc).
34940 * wcsmbs/test-wcschr-ifunc.c: New file.
34941 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34942 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34943 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34944 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34945 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34947 * string/Makefile (tests-ifunc): New variable.
34948 (tests): Add $(tests-ifunc).
34949 * string/test-memccpy.c (TEST_NAME): New macro.
34950 * string/test-memchr.c (TEST_NAME): Likewise.
34951 * string/test-memcmp.c (TEST_NAME): Likewise.
34952 * string/test-memcpy.c (TEST_NAME): Likewise.
34953 * string/test-memmem.c (TEST_NAME): Likewise.
34954 * string/test-memmove.c (TEST_NAME): Likewise.
34955 * string/test-memset.c (TEST_NAME): Likewise.
34956 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34957 * string/test-stpcpy.c (TEST_NAME): Likewise.
34958 * string/test-stpncpy.c (TEST_NAME): Likewise.
34959 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34960 * string/test-strcasestr.c (TEST_NAME): Likewise.
34961 * string/test-strcat.c (TEST_NAME): Likewise.
34962 * string/test-strchr.c (TEST_NAME): Likewise.
34963 * string/test-strcmp.c(TEST_NAME): Likewise.
34964 * string/test-strcpy.c (TEST_NAME): Likewise.
34965 * string/test-strcspn.c (TEST_NAME): Likewise.
34966 * string/test-strlen.c (TEST_NAME): Likewise.
34967 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34968 * string/test-strncmp.c (TEST_NAME): Likewise.
34969 * string/test-strncpy.c (TEST_NAME): Likewise.
34970 * string/test-strnlen.c (TEST_NAME): Likewise.
34971 * string/test-strpbrk.c (TEST_NAME): Likewise.
34972 * string/test-strrchr.c (TEST_NAME): Likewise.
34973 * string/test-strspn.c (TEST_NAME): Likewise.
34974 * string/test-strstr.c (TEST_NAME): Likewise.
34975 * string/test-bcopy-ifunc.c: New file.
34976 * string/test-bzero-ifunc.c: Likewise.
34977 * string/test-memccpy-ifunc.c: Likewise.
34978 * string/test-memchr-ifunc.c: Likewise.
34979 * string/test-memcmp-ifunc.c: Likewise.
34980 * string/test-memcpy-ifunc.c: Likewise.
34981 * string/test-memmem-ifunc.c: Likewise.
34982 * string/test-memmove-ifunc.c: Likewise.
34983 * string/test-mempcpy-ifunc.c: Likewise.
34984 * string/test-memset-ifunc.c: Likewise.
34985 * string/test-rawmemchr-ifunc.c: Likewise.
34986 * string/test-stpcpy-ifunc.c: Likewise.
34987 * string/test-stpncpy-ifunc.c: Likewise.
34988 * string/test-strcasecmp-ifunc.c: Likewise.
34989 * string/test-strcasestr-ifunc.c: Likewise.
34990 * string/test-strcat-ifunc.c: Likewise.
34991 * string/test-strchr-ifunc.c: Likewise.
34992 * string/test-strchrnul-ifunc.c: Likewise.
34993 * string/test-strcmp-ifunc.c: Likewise.
34994 * string/test-strcpy-ifunc.c: Likewise.
34995 * string/test-strcspn-ifunc.c: Likewise.
34996 * string/test-strlen-ifunc.c: Likewise.
34997 * string/test-strncasecmp-ifunc.c: Likewise.
34998 * string/test-strncat-ifunc.c: Likewise.
34999 * string/test-strncmp-ifunc.c: Likewise.
35000 * string/test-strncpy-ifunc.c: Likewise.
35001 * string/test-strnlen-ifunc.c: Likewise.
35002 * string/test-strpbrk-ifunc.c: Likewise.
35003 * string/test-strrchr-ifunc.c: Likewise.
35004 * string/test-strspn-ifunc.c: Likewise.
35005 * string/test-strstr-ifunc.c: Likewise.
35007 * debug/Makefile (tests-ifunc): New variable.
35008 (tests): Add $(tests-ifunc).
35009 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35010 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35011 * debug/test-stpcpy_chk-ifunc.c: New file.
35012 * debug/test-strcpy_chk-ifunc.c: Likewise.
35014 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35017 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35018 header is not read in.
35020 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35022 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35023 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35024 directly. Pass built executable to script as
35025 $(built-program-cmd).
35026 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35027 $testprogram without using LD_LIBRARY_PATH and $ldso.
35029 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35030 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35031 $(rtld-installed-name).
35032 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35033 (rtld_installed_name): Likewise.
35034 (library_path): Likewise.
35035 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35036 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35037 $(run-program-prefix) to tst-tables.sh.
35038 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35039 it to run tst-table-from and tst-table-to.
35040 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35041 Pass it to tst-table.sh.
35042 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35043 $(run-program-prefix) to tst-gettext.sh.
35044 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35046 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35048 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35049 to run tst-gettext.
35050 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35051 to run tst-gettext2.
35052 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35053 to run tst-translit.
35054 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35055 $(run-program-prefix) to tst-mtrace.sh.
35056 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35058 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35059 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35060 $(rtld-installed-name).
35061 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35062 (rtld_installed_name): Likewise.
35063 (run_program_prefix): New variable. Use it to run wordexp-test.
35065 * Makeconfig (ARCH): Remove all definitions.
35066 (machine): Likewise.
35067 [ARCH]: Remove conditional code.
35068 [!objdir]: Give error.
35069 [!objdir] (objpfx): Remove.
35070 [!objdir] (common-objpfx): Likewise.
35071 [!objdir] (common-objdir): Likewise.
35072 * configure.in (config_makefile): Remove. Hardcode Makefile in
35073 AC_CONFIG_FILES call.
35074 * configure: Regenerated.
35077 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35079 (testout): Likewise.
35081 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35082 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35083 $(rtld-installed-name).
35084 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35085 (rtld_installed_name): Likwise.
35086 (runit): Remove function.
35087 (run_getconf): New variable, Use it for running getconf binary.
35089 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35092 * string/test-memmem.c (check_result): New function.
35093 (do_one_test): Use it.
35094 (check1): New function.
35095 (test_main): Use it.
35097 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35099 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35101 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35103 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35104 (_G_LSEEK64): Likewise.
35105 (_G_MMAP64): Likewise.
35106 (_G_FSTAT64): Likewise.
35107 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35108 (_G_LSEEK64): Likewise.
35109 (_G_MMAP64): Likewise.
35110 (_G_FSTAT64): Likewise.
35111 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35112 unconditional. Call __mmap64 directly.
35113 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35114 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35115 __lseek64 directly.
35116 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35117 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35119 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35120 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35121 __lseek64 directly.
35122 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35123 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35124 __lseek64 directly.
35125 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35126 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35127 __lseek64 directly.
35128 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35129 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35130 __fxstat64 directly.
35131 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35132 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35134 (freopen64) [!_G_OPEN64]: Remove conditional code.
35135 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35137 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35138 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35140 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35141 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35143 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35144 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35146 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35147 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35149 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35150 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35152 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35153 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35155 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35157 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35160 * manual/memory.texi (Malloc Tunable Parameters): Add note
35161 about free list pointers overwriting some perturb bytes.
35162 Wording suggested by Roland McGrath.
35164 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35166 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35167 (lgamma_test): Likewise.
35168 (tgamma_test): Likewise.
35170 2012-10-16 Florian Weimer <fweimer@redhat.com>
35173 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35174 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35176 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35178 * NEWS: Mention BZ #14716.
35179 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35180 when removing AVAILABLE1_USES_J macro.
35182 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35184 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35185 (__bswap_64): __uint64_t for unsigned 64-bit int.
35187 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35189 * include/string.h (memmem): Declare libc hidden alias.
35190 * string/memmem.c (memmem): Define libc hidden alias.
35191 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35192 __read, __close instead of open, read, close.
35194 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35196 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35197 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35199 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35200 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35201 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35203 (__rawmemchr_sse2): Likewise.
35204 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35205 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35206 (__strchr_sse2): Likewise.
35207 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35208 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35209 (__strcasecmp_sse2): Likewise.
35210 (__strncasecmp_sse2): Likewise.
35211 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35212 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35213 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35214 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35215 (__strrchr_sse2): Likewise.
35216 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35218 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35219 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35220 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35221 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35222 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35223 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35224 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35225 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35226 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35227 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35228 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35229 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35230 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35231 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35232 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35233 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35234 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35235 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35236 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35237 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35238 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35239 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35240 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35241 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35242 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35243 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35244 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35245 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35246 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35247 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35249 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35251 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35252 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35253 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35254 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35256 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35258 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35259 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35260 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35261 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35263 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35264 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35265 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35266 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35267 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35268 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35269 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35270 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35271 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35272 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35273 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35274 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35275 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35276 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35277 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35278 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35279 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35280 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35281 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35282 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35283 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35284 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35285 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35286 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35287 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35288 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35289 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35290 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35291 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35292 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35293 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35294 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35295 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35296 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35297 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35298 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35299 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35300 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35301 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35302 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35303 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35305 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35306 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35307 * include/ifunc-impl-list.h: New file.
35308 * misc/ifunc-impl-list.c: Likewise.
35309 * misc/Makefile (routines): Add ifunc-impl-list.
35310 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35311 * string/test-string.h: Include <ifunc-impl-list.h>.
35312 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35313 TEST_NAME]: New variables.
35314 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35316 (test_init): Call __libc_ifunc_impl_list to initialize
35317 func_list if TEST_IFUNC and TEST_NAME are defined.
35319 * string/Makefile (strop-tests): Add bcopy and bzero.
35320 * string/test-bcopy.c: New file.
35321 * string/test-bzero.c: Likewise.
35322 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35324 * string/test-memset.c: Support bzero test if TEST_BZERO is
35326 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35328 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35330 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35333 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35335 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35336 * configure: Regenerated.
35338 * Makeconfig (+link-static-before-libc): Don't include
35339 $(link-static-libc).
35341 * libio/libio.h (_IO_pos_t): Remove.
35343 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35345 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35348 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35350 * crypt/crypt-entry.c: Include fips-private.h.
35351 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35352 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35353 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35354 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35356 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35358 * crypt/crypt-private.h: Include stdbool.h.
35359 (_ufc_setup_salt_r): Return bool.
35360 * crypt/crypt-entry.c: Include errno.h.
35361 (__crypt_r): Return NULL with EINVAL for bad salt.
35362 * crypt/crypt_util.c (bad_for_salt): New.
35363 (_ufc_setup_salt_r): Check that salt is long enough and within
35364 the specified alphabet.
35365 * crypt/badsalttest.c: New file.
35366 * crypt/Makefile (tests): Add it.
35367 ($(objpfx)badsalttest): New.
35369 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35371 * NEWS: Add entry for BZ #14602.
35373 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35375 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35377 * math/libm-test.inc: Update comment listing what functions and
35379 (isgreater_test): New function.
35380 (isgreaterequal_test): Likewise.
35381 (isless_test): Likewise.
35382 (islessequal_test): Likewise.
35383 (islessgreater_test): Likewise.
35384 (isunordered_test): Likewise.
35385 (main): Call the new functions.
35387 2012-10-09 Roland McGrath <roland@hack.frob.com>
35389 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35390 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35391 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35392 * sysdeps/i386/configure: Regenerated.
35393 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35394 * sysdeps/mach/configure: Regenerated.
35395 * sysdeps/mach/hurd/configure: Regenerated.
35396 * sysdeps/powerpc/configure: Regenerated.
35397 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35398 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35399 * sysdeps/s390/s390-32/configure: Regenerated.
35400 * sysdeps/s390/s390-64/configure: Regenerated.
35401 * sysdeps/sh/configure: Regenerated.
35402 * sysdeps/sparc/configure: Regenerated.
35403 * sysdeps/unix/sysv/linux/configure: Regenerated.
35404 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35405 * sysdeps/x86_64/configure: Regenerated.
35407 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35408 defined. Don't check if MAP is NULL.
35410 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35412 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35413 (_G_stat64): Likewise.
35414 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35415 (_G_stat64): Likewise.
35416 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35417 instead of struct _G_stat64.
35418 * libio/fileops.c (mmap_remap_check): Likewise.
35419 (decide_maybe_mmap): Likewise.
35420 (_IO_new_file_seekoff): Likewise.
35421 (_IO_file_stat): Likewise.
35422 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35424 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35425 instead of struct _G_stat64.
35426 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35428 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35431 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35433 (CHECK_EOL): New macro.
35434 (two_way_short_needle): Check beginning of haystack for EOL. Use
35436 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35437 Replace with CHECK_EOL.
35438 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35439 Replace with CHECK_EOL.
35441 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35443 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35445 * math/libm-test.inc: Update comment listing what functions and
35447 (finite_test): New function.
35448 (isinf_test): Likewise.
35449 (isnan_test): Likewise.
35450 (fpclassify_test): Test subnormal input.
35451 (isfinite_test): Likewise.
35452 (isnormal_test): Likewise.
35453 (main): Call the new functions.
35455 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35458 * Makerules (%.dynsym): Force C locale when running
35459 $(OBJDUMP) --dynamic-syms.
35461 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35463 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35466 2012-10-06 David S. Miller <davem@davemloft.net>
35468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35469 upper 32-bits of the length value in %o2 since we use branch-on-register
35470 tests which consider the entire 64-bit register.
35472 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35474 * string/test-strstr.c (check2): Add a test for page boundary.
35476 2012-10-05 David S. Miller <davem@davemloft.net>
35478 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35479 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35481 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35483 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35484 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35485 and bzero when HWCAP_SPARC_CRYPTO is present.
35487 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35490 * string/test-strstr.c (check2): New function.
35491 (test_main): Call check2.
35493 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35495 * string/bug-strcasestr1.c (do_test): Moved to ...
35496 * string/test-strcasestr.c (check1): Here. New function.
35497 (do_one_test): Break out result checking code into ...
35498 (check_result): This. New function.
35499 (do_one_test): Call check_result.
35500 (test_main): Call check1.
35501 * string/bug-strchr1.c (do_test): Moved to ...
35502 * string/test-strchr.c (check1): Here. New function.
35503 (do_one_test): Break out result checking code into ...
35504 (check_result): This. New function.
35505 (do_one_test): Call check_result.
35506 (test_main): Call check1.
35507 * string/bug-strstr1.c (main): Moved to ...
35508 * string/test-strstr.c (check1): Here. New function.
35509 (do_one_test): Break out result checking code into ...
35510 (check_result): This. New function.
35511 (do_one_test): Call check_result.
35512 (test_main): Call check1.
35513 * string/bug-strcasestr1.c: Removed.
35514 * string/bug-strchr1.c: Likewise.
35515 * string/bug-strstr1.c: Likewise.
35517 * elf/Makefile (dl-routines): Add hwcaps.
35518 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35519 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35520 (_dl_important_hwcaps): Moved to ...
35521 * elf/dl-hwcaps.c: Here. New file.
35522 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35525 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35526 if IS_IN_rtld isn't defined.
35528 * elf/dl-support.c (_dl_sysinfo_map): New.
35529 Include "get-dynamic-info.h" and "setup-vdso.h".
35530 (_dl_non_dynamic_init): Call setup_vdso.
35531 * elf/dynamic-link.h: Don't include <assert.h>.
35532 (elf_get_dynamic_info): Moved to ...
35533 * elf/get-dynamic-info.h: Here. New file.
35534 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35535 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35536 * elf/setup-vdso.h: Here. New file.
35537 * elf/rtld.c: Include "setup-vdso.h".
35538 (dl_main): Call setup_vdso.
35540 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35542 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35543 creal in comment listing functions tested. List finite, isinf,
35544 isnan, isless, islessequal, isgreater, isgreaterequal,
35545 islessgreater, isunordered, lgamma_r and pow10 as functions and
35546 macros not tested. Mention which functions not tested are aliases
35547 for other functions. Fix typo. Note that signs of NaNs are not
35550 * scripts/config.guess: Update from config.git.
35551 * scripts/config.sub: Likewise.
35553 2012-10-04 Roland McGrath <roland@hack.frob.com>
35555 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35556 * misc/madvise.c (madvise): Renamed to __madvise.
35557 Make madvise a weak alias.
35558 * include/sys/mman.h: Declare __madvise.
35559 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35560 * sysdeps/unix/syscalls.list
35561 (madvise): Make __madvise the strong name, and madvise a weak alias.
35562 * sysdeps/unix/sysv/linux/syscalls.list
35563 (madvise, mmap): Remove redundant entries.
35564 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35565 * malloc/malloc.c (mtrim): Likewise.
35566 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35568 2012-10-03 Roland McGrath <roland@hack.frob.com>
35570 * sysdeps/mach/hurd/dl-cache.c: File removed.
35571 * config.h.in (USE_LDCONFIG): New #undef.
35572 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35573 * configure: Regenerated.
35574 * elf/Makefile (dl-routines): Add dl-cache only under
35575 [$(use-ldconfig) = yes].
35576 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35577 cache on [USE_LDCONFIG].
35578 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35580 * elf/rtld.c (dl_main): Likewise.
35582 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35584 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35585 _SC_LEVEL4_CACHE_LINESIZE.
35587 2012-10-03 Roland McGrath <roland@hack.frob.com>
35589 * sysdeps/unix/bsd/confstr.h: File removed.
35591 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35593 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35596 2012-10-02 Roland McGrath <roland@hack.frob.com>
35598 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35599 Make 'mapoff' field ElfW(Off) rather than off_t.
35601 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35603 * nscd/Makefile: Remove nscd-cflags and all its users.
35604 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35605 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35608 * malloc.c (malloc_printerr): Clarify error message.
35610 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35613 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35614 Set bit_FMA_Usable if FMA is supported.
35615 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35617 (bit_FMA4_Usable): Updated.
35618 (index_FMA_Usable): New macro.
35619 (CPUID_FMA): Likewise
35620 (HAS_FMA): Defined with bit_FMA_Usable.
35622 2012-10-01 Roland McGrath <roland@hack.frob.com>
35624 * bits/types.h (__swblk_t): Type removed.
35625 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35626 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35627 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35628 (__SWBLK_T_TYPE): Likewise.
35629 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35630 (__SWBLK_T_TYPE): Likewise.
35631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35632 (__SWBLK_T_TYPE): Likewise.
35633 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35634 (__SWBLK_T_TYPE): Likewise.
35636 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35637 Honza Horak <hhorak@redhat.com>
35639 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35640 (xdr_mapname): Use YPMAXMAP as maxsize.
35641 (xdr_peername): Use YPMAXPEER as maxsize.
35642 (xdr_keydat): Use YPAXRECORD as maxsize.
35643 (xdr_valdat): Use YPMAXRECORD as maxsize.
35645 2012-10-01 Roland McGrath <roland@hack.frob.com>
35647 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35649 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35650 * csu/init-first.c: ... here.
35651 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35652 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35653 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35654 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35655 * sysdeps/i386/init-first.c: File removed.
35656 * sysdeps/sh/init-first.c: File removed.
35658 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35662 if x * y might underflow to zero and z is zero.
35663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35665 * math/libm-test.inc (min_subnorm_value): New variable.
35666 (fma_test): Add more tests.
35667 (fma_test_towardzero): Likewise.
35668 (fma_test_downward): Likewise
35669 (fma_test_upward): Likewise.
35670 (initialize): Set min_subnorm_value.
35672 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35675 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35677 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35678 mode for addition resulting in exact zero.
35679 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35682 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35683 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35684 * math/libm-test.inc (fma_test): Add more tests.
35685 (fma_test_towardzero): New function.
35686 (fma_test_downward): Likewise.
35687 (fma_test_upward): Likewise.
35688 (main): Call the new functions.
35690 2012-09-28 David S. Miller <davem@davemloft.net>
35692 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35694 2012-09-28 Roland McGrath <roland@hack.frob.com>
35696 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35697 instead of SIGALRM.
35699 * sysdeps/gnu/_G_config.h: Moved to ...
35700 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35701 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35702 * sysdeps/generic/_G_config.h: ... here.
35704 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35706 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35708 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35709 Conditionalize target on [libnss_test1.so-version].
35711 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35713 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35714 (elfobjdir): Move out of conditionals.
35716 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35717 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35718 (__nss_lookup_function): Conditionalize label remove_from_tree on
35719 [!DO_STATIC_NSS || SHARED], matching its only use.
35721 2012-09-28 David S. Miller <davem@davemloft.net>
35723 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35724 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35726 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35728 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35729 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35730 when HWCAP_SPARC_CRYPTO is present.
35732 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35734 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35736 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35739 * stdio-common/vfprintf.c (process_string_arg): Revert
35742 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35744 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35746 * stdio-common/tst-sprintf.c: Include <locale.h>
35747 (main): Test sprintf's handling of incomplete multibyte
35750 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35752 * elf/dl-runtime.c (VERSYMIDX): Removed.
35753 * elf/dl-version.c (VERSYMIDX): Likewise.
35754 * elf/do-rel.h (VERSYMIDX): Likewise.
35755 (VALIDX): Likewise.
35756 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35757 * elf/rtld.c (VALIDX): Likewise.
35758 (ADDRIDX): Likewise.
35759 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35760 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35761 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35762 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35763 (VALIDX): Likewise.
35764 (ADDRIDX): Likewise.
35766 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35768 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35770 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35773 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35775 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35776 addresses are in the same scope as 192.0.2/24.
35777 * posix/gai.conf: Document new scope table defaults.
35779 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35782 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35783 for ftell. Compute offsets from write pointers instead.
35784 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35786 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35789 * libio/Makefile (tests): New test case tst-fseek.
35790 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35791 combination works in wide mode.
35792 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35793 state when the external buffer state changes.
35795 2012-09-27 David S. Miller <davem@davemloft.net>
35798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35799 pass reloc->r_addend in as the 'high' argument to
35800 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35804 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35806 * rt/tst-aio2.c: Include <pthread.h>.
35807 * rt/tst-aio3.c: Likewise.
35809 2012-09-27 Steve Ellcey <sellcey@mips.com>
35811 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35813 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35815 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35816 contents on [SHARED].
35818 2012-09-26 Marek Polacek <polacek@redhat.com>
35822 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35823 for C++ and GCC <4.3 as well as for non GCC compilers.
35825 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35829 2012-09-25 Roland McGrath <roland@hack.frob.com>
35831 * Makefile.in (all, install): Declare with .PHONY.
35832 Reported by Michael Hope <michael.hope@linaro.org>.
35834 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35836 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35837 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35839 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35841 (sydep_routines): Add the new and the internal functions.
35842 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35843 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35845 (GLIBC_2.17): Add the new function.
35846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35847 (GLIBC_2.17): Likewise.
35848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35849 (GLIBC_2.17): Likewise.
35850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35851 (GLIBC_2.17): Likewise.
35852 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35854 2012-09-25 Alan Modra <amodra@gmail.com>
35856 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35857 Add release barrier before setting once_control to say
35858 initialisation is done. Add hints on lwarx. Use macro in
35860 (clear_once_control): Add release barrier.
35862 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35865 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35867 * math/s_clog10.c (__clog10): Likewise.
35868 * math/s_clog10f.c (__clog10f): Likewise.
35869 * math/s_clog10l.c (__clog10l): Likewise.
35870 * math/s_clogf.c (__clogf): Likewise.
35871 * math/s_clogl.c (__clogl): Likewise.
35872 * math/Makefile (libm-calls): Add x2y2m1.
35873 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35874 (__x2y2m1): Likewise.
35875 (__x2y2m1l): Likewise.
35876 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35877 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35878 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35879 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35880 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35881 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35882 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35883 * sysdeps/i386/fpu/libm-test-ulps: Update.
35884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35887 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35888 int as type of variable DEPTH.
35889 (glob): Use size_t instead of int as type of variables NEWCOUNT
35892 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35894 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35895 Add s_sincosf-sse2.
35896 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35897 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35898 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35899 macros for using routine as __sincosf_ia32.
35900 Use macro for function declaration and weak_alias.
35901 * sysdeps/i386/fpu/libm-test-ulps: Update.
35903 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35904 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35906 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35907 subnormal argument.
35908 * math/s_cexpf.c (__cexpf): Likewise.
35909 * math/s_csinf.c (__csinf): Likewise.
35910 * math/s_csinhf.c (__csinhf): Likewise.
35911 * math/s_ctanf.c (__ctanf): Likewise.
35912 * math/s_ctanhf.c (__ctanhf): Likewise.
35913 * math/s_ccosh.c (__ccoshf): Likewise.
35914 * math/s_cexp.c (__cexpl): Likewise.
35915 * math/s_csin.c (__csin): Likewise.
35916 * math/s_csinh.c (__csinh): Likewise.
35917 * math/s_ctan.c (__ctan): Likewise.
35918 * math/s_ctanh.c (ctanh): Likewise.
35919 * math/s_ccoshl.c (__ccoshl): Likewise.
35920 * math/s_cexpl.c (__cexpl): Likewise.
35921 * math/s_csinl.c (__csinl): Likewise.
35922 * math/s_csinhl.c (__csinhl): Likewise.
35923 * math/s_ctanl.c (__ctanl): Likewise.
35924 * math/s_ctanhl.c (__ctanhl): Likewise.
35926 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35928 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35929 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35930 (_IO_off_t): Define to __off_t, not _G_off_t.
35931 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35932 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35933 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35934 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35935 type of __dummy and __dummy2 fields.
35936 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35937 (_G_ssize_t): Likewise.
35938 (_G_off_t): Likewise.
35939 (_G_pid_t): Likewise.
35940 (_G_uid_t): Likewise.
35941 (_G_wchar_t): Likewise.
35942 (_G_wint_t): Likewise.
35943 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35944 (_G_ssize_t): Likewise.
35945 (_G_off_t): Likewise.
35946 (_G_pid_t): Likewise.
35947 (_G_uid_t): Likewise.
35948 (_G_wchar_t): Likewise.
35949 (_G_wint_t): Likewise.
35950 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35951 (_G_ssize_t): Likewise.
35952 (_G_off_t): Likewise.
35953 (_G_pid_t): Likewise.
35954 (_G_uid_t): Likewise.
35955 (_G_wchar_t): Likewise.
35956 (_G_wint_t): Likewise.
35958 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35960 * malloc/arena.c: Include malloc-sysdep.h.
35961 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35962 is sufficient to shrink the heap or an unmap is needed.
35963 * sysdeps/generic/malloc-sysdep.h: New file. Define
35964 new function check_may_shrink_heap.
35965 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35966 new function check_may_shrink_heap.
35968 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35970 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35973 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35975 * catgets/test-gencat.sh: Add "set -e".
35976 * elf/tst-pathopt.sh: Likewise.
35977 * grp/tst_fgetgrent.sh: Likewise.
35978 * iconvdata/run-iconv-test.sh: Likewise.
35979 * intl/tst-gettext.sh: Likewise.
35980 * intl/tst-gettext2.sh: Likewise.
35981 * intl/tst-gettext4.sh: Likewise.
35982 * intl/tst-gettext6.sh: Likewise.
35983 * intl/tst-translit.sh: Likewise.
35984 * io/ftwtest-sh: Likewise.
35985 * libio/test-freopen.sh: Likewise.
35986 * malloc/tst-mtrace.sh: Likewise.
35987 * posix/globtest.sh: Likewise.
35988 * posix/tst-getconf.sh: Likewise.
35989 * posix/wordexp-tst.sh: Likewise.
35990 * stdio-common/tst-printf.sh: Likewise.
35991 * stdio-common/tst-unbputc.sh: Likewise.
35992 * stdlib/tst-fmtmsg.sh: Likewise.
35993 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35994 * catgets/Makefile: Do not specify -e option when running
35995 testsuite shell scripts.
35996 * elf/Makefile: Likewise.
35997 * grp/Makefile: Likewise.
35998 * iconvdata/Makefile: Likewise.
35999 * intl/Makefile: Likewise.
36000 * io/Makefile: Likewise.
36001 * libio/Makefile: Likewise.
36002 * malloc/Makefile: Likewise.
36003 * posix/Makefile: Likewise.
36004 * stdio-common/Makefile: Likewise.
36005 * stdlib/Makefile: Likewise.
36006 * sysdeps/x86_64/Makefile: Likewise.
36008 * io/ftwtest-sh: Add copyright header.
36009 * posix/globtest.sh: Likewise.
36010 * posix/tst-getconf.sh: Likewise.
36011 * posix/wordexp-tst.sh: Likewise.
36012 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36014 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36017 * Makeconfig (+link): Defined as $(+link-static) if
36018 $(build-shared) isn't yes.
36019 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36021 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36023 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36026 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36027 new chunk size with MALLOC_ALIGN_MASK.
36029 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36032 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36034 (__printf_fphex): Determine rounding using get_rounding_mode and
36036 * stdio-common/tst-printf-round.c (struct hex_test): New
36038 (hex_tests): New variable.
36039 (test_hex_in_one_mode): New function.
36040 (do_test): Also run tests for hex float output.
36042 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36044 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36045 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36046 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36047 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36048 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36049 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36050 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36051 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36053 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36055 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36056 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36057 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36058 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36060 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36063 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36065 * elf/tst-rtld-load-self.sh: New test.
36066 * elf/Makefile: Run it.
36068 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36070 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36071 (tst-writev-ENV): Remove.
36072 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36074 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36076 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36078 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36080 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36082 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36084 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36085 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36086 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36089 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36092 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36093 * config.make.in (have-cpp-asm-debuginfo): Removed.
36094 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36095 * configure: Regenerated.
36097 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36100 * stdio-common/printf_fp.c: Include <stdbool.h> and
36102 (___printf_fp): Determine rounding using get_rounding_mode and
36104 * stdio-common/tst-printf-round.c: New file.
36105 * stdio-common/Makefile (tests): Add tst-printf-round.
36106 (link-libm): New variable.
36107 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36109 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36112 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36113 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36115 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36118 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36120 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36121 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36122 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36123 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36125 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36128 * include/rounding-mode.h: New file.
36129 * sysdeps/generic/get-rounding-mode.h: Likewise.
36130 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36131 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36132 (MAX_VALUE): New macro.
36133 (MIN_VALUE): Likewise.
36134 (overflow_value): New function.
36135 (underflow_value): Likewise.
36136 (round_and_return): Use overflow_value and underflow_value to
36137 determine return values in overflow and underflow cases. Use
36138 round_away to determine rounding depending on rounding mode.
36139 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36140 determine return values in overflow and underflow cases.
36141 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36142 (struct test_results): New structure.
36143 (struct test): Use struct test_results to store expected results
36144 for all rounding modes.
36145 (TEST): Include expected results for all rounding modes.
36146 (test_in_one_mode): New function.
36147 (do_test): Use test_in_one_mode to compute and check results.
36148 Check results for all rounding modes.
36149 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36152 2012-12-09 Allan McRae <allan@archlinux.org>
36154 * sysdeps/i386/fpu/libm-test-ulps: Update
36156 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36158 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36159 (_G_int32_t): Likewise.
36160 (_G_uint16_t): Likewise.
36161 (_G_uint32_t): Likewise.
36162 (_G_HAVE_BOOL): Likewise.
36163 (_G_HAVE_ATEXIT): Likewise.
36164 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36165 (_G_HAVE_IO_FILE_OPEN): Likewise.
36166 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36167 (_G_int32_t): Likewise.
36168 (_G_uint16_t): Likewise.
36169 (_G_uint32_t): Likewise.
36170 (_G_HAVE_BOOL): Likewise.
36171 (_G_HAVE_ATEXIT): Likewise.
36172 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36173 (_G_HAVE_IO_FILE_OPEN): Likewise.
36174 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36175 (_G_int32_t): Likewise.
36176 (_G_uint16_t): Likewise.
36177 (_G_uint32_t): Likewise.
36178 (_G_HAVE_BOOL): Likewise.
36179 (_G_HAVE_ATEXIT): Likewise.
36180 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36181 (_G_HAVE_IO_FILE_OPEN): Likewise.
36183 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36185 * csu/libc-tls.c: Update copyright years.
36187 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36189 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36190 [!_G_USING_THUNKS]: Remove conditional code.
36191 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36192 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36194 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36195 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36196 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36197 (_G_VTABLE_LABEL_PREFIX): Likewise.
36198 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36199 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36200 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36201 (_G_VTABLE_LABEL_PREFIX): Likewise.
36202 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36203 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36204 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36205 (_G_VTABLE_LABEL_PREFIX): Likewise.
36206 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36208 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36210 * libio/Makefile: Include ../Makeconfig before tests.
36211 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36212 only if $(build-shared) is yes.
36214 * iconv/gconv_db.c: Update copyright years.
36216 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36218 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36219 unwind info if defined PIC. Fix special cases description.
36220 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36222 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36224 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36226 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36228 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36230 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36233 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36234 (LDLIBS-tst-chk4): This.
36235 (LDFLAGS-tst-chk5): Renamed to ...
36236 (LDLIBS-tst-chk5): This.
36237 (LDFLAGS-tst-chk6): Renamed to ...
36238 (LDLIBS-tst-chk6): This.
36239 (LDFLAGS-tst-lfschk4): Renamed to ...
36240 (LDLIBS-tst-lfschk4): This.
36241 (LDFLAGS-tst-lfschk5): Renamed to ...
36242 (LDLIBS-tst-lfschk5): This.
36243 (LDFLAGS-tst-lfschk6): Renamed to ...
36244 (LDLIBS-tst-lfschk6): This.
36246 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36247 on $(common-objpfx)soversions.mk.
36249 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36252 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36255 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36257 * malloc/arena.c (arena_get_retry): New function that gets
36258 another arena for the caller to try its request on.
36259 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36260 current arena cannot fulfill the request.
36261 (__libc_memalign): Likewise.
36262 (__libc_memalign): Likewise.
36263 (__libc_pvalloc): Likewise.
36264 (__libc_calloc): Likewise.
36266 2012-09-05 John Tobey <john.tobey@gmail.com>
36269 * manual/arith.texi (Operations on Complex): Fix description
36270 of carg branch cut.
36272 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36275 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36279 * manual/memory.texi (Memory): Make order of menu items match
36282 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36284 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36285 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36286 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36288 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36290 * csu/libc-tls.c (static_dtv): Renamed to ...
36291 (_dl_static_dtv): This. Make it global.
36292 (_dl_initial_dtv): Removed.
36293 (__libc_setup_tls): Updated.
36294 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36295 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36298 2012-09-06 Petr Machata <pmachata@redhat.com>
36300 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36301 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36302 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36303 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36305 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36308 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36309 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36312 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36315 * Makeconfig (link-static-before-libc): Replace $(+prector)
36317 (link-static-after-libc): Replace $(+postctor) with
36319 (link-bounded): Replace $(+prector)/$(+postctor) with
36320 $(+prectorT)/$(+postctorT).
36321 (+prectorT): New macro.
36322 (+postctorT): Likewise.
36324 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36326 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36327 (round_str): Handle values above the maximum for IBM long double
36329 * stdlib/tst-strtod-round.c (tests): Regenerated.
36331 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36333 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36335 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36336 zarch_nohighgprs around the zarch optimized routines.
36337 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36338 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36339 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36342 2012-09-05 David S. Miller <davem@davemloft.net>
36344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36346 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36347 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36348 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36349 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36352 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36354 * malloc/arena.c: Fold copyright years.
36355 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36357 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36359 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36361 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36363 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36365 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36367 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36368 change internal state upon failure.
36370 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36372 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36373 * malloc/memusage.c (mmap): Likewise.
36374 (mmap64, mremap): Likewise. Adjust name in comment.
36376 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36378 * libio/fileops.c: Fix typos in comments.
36379 * libio/oldfileops.c: Likewise.
36380 * libio/wfileops.c: Likewise.
36382 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36385 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36386 (tst-malloc-usable-ENV): Set environment for test case.
36387 * malloc/hooks.c (malloc_check_get_size): New function to get
36389 * malloc/malloc.c (musable): Use malloc_check_get_size.
36390 * malloc/tst-malloc-usable.c: New test case.
36392 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36394 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36396 2012-09-05 Allan McRae <allan@archlinux.org>
36399 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36400 determine header location.
36401 * configure: Regenerated.
36403 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36405 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36407 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36408 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36410 (test): Regenerate.
36412 2012-09-04 David S. Miller <davem@davemloft.net>
36414 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36415 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36416 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36418 2012-09-04 Florian Weimer <fweimer@redhat.com>
36420 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36423 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36425 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36428 * libio/iogetdelim.c: Include <limits.h>.
36429 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36430 + len + 1 would overflow.
36432 2012-09-03 Andreas Jaeger <aj@suse.de>
36434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36435 * sysdeps/i386/fpu/libm-test-ulps: Update.
36437 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36439 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36440 Add s_sinf-sse2, s_conf-sse2.
36442 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36443 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36444 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36445 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36447 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36448 for using routine as __sinf_ia32.
36449 Use macro for function declaration and weak_alias.
36450 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36451 for using routine as __cosf_ia32.
36452 Use macro for function declaration and weak_alias.
36454 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36455 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36457 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36458 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36461 * math/libm-test.inc (cos_test): Add more test cases.
36462 (sin_test): Likewise.
36463 (sincos_test): Likewise.
36465 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36468 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36470 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36472 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36475 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36476 first element of the GOT.
36477 (elf_machine_load_address): Return the difference between
36478 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36480 2012-09-01 Allan McRae <allan@archlinux.org>
36483 * configure.in (AWK): Require gawk version 3.0 or later.
36484 * configure: Regenerated.
36486 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36488 * sysdeps/unix/sysv/linux/kernel-features.h
36489 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36490 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36491 [__NR_clock_getres]: Make code unconditional.
36492 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36493 (clock_getcpuclockid): Remove code left unreachable by removal of
36495 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36496 code unconditional.
36497 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36498 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36499 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36500 Make code unconditional.
36501 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36502 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36503 * sysdeps/unix/sysv/linux/clock_settime.c
36504 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36506 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36507 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36509 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36512 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36513 scripts/test-installation.pl.
36515 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36516 and $ld_so_version if it is set.
36518 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36521 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36522 failure if reading from procfs failed.
36523 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36525 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36527 * sysdeps/unix/sysv/linux/kernel-features.h
36528 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36529 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36530 Remove conditional code.
36531 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36532 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36533 Remove conditional code.
36534 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36535 * sysdeps/unix/sysv/linux/i386/fxstat.c
36536 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36537 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36538 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36539 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36540 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36541 * sysdeps/unix/sysv/linux/i386/lxstat.c
36542 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36543 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36544 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36545 Remove conditional code.
36546 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36547 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36548 Remove conditional code.
36549 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36550 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36551 <kernel-features.h>.
36552 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36554 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36555 Remove conditional code.
36556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36557 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36558 Remove conditional.
36560 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36563 * NEWS: Add fixed bug number.
36565 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36568 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36569 underflowing exponent in case of negative sign.
36570 * stdlib/tst-strtod-round-data: Add more tests.
36571 * stdlib/tst-strtod-round.c (tests): Regenerated.
36574 * stdlib/strtod_l.c (NDIG): Remove.
36575 (HEXNDIG): Likewise.
36576 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36577 smallest representable value.
36578 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36579 lie within an exact representation of 1/2 ulp of the result.
36580 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36582 (TENS_P9_IDX): Define unconditionally.
36583 (TENS_P9_SIZE): Likewise.
36584 (TENS_P10_IDX): Likewise.
36585 (TENS_P10_SIZE): Likewise.
36586 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36587 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36588 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36589 entries for 10^2^13 and 10^2^14.
36590 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36591 (TENS_P13_IDX): Define.
36592 (TENS_P13_SIZE): Likewise.
36593 (TENS_P14_IDX): Likewise.
36594 (TENS_P14_SIZE): Likewise.
36595 (_fpioconst_pow10): Change array size to
36596 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36598 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36599 1024]: Add entries for 10^2^13 and 10^2^14.
36600 [LAST_POW10 > _LAST_POW10]: Remove #error.
36601 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36602 (_fpioconst_pow10): Change array size to
36603 FPIOCONST_POW10_ARRAY_SIZE.
36604 * stdlib/gen-fpioconst.c: New file.
36605 * stdlib/gen-tst-strtod-round.c: Likewise.
36606 * stdlib/tst-strtod-round-data: Likewise.
36607 * stdlib/tst-strtod-round.c: Likewise.
36608 * stdlib/Makefile (tests): Add tst-strtod-round.
36611 * stdlib/strtod_l.c: Include <stdint.h>.
36612 (NDEBUG): Do not define.
36613 (round_and_return): Change EXPONENT parameter to type intmax_t.
36614 Rearrange calculations to avoid internal overflow possibilities.
36615 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36616 Rearrange calculations to avoid internal overflow possibilities.
36617 Assert that number fits inside MPNSIZE limbs.
36618 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36619 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36620 calculations and add assertions to avoid internal overflow
36621 possibilities. Add casts to avoid signed/unsigned operations.
36622 * stdlib/tst-strtod-overflow.c: New file.
36623 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36625 2012-08-25 Marek Polacek <polacek@redhat.com>
36627 * time/time.h: Fix some typos in comments.
36629 2012-08-23 Roland McGrath <roland@hack.frob.com>
36631 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36632 * posix/tst-rfc3484-2.c: Likewise.
36633 * posix/tst-rfc3484-3.c: Likewise.
36635 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36637 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36638 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36640 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36642 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36643 #include of fxstatat64.c.
36645 2012-08-22 Roland McGrath <roland@hack.frob.com>
36647 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36648 * shadow/getspent_r.c: Likewise.
36649 * shadow/getspnam.c: Likewise.
36650 * shadow/getspnam_r.c: Likewise.
36651 * gshadow/getsgent.c: Likewise.
36652 * gshadow/getsgent_r.c: Likewise.
36653 * gshadow/getsgnam.c: Likewise.
36654 * gshadow/getsgnam_r.c: Likewise.
36655 * inet/getnetbyad.c: Likewise.
36656 * inet/getnetbyad_r.c: Likewise.
36657 * inet/getnetbynm.c: Likewise.
36658 * inet/getnetbynm_r.c: Likewise.
36659 * inet/getnetent.c: Likewise.
36660 * inet/getnetent_r.c: Likewise.
36661 * inet/getproto.c: Likewise.
36662 * inet/getproto_r.c: Likewise.
36663 * inet/getprtent.c: Likewise.
36664 * inet/getprtent_r.c: Likewise.
36665 * inet/getprtname.c: Likewise.
36666 * inet/getprtname_r.c: Likewise.
36667 * inet/getrpcbyname.c: Likewise.
36668 * inet/getrpcbyname_r.c: Likewise.
36669 * inet/getrpcbynumber.c: Likewise.
36670 * inet/getrpcbynumber_r.c: Likewise.
36671 * inet/getrpcent.c: Likewise.
36672 * inet/getrpcent_r.c: Likewise.
36673 * inet/getaliasent.c: Likewise.
36674 * inet/getaliasent_r.c: Likewise.
36675 * inet/getaliasname.c: Likewise.
36676 * inet/getaliasname_r.c: Likewise.
36677 * nscd/getgrgid_r.c: Likewise.
36678 * nscd/getgrnam_r.c: Likewise.
36679 * nscd/gethstbyad_r.c: Likewise.
36680 * nscd/gethstbynm3_r.c: Likewise.
36681 * nscd/getpwnam_r.c: Likewise.
36682 * nscd/getpwuid_r.c: Likewise.
36683 * nscd/getsrvbynm_r.c: Likewise.
36684 * nscd/getsrvbypt_r.c: Likewise.
36685 * nscd/gai.c: Likewise.
36687 * configure.in (build_nscd): New substituted variable, set
36688 by --disable-build-nscd and defaults to $use_nscd.
36689 * configure: Regenerated.
36690 * config.make.in (build-nscd): New substituted variable.
36691 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36692 Change conditional to require [$(build-nscd) = yes] as well.
36693 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36696 * configure.in (use_nscd): New substituted variable, set by
36697 --disable-nscd. If enabled, define USE_NSCD.
36698 * configure: Regenerated.
36699 * config.h.in: Add USE_NSCD.
36700 * config.make.in (use-nscd): New substituted variable.
36701 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36702 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36703 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36704 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36705 (CFLAGS-getgrnam_r.c): Likewise.
36706 (CFLAGS-initgroups.c): Likewise.
36707 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36708 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36710 * inet/getnetgrent_r.c
36711 (nscd_setnetgrent): New function, broken out of ...
36712 (setnetgrent): ... here. Call it.
36713 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36714 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36715 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36716 * nscd/Makefile (routines, aux): Move definitions after include of
36717 Makeconfig. Conditionalize on [$(use-nscd) != no].
36718 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36719 Conditionalize on [USE_NSCD].
36720 (is_nscd, nscd_init_cb): Likewise.
36721 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36722 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36723 * nss/nss_db/db-init.c: Likewise.
36724 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36726 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36727 (make_request): Use it.
36728 (cache_valid_p): New function.
36729 (__check_pf): Use it.
36730 * NEWS: Add item for --disable-nscd.
36732 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36734 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36735 to support sed >= 4.2.1-20-ga9bf076.
36736 * configure: Regenerated.
36738 2012-08-22 Roland McGrath <roland@hack.frob.com>
36740 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36741 Conditionalize whole body on [IREL].
36743 2012-08-22 Jeff Law <law@redhat.com>
36746 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36747 if the family is PF_UNSPEC.
36749 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36751 * Makerules (lib-version): Rename from V.
36752 (install-lib-nosubdir): Change V to lib-version.
36754 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36757 * powerpc32/power6/wcschr.c: New file.
36758 * powerpc32/power6/wcscpy.c: New file.
36759 * powerpc32/power6/wcsrchr.c: New file.
36760 * powerpc64/power6/wcschr.c: New file.
36761 * powerpc64/power6/wcscpy.c: New file.
36762 * powerpc64/power6/wcsrchr.c: New file.
36764 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36766 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36767 (two_way_short_needle): Use it.
36768 * string/strstr.c (AVAILABLE1_USES_J): Define.
36769 * string/strcasestr.c: Likewise.
36771 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36773 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36776 * NEWS: Add an entry.
36777 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36778 define their defaults.
36779 (two_way_short_needle): Detect end-of-string on-the-fly.
36780 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36781 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36782 * string/bug-strcasestr1.c: New test.
36783 * string/Makefile: Run it.
36785 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36788 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36789 the first character.
36791 2012-08-21 Roland McGrath <roland@hack.frob.com>
36793 * csu/elf-init.c (__libc_csu_irel): Function removed.
36794 * csu/libc-start.c (apply_irel): New function.
36795 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36797 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36799 * sysdeps/unix/sysv/linux/kernel-features.h
36800 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36801 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36802 <kernel-features.h>.
36803 [__NR_fadvise64_64]: Make code unconditional.
36804 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36805 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36806 !__NR_fadvise64_64)]: Likewise.
36807 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36808 !__NR_fadvise64_64))]: Likewise.
36809 [__NR_fadvise64]: Make code unconditional.
36810 [!__NR_fadvise64]: Remove conditional code.
36811 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36812 <kernel-features.h>.
36813 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36815 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36818 not include <kernel-features.h>.
36819 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36821 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36823 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36824 include <kernel-features.h>.
36825 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36827 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36830 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36832 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36833 slight instruction rearrangements per scrollpipe analysis.
36834 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36836 2012-08-20 Roland McGrath <roland@hack.frob.com>
36838 * manual/syslog.texi (syslog; vsyslog, closelog):
36839 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36840 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36842 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36843 DSOCAPS to match condition on defining it.
36845 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36847 * sysdeps/unix/sysv/linux/kernel-features.h
36848 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36850 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36851 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36853 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36854 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36856 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36857 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36859 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36860 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36862 * sysdeps/unix/sysv/linux/kernel-features.h
36863 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36864 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36866 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36867 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36868 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36869 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36870 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36871 Make code unconditional.
36872 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36873 (__mmap64) [!__NR_mmap2]: Likewise.
36874 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36875 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36876 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36877 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36878 [__NR_mmap2]: Make code unconditional.
36879 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36880 (__mmap64) [!__NR_mmap2]: Likewise.
36882 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36884 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36886 2012-08-18 Andreas Jaeger <aj@suse.de>
36888 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36890 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36892 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36893 * include/unistd.h (__have_sock_cloexec): Likewise.
36894 (__have_pipe2): Likewise.
36895 (__have_dup3): Likewise.
36897 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36900 * include/unistd.h (__have_pipe2): Change define into an extern int.
36901 (__have_dup3): Likewise.
36902 * socket/have_sock_cloexec.c: Include fcntl.h.
36903 (__have_pipe2): New variable.
36904 (__have_dup3): Likewise.
36906 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36908 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36910 2012-08-17 Marek Polacek <polacek@redhat.com>
36912 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36913 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36915 2012-08-17 Roland McGrath <roland@hack.frob.com>
36917 * configure.in: Add AC_SUBST for sysheaders.
36918 * configure: Regenerated.
36919 * config.make.in (sysheaders): New substituted variable.
36921 * sysdeps/unix/mkfifo.c: Moved ...
36922 * sysdeps/posix/mkfifo.c: ... here.
36923 * sysdeps/unix/mkfifoat.c: Moved ...
36924 * sysdeps/posix/mkfifoat.c: ... here.
36926 * sysdeps/unix/utime.c: Moved ...
36927 * sysdeps/posix/utime.c: ... here.
36929 * sysdeps/unix/time.c: Moved ...
36930 * sysdeps/posix/time.c: ... here.
36931 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36932 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36934 * sysdeps/unix/nice.c: Moved ...
36935 * sysdeps/posix/nice.c: ... here.
36937 * sysdeps/unix/alarm.c: Moved ...
36938 * sysdeps/posix/alarm.c: ... here.
36940 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36942 2012-08-17 Jeff Law <law@redhat.com>
36944 * intl/Makefile (codeset_mo): New variable.
36945 ($(codeset_mo)): New target.
36946 (tst-codeset.out): Depend on that. Remove explicit rule.
36947 (tst-gettext3.out, tst-gettext5.out): Likewise.
36948 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36949 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36950 * intl/tst-codeset.sh: Remove.
36951 * intl/tst-gettext3.sh: Likewise.
36952 * intl/tst-gettext5.sh: Likewise.
36954 2012-08-17 Roland McGrath <roland@hack.frob.com>
36956 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36957 * sysdeps/unix/syscalls.list: ... here.
36959 * sysdeps/posix/getaddrinfo.c
36960 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36961 (gaiconf_init, gaiconf_reload): Use them.
36962 [!_STATBUF_ST_NSEC]
36963 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36964 Define using time_t rather than struct timespec.
36966 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36967 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36969 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36971 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36972 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36975 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36976 __libc_cleanup_push argument.
36978 * bits/param.h: New file.
36979 * misc/sys/param.h: New file.
36980 * include/sys/param.h: New file.
36981 * misc/Makefile (headers): Add bits/param.h.
36982 * sysdeps/generic/sys/param.h: File removed.
36983 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36984 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36985 * sysdeps/mach/hurd/bits/param.h: New file.
36986 * sysdeps/mach/hurd/sys/param.h: File removed.
36988 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36991 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36993 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36994 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36997 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36998 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36999 rather than -D_IO_MTSAFE_IO conditionally.
37000 * stdio-common/Makefile (CPPFLAGS): Likewise.
37001 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37002 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37003 Use $(libio-mtsafe).
37004 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37005 of -D_IO_MTSAFE_IO.
37006 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37007 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37008 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37009 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37010 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37011 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37012 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37013 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37014 (CFLAGS-fread_u_chk.c): Likewise.
37015 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37016 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37017 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37018 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37019 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37020 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37021 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37022 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37023 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37025 * libio/Makefile: Test [$(libc-reentrant) = yes]
37026 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37029 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37030 * sysdeps/pthread/configure: File removed.
37031 * sysdeps/pthread/Makeconfig: New file.
37032 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37033 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37035 2012-08-16 Gary Benson <gbenson@redhat.com>
37037 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37038 unmapping the first object in a namespace.
37040 2012-08-16 Roland McGrath <roland@hack.frob.com>
37042 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37043 (__internal_setnetgrent): ... this. Add internal_function to
37044 definition. Add libc_hidden_def.
37045 (setnetgrent): Update caller.
37046 (internal_endnetgrent): Renamed to ...
37047 (__internal_endnetgrent): ... this. Add internal_function to
37048 definition. Add libc_hidden_def.
37049 (endnetgrent): Update caller.
37050 (internal_getnetgrent_r): Renamed to ...
37051 (__internal_getnetgrent_r): ... this. Add internal_function to
37052 definition. Add libc_hidden_def.
37053 (__getnetgrent_r): Update caller.
37054 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37056 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37058 * stdlib/longlong.h: Update from GCC.
37060 2012-08-16 Roland McGrath <roland@hack.frob.com>
37062 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37063 on _QL, which is set by umul_ppmm but never used.
37064 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37065 variables, which are set by GMP macros but never used.
37066 * stdio-common/_itowa.c (_itowa): Likewise.
37067 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37068 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37070 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37072 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37073 struct La_sh_regs is not constant.
37074 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37075 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37076 and struct La_sparc64_regs are not constant.
37078 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37080 * sysdeps/unix/sysv/linux/kernel-features.h
37081 (__ASSUME_POSIX_TIMERS): Remove.
37082 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37083 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37084 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37085 Make code unconditional.
37086 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37087 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37088 Make code unconditional.
37089 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37090 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37091 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37092 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37093 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37094 Make code unconditional.
37095 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37096 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37097 (__libc_missing_posix_timers): Remove.
37099 2012-08-15 Roland McGrath <roland@hack.frob.com>
37101 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37102 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37104 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37106 * elf/dl-sym.c: Include <stdlib.h>.
37108 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37109 constants, which avoids warnings in 32-bit builds.
37111 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37112 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37114 * misc/lseek.c: File moved to ...
37115 * io/lseek.c: ... here.
37117 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37119 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37120 shifting LEN more than 31 bits at once.
37122 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37125 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37126 segmentation fault for a case of two empty input strings.
37127 * string/test-strncasecmp.c (check1): Renamed to...
37128 (bz12205): ...this.
37129 (bz14195): Add new testcase for two empty input strings and N > 0.
37130 (test_main): Call new testcase, adapt for renamed function.
37132 2012-08-15 Andreas Jaeger <aj@suse.de>
37135 * crypt/md5test2.c: New test, based on test supplied by Serge
37136 Belyshev <belyshev@depni.sinp.msu.ru>.
37137 * crypt/Makefile (xtests): Add md5test-giant..
37138 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37140 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37143 * crypt/md5.c (md5_process_block): Don't assume the buffer
37144 length is less than 2**32.
37145 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37146 length is less than 2**64.
37148 2012-08-15 Roland McGrath <roland@hack.frob.com>
37150 * string/str-two-way.h: Include <sys/param.h>.
37151 (MAX): Macro removed.
37153 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37154 Move #define and #undef of memmove to just before and after
37155 including <string.h>.
37157 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37158 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37159 and after including <string.h>. Move declarations of
37160 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37161 to before #include "string/memmove.c".
37163 * include/dirent.h: Declare __getdirentries.
37165 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37166 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37168 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37170 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37171 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37172 * sysdeps/i386/configure: Regenerated.
37173 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37174 STABS_CURRENT_FILE, and STABS_FUN.
37175 (END): Remove call to STABS_FUN_END.
37176 (STABS_CURRENT_FILE1): Delete.
37177 (STABS_CURRENT_FILE): Likewise.
37178 (STABS_FUN): Likewise.
37179 (STABS_FUN_END): Likewise.
37180 (STABS_FUN2): Likewise.
37181 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37182 * sysdeps/x86_64/configure: Regenerated.
37184 2012-08-14 Roland McGrath <roland@hack.frob.com>
37186 * elf/dl-open.c: Include <atomic.h>.
37187 * elf/dl-lookup.c: Likewise.
37189 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37191 * sysdeps/unix/sysv/linux/kernel-features.h
37192 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37193 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37195 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37197 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37198 condition on __ASSUME_CLONE_THREAD_FLAGS.
37200 2012-08-14 Andreas Jaeger <aj@suse.de>
37202 * sysdeps/i386/fpu/libm-test-ulps: Update.
37204 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37206 * include/atomic.h (atomic_exchange_and_add): Split into ...
37207 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37210 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37214 2012-08-13 Jeff Law <law@redhat.com>
37216 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37217 null byte in the output string.
37219 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37221 * sysdeps/unix/sysv/linux/kernel-features.h
37222 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37223 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37224 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37225 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37226 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37227 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37228 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37230 2012-08-09 Jeff Law <law@redhat.com>
37233 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37234 When avoid_arena is set, don't retry in the that arena. Pick the
37235 next one, whatever it might be.
37236 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37237 (arena_lock): Pass in new parameter to arena_get2.
37238 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37240 (__libc_malloc): Unify retrying after main arena failure with
37241 __libc_memalign version.
37242 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37244 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37247 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37248 to __redirect_strstr.
37249 (__strstr_sse42): Use typeof __redirect_strstr.
37250 (__strstr_ia32): Likewise.
37251 (__libc_strstr): New prototype.
37252 (strstr): Renamed to ...
37253 (__libc_strstr): This.
37254 (strstr): New strong alias of __libc_strstr.
37255 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37256 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37259 (__libc_time): New prototype.
37260 (time_ifunc): Replace time with __libc_time.
37261 (time): New strong alias and hidden definition of __libc_time.
37262 (__GI_time): Remove strong alias.
37263 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37264 Include <stddef.h>.
37265 (memmove): Redefined to __redirect_memmove.
37266 (__memmove_sse2): Use typeof __redirect_memmove.
37267 (__memmove_ssse3): Likewise.
37268 (__memmove_ssse3_back): Likewise.
37269 (__libc_memmove): New prototype.
37270 (memmove): Renamed to ...
37271 (__libc_memmove): This.
37272 (memmove): New strong alias of __libc_memmove.
37274 2012-08-08 Mark Salter <msalter@redhat.com>
37277 (R_MN10300_TLS_GD): Define.
37278 (R_MN10300_TLS_LD): Likewise.
37279 (R_MN10300_TLS_LDO): Likewise.
37280 (R_MN10300_TLS_GOTIE): Likewise.
37281 (R_MN10300_TLS_IE): Likewise.
37282 (R_MN10300_TLS_LE): Likewise.
37283 (R_MN10300_TLS_DTPMOD): Likewise.
37284 (R_MN10300_TLS_DTPOFF): Likewise.
37285 (R_MN10300_TLS_TPOFF): Likewise.
37286 (R_MN10300_SYM_DIFF): Likewise.
37287 (R_MN10300_ALIGN): Likewise.
37288 (R_MN10300_NUM): Update.
37290 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37292 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37295 2012-08-08 Roland McGrath <roland@hack.frob.com>
37297 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37299 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37300 sysdeps/unix -> sysdeps/posix move.
37301 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37303 2012-08-07 Allan McRae <allan@archlinux.org>
37306 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37307 (SUNOS_CPP): Likewise.
37308 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37310 (open_input): Call CPP using execvp.
37312 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37314 * sysdeps/unix/sysv/linux/kernel-features.h
37315 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37316 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37317 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37318 (__ASSUME_WAITID_SYSCALL): Likewise.
37319 * sysdeps/unix/sysv/linux/dl-execstack.c
37320 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37321 code unconditional.
37322 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37324 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37325 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37326 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37328 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37330 [__ASSUME_WAITID_SYSCALL]: Likewise.
37331 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37333 2012-08-07 Roland McGrath <roland@hack.frob.com>
37335 * sysdeps/unix/closedir.c: Renamed to ...
37336 * sysdeps/posix/closedir.c: ... here.
37337 * sysdeps/unix/dirfd.c: Renamed to ...
37338 * sysdeps/posix/dirfd.c: ... here.
37339 * sysdeps/unix/dirstream.h: Renamed to ...
37340 * sysdeps/posix/dirstream.h: ... here.
37341 * sysdeps/unix/fdopendir.c: Renamed to ...
37342 * sysdeps/posix/fdopendir.c: ... here.
37343 * sysdeps/unix/opendir.c: Renamed to ...
37344 * sysdeps/posix/opendir.c: ... here.
37345 * sysdeps/unix/readdir.c: Renamed to ...
37346 * sysdeps/posix/readdir.c: ... here.
37347 * sysdeps/unix/readdir_r.c: Renamed to ...
37348 * sysdeps/posix/readdir_r.c: ... here.
37349 * sysdeps/unix/rewinddir.c: Renamed to ...
37350 * sysdeps/posix/rewinddir.c: ... here.
37351 * sysdeps/unix/seekdir.c: Renamed to ...
37352 * sysdeps/posix/seekdir.c: ... here.
37353 * sysdeps/unix/telldir.c: Renamed to ...
37354 * sysdeps/posix/telldir.c: ... here.
37355 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37356 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37357 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37358 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37360 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37361 * bits/fcntl.h: ... here.
37363 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37365 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37366 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37367 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37368 (struct flock): Move l_start, l_len to the beginning.
37369 Use __pid_t for l_pid.
37370 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37371 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37372 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37373 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37374 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37375 [__USE_LARGEFILE64] (struct flock64): New type.
37376 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37378 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37379 * bits/dirent.h: ... here.
37381 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37382 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37384 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37386 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37387 Change from 2.6.0 to 2.6.16.
37388 * sysdeps/unix/sysv/linux/configure: Regenerated.
37389 * sysdeps/unix/sysv/linux/kernel-features.h
37390 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37391 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37393 (__ASSUME_UTIMES): Likewise.
37394 (__ASSUME_CLONE_STOPPED): Remove.
37395 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37396 architectures, not kernel version.
37397 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37398 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37399 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37400 (__ASSUME_WAITID_SYSCALL): Likewise.
37401 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37402 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37403 * README: State 2.6.16 as minimum Linux kernel version. Do not
37404 refer to older versions.
37406 2012-08-06 Roland McGrath <roland@hack.frob.com>
37408 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37409 Define alphasort64 as an alias.
37410 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37411 Define versionsort64 as an alias.
37412 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37413 Define scandir64 as an alias.
37414 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37415 Define scandirat64 as an alias.
37416 * dirent/alphasort64.c (alphasort64):
37417 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37418 * dirent/versionsort64.c: Likewise.
37419 * dirent/scandir64.c: Likewise.
37420 * dirent/scandirat64.c: Likewise.
37421 * sysdeps/wordsize-64/alphasort.c: File removed.
37422 * sysdeps/wordsize-64/alphasort64.c: File removed.
37423 * sysdeps/wordsize-64/scandir.c: File removed.
37424 * sysdeps/wordsize-64/scandir64.c: File removed.
37425 * sysdeps/wordsize-64/scandirat.c: File removed.
37426 * sysdeps/wordsize-64/scandirat64.c: File removed.
37427 * sysdeps/wordsize-64/versionsort.c: File removed.
37428 * sysdeps/wordsize-64/versionsort64.c: File removed.
37429 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37430 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37431 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37432 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37433 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37434 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37435 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37436 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37438 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37439 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37440 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37441 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37442 [defined __arch64__ || defined __sparcv9]
37443 (__INO_T_MATCHES_INO64_T): New macro.
37444 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37445 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37446 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37447 * sysdeps/unix/sysv/linux/bits/dirent.h
37448 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37449 (_DIRENT_MATCHES_DIRENT64): New macro.
37451 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37452 Define lockf64 as an alias.
37453 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37454 Define fseeko64 as an alias.
37455 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37456 Define ftello64 as an alias.
37457 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37458 Define _IO_fgetpos64 and fgetpos64 as aliases.
37459 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37460 Define _IO_fsetpos64 and fsetpos64 as aliases.
37461 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37462 Conditionalize body on this.
37463 * libio/fseeko64.c: Likewise.
37464 * libio/ftello64.c: Likewise.
37465 * libio/iofgetpos64.c: Likewise.
37466 * libio/iofsetpos64.c: Likewise.
37467 * sysdeps/wordsize-64/lockf.c: File removed.
37468 * sysdeps/wordsize-64/lockf64.c: File removed.
37469 * sysdeps/wordsize-64/fseeko.c: File removed.
37470 * sysdeps/wordsize-64/fseeko64.c: File removed.
37471 * sysdeps/wordsize-64/ftello.c: File removed.
37472 * sysdeps/wordsize-64/ftello64.c: File removed.
37473 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37474 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37475 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37476 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37477 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37478 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37479 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37480 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37481 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37482 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37483 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37484 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37485 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37486 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37488 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37489 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37490 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37491 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37492 [defined __arch64__ || defined __sparcv9]
37493 (__OFF_T_MATCHES_OFF64_T): New macro.
37494 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37495 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37496 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37497 (__OFF_T_MATCHES_OFF64_T): New macro.
37499 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37501 * stdlib/secure-getenv.c (__secure_getenv): Replace
37502 GLIBC_2_16 with GLIBC_2_17.
37504 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37506 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37507 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37509 2012-08-03 David S. Miller <davem@davemloft.net>
37511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37513 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37515 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37517 (__ASSUME_CORRECT_SI_PID): Likewise.
37518 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37519 (__ASSUME_TMPFS_NAME): Likewise.
37520 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37521 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37522 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37523 (HAVE_AUX_SECURE): Make definition unconditional.
37524 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37525 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37527 2012-08-03 Roland McGrath <roland@hack.frob.com>
37529 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37530 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37531 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37532 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37533 __eloop_threshold instead of SYMLOOP_MAX.
37535 * sysdeps/generic/eloop-threshold.h: New file.
37536 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37538 * elf/chroot_canon.c (chroot_canon): Likewise.
37540 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37544 Change to 2.6.0 everywhere.
37545 * sysdeps/unix/sysv/linux/configure: Regenerated.
37546 * sysdeps/unix/sysv/linux/kernel-features.h
37547 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37548 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37550 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37551 (__ASSUME_FUTEX_REQUEUE): Remove.
37552 (__ASSUME_STATFS64): Define unconditionally.
37553 (__ASSUME_AT_SECURE): Likewise.
37554 (__ASSUME_CORRECT_SI_PID): Likewise.
37555 (__ASSUME_TGKILL): Define without depending on kernel version for
37557 (__ASSUME_UTIMES): Likewise.
37558 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37560 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37561 (__ASSUME_TMPFS_NAME): Likewise.
37562 * README: Update reference to Linux kernel versions.
37564 2012-08-02 Marek Polacek <polacek@redhat.com>
37567 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37568 libc_cv_asm_type_prefix with %.
37569 * configure: Regenerated.
37570 * include/libc-symbols.h: Remove comment about
37571 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37572 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37573 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37574 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37575 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37576 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37577 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37578 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37579 * elf/tst-unique2mod1.c: Likewise.
37580 * elf/tst-unique1mod2.c: Likewise.
37581 * elf/tst-unique1mod1.c: Likewise.
37582 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37583 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37584 Replace ASM_TYPE_DIRECTIVE with .type.
37585 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37586 * sysdeps/i386/sysdep.h: Likewise.
37587 * sysdeps/x86_64/sysdep.h: Likewise.
37588 * sysdeps/sh/sysdep.h: Likewise.
37589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37590 Do not define ASM_TYPE_DIRECTIVE.
37591 * sysdeps/powerpc/sysdep.h: Likewise.
37592 * sysdeps/powerpc/powerpc32/sysdep.h:
37593 Replace ASM_TYPE_DIRECTIVE with .type.
37594 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37595 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37596 * sysdeps/i386/fpu/e_powf.S: Likewise.
37597 * sysdeps/i386/fpu/e_expl.S: Likewise.
37598 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37599 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37600 * sysdeps/i386/fpu/e_pow.S: Likewise.
37601 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37602 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37603 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37604 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37605 * sysdeps/i386/fpu/e_log2.S: Likewise.
37606 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37607 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37608 * sysdeps/i386/fpu/e_powl.S: Likewise.
37609 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37610 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37611 * sysdeps/i386/fpu/e_logl.S: Likewise.
37612 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37613 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37614 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37615 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37616 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37617 * sysdeps/i386/fpu/e_log.S: Likewise.
37618 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37619 * sysdeps/i386/fpu/e_logf.S: Likewise.
37620 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37621 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37622 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37623 * sysdeps/i386/fpu/e_log10.S: Likewise.
37624 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37625 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37626 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37627 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37628 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37629 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37630 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37631 * sysdeps/i386/i686/strtok.S: Likewise.
37632 * sysdeps/i386/i386-mcount.S: Likewise.
37633 * sysdeps/i386/strtok.S: Likewise.
37634 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37635 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37636 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37637 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37638 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37639 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37640 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37641 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37642 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37643 * sysdeps/x86_64/_mcount.S: Likewise.
37644 * sysdeps/x86_64/strtok.S: Likewise.
37645 * sysdeps/sh/_mcount.S: Likewise.
37647 2012-08-01 Roland McGrath <roland@hack.frob.com>
37649 * libio/iofopen.c: Include <fcntl.h>.
37650 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37651 (_IO_fopen64, fopen64): Define as aliases.
37652 * libio/iofopen64.c: Include <fcntl.h>.
37653 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37654 Conditionalize body on this.
37655 * sysdeps/wordsize-64/iofopen.c: File removed.
37656 * sysdeps/wordsize-64/iofopen64.c: File removed.
37658 2012-08-01 Marek Polacek <polacek@redhat.com>
37660 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37661 Use dlfcn directly instead of a variable.
37662 (binfmt-subdir): Do not define.
37665 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37667 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37668 Remove all definitions.
37669 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37670 <kernel-features.h>.
37671 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37672 (miss_F_GETOWN_EX): Remove all definitions.
37673 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37675 [!__ASSUME_FCNTL64]: Remove conditional code.
37676 [__ASSUME_FCNTL64]: Make code unconditional.
37677 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37678 <kernel-features.h>.
37679 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37680 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37681 (lockf64) [__NR_fcntl64]: Make code unconditional.
37682 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37684 * sysdeps/unix/sysv/linux/kernel-features.h
37685 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37686 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37687 Make code unconditional.
37688 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37689 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37691 [__NR_vfork]: Make code unconditional.
37692 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37693 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37695 [__NR_vfork]: Make code unconditional.
37696 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37697 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37699 2012-08-01 Roland McGrath <roland@hack.frob.com>
37701 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37702 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37704 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37705 Define mkstemp64 as an alias.
37706 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37707 Define mkstemps64 as an alias.
37708 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37709 Define mkostemp64 as an alias.
37710 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37711 Define mkostemps64 as an alias.
37712 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37713 Conditionalize body on this.
37714 * misc/mkostemp64.c: Likewise.
37715 * misc/mkostemps64.c: Likewise.
37716 * misc/mkstemps64.c: Likewise.
37717 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37718 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37719 * sysdeps/wordsize-64/mkostemp.c: File removed.
37720 * sysdeps/wordsize-64/mkstemp.c: File removed.
37721 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37722 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37723 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37724 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37727 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37728 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37729 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37730 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37732 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37733 compat_symbol macros from <shlib-compat.h> rather than the underlying
37734 default_symbol_version and symbol_version macros, so that DEFAULT
37735 lines in shlib-versions are respected.
37736 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37738 2012-08-01 Florian Weimer <fweimer@redhat.com>
37740 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37741 Declare with warn_unused_result.
37742 (setgid, setregid, setegid, setresgid): Likewise.
37743 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37745 * WUR-REPORT: Remove set*id functions.
37747 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37749 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37751 2012-07-31 Roland McGrath <roland@hack.frob.com>
37754 * include/sys/socket.h (__libc_accept, __libc_accept4):
37755 Add attribute_hidden.
37756 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37758 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37760 * inet/getnetgrent_r.c (setup): Likewise.
37762 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37764 2012-07-31 David S. Miller <davem@davemloft.net>
37766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37768 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37771 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37772 value between 1.0 and 2.0 and smaller part has absolute value less
37774 * math/s_clog10.c (__clog10): Likewise.
37775 * math/s_clog10f.c (__clog10f): Likewise.
37776 * math/s_clog10l.c (__clog10l): Likewise.
37777 * math/s_clogf.c (__clogf): Likewise.
37778 * math/s_clogl.c (__clogl): Likewise.
37779 * math/libm-test.inc (clog_test): Add more tests.
37780 (clog10_test): Likewise.
37781 * sysdeps/i386/fpu/libm-test-ulps: Update.
37782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37784 2012-07-31 Florian Weimer <fweimer@redhat.com>
37786 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37787 Exit with zero in case no suitable GID is found, and write a
37788 message to standard error.
37790 2012-07-30 Roland McGrath <roland@hack.frob.com>
37792 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37794 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37795 (MAXPATHLEN): Removed.
37796 (NOGROUP, NODEV): New macros.
37797 (setbit, clrbit, isset, isclr): New macros.
37798 (howmany, roundup, powerof2): New macros.
37799 (DEV_BSIZE): New macro.
37801 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37802 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37804 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37805 definition on [!__NO_LONG_DOUBLE_MATH].
37807 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37808 PTR_MANGLE and PTR_DEMANGLE.
37810 * socket/accept4.c (accept4): Rename to __libc_accept4.
37811 Define accept4 as a weak alias.
37813 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37814 on [_DIRENT_HAVE_D_TYPE].
37815 * io/ftw.c (ftw_dir): Likewise.
37817 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37819 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37821 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37822 Use the BSD numbers rather than the arbitrary ones we had.
37823 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37824 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37825 (SIGXCPU, SIGXFSZ): New macros.
37828 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37829 initializer on [_LIBC_REENTRANT].
37831 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37832 definitions inside [_POSIX_MAPPED_FILES].
37834 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37836 * dirent/opendir.c: Include <fcntl.h>.
37838 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37839 (__libc_getspecific): Likewise.
37840 (__libc_key_create): Likewise.
37842 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37843 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37844 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37845 (tmpfile64): Define as alias.
37846 * sysdeps/wordsize-64/tmpfile.c: File removed.
37847 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37848 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37849 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37851 * stdio-common/vfscanf.c: Include <stdbool.h>.
37852 * nss/makedb.c: Likewise.
37853 * stdio-common/_i18n_number.h: Likewise.
37854 * argp/argp-help.c: Likewise.
37855 * posix/wordexp.c: Likewise.
37856 * sysdeps/posix/spawni.c: Likewise.
37857 * nss/nss_files/files-initgroups.c: Likewise.
37858 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37859 * nss/nss_files/files-initgroups.c: Likewise.
37860 * nss/nss_db/db-netgrp.c: Likewise.
37861 * nss/nss_db/db-initgroups.c: Likewise.
37862 * io/fchmodat.c: Include <sys/stat.h>.
37864 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37865 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37867 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37870 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37871 Add multiple inclusion protection.
37873 2012-07-27 David S. Miller <davem@davemloft.net>
37875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37877 2012-07-27 Gary Benson <gbenson@redhat.com>
37880 * elf/rtld.c: Include <stap-probe.h>.
37881 (dl_main): Added static probes "init_start" and "init_complete".
37882 * elf/dl-load.c: Include <stap-probe.h>.
37883 (lose): Take new parameter "nsid".
37884 Added static probe "map_failed".
37885 (_dl_map_object_from_fd): Pass namespace id to lose.
37886 Added static probe "map_start".
37887 (open_verify): Pass namespace id to lose.
37888 * elf/dl-open.c: Include <stap-probe.h>.
37889 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37890 and "reloc_complete".
37891 * elf/dl-close.c: Include <stap-probe.h>.
37892 (_dl_close_worker): Added static probes "unmap_start" and
37894 * elf/rtld-debugger-interface.txt: New file documenting the above.
37896 2012-07-26 Roland McGrath <roland@hack.frob.com>
37898 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37899 rather than a string variable.
37900 * sunrpc/rpc_main.c (h_output): Likewise.
37901 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37903 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37905 * inet/check_native.c: New file.
37907 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37910 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37911 if larger part has absolute value 1.0.
37912 * math/s_clog10.c (__clog10): Likewise.
37913 * math/s_clog10f.c (__clog10f): Likewise.
37914 * math/s_clog10l.c (__clog10l): Likewise.
37915 * math/s_clogf.c (__clogf): Likewise.
37916 * math/s_clogl.c (__clogl): Likewise.
37917 * math/libm-test.inc (clog_test): Add more tests.
37918 (clog10_test): Likewise.
37919 * sysdeps/i386/fpu/libm-test-ulps: Update.
37920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37922 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37923 (pltexit): Likewise.
37924 (La_regs): Likewise.
37925 (La_retval): Likewise.
37926 (int_retval): Likewise.
37927 Update #error for removed macros to refer only to definitions in
37929 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37931 (pltexit): Likewise.
37932 (La_regs): Likewise.
37933 (La_retval): Likewise.
37934 (int_retval): Likewise.
37935 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37937 (pltexit): Likewise.
37938 (La_regs): Likewise.
37939 (La_retval): Likewise.
37940 (int_retval): Likewise.
37941 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37943 (pltexit): Likewise.
37944 (La_regs): Likewise.
37945 (La_retval): Likewise.
37946 (int_retval): Likewise.
37947 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37949 (pltexit): Likewise.
37950 (La_regs): Likewise.
37951 (La_retval): Likewise.
37952 (int_retval): Likewise.
37953 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37955 (pltexit): Likewise.
37956 (La_regs): Likewise.
37957 (La_retval): Likewise.
37958 (int_retval): Likewise.
37959 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37961 (pltexit): Likewise.
37962 (La_regs): Likewise.
37963 (La_retval): Likewise.
37964 (int_retval): Likewise.
37965 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37966 macro definitions in tst-audit.h.
37967 * sysdeps/i386/tst-audit.h: New file.
37968 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37969 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37970 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37971 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37972 * sysdeps/sh/tst-audit.h: Likewise.
37973 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37974 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37975 * sysdeps/x86_64/tst-audit.h: Likewise.
37977 2012-07-26 Andreas Jaeger <aj@suse.de>
37979 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37982 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37983 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37984 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37986 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37987 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37988 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37990 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37993 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37995 (si_call_addr, si_syscall, si_arch): Define new macro.
37996 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37998 (si_call_addr, si_syscall, si_arch): Define new marcro.
37999 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38001 (si_call_addr, si_syscall, si_arch): Define new macro.
38002 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38004 (si_call_addr, si_syscall, si_arch): Define new macro.
38006 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38009 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38010 Change to 2.4.21 where previously 2.4.1.
38011 * sysdeps/unix/sysv/linux/configure: Regenerated.
38012 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38013 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38014 Linux kernel version.
38015 (__ASSUME_STD_AUXV): Remove.
38016 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38018 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38019 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38020 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38021 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38022 (__ASSUME_NETLINK_SUPPORT): Likewise.
38023 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38024 (__no_netlink_support): Remove conditional definition.
38025 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38027 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38028 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38029 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38030 (if_nameindex_ioctl): Remove.
38031 (if_nameindex_netlink): Do not handle __no_netlink_support.
38032 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38034 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38035 Remove conditional code.
38036 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38038 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38040 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38041 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38042 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38044 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38045 [!__ASSUME_STD_AUXV]: Remove conditional code.
38046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38047 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38048 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38050 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38051 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38053 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38055 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38056 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38058 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38060 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38063 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38066 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38067 code unconditional.
38068 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38070 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38072 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38075 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38077 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38080 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38081 code unconditional.
38082 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38084 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38086 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38089 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38090 code unconditional.
38091 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38093 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38095 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38098 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38100 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38101 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38102 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38103 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38104 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38105 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38106 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38107 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38108 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38109 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38110 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38111 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38112 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38113 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38114 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38115 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38116 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38117 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38118 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38120 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38121 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38122 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38124 2012-07-25 Florian Weimer <fweimer@redhat.com>
38126 * Versions.def: Add GLIBC_2.17.
38127 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38128 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38129 Introduce __libc_secure_getenv.
38130 * stdlib/Versions (2.17): Add secure_getenv
38131 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38132 * stdlib/secure-getenv.c: Rename __secure_getenv to
38133 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38134 symbol __secure_getenv for GLIBC_2.0.
38135 * stdlib/tst-secure-getenv.c: New.
38136 * stdlib/Makefile (tests): Add testcase.
38137 * manual/startup.texi (Environment Access): Document
38139 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38140 __libc_secure_getenv.
38141 * inet/ruserpass.c (ruserpass): Likewise.
38142 * malloc/mtrace.c (mtrace): Likewise.
38143 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38144 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38145 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38146 * sysdeps/posix/tempname.c: Likewise. Evaluate
38147 HAVE_SECURE_GETENV.
38148 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38149 __secure_getenv to __libc_secure_getenv.
38150 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38157 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38163 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38165 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38166 (struct La_i86_retval): Likewise.
38167 (struct La_x86_64_regs): Likewise.
38168 (struct La_x86_64_retval): Likewise.
38169 (struct La_x32_regs): Likewise.
38170 (struct La_x32_retval): Likewise.
38171 (struct La_ppc32_regs): Likewise.
38172 (struct La_ppc32_retval): Likewise.
38173 (struct La_ppc64_regs): Likewise.
38174 (struct La_ppc64_retval): Likewise.
38175 (struct La_sh_regs): Likewise.
38176 (struct La_sh_retval): Likewise.
38177 (struct La_s390_32_regs): Likewise.
38178 (struct La_s390_32_retval): Likewise.
38179 (struct La_s390_64_regs): Likewise.
38180 (struct La_s390_64_retval): Likewise.
38181 (struct La_sparc32_regs): Likewise.
38182 (struct La_sparc32_retval): Likewise.
38183 (struct La_sparc64_regs): Likewise.
38184 (struct La_sparc64_retval): Likewise.
38185 (struct audit_ifaces): Remove architecture-specific pltenter and
38187 * sysdeps/i386/ldsodefs.h: New file.
38188 * sysdeps/powerpc/ldsodefs.h: Likewise.
38189 * sysdeps/s390/ldsodefs.h: Likewise.
38190 * sysdeps/sh/ldsodefs.h: Likewise.
38191 * sysdeps/sparc/ldsodefs.h: Likewise.
38192 * sysdeps/x86_64/ldsodefs.h: Likewise.
38194 2012-07-25 Marek Polacek <polacek@redhat.com>
38197 * math/libm-test.inc (yn_test): Add another test.
38198 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38199 to ERANGE when the result is +-Inf.
38200 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38201 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38202 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38203 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38205 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38207 * conform/data/time.h-data (NULL): Use macro-constant. Require
38209 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38211 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38213 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38215 * configure.in <sysdeps resolving>: Correct printing
38217 * configure: Regenerate.
38219 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38221 * math/w_ilogb.c: Include <limits.h>.
38222 * math/w_ilogbl.c: Likewise.
38224 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38226 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38227 va_copy. Document allowing for unavailable va_copy only as
38228 pre-C99 compatibility.
38229 * manual/string.texi (Copying and Concatenation): Use va_copy
38230 instead of __va_copy in concat example.
38232 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38234 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38235 (__sendto): Use create_address_port. Initialize APORT and deallocate
38238 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38239 with O_NOLINK passed to __file_name_lookup.
38241 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38242 with O_NOLINK passed to __file_name_lookup.
38244 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38245 negative N or less than NGIDS.
38247 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38248 type to string_t. Set ERANGE as errno and return it if NAME is not big
38249 enough. Use memcpy instead of strncpy.
38251 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38253 * elf/Makefile (check-data): Remove.
38254 (localplt.data): New vpath directive.
38255 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38256 instead of $(check-data).
38257 * scripts/data/localplt-generic.data: Move to ...
38258 * sysdeps/generic/localplt.data: ... here.
38259 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38260 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38261 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38264 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38267 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38270 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38273 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38276 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38280 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38282 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38283 PPC32 and PPC64 files.
38284 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38285 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38287 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38289 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38290 __makecontext_ret to ...
38291 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38292 ... here and call exit if uc_link is NULL. New file.
38293 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38294 __makecontext_ret.S.
38295 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38296 __makecontext_ret to ...
38297 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38298 ... here and call exit if uc_link is NULL. New file.
38299 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38300 __makecontext_ret.S.
38302 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38304 * elf/elf.h (R_390_IRELATIVE): New definition.
38305 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38306 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38307 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38308 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38309 (elf_machine_lazy_rel): Likewise.
38310 * sysdeps/s390/dl-irel.h: New file.
38311 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38312 * sysdeps/s390/s390-64/memset.S: New asm code.
38313 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38314 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38315 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38316 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38317 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38318 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38319 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38320 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38321 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38322 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38323 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38324 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38325 * sysdeps/s390/s390-32/memset.S: New asm code.
38326 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38328 2012-07-17 Marek Polacek <polacek@redhat.com>
38331 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38332 * sysdeps/s390/s390-64/configure.in: Likewise.
38333 * sysdeps/sparc/configure.in: Likewise.
38334 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38335 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38336 * sysdeps/i386/configure.in: Likewise.
38337 * sysdeps/x86_64/configure.in: Likewise.
38338 * sysdeps/sh/configure.in: Likewise.
38339 * sysdeps/s390/s390-32/configure: Regenerated.
38340 * sysdeps/s390/s390-64/configure: Likewise.
38341 * sysdeps/x86_64/configure: Likewise.
38342 * sysdeps/sh/configure: Likewise.
38343 * sysdeps/powerpc/powerpc64/configure: Likewise.
38344 * sysdeps/powerpc/powerpc32/configure: Likewise.
38345 * sysdeps/sparc/configure: Likwise.
38346 * sysdeps/i386/configure: Likewise.
38348 * elf/dl-open.c: Comment fixes.
38350 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38352 * Makefile [CXX] (check-data): Remove.
38353 [CXX] (c++-types.data): New vpath directive.
38354 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38355 vpath. Do not allow for C++ type data being missing.
38356 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38357 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38358 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38359 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38360 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38361 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38362 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38365 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38368 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38371 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38374 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38377 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38378 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38380 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38383 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38386 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38387 definitions to architecture-specific files.
38388 (TLS_IE): Likewise.
38389 (TLS_LD): Likewise.
38390 (TLS_GD): Likewise.
38391 * sysdeps/i386/tls-macros.h: New file.
38392 * sysdeps/powerpc/tls-macros.h: Likewise.
38393 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38394 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38395 * sysdeps/sh/tls-macros.h: Likewise.
38396 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38397 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38398 * sysdeps/x86_64/tls-macros.h: Likewise.
38400 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38402 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38403 zero value for regular exit case.
38405 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38406 (__start_context): Preserve zero value for regular exit case.
38408 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38409 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38411 * manual/setjmp.texi (setcontext): Clarify normal process
38412 termination when uc_link is the null pointer.
38413 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38416 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38418 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38419 preprocessor. Test for each exception mask separately.
38421 2012-07-16 Andreas Jaeger <aj@suse.de>
38423 * po/ru.po: Update from translation team.
38425 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38427 * conform/data/string.h-data (NULL): Use macro-constant. Require
38429 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38430 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38431 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38432 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38433 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38435 2012-07-13 Andreas Jaeger <aj@suse.de>
38437 * po/fr.po: Update from translation team.
38439 2012-07-12 Marek Polacek <polacek@redhat.com>
38442 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38443 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38446 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38449 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38450 Change to 2.4.1 where previously 2.4.0.
38451 * sysdeps/unix/sysv/linux/configure: Regenerated.
38452 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38453 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38455 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38456 (__ASSUME_AT_CLKTCK): Remove.
38457 (__ASSUME_AT_PAGESIZE): Likewise.
38458 (__ASSUME_AT_XID): Likewise.
38459 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38460 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38461 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38463 (HAVE_AUX_PAGESIZE): Likewise.
38464 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38465 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38466 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38468 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38472 the temporary buffer used to invoke __gethostbyname2_r,
38473 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38474 host_data / struct gaih_addrtuple.
38475 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38476 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38477 header file nss/nsswitch.h.
38478 * nss/nsswitch.h (global scope): Add definition of implementation
38479 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38480 resolv/nss_dns/dns-host.c).
38482 2012-07-11 Andreas Jaeger <aj@suse.de>
38484 * po/fr.po: Update from translation team.
38486 * po/sv.po: Update from translation team
38487 * po/fr.po: Another update from translation team.
38489 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38491 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38492 for subnormals or multiply small sinh result by itself.
38493 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38496 2012-07-11 David S. Miller <davem@davemloft.net>
38498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38500 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38503 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38504 (INTERNAL_MARK): Shift it here.
38506 2012-07-10 Marek Polacek <polacek@redhat.com>
38509 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38510 libc_cv_asm_global_directive with .globl.
38511 * configure: Regenerated.
38512 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38514 * sysdeps/i386/configure: Regenerated.
38515 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38517 * sysdeps/x86_64/configure: Regenerated.
38518 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38519 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38520 * elf/tst-unique2mod2.c: Likewise.
38521 * elf/tst-unique2mod1.c: Likewise.
38522 * elf/tst-unique1mod2.c: Likewise.
38523 * elf/tst-unique1mod1.c: Likewise.
38524 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38525 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38526 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38527 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38528 * sysdeps/mach/sysdep.h: Likewise.
38529 * sysdeps/i386/sysdep.h: Likewise.
38530 * sysdeps/i386/i386-mcount.S: Likewise.
38531 * sysdeps/x86_64/_mcount.S: Likewise.
38532 * sysdeps/x86_64/sysdep.h: Likewise.
38533 * sysdeps/sh/_mcount.S: Likewise.
38534 * sysdeps/sh/sysdep.h: Likewise.
38535 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38536 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38537 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38538 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38539 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38540 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38541 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38542 * locale/localeinfo.h: Likewise.
38543 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38544 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38546 2012-07-09 Roland McGrath <roland@hack.frob.com>
38549 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38551 * manual/message.texi (The Uniforum approach): Likewise.
38552 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38553 (glibc iconv Implementation): Likewise.
38555 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38558 * math/s_clog.c (__clog): Avoid scaling a value down where that
38559 could result in underflow.
38560 * math/s_clog10.c (__clog10): Likewise.
38561 * math/s_clog10f.c (__clog10f): Likewise.
38562 * math/s_clog10l.c (__clog10l): Likewise.
38563 * math/s_clogf.c (__clogf): Likewise.
38564 * math/s_clogl.c (__clogl): Likewise.
38565 * math/libm-test.inc (clog_test): Add more tests.
38566 (clog10_test): Likewise.
38567 * sysdeps/i386/fpu/libm-test-ulps: Update.
38568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38570 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38573 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38574 by 7 not 8 to examine high bit of fractional part.
38577 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38578 for call to __mcount_internal.
38579 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38580 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38581 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38583 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38586 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38587 approximation for values within 0x1p-13f of an odd multiple of
38589 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38590 exception. Add more tests.
38591 * sysdeps/i386/fpu/libm-test-ulps: Update.
38594 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38595 inputs and return -1 for them. Do not check for +Inf in case not
38596 reachable for +Inf.
38597 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38598 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38599 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38600 and return -1 for them. Do not check for +Inf in case not
38601 reachable for +Inf.
38602 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38604 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38605 and return -1 for them. Do not check for +Inf in case not
38606 reachable for +Inf.
38607 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38608 spurious underflow.
38609 * sysdeps/i386/fpu/libm-test-ulps: Update.
38610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38612 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38614 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38616 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38620 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38621 could result in spurious underflow. Scale down values above
38622 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38623 * math/s_csqrtf.c (__csqrtf): Likewise.
38624 * math/s_csqrtl.c (__csqrtl): Likewise.
38625 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38626 spurious underflow.
38627 * sysdeps/i386/fpu/libm-test-ulps: Update.
38628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38630 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38632 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38634 * catgets/xopen-msg.awk: New file.
38635 * catgets/xopen-msg.sed: Removed.
38637 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38639 * intl/po2test.awk: New file.
38640 * intl/po2test.sed: Removed.
38642 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38645 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38646 or multiply small sinh result by itself.
38647 * math/s_ctanf.c (__ctanf): Likewise.
38648 * math/s_ctanh.c (__ctanh): Likewise.
38649 * math/s_ctanhf.c (__ctanhf): Likewise.
38650 * math/s_ctanhl.c (__ctanhl): Likewise.
38651 * math/s_ctanl.c (__ctanl): Likewise.
38652 * math/libm-test.inc (ctan_test_tonearest): New function.
38653 (ctan_test_towardzero): Likewise.
38654 (ctan_test_downward): Likewise.
38655 (ctan_test_upward): Likewise.
38656 (ctanh_test_tonearest): Likewise.
38657 (ctanh_test_towardzero): Likewise.
38658 (ctanh_test_downward): Likewise.
38659 (ctanh_test_upward): Likewise.
38660 (main): Call these new functions.
38661 * sysdeps/i386/fpu/libm-test-ulps: Update.
38662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38664 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38666 * .gitignore: Delete /ports entry.
38668 2012-07-03 Andreas Jaeger <aj@suse.de>
38670 * po/bg.po: Update from translation team.
38671 * po/cs.po: Likewise.
38672 * po/de.po: Likewise.
38673 * po/hr.po: Likewise.
38674 * po/nl.pl: Likewise.
38675 * po/pl.po: Likewise.
38676 * po/vi.po: Likewise.
38678 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38680 * Makeconfig [!+link] (+link-before-libc): New variable.
38681 [!+link] (+link-after-libc): Likewise.
38682 [!+link] (+link-tests): Likewise.
38683 [!+link] (+link): Define in terms of $(+link-before-libc) and
38684 $(+link-after-libc).
38685 [!+link-static] (+link-static-before-libc): New variable.
38686 [!+link-static] (+link-static-after-libc): Likewise.
38687 [!+link-static] (+link-static-tests): Likewise.
38688 [!+link-static] (+link-static): Define in terms of
38689 $(+link-static-before-libc) and $(+link-static-after-libc).
38690 [build-shared] (link-libc-before-gnulib): New variable.
38691 [build-shared] (link-libc-tests): Likewise.
38692 [build-shared] (link-libc): Define in terms of
38693 $(link-libc-before-gnulib).
38694 [!build-shared] (link-libc-tests): New variable.
38695 (link-libc-static-tests): New variable.
38696 [!gnulib] (gnulib-arch): New variable.
38697 [!gnulib] (gnulib-tests): Likewise.
38698 [!gnulib] (static-gnulib-arch): Likewise.
38699 [!gnulib] (static-gnulib-tests): Likewise.
38700 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38701 Define with "=" instead of ":=".
38702 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38703 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38704 * Rules (binaries-all-notests): New variable.
38705 (binaries-all-tests): Likewise.
38706 (binaries-static-notests): Likewise.
38707 (binaries-static-tests): Likewise.
38708 (binaries-all): Define using $(binaries-all-notests) and
38709 $(binaries-all-tests).
38710 (binaries-static): Define using $(binaries-static-notests) and
38711 $(binaries-static-tests).
38712 (binaries-shared-tests): New variable.
38713 (binaries-shared-notests): Likewise.
38714 (binaries-shared): Remove variable.
38715 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38716 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38717 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38718 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38719 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38720 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38721 * elf/Makefile (sln-modules): New variable.
38722 (extra-objs): Add $(sln-modules:=.o).
38723 (ldconfig-modules): Add static-stubs.
38724 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38725 * elf/static-stubs.c: New file.
38728 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38729 by 7 not 8 to examine high bit of fractional part. Use volatile
38730 variables when splitting into final array of floats if
38731 __FLT_EVAL_METHOD__ != 0.
38732 * math/libm-test.inc (cos_test): Add another test.
38733 (sin_test): Likewise.
38734 * sysdeps/i386/fpu/libm-test-ulps: Update.
38737 * math/libm-test.inc (cosh_test): Add more tests.
38739 * version.h (RELEASE): Set to "development".
38740 (VERSION): Set to "2.16.90".
38742 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38744 * NEWS: Update copyright. Remove last-updated date.
38745 Mention math library bug fixes and timezone data changes.
38746 * README: Mention GNU/Hurd, x32, and HPPA support status.
38748 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38750 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38752 2012-06-27 Andreas Jaeger <aj@suse.de>
38754 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38756 2012-06-25 Andreas Jaeger <aj@suse.de>
38758 * sysdeps/s390/fpu/libm-test-ulps: Update.
38760 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38761 Thomas Schwinge <thomas@codesourcery.com>
38763 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38764 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38768 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38770 * sysdeps/mach/start.c: Remove file.
38771 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38772 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38773 * sysdeps/sh/init-first.c: Likewise.
38775 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38776 registers for frame unwinding purposes, add CFI directives.
38777 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38778 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38779 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38782 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38783 __fortify_fail returning.
38784 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38786 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38787 sysdeps/sh/____longjmp_chk.S.
38788 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38789 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38790 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38791 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38793 * sysdeps/sh/abort-instr.h: New file.
38794 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38795 process in case exit returns.
38797 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38798 initialize the GOT register before use.
38800 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38801 calculation of ARGC > 4.
38803 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38804 meaningful names to some local labels.
38806 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38807 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38809 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38810 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38811 (__arch_compare_and_exchange_val_16_acq): Likewise.
38812 (__arch_compare_and_exchange_val_32_acq): Likewise.
38813 (atomic_exchange_and_add): Fix gUSA sequence.
38814 (atomic_add): Likewise.
38815 (atomic_add_negative): Likewise.
38816 (atomic_add_zero): Likewise.
38817 (atomic_bit_test_set): Likewise.
38819 2012-06-22 Andreas Schwab <schwab@redhat.com>
38822 * include/link.h (struct link_map): Add l_free_initfini.
38823 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38825 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38826 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38827 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38830 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38832 * configure.in: Use AC_LANG_SOURCE.
38833 * configure: Regenerate.
38835 2012-06-22 Roland McGrath <roland@hack.frob.com>
38837 * configure.in (libc_cv_localstatedir): New substituted variable.
38838 * configure: Regenerated.
38839 * config.make.in (localstatedir): New variable, substituted from
38840 libc_cv_localstatedir.
38841 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38842 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38843 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38844 * sysdeps/gnu/configure: Regenerated.
38846 2012-06-21 Jeff Law <law@redhat.com>
38849 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38850 free. Simplify list management for _LIBC case.
38852 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38855 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38856 Clear sign bit of 64-bit integer value before comparing against
38859 * sysdeps/mach/configure: Regenerated.
38861 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38864 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38866 2012-06-21 Jeff Law <law@redhat.com>
38869 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38870 uint16_t for elements in the "seen" array to avoid char overflows.
38871 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38872 * elf/dl-open.c (dl_open_worker): Likewise.
38874 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38876 * scripts/list-sources.sh: Scan PORTS for translations.
38877 * po/libc.pot: Regenerated.
38879 2012-06-21 Andreas Jaeger <aj@suse.de>
38882 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38884 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38885 * bits/byteswap-16.h (__bswap_16): Likewise.
38886 * bits/byteswap.h (__bswap_constant_16): Likewise.
38888 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38891 * sysdeps/i386/fpu_control.h: Removed.
38892 * sysdeps/x86_64/fpu_control.h: Moved to ...
38893 * sysdeps/x86/fpu_control.h: Here.
38895 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38896 (_FPU_SETCW): Likewise.
38898 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38901 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38902 * sysdeps/x86/fpu/bits/mathinline.h: This.
38903 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38907 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38908 functions if __x86_64__ is defined.
38910 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38912 * string/endian.h: Add !__ASSEMBLER__ condition for including
38913 conversion interfaces.
38915 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38919 of ABS(x) in calculating zero to negative powers other than odd
38921 * math/libm-test.inc (pow_test): Add more tests.
38923 2012-06-15 Andreas Jaeger <aj@suse.de>
38925 * manual/contrib.texi (Contributors): Update entry of Liubov
38926 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38929 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38931 * string/string.h: Add __wur to GNU version of strerror_r.
38933 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38936 * string/Makefile (tests): Add tst-strtok_r.
38937 * string/tst-strtok_r.c: New file.
38938 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38939 RAX_LP/RDX_LP on SAVE_PTR.
38941 2012-06-14 Roland McGrath <roland@hack.frob.com>
38943 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38945 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38947 * libm_test.inc (csqrt_test): Allow more spurious underflow
38949 (j0_test): Likewise.
38950 (j1_test): Likewise.
38951 (y0_test): Likewise.
38952 (y1_test): Likewise.
38954 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38956 * po/Makefile (libc.pot): Use UTF-8 charset.
38958 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38961 Suppress sign-conversion warning from FD_SET.
38962 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38963 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38964 not unsigned long int.
38965 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38967 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38971 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38972 __extern_always_inline instead of __extern_inline.
38973 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38974 (__signbit): Likewise.
38975 (__signbitl): Support C++ namespace.
38976 (lrintf): New inline function.
38978 (llrintf): Likewise.
38979 (llrint): Likewise.
38989 (floorf): Likewise.
38990 (nearbyint): Likewise.
38991 (nearbyintf): Likewise.
38993 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38995 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38996 non-default versions.
38998 2012-06-11 Roland McGrath <roland@hack.frob.com>
39001 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39003 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39005 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39006 (FE_UPWARD, FE_DOWNWARD): Don't define.
39007 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39008 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39010 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39012 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39013 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39015 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39017 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39018 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39019 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39020 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39022 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39025 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39026 * sysdeps/i386/fpu/Implies: New file.
39027 * sysdeps/x86_64/fpu/Implies: Likewise.
39028 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39029 * sysdeps/x86/fpu/bits/fenv.h: This.
39031 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39034 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39037 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39038 character 0xffff that matches the last element of the
39041 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39043 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39046 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39048 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39049 values higher than 25.6283.
39051 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39054 subnormal exponent extraction and add some __builtin_expect.
39055 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39056 Fix for subnormal mantissa calculation.
39058 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39060 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39061 cpu2 is -1 and errno is not ENOSYS.
39063 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39066 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39067 * sysdeps/x86/bits/string.h: This.
39068 * sysdeps/x86_64/bits/string.h: Removed.
39070 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39071 if not compiling for x86-64, but compiling for >= i486.
39073 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39074 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39076 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39077 New macro from Linux kernel 3.4.0.
39078 (FP_XSTATE_MAGIC2): Likewise.
39079 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39080 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39081 (struct _fpx_sw_bytes): New struct.
39082 (struct _xsave_hdr): Likewise.
39083 (struct _ymmh_state): Likewise.
39084 (struct _xstate): Likewise.
39086 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39087 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39088 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39089 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39090 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39091 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39093 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39094 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39095 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39096 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39097 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39098 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39100 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39103 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39104 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39105 (sysdep_headers): Include sys/platform/ppc.h.
39106 * sysdeps/powerpc/test-gettimebase.c: Test for
39107 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39108 * manual/Makefile (appendices): Include platform.texi.
39109 * manual/contrib.texi (Contributors): Update @node pointers.
39110 * manual/maint.texi (Maintenance): Likewise.
39111 (Platform): New node.
39112 * manual/platform.texi: New file. Document the new features.
39114 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39115 Jakub Jelinek <jakub@redhat.com>
39118 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39119 where __builtin_expect is unavailable.
39121 2012-06-03 David S. Miller <davem@davemloft.net>
39123 * stdlib/longlong.h: Updated from GCC.
39125 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39128 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39129 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39132 (GLIBC_2.16): Likewise.
39134 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39136 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39138 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39141 (default-abi): New variable.
39142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39143 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39145 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39147 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39149 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39152 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39153 definition. Document in comment.
39155 2012-06-01 David S. Miller <davem@davemloft.net>
39157 * stdlib/longlong.h: Updated from GCC.
39159 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39162 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39163 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39164 sys/debugreg.h sys/io.h here.
39165 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39166 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39168 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39169 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39170 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39171 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39172 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39173 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39175 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39176 Define only if __x86_64__ is defined.
39178 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39181 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39182 Use int64_t for variable i.
39183 * math/libm-test.inc (fmod_test): Add more tests.
39185 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39186 z computation is not scheduled after fetestexcept.
39187 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39188 Use math_force_eval instead of asm to ensure calculation scheduled
39189 before exception test.
39190 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39191 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39193 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39195 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39196 computation is not scheduled after fetestexcept.
39198 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39201 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39202 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39204 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39206 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39207 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39209 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39212 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39214 (__WCHAR_MIN): Support __WORDSIZE == 64.
39215 (__WCHAR_MAX): Likewise.
39217 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39218 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39221 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39222 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39225 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39226 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39228 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39229 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39231 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39232 Defined to 1 if __x86_64__ isn't defined.
39233 (_STAT_VER_LINUX_OLD): New.
39234 (st_atime): Remove duplicate.
39235 (st_mtime): Likewise.
39236 (st_ctime): Likewise.
39238 2012-05-31 David S. Miller <davem@davemloft.net>
39240 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39243 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39245 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39249 * elf/dl-reloc.c: Include <_itoa.h>.
39250 (_dl_reloc_bad_type): Remove use of INTUSE.
39251 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39252 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39253 * stdio-common/psiginfo.c (psiginfo): Likewise.
39254 * stdio-common/psignal.c (psignal): Likewise.
39255 * string/strsignal.c (strsignal): Likewise.
39256 * include/signal.h (_sys_siglist): Declare hidden proto.
39257 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39258 INTVARDEF with libc_hidden_data_def.
39259 * stdio-common/itoa-udigits.c: Likewise.
39260 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39261 (_itoa_lower_digits_internal): Remove declaration.
39262 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39263 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39264 (_sys_sigabbrev_internal): Remove aliases.
39265 (_sys_siglist): Define hidden alias.
39267 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39272 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39275 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39276 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39278 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39279 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39280 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39281 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39282 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39283 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39285 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39286 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39287 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39289 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39297 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39298 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39299 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39301 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39302 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39303 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39304 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39305 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39306 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39308 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39309 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39311 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39312 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39314 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39316 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39318 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39319 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39321 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39323 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39324 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39325 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39327 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39329 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39331 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39333 * math/math.h (M_El): Use two more decimal places.
39334 (M_LOG2El): Likewise.
39335 (M_LOG10El): Likewise.
39336 (M_LN2l): Likewise.
39337 (M_LN10l): Likewise.
39339 (M_PI_2l): Likewise.
39340 (M_PI_4l): Likewise.
39341 (M_1_PIl): Likewise.
39342 (M_2_PIl): Likewise.
39343 (M_2_SQRTPIl): Likewise.
39344 (M_SQRT2l): Likewise.
39345 (M_SQRT1_2l): Likewise.
39347 2012-05-31 David S. Miller <davem@davemloft.net>
39349 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39350 values between float registers.
39351 * sysdeps/sparc/sparc64/memset.S: Likewise.
39352 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39354 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39356 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39357 -D_FORTIFY_SOURCE=1.
39358 (CPPFLAGS-tst-longjmp_chk.c): Define.
39359 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39360 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39361 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39362 CFLAGS-tst-wchar-h.c.
39364 2012-05-31 Marek Polacek <polacek@redhat.com>
39367 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39368 __endmntent_internal): Remove declaration.
39369 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39370 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39371 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39373 2012-05-30 David S. Miller <davem@davemloft.net>
39375 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39376 (___Q_simulate_exceptions): Use real FP ops rather than writing
39378 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39381 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39384 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39385 * sysdeps/x86/bits/xtitypes.h: This.
39387 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39388 * sysdeps/x86/bits/wordsize.h: This.
39390 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39391 * sysdeps/x86/bits/huge_vall.h: This.
39393 * sysdeps/i386/bits/select.h: Removed.
39394 * sysdeps/x86_64/bits/select.h: Renamed to ...
39395 * sysdeps/x86/bits/select.h: This.
39397 * sysdeps/i386/bits/setjmp.h: Removed.
39398 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39399 * sysdeps/x86/bits/setjmp.h: This.
39401 * sysdeps/i386/bits/mathdef.h: Removed.
39402 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39403 * sysdeps/x86/bits/mathdef.h: This.
39405 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39408 * include/sys/socket.h (__connect_internal)
39409 (__libc_sa_len_internal): Remove declaration.
39410 (__connect, __libc_sa_len): Declare hidden_proto.
39411 (SA_LEN): Remove use of INTUSE.
39412 * socket/connect.c: Add libc_hidden_def.
39413 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39414 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39415 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39417 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39418 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39419 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39420 of adding _internal alias.
39422 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39425 * sysdeps/i386/bits/link.h: Removed.
39426 * sysdeps/i386/bits/linkmap.h: Likewise.
39427 * sysdeps/x86_64/bits/link.h: Renamed to ...
39428 * sysdeps/x86/bits/link.h: This.
39429 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39430 * sysdeps/x86/bits/linkmap.h: This.
39432 * sysdeps/i386/bits/endian.h: Removed.
39433 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39434 * sysdeps/x86/bits/endian.h: This.
39436 * sysdeps/i386/bits/byteswap.h: Removed.
39437 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39438 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39439 * sysdeps/x86/bits/byteswap.h: This.
39440 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39441 * sysdeps/x86/bits/byteswap-16.h: This.
39442 * sysdeps/i386/Implies: Add x86.
39443 * sysdeps/x86_64/Implies: Likewise.
39445 2012-05-30 David S. Miller <davem@davemloft.net>
39447 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39448 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39449 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39450 (FP_TRAPPING_EXCEPTIONS): Define.
39451 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39452 (FP_TRAPPING_EXCEPTIONS): Define.
39453 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39454 subnormals only when inexact has been signalled or underflow
39455 exceptions are enabled.
39456 (_FP_PACK_CANONICAL): Likewise.
39458 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39461 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39462 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39464 2012-05-30 Richard Henderson <rth@twiddle.net>
39466 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39467 with #ifndef NOT_IN_libc.
39469 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39470 marked to avoid plt entry.
39472 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39475 * Makeconfig (default-abi): New macro.
39476 (abi-includes): Likewise.
39477 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39478 $(abi-$(default-abi)-lib-soname) for soname if defined.
39479 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39481 * Makefile (installed-stubs): Likewise.
39482 * include/stubs-biarch.h: Removed.
39483 * scripts/lib-names.awk: Only handle one library at a time.
39484 * scripts/soversions.awk: Remove WORDSIZE support.
39485 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39487 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39489 (syscall-list-default-condition): Likewise.
39490 (syscall-list-default-condition): Likewise.
39491 (syscall-list-includes): Likewise.
39492 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39493 syscall-list-* with abi-*. Handle undefined abi-variants.
39494 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39495 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39496 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39497 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39498 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39499 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39501 (syscall-list-32-options): Likewise.
39502 (syscall-list-32-condition): Likewise.
39503 (syscall-list-64-options): Likewise.
39504 (syscall-list-64-condition): Likewise.
39505 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39507 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39510 (abi-64-ld-soname): New macro.
39511 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39512 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39515 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39516 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39518 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39520 * sysdeps/unix/sysv/linux/kernel-features.h
39521 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39522 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39523 include <kernel-features.h>.
39524 [!__NR_ftruncate64]: Remove conditional code.
39525 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39526 [__NR_ftruncate64]: Make code unconditional.
39527 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39528 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39529 include <kernel-features.h>.
39530 [!__NR_ftruncate64]: Remove conditional code.
39531 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39532 [__NR_ftruncate64]: Make code unconditional.
39533 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39535 include <kernel-features.h>.
39536 [!__NR_ftruncate64]: Remove conditional code.
39537 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39538 [__NR_ftruncate64]: Make code unconditional.
39539 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39541 include <kernel-features.h>.
39542 [!__NR_ftruncate64]: Remove conditional code.
39543 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39544 [__NR_ftruncate64]: Make code unconditional.
39545 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39547 * configure.in (libc_cv_fpie): Weaken to a compile test using
39548 LIBC_TRY_CC_OPTION.
39549 * configure: Regenerated.
39551 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39566 2012-05-27 David S. Miller <davem@davemloft.net>
39568 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39570 (__Q_simulate_exceptions): Return void. Change to simulate
39571 exceptions by writing into the %fsr.
39572 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39573 (__Qp_handle_exceptions): Likewise.
39575 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39576 __Qp_handle_exceptions.
39577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39578 __Qp_handle_exceptions.
39579 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39580 as unused and give dummy FP_RND_NEAREST initializer.
39581 (FP_INHIBIT_RESULTS): Define.
39582 (___Q_simulate_exceptions): Update declaration.
39583 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39585 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39586 as unused and give dummy FP_RND_NEAREST initializer.
39587 (__Qp_handle_exceptions): Update declaration.
39588 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39591 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39593 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39594 the temporary FPU control word.
39595 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39596 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39597 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39598 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39599 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39600 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39601 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39602 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39603 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39604 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39605 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39607 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39609 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39612 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39614 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39615 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39616 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39617 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39619 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39620 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39623 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39625 * po/h.po: Update from translation team.
39627 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39629 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39631 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39632 handling of denormals.
39633 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39634 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39635 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39636 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39637 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39638 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39639 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39642 2012-05-26 Marek Polacek <polacek@redhat.com>
39645 * math/libm-test.inc (fma_test): Don't always expect underflow
39648 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39651 * elf/tst-execstack.c: Include stackinfo.h.
39652 (do_test): Adjust test case to ensure that pthread_getattr_np
39653 behaviour remains the same after marking stack executable.
39655 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39657 * sysdeps/unix/sysv/linux/kernel-features.h
39658 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39659 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39661 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39662 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39663 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39665 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39666 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39668 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39670 * configure.in: Define the default includes to being none.
39671 * configure: Regenerated.
39673 2012-05-25 Roland McGrath <roland@hack.frob.com>
39675 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39676 * sysdeps/x86_64/setjmp.S: Likewise.
39677 * sysdeps/i386/bsd-setjmp.S: Likewise.
39678 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39679 * sysdeps/i386/setjmp.S: Likewise.
39680 * sysdeps/i386/__longjmp.S: Likewise.
39681 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39682 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39684 * include/stap-probe.h: New file.
39685 * configure.in: Handle --enable-systemtap.
39686 * configure: Regenerated.
39687 * config.h.in (USE_STAP_PROBE): New #undef.
39688 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39689 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39690 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39692 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39695 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39696 to 2.4.0 where earlier.
39697 * sysdeps/unix/sysv/linux/configure: Regenerated.
39698 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
39707 [__ASSUME_32BITUIDS]: Make code unconditional.
39708 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39709 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39710 <kernel-features.h>.
39711 [__ASSUME_32BITUIDS]: Make code unconditional.
39712 [!__ASSUME_32BITUIDS]: Remove conditional code.
39713 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39714 <kernel-features.h>.
39715 [__ASSUME_32BITUIDS]: Make code unconditional.
39716 [!__ASSUME_32BITUIDS]: Remove conditional code.
39717 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39718 <kernel-features.h>.
39719 [__ASSUME_32BITUIDS]: Make code unconditional.
39720 [!__ASSUME_32BITUIDS]: Remove conditional code.
39721 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39722 <kernel-features.h>.
39723 [__ASSUME_32BITUIDS]: Make code unconditional.
39724 [!__ASSUME_32BITUIDS]: Remove conditional code.
39725 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39726 <kernel-features.h>.
39727 [__ASSUME_32BITUIDS]: Make code unconditional.
39728 [!__ASSUME_32BITUIDS]: Remove conditional code.
39729 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39730 <kernel-features.h>.
39731 [__ASSUME_32BITUIDS]: Make code unconditional.
39732 [!__ASSUME_32BITUIDS]: Remove conditional code.
39733 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39734 <kernel-features.h>.
39735 [__ASSUME_32BITUIDS]: Make code unconditional.
39736 [!__ASSUME_32BITUIDS]: Remove conditional code.
39737 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39738 <kernel-features.h>.
39739 [__ASSUME_32BITUIDS]: Make code unconditional.
39740 [!__ASSUME_32BITUIDS]: Remove conditional code.
39741 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39742 <kernel-features.h>.
39743 [__ASSUME_32BITUIDS]: Make code unconditional.
39744 [!__ASSUME_32BITUIDS]: Remove conditional code.
39745 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39746 <kernel-features.h>.
39747 [__ASSUME_32BITUIDS]: Make code unconditional.
39748 [!__ASSUME_32BITUIDS]: Remove conditional code.
39749 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39750 <kernel-features.h>.
39751 [__NR_setresgid] (__setresgid): Do not declare.
39752 [__ASSUME_32BITUIDS]: Make code unconditional.
39753 [!__ASSUME_32BITUIDS]: Remove conditional code.
39754 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39755 <kernel-features.h>.
39756 [__NR_setresuid] (__setresuid): Do not declare.
39757 [__ASSUME_32BITUIDS]: Make code unconditional.
39758 [!__ASSUME_32BITUIDS]: Remove conditional code.
39759 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39760 <kernel-features.h>.
39761 [__ASSUME_32BITUIDS]: Make code unconditional.
39762 [!__ASSUME_32BITUIDS]: Remove conditional code.
39763 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39764 <kernel-features.h>.
39765 [__ASSUME_32BITUIDS]: Make code unconditional.
39766 [!__ASSUME_32BITUIDS]: Remove conditional code.
39767 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39768 <kernel-features.h>.
39769 [__ASSUME_32BITUIDS]: Make code unconditional.
39770 [!__ASSUME_32BITUIDS]: Remove conditional code.
39771 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39772 <kernel-features.h>.
39773 [__ASSUME_32BITUIDS]: Make code unconditional.
39774 [!__ASSUME_32BITUIDS]: Remove conditional code.
39775 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39776 <kernel-features.h>.
39777 [__ASSUME_32BITUIDS]: Make code unconditional.
39778 [!__ASSUME_32BITUIDS]: Remove conditional code.
39779 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39780 <kernel-features.h>.
39781 [__ASSUME_32BITUIDS]: Make code unconditional.
39782 [!__ASSUME_32BITUIDS]: Remove conditional code.
39783 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39784 <kernel-features.h>.
39785 [__ASSUME_32BITUIDS]: Make code unconditional.
39786 [!__ASSUME_32BITUIDS]: Remove conditional code.
39787 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39788 <kernel-features.h>.
39789 [__ASSUME_32BITUIDS]: Make code unconditional.
39790 [!__ASSUME_32BITUIDS]: Remove conditional code.
39791 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39792 <kernel-features.h>.
39793 [__ASSUME_32BITUIDS]: Make code unconditional.
39794 [!__ASSUME_32BITUIDS]: Remove conditional code.
39795 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39796 <kernel-features.h>.
39797 [__ASSUME_32BITUIDS]: Make code unconditional.
39798 [!__ASSUME_32BITUIDS]: Remove conditional code.
39799 * sysdeps/unix/sysv/linux/kernel-features.h
39800 (__ASSUME_SETRESUID_SYSCALL): Remove.
39801 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39802 (__ASSUME_32BITUIDS): Likewise.
39803 (__ASSUME_LDT_WORKS): Likewise.
39804 (__ASSUME_O_DIRECTORY): Likewise.
39805 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39806 architecture but not kernel version.
39807 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39808 (__ASSUME_MMAP2_SYSCALL): Likewise.
39809 (__ASSUME_STAT64_SYSCALL): Likewise.
39810 (__ASSUME_IPC64): Likewise.
39811 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39812 <kernel-features.h>.
39813 [__ASSUME_32BITUIDS]: Make code unconditional.
39814 [!__ASSUME_32BITUIDS]: Remove conditional code.
39815 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39816 <kernel-features.h>.
39817 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39818 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39819 132096]: Remove conditional code.
39820 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39821 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39822 <kernel-features.h>.
39823 [__ASSUME_32BITUIDS]: Make code unconditional.
39824 [!__ASSUME_32BITUIDS]: Remove conditional code.
39825 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39826 <kernel-features.h>.
39827 [__ASSUME_32BITUIDS]: Make code unconditional.
39828 [!__ASSUME_32BITUIDS]: Remove conditional code.
39829 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39830 <kernel-features.h>.
39831 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39833 (__setresgid): Do not declare.
39834 [__ASSUME_32BITUIDS]: Make code unconditional.
39835 [!__ASSUME_32BITUIDS]: Remove conditional code.
39836 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39837 <kernel-features.h>.
39838 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39840 (__setresuid): Do not declare.
39841 [__ASSUME_32BITUIDS]: Make code unconditional.
39842 [!__ASSUME_32BITUIDS]: Remove conditional code.
39843 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39844 <kernel-features.h>.
39845 [__ASSUME_32BITUIDS]: Make code unconditional.
39846 [!__ASSUME_32BITUIDS]: Remove conditional code.
39847 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39848 <kernel-features.h>.
39849 [__ASSUME_32BITUIDS]: Make code unconditional.
39850 [!__ASSUME_32BITUIDS]: Remove conditional code.
39852 2012-05-25 Richard Henderson <rth@twiddle.net>
39854 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39855 dl_hwcap to ifunc resolver.
39856 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39858 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39859 dl_hwcap to ifunc resolver.
39860 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39862 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39865 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39866 for |x| <= 2**-26, not 2**-57.
39867 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39870 2012-05-24 Jeff Law <law@redhat.com>
39872 * stdio-common/Makefile (tests): Add bug25.
39873 * stdio-common/bug25.c: New test.
39875 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39878 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39879 multiple of MALLOC_ALIGNMENT in size.
39880 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39882 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39884 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39886 (FILENAME_MAX): Use macro-int-constant.
39887 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39888 (_IOFBF): Use macro-int-constant.
39889 (_IOLBF): Likewise.
39890 (_IONBF): Likewise.
39891 (SEEK_CUR): Likewise.
39892 (SEEK_END): Likewise.
39893 (SEEK_SET): Likewise.
39894 (TMP_MAX): Likewise.
39895 (EOF): Use macro-int-constant. Require < 0.
39896 (NULL): Use macro-constant. Require == 0.
39897 (stdin): Require type to be FILE *.
39898 (stdout): Likewise.
39899 (stderr): Likewise.
39900 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39901 macro-int-constant.
39902 (EXIT_SUCCESS): Likewise.
39903 (NULL): Use macro-constant. Require == 0.
39904 (RAND_MAX): Use macro-int-constant.
39905 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39906 [C99-based standards] (strtof): Require function.
39907 [C99-based standards] (strtold): Likewise.
39908 [C99-based standards] (strtoll): Likewise.
39909 [C99-based standards] (strtoull): Likewise.
39910 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39911 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39912 [ISO || ISO99 || ISO11] (math.h): Likewise.
39913 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39914 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39915 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39917 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39920 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39921 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39922 * intl/dgettext.c (DCGETTEXT): Likewise.
39923 * intl/gettext.c (DCGETTEXT): Likewise.
39924 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39925 * posix/regex_internal.h (gettext): Likewise.
39926 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39927 Remove declaration.
39928 * include/argz.h (__argz_count_internal)
39929 (__argz_stringify_internal): Remove declaration.
39930 (__argz_count, __argz_stringify): Declare hidden proto.
39931 * intl/dcgettext.c: Remove use of INTDEF.
39932 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39933 * string/argz-stringify.c: Likewise.
39934 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39935 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39936 Declare hidden proto.
39937 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39938 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39939 Declare hidden proto.
39940 * include/stdio.h (__asprintf_internal): Don't declare.
39941 (__asprintf): Don't define as macro. Declare hidden proto.
39942 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39943 (__fsetlocking): Declare hidden proto.
39944 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39945 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39947 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39948 (_IO_setlinebuf): Remove use of INTUSE.
39949 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39950 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39951 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39952 Remove declaration.
39953 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39954 (_IO_do_flush): Remove use of INTUSE.
39955 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39956 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39957 (_IO_adjust_column, _IO_least_wmarker)
39958 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39959 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39960 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39961 (_IO_default_doallocate, _IO_wdefault_doallocate)
39962 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39963 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39964 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39965 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39966 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39967 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39968 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39969 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39970 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39971 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39972 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39973 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39974 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39976 (_IO_flush_all_internal, _IO_adjust_column_internal)
39977 (_IO_default_uflow_internal, _IO_default_finish_internal)
39978 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39979 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39980 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39981 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39982 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39983 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39984 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39985 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39986 (_IO_file_close_internal, _IO_file_close_it_internal)
39987 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39988 (_IO_file_init_internal, _IO_file_attach_internal)
39989 (_IO_file_fopen_internal, _IO_file_read_internal)
39990 (_IO_file_sync_internal, _IO_file_seek_internal)
39991 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39992 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39993 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39994 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39995 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39996 (_IO_list_all_internal, _IO_link_in_internal)
39997 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39998 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39999 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40000 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40001 (_IO_do_write_internal, _IO_padn_internal)
40002 (_IO_getline_info_internal, _IO_getline_internal)
40003 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40004 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40005 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40006 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40007 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40008 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40009 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40010 with libc_hidden_ver, remove use of INTUSE.
40011 * libio/genops.c: Likewise.
40012 * libio/freopen.c: Likewise.
40013 * libio/freopen64.c: Likewise.
40014 * libio/iofclose.c: Likewise.
40015 * libio/iofdopen.c: Likewise.
40016 * libio/iofflush.c: Likewise.
40017 * libio/iofflush_u.c: Likewise.
40018 * libio/iofgets.c: Likewise.
40019 * libio/iofgets_u.c: Likewise.
40020 * libio/iofopen.c: Likewise.
40021 * libio/iofopncook.c: Likewise.
40022 * libio/iofread.c: Likewise.
40023 * libio/iofread_u.c: Likewise.
40024 * libio/ioftell.c: Likewise.
40025 * libio/iofwrite.c: Likewise.
40026 * libio/iogetline.c: Likewise.
40027 * libio/iogets.c: Likewise.
40028 * libio/iogetwline.c: Likewise.
40029 * libio/iopadn.c: Likewise.
40030 * libio/iopopen.c: Likewise.
40031 * libio/ioseekoff.c: Likewise.
40032 * libio/ioseekpos.c: Likewise.
40033 * libio/iosetbuffer.c: Likewise.
40034 * libio/iosetvbuf.c: Likewise.
40035 * libio/ioungetc.c: Likewise.
40036 * libio/ioungetwc.c: Likewise.
40037 * libio/iovdprintf.c: Likewise.
40038 * libio/iovsprintf.c: Likewise.
40039 * libio/iovsscanf.c: Likewise.
40040 * libio/memstream.c: Likewise.
40041 * libio/obprintf.c: Likewise.
40042 * libio/oldfileops.c: Likewise.
40043 * libio/oldiofclose.c: Likewise.
40044 * libio/oldiofdopen.c: Likewise.
40045 * libio/oldiofopen.c: Likewise.
40046 * libio/oldiopopen.c: Likewise.
40047 * libio/oldstdfiles.c: Likewise.
40048 * libio/putc.c: Likewise.
40049 * libio/setbuf.c: Likewise.
40050 * libio/setlinebuf.c: Likewise.
40051 * libio/stdfiles.c: Likewise.
40052 * libio/strops.c: Likewise.
40053 * libio/vasprintf.c: Likewise.
40054 * libio/vscanf.c: Likewise.
40055 * libio/vsnprintf.c: Likewise.
40056 * libio/vswprintf.c: Likewise.
40057 * libio/wfiledoalloc.c: Likewise.
40058 * libio/wfileops.c: Likewise.
40059 * libio/wgenops.c: Likewise.
40060 * libio/wmemstream.c: Likewise.
40061 * libio/wstrops.c: Likewise.
40062 * libio/__fpurge.c: Likewise.
40063 * libio/__fsetlocking.c: Likewise.
40064 * assert/assert.c: Likewise.
40065 * debug/fgets_chk.c: Likewise.
40066 * debug/fgets_u_chk.c: Likewise.
40067 * debug/fread_chk.c: Likewise.
40068 * debug/fread_u_chk.c: Likewise.
40069 * debug/gets_chk.c: Likewise.
40070 * debug/obprintf_chk.c: Likewise.
40071 * debug/vasprintf_chk.c: Likewise.
40072 * debug/vdprintf_chk.c: Likewise.
40073 * debug/vsnprintf_chk.c: Likewise.
40074 * debug/vsprintf_chk.c: Likewise.
40075 * malloc/mtrace.c: Likewise.
40076 * misc/error.c: Likewise.
40077 * misc/syslog.c: Likewise.
40078 * stdio-common/asprintf.c: Likewise.
40079 * stdio-common/fxprintf.c: Likewise.
40080 * stdio-common/getw.c: Likewise.
40081 * stdio-common/isoc99_fscanf.c: Likewise.
40082 * stdio-common/isoc99_scanf.c: Likewise.
40083 * stdio-common/isoc99_vfscanf.c: Likewise.
40084 * stdio-common/isoc99_vscanf.c: Likewise.
40085 * stdio-common/isoc99_vsscanf.c: Likewise.
40086 * stdio-common/printf-prs.c: Likewise.
40087 * stdio-common/printf_fp.c: Likewise.
40088 * stdio-common/printf_fphex.c: Likewise.
40089 * stdio-common/printf_size.c: Likewise.
40090 * stdio-common/putw.c: Likewise.
40091 * stdio-common/scanf.c: Likewise.
40092 * stdio-common/sprintf.c: Likewise.
40093 * stdio-common/tmpfile.c: Likewise.
40094 * stdio-common/vfprintf.c: Likewise.
40095 * stdio-common/vfscanf.c: Likewise.
40096 * stdlib/strfmon_l.c: Likewise.
40097 * sunrpc/openchild.c: Likewise.
40098 * sunrpc/xdr_stdio.c: Likewise.
40099 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40100 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40102 2012-05-24 Roland McGrath <roland@hack.frob.com>
40104 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40106 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40107 in the third column, to generate for the shared library an IFUNC
40108 that uses _dl_vdso_vsym.
40109 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40110 * Makeconfig (object-suffixes-noshared): New variable.
40112 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40113 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40114 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40115 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40118 * include/sys/time.h (__gettimeofday): Remove macro.
40119 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40120 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40122 (__gettimeofday): Add libc_hidden_def.
40123 (gettimeofday): Add libc_hidden_weak.
40124 * sysdeps/mach/gettimeofday.c: Likewise.
40125 * sysdeps/posix/gettimeofday.c: Likewise.
40126 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40127 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40128 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40129 (__gettimeofday_internal): Remove strong_alias.
40130 (__gettimeofday): Add libc_hidden_def.
40131 (gettimeofday): Add libc_hidden_weak.
40132 * sysdeps/unix/syscalls.list (gettimeofday):
40133 Remove __gettimeofday_internal alias.
40135 2012-05-24 Daniel Jacobowitz <drow@false.org>
40136 H.J. Lu <hongjiu.lu@intel.com>
40139 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40140 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40141 (largebin_index_32_big): New.
40142 (largebin_index): Use it for 16-byte alignment.
40143 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40144 correction with front_misalign.
40146 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40148 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40149 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40151 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40153 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40157 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40159 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40174 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40175 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40177 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40181 * math/libm-test.inc (exp_test): Add test from bug 14036.
40182 (pow_test): Add test from bug 10846.
40184 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40186 (special_function): Do not include flags in test name.
40187 (parse_args): Likewise.
40188 * sysdeps/i386/fpu/libm-test-ulps: Update.
40189 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40190 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40191 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40194 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40196 * math/libm-test.inc ("Philosophy"): Update comment about
40198 (UNDERFLOW_EXCEPTION): New macro.
40199 (UNDERFLOW_EXCEPTION_OK): Likewise.
40200 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40201 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40202 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40203 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40204 (INVALID_EXCEPTION_OK): Update value.
40205 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40206 (OVERFLOW_EXCEPTION_OK): Likewise.
40207 (IGNORE_ZERO_INF_SIGN): Likewise.
40208 (test_exceptions): Handle underflow exceptions.
40209 (acos_test): Update for underflow exception expectations.
40210 (cexp_test): Likewise.
40211 (clog_test): Likewise.
40212 (clog10_test): Likewise.
40213 (csqrt_test): Likewise.
40214 (ctan_test): Likewise.
40215 (ctanh_test): Likewise.
40216 (exp_test): Likewise.
40217 (exp10_test): Likewise.
40218 (exp2_test): Likewise.
40219 (expm1_test): Likewise.
40220 (fma_test): Likewise.
40221 (j0_test): Likewise.
40222 (jn_test): Likewise.
40223 (nexttoward_test): Likewise.
40224 (pow_test): Likewise.
40225 (scalbn_test): Likewise.
40226 (scalbln_test): Likewise.
40227 (tan_test): Likewise.
40228 (y1_test): Likewise.
40229 * sysdeps/i386/fpu/libm-test-ulps: Update.
40230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40232 2012-05-23 David S. Miller <davem@davemloft.net>
40234 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40235 (__libc_sigaction): Remove unused local variables.
40237 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40239 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40241 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40243 mktime: avoid signed integer overflow
40244 * time/mktime.c (__mktime_internal): Do not mishandle the case
40245 where diff == INT_MIN.
40247 mktime: simplify computation of average
40248 * time/mktime.c (ranged_convert): Use new time_t_avg function
40249 instead of rolling our own (probably-slower) code.
40251 mktime: do not assume signed right shift propagates sign bit
40252 * time/mktime.c (isdst_differ): New static function.
40253 (__mktime_internal): No need to normalize tm_isdst now.
40254 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40257 mktime: merge another wrapv change from gnulib
40258 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40259 from some compilers.
40261 mktime: remove incorrect attempt at unusual arithmetics
40262 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40263 The code didn't really work on such machines anyway.
40264 (TYPE_MINIMUM): Assume two's complement.
40265 (twos_complement_arithmetic): Verify that long_int and time_t
40266 are two's complement (or unsigned, in the latter case).
40268 mktime: check signed shifts on long_int and time_t, too
40269 * time/mktime.c (SHR): Check that shifts work as desired
40270 on the types long_int and time_t too, as SHR is used on
40273 mktime: do not assume 'long' is wide enough
40274 * time/mktime.c (verify): Move decl up.
40275 (long_int): New type.
40276 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40277 to remove assumption in the code that 'long' is wide enough to
40278 store year values. This assumption is not true on x32 and on
40279 some non-glibc platforms.
40281 mktime: merge wrapv change from gnulib
40282 * time/mktime.c (WRAPV): New macro.
40283 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40284 (guess_time_tm, __mktime_internal): Do not assume that signed
40285 integer overflow wraps around; modern compilers generate code
40286 where this assumption is no longer valid.
40288 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40290 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40291 Replace "jmp L(pseudo_end)" with "ret".
40292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40295 2012-05-23 Andreas Jaeger <aj@suse.de>
40297 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40298 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40300 2012-05-23 Andreas Jaeger <aj@suse.de>
40301 Maximilian Attems <max@stro.at>
40303 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40306 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40308 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40309 code so that pseudo_end is just ret and the stack pointer is
40310 correct also for static library in error case.
40312 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40314 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40315 move to syscalls.list.
40316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40321 * manual/install.texi (Running make install): Do not mention Linux
40322 kernel version for which pt_chown is not needed.
40323 (Linux): Do not mention problems with nscd with 2.0 kernels.
40324 * INSTALL: Regenerated.
40326 2012-05-23 Andreas Jaeger <aj@suse.de>
40328 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40329 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40331 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40332 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40333 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40334 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40335 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40336 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40337 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40338 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40339 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40340 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40341 * sysdeps/unix/sysv/linux/bits/in.h
40342 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40344 2012-05-22 Roland McGrath <roland@hack.frob.com>
40346 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40347 (PREPARE_VERSION): Just use assert instead, it will be elided
40348 under [NDEBUG] anyway.
40350 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40352 * sysdeps/unix/sysv/linux/Makefile: Include
40353 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40354 (sysdep_routines): Remove sysctl.
40355 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40356 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40357 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40358 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40359 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40361 2012-05-22 Andreas Jaeger <aj@suse.de>
40363 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40364 that pseudo_end is just ret and the stack pointer is correct also
40365 for static library in error case.
40367 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40370 * nss/nsswitch.c (defconfig_entries): New variable.
40371 (__nss_database_lookup): Don't leak defconfig entries.
40372 (nss_parse_service_list): Don't leak on error paths.
40373 (free_database_entries): New function.
40374 (free_defconfig): New function.
40375 (free_mem): Move common code to free_database_entries.
40377 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40379 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40381 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40383 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40384 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40385 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40387 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40388 (INTERNAL_SYSCALL_TYPES): Likewise.
40389 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40390 (LOAD_REGS_TYPES_[1-6]): Likewise.
40391 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40392 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40394 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40396 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40397 copysignl for GLIBC_2_0.
40398 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40399 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40401 logbl for GLIBC_2_0.
40402 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40403 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40405 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40407 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40408 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40410 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40413 * time/mktime.c: Update copyright years.
40415 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40417 mktime: merge comment-quoting-style change from gnulib
40418 * time/mktime.c: Quote 'like this' in comments.
40419 The GNU coding standards suggest that we no longer quote `like this',
40420 as "`" and "'" are typically rendered asymmetrically nowadays.
40421 The typical gnulib style is to quote 'like this' when quoting
40422 code, and "like this" when quoting English.
40424 * time/mktime.c (compile-command): Add "-I.".
40426 mktime: merge mktime-internal.h change from gnulib
40427 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40429 mktime: merge time_r change from gnulib
40430 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40432 mktime: merge DEBUG change from gnulib
40433 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40434 case system <time.h> has a #define.
40436 mktime: merge <sys/types.h> change from gnulib
40437 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40438 since <time.t> is now guaranteed to define time_t.
40440 mktime: merge HAVE_CONFIG_H change from gnulib
40441 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40443 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40445 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40448 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40450 (struct rusage): Use anonymous union to pad each field to
40453 2012-05-21 David S. Miller <davem@davemloft.net>
40455 * Makefules (o-iterator): Remove .s cases.
40456 (compile-command.s): Delete.
40457 (COMPILE.s): Delete.
40458 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40460 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40462 * configure.in (libc_cv_predef_stack_protector): Only consider
40463 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40464 * configure: Regenerated.
40466 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40468 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40469 New macro. Use R*LP on int and pointer.
40470 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40471 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40472 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40473 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40475 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40476 [__WORDSIZE_TIME64_COMPAT32] instead of
40477 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40478 (struct utmp): Likewise.
40479 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40480 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40482 (__WORDSIZE_TIME64_COMPAT32): This.
40483 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40484 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40485 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40486 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40487 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40488 (__WORDSIZE_TIME64_COMPAT32): New macro.
40490 2012-05-21 Andreas Jaeger <aj@suse.de>
40492 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40493 only if [SHARED]. Add prototype for __wcschr_ia32.
40495 2012-05-21 Roland McGrath <roland@hack.frob.com>
40497 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40498 of %rbp unmolested in the jmp_buf while mangling the low bits.
40499 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40500 unmolested high bits of %rbp while demangling the low bits.
40501 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40503 2012-05-21 Andreas Jaeger <aj@suse.de>
40505 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40506 * sunrpc/svc_simple.c: Use it for registerrpc.
40507 * sunrpc/xcrypt.c: Use it for passwd2des.
40509 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40511 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40513 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40514 Don't define if [__SYSCALL_WORDSIZE != 32].
40515 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40518 2012-05-21 Bruno Haible <bruno@clisp.org>
40519 Andreas Jaeger <aj@suse.de>
40521 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40522 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40523 inptr and inend for must_buffer_ch.
40524 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40525 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40526 * stdio-common/Makefile (tests): Remove bug15.
40527 (bug15-ENV): Remove macro.
40528 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40531 2012-05-19 Andreas Jaeger <aj@suse.de>
40532 Roland McGrath <roland@hack.frob.com>
40534 * manual/contrib.texi: Completely rewritten. It contains now an
40535 alphabetical list of contributors and their contributions.
40537 2012-05-21 Richard Henderson <rth@twiddle.net>
40539 * misc/getauxval.c (__getauxval): Use unsigned long int.
40540 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40541 (getauxval): Use unsigned long int.
40543 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40545 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40547 2012-05-21 Roland McGrath <roland@hack.frob.com>
40549 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40550 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40551 __alignof__ (long double).
40553 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40555 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40557 2012-05-20 Richard Henderson <rth@twiddle.net>
40559 * misc/getauxval.c: New file.
40560 * misc/sys/auxv.h: New file.
40561 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40562 (routines): Add getauxval.
40563 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40564 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40565 * elf/dl-sysdep.c (_dl_auxv): Remove.
40566 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40567 * elf/dl-support.c (_dl_auxv): New variable.
40568 (_dl_aux_init): Initialize it.
40569 * manual/startup.texi (Auxiliary Vector): New node.
40570 * sysdeps/generic/bits/hwcap.h: New file.
40571 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40572 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40573 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40574 * sysdeps/sparc/sysdep.h: ... here. Include it.
40575 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40576 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40582 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40588 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40590 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40592 2012-05-19 David S. Miller <davem@davemloft.net>
40594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40596 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40599 * math/s_ccosh.c: Include <float.h>
40600 (__ccosh): Avoid internal overflow calculating sinh and cosh
40601 values before multiplying by sin and cos values.
40602 * math/s_ccoshf.c: Likewise.
40603 * math/s_ccoshl.c: Likewise.
40604 * math/s_csin.c: Likewise.
40605 * math/s_csinf.c: Likewise.
40606 * math/s_csinl.c: Likewise.
40607 * math/s_csinh.c: Likewise.
40608 * math/s_csinhf.c: Likewise.
40609 * math/s_csinhl.c: Likewise.
40610 * math/libm-test.inc (ccos_test): Add more tests.
40611 (ccosh_test): Likewise.
40612 (csin_test): Likewise.
40613 (csinh_test): Likewise.
40614 * sysdeps/i386/fpu/libm-test-ulps: Update.
40615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40617 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40619 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40620 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40622 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40624 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40626 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40627 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40628 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40629 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40630 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40631 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40632 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40633 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40634 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40635 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40636 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40637 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40638 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40639 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40640 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40641 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40642 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40643 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40644 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40645 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40646 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40647 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40648 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40649 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40650 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40651 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40652 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40653 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40654 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40655 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40656 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40658 2012-05-18 Andreas Jaeger <aj@suse.de>
40660 * csu/.gitignore: Delete.
40662 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40664 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40665 (timex): Use __syscall_slong_t.
40667 2012-05-18 Andreas Jaeger <aj@suse.de>
40668 Carlos O'Donell <carlos_odonell@mentor.com>
40670 * manual/install.texi (Configuring and compiling): Update
40671 description about files modified in the source directory.
40672 * INSTALL: Regenerated.
40674 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40676 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40677 value. Use "or" to set return value to -1.
40678 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40679 negate return value.
40681 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40683 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40684 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40685 failure if the compiler has Graphite support disabled.
40686 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40688 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40689 (CFLAGS-memmove.c): Likewise.
40690 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40693 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40695 * sysdeps/x86_64/x32/_itoa.h: New file.
40697 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40698 getdents system call only if kernel and user dirents have the
40699 same d_ino and d_off.
40701 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40702 LLONG_MAX != LONG_MAX.
40703 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40704 (_fitoa_word): Likewise.
40706 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40708 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40709 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40710 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40712 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40713 include <bits/wordsize.h>. Check __x86_64__ instead of
40715 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40716 if __x86_64__ is defined. Use anonymous union on fpstate.
40718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40721 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40723 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40724 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40725 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40726 Refer to _rtld_local_ro instead of _rtld_global_ro.
40727 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40729 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40731 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40733 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40734 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40735 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40737 * sysdeps/powerpc/powerpc32/dl-machine.c
40738 (__elf_machine_runtime_setup) [PROF]: Don't reference
40741 2012-05-18 Andreas Jaeger <aj@suse.de>
40743 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40744 function only available for GCCs before 3.4 since GCC 3.4
40745 introduced a builtin.
40747 (llrintf): Likewise.
40748 (llrint): Likewise.
40755 (nearbyint): Likewise.
40756 (nearbyintf): Likewise.
40760 (floorf): Likewise.
40762 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40764 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40765 on both fields and cast pointer to __syscall_ulong_t.
40767 * bits/types.h (__fsword_t): New type.
40768 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40769 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40770 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40771 (__FSWORD_T_TYPE): Likewise.
40772 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40773 (__FSWORD_T_TYPE): Likewise.
40774 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40775 (__FSWORD_T_TYPE): Likewise.
40776 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40777 (__FSWORD_T_TYPE): Likewise.
40778 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40779 __SWORD_TYPE with __fsword_t.
40780 (statfs64): Likewise.
40782 2012-05-17 David S. Miller <davem@davemloft.net>
40784 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40786 2012-05-17 Andreas Jaeger <aj@suse.de>
40788 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40791 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40793 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40795 2012-05-17 Andreas Jaeger <aj@suse.de>
40797 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40800 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40802 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40804 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40806 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40807 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40809 2012-05-17 Andreas Jaeger <aj@suse.de>
40810 Carlos O'Donell <carlos_odonell@mentor.com>
40813 * sysdeps/x86_64/multiarch/init-arch.h
40814 (bit_YMM_Usable): Rename to...
40815 (bit_AVX_Usable): ... this.
40816 (bit_FMA4_Usable): New macro.
40817 (bit_XMM_state): New macro.
40818 (bit_YMM_state): New macro.
40819 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40820 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40821 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40822 (CPUID_OSXSAVE): New macro.
40823 (CPUID_AVX): New macro.
40824 (CPUID_FMA4): New macro.
40825 (index_YMM_Usable): Rename to...
40826 (index_AVX_Usable): ... this.
40827 (HAS_AVX): Use HAS_ARCH_FEATURE.
40828 (HAS_FMA4): Likewise.
40829 (HAS_YMM_USABLE): Remove.
40830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40831 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40833 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40834 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40835 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40836 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40837 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40839 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40841 * math/libm-test.c: Support platforms without multiple rounding modes.
40842 * math/bug-nextafter.c: Support platforms without FP exceptions.
40843 * math/bug-nexttoward.c: Likewise.
40844 * math/test-fenv.c: Likewise.
40845 * math/test-misc.c: Likewise.
40846 * stdlib/bug-getcontext.c: Likewise.
40848 2012-05-17 Andreas Jaeger <aj@suse.de>
40850 * manual/examples/search.c (critter_cmp): Change signature to
40852 * manual/string.texi (Collation Functions): Likewise.
40854 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40856 * bits/types.h: Fold copyright years.
40857 * bits/typesizes.h: Likewise.
40858 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40859 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40860 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40861 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40862 * time/time.h: Likewise.
40864 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40867 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40868 in instead of returning them. Return void.
40869 (__libc_mallinfo): Accumulate over all arenas.
40870 (__malloc_stats): Adjust for change in int_mallinfo interface.
40872 2012-05-16 Roland McGrath <roland@hack.frob.com>
40875 * configure.in (NM): Add AC_CHECK_TOOL for it.
40876 (libc_extra_cflags): New substituted variable.
40877 Check for -fstack-protector being used implicitly.
40878 * configure: Regenerated.
40879 * config.make.in (config-extra-cflags): New variable,
40880 gets @libc_extra_cflags@.
40881 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40884 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40885 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40886 * configure: Regenerated.
40887 * config.make.in (CPPUNDEFS): New substituted variable.
40888 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40889 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40890 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40892 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40894 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40895 (mq_attr): Use __syscall_slong_t.
40897 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40899 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40900 Check __x86_64__ instead of __WORDSIZE.
40901 (_STAT_VER_LINUX): Likewise.
40902 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40903 __syscall_ulong_t and __syscall_slong_t.
40904 (stat64): Likewise.
40906 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40908 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40910 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40912 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40914 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40916 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40919 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40920 include <bits/wordsize.h>. Check __x86_64__ instead of
40922 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40924 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40926 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40927 include <bits/wordsize.h>. Check __x86_64__ instead of
40929 (user_regs_struct): Use "__extension__ unsigned long long"
40930 instead of "unsigned long" if __x86_64__ is defined.
40931 (user): Likewise. Pad after pointer field if __ILP32__ is
40934 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40936 * configure.in (makeinfo): Require version 4.5 or later. Allow
40938 * configure: Regenerated.
40939 * manual/install.texi (texinfo): Increase version requirement to
40941 * INSTALL: Regenerated.
40943 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40945 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40947 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40949 * sysdeps/x86_64/x32/ffs.c: New file.
40951 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40953 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40954 defined. Use __syscall_ulong_t.
40955 (shminfo): Use __syscall_ulong_t.
40956 (shm_info): Likewise.
40958 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40961 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40963 (msgqnum_t): Use __syscall_ulong_t.
40964 (msglen_t): Likewise.
40965 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40968 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40969 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40971 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40973 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40974 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40976 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40979 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40980 include <bits/wordsize.h>. Check __x86_64__ instead of
40983 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40984 "unsigned long long int" if __x86_64__ is defined.
40985 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40987 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40988 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40989 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40991 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40993 (GET_PC): Cast to uintptr_t first.
40994 (GET_FRAME): Likewise.
40995 (GET_STACK): Likewise.
40997 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40998 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40999 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41000 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41001 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41002 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41003 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41004 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41005 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41006 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41007 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41008 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41009 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41010 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41011 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41012 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41013 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41014 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41015 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41016 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41017 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41018 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41019 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41020 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41021 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41022 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41023 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41024 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41025 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41027 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41029 * Makerules (+depfiles): Also collect depfiles from .oS in
41031 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41032 .oS, $(libnldbl-routines)).
41034 * Makerules (native-compile-mkdep-flags): Define.
41035 * sunrpc/Makefile (extra-objs): Add $(addprefix
41036 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41037 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41038 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41039 calling $(make-target-directory).
41041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41043 * bits/types.h (__snseconds_t): Removed.
41044 * time/time.h (struct timespec): Replace __snseconds_t with
41046 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41047 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41049 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41050 (__SNSECONDS_T_TYPE): Likewise.
41051 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41052 (__SNSECONDS_T_TYPE): Likewise.
41053 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41054 (__SNSECONDS_T_TYPE): Likewise.
41056 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41058 * sysdeps/mach/hurd/bits/typesizes.h
41059 (__SYSCALL_SLONG_TYPE): New macro.
41060 (__SYSCALL_ULONG_TYPE): Likewise.
41062 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41064 * bits/types.h (__syscall_slong_t): New type.
41065 (__syscall_ulong_t): Likewise.
41067 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41068 (__SYSCALL_ULONG_TYPE): Likewise.
41069 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41070 (__SYSCALL_SLONG_TYPE): Likewise.
41071 (__SYSCALL_ULONG_TYPE): Likewise.
41072 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41073 (__SYSCALL_SLONG_TYPE): Likewise.
41074 (__SYSCALL_ULONG_TYPE): Likewise.
41075 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41076 (__SYSCALL_SLONG_TYPE): Likewise.
41077 (__SYSCALL_ULONG_TYPE): Likewise.
41079 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41081 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41082 Add sigaltstack-offsets.sym.
41083 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41084 <sigaltstack-offsets.h>.
41085 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41086 longjmp_msg pointer.
41087 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41088 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41090 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41092 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41094 * elf/stackguard-macros.h: Remove file.
41095 * sysdeps/generic/stackguard-macros.h: New file.
41096 * sysdeps/i386/stackguard-macros.h: Likewise.
41097 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41098 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41099 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41100 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41101 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41102 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41103 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41104 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41105 <elf/stackguard-macros.h>.
41108 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41109 __aligned__ in attribute.
41110 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41111 (gregset_t): Likewise.
41113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41115 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41116 * sysdeps/x86_64/64/Implies-after: Here. New file.
41117 * sysdeps/x86_64/x32/Implies-after: New file.
41119 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41121 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41122 and access return value for _dl_profile_fixup. Use R10_LP to
41125 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41127 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41129 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41131 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41132 * sysdeps/x86_64/x32/sysdep.h: New file.
41134 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41136 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41137 * sysdeps/x86_64/setjmp.S: Likewise.
41139 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41141 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41142 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41143 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41144 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41145 remove unused global constant.
41147 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41149 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41150 include of <not-cancel.h>.
41152 2012-05-15 Roland McGrath <roland@hack.frob.com>
41154 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41156 2012-05-15 Jeff Law <law@redhat.com>
41157 Andreas Jaeger <aj@suse.de>
41160 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41162 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41163 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41164 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41165 code changing __hst_map_handle.map.
41167 2012-05-15 Roland McGrath <roland@hack.frob.com>
41169 * configure.in (sysnames): Look for Implies-before and Implies-after
41171 * configure: Regenerated.
41173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41175 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41176 8-byte data alignment with LP_SIZE alignment.
41178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41180 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41183 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41185 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41189 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41190 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41191 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41193 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41195 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41197 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41198 (stackinfo_sub_sp): Likewise.
41200 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41205 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41207 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41210 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41212 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41217 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41219 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41221 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41222 into R11_LP and load __x86_64_shared_cache_size_half into
41225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41227 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41230 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41232 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41234 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41236 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41238 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41239 powerpc32/power7/fpu/s_logb.c via #include.
41240 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41241 powerpc32/power7/fpu/s_logbf.c via #include.
41242 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41243 powerpc32/power7/fpu/s_logbl.c via #include.
41245 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41247 * README.libm: Remove file.
41249 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41251 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41252 count for x32. Use R*_LP and omit operand-size suffix.
41254 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41256 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41257 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41258 * sysdeps/x86_64/x32/shlib-versions: New file.
41260 2012-05-14 Roland McGrath <roland@hack.frob.com>
41262 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41263 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41264 Use _dl_fatal_printf instead.
41266 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41268 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41269 set if not set by the user. Do not allow for being unset.
41270 * sysdeps/unix/sysv/linux/configure: Regenerated.
41272 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41274 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41275 the `q' suffix from lea and replace .quad with ASM_ADDR.
41277 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41280 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41282 (PTR_DEMANGLE): Likewise.
41284 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41286 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41288 (ASM_ADDR): Likewise.
41289 (RAX_LP): Likewise.
41290 (RBP_LP): Likewise.
41291 (RBX_LP): Likewise.
41292 (RCX_LP): Likewise.
41293 (RDI_LP): Likewise.
41294 (RSI_LP): Likewise.
41295 (RSP_LP): Likewise.
41298 (R10_LP): Likewise.
41299 (R10_LP): Likewise.
41300 (R11_LP): Likewise.
41301 (R12_LP): Likewise.
41302 (R13_LP): Likewise.
41303 (R14_LP): Likewise.
41304 (R15_LP): Likewise.
41306 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41308 * sysdeps/x86_64/x32/dl-machine.h: New file.
41310 2012-05-14 Andreas Jaeger <aj@suse.de>
41312 * manual/Makefile (subdir): Remove export of subdir.
41313 (all): Remove target.
41314 (.PHONY): Remove all from list.
41315 (mkinstalldirs): Remove.
41316 (.PHONY): Remove installdirs from list.
41317 ($(inst_infodir)/libc.info): Use make-target-directory.
41318 (installdirs): Remove.
41319 (subdir_%): Remove.
41320 (glibc-targets): Remove.
41323 ($(objpfx)stubs ../po/manual.pot): Remove.
41324 ($(objpfx)stamp%): Remove.
41325 (make-target-directory): Remove.
41326 (subdir_install): Remove.
41327 (routines): Remove.
41334 * manual/.gitignore: Remove, it's not needed anymore.
41335 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41337 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41339 (texis): Renamed to $(objpfx)texis.
41340 (texis-path): New, contains path to generated files.
41341 (chapters.%): Use texis-path for complete path, add extra argument
41343 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41344 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41345 (summary,texi, stamp-summary): Use complete path of
41346 files. Generate files in build dir.
41347 (dir-add.texi): Build in build dir.
41348 (libm-err.texi,stamp-libm-err): Likewise.
41349 (version.texi, stamp-version): Likewise.
41350 (.%c.texi): Likewise.
41351 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41352 (mostlyclean): Remove target.
41353 (realclean): Remove target.
41354 (generated): Add new variable with contents from mostlyclean and
41355 realclean, remove entries duplicated in common-mostlyclean, add
41356 stamp-libm-err and stamp-version.
41357 (generated-dirs): Add libc directory.
41358 ($(inst_infodir)/libc.info): Install files from build dir.
41360 * manual/install.texi (Configuring and compiling): Adjust since
41361 the info files are not part of the tar ball anymore.
41363 2012-05-14 Andreas Jaeger <aj@suse.de>
41365 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41368 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41371 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41372 to 2.2.0 where earlier.
41373 * sysdeps/unix/sysv/linux/configure: Regenerated.
41374 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41375 Remove conditional code.
41376 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41377 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41378 Remove conditional code.
41379 [!__NR_lchown]: Likewise.
41380 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41381 [__NR_lchown]: Likewise.
41382 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41383 comment referencing __ASSUME_LCHOWN_SYSCALL.
41384 * sysdeps/unix/sysv/linux/i386/sigaction.c
41385 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41386 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41387 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41388 Remove conditional code.
41389 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41390 (__protocol_available): Remove #if 0 code.
41391 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41393 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41394 * sysdeps/unix/sysv/linux/kernel-features.h
41395 (__ASSUME_GETCWD_SYSCALL): Don't define.
41396 (__ASSUME_REALTIME_SIGNALS): Likewise.
41397 (__ASSUME_PREAD_SYSCALL): Likewise.
41398 (__ASSUME_PWRITE_SYSCALL): Likewise.
41399 (__ASSUME_POLL_SYSCALL): Likewise.
41400 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41401 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41403 (__ASSUME_SIOCGIFNAME): Don't define.
41404 (__ASSUME_MSG_NOSIGNAL): Likewise.
41405 (__ASSUME_SENDFILE): Define unconditionally.
41406 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41407 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41409 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41410 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41411 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41412 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41413 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41414 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41415 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41417 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41418 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41420 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41421 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41423 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41424 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41426 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41427 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41429 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41430 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41432 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41433 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41435 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41436 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41438 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41439 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41440 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41441 Remove conditional code.
41442 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41443 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41444 Remove conditional code.
41445 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41446 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41447 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41448 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41449 Remove conditional code.
41450 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41451 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41452 Remove conditional code.
41453 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41454 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41455 Remove conditional code.
41456 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41457 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41458 Remove conditional code.
41459 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41460 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41461 Remove conditional code.
41462 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41463 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41464 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41465 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41466 * sysdeps/unix/sysv/linux/sigaction.c
41467 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41468 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41469 * sysdeps/unix/sysv/linux/sigpending.c
41470 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41471 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41472 * sysdeps/unix/sysv/linux/sigprocmask.c
41473 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41474 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41475 * sysdeps/unix/sysv/linux/sigsuspend.c
41476 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41477 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41478 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41479 (__libc_missing_rt_sigs): Remove.
41480 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41481 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41482 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41483 Remove conditional code.
41484 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41485 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41487 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41488 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41489 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41490 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41492 2012-05-14 Andreas Jaeger <aj@suse.de>
41494 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41495 it's not used in glibc.
41496 (__coshm1): Likewise.
41497 (__acosh1p): Likewise.
41500 * manual/string.texi (Copying and Concatenation): Add missing
41501 variable in concat example.
41502 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41504 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41507 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41508 __builtin_clzl with __builtin_clzll.
41510 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41513 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41516 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41518 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41519 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41520 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41521 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41523 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41525 * NEWS: Update ia64 info.
41527 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41529 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41532 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41534 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41535 * sysdeps/unix/syscalls.list (dup3): Likewise.
41536 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41537 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41539 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41541 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41542 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41544 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41546 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41548 (TLS_IE): Use mov/add instead of movq/addq to load thread
41550 (TLS_GD_PREFIX): New.
41553 2012-05-11 David S. Miller <davem@davemloft.net>
41555 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41556 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41557 (_FPU_SETCW): Likewise.
41559 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41561 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41562 is 32-byte aligned.
41564 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41567 * iconvdata/gb18030.c: Update tables.
41568 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41569 characters specially.
41570 (BODY for TO_LOOP): Add encoding of missing ranges.
41572 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41575 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41576 * sysdeps/mach/hurd/dup3.c: Likewise.
41577 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41578 * sysdeps/powerpc/memmove.c:: Likewise.
41580 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41582 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41583 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41585 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41587 * elf/elf.h (R_X86_64_RELATIVE64): New.
41588 (R_X86_64_NUM): Updated.
41589 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41590 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41591 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41592 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41593 tst-quad1pie tst-quad2pie
41594 (modules-names): Add tst-quadmod1 tst-quadmod2.
41595 ($(objpfx)tst-quad1): New dependency.
41596 ($(objpfx)tst-quad2): Likewise.
41597 ($(objpfx)tst-quad1pie): Likewise.
41598 ($(objpfx)tst-quad2pie): Likewise.
41599 * sysdeps/x86_64/tst-quad1.c: New file.
41600 * sysdeps/x86_64/tst-quad1pie.c: New file.
41601 * sysdeps/x86_64/tst-quad2.c: Likewise.
41602 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41603 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41604 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41605 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41606 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41608 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41610 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41611 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41612 * streams/stropts.h (t_scalar_t): Define type.
41614 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41615 (_PATH_PRESERVE): Set to "/var/lib".
41616 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41618 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41621 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41622 if __dir_mkfile succeeded.
41624 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41625 checking for _hurd_dtablesize. Unlock it right after having
41626 finished _hurd_dtable allocation.
41628 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41630 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41631 * sysdeps/mach/hurd/configure: Regenerated.
41632 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41633 special-casing to...
41634 * sysdeps/gnu/configure.in: ... this new file.
41635 * sysdeps/unix/sysv/linux/configure: Regenerated.
41636 * sysdeps/gnu/configure: New generated file.
41638 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41639 for Linux: use nsec instead of usec, as well as:
41640 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41641 members of type struct timespec.
41642 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41644 (struct stat64): Likewise.
41645 (_STATBUF_ST_NSEC): New macro.
41646 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41648 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41649 __strtoul_internal rather than strtoul.
41651 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41653 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41656 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41658 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41659 which preserves existing values.
41660 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41662 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41664 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41665 TIMEOUT values. Return EINVAL for NFDS values either negative or
41666 greater than FD_SETSIZE.
41668 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41670 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41671 allocated, call __vm_protect to finish enabling the existing space, and
41672 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41673 allocate the remainder.
41675 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41677 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41678 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41680 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41682 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41683 sysdeps/mach/hurd/readlink.c.
41685 * posix/tst-sysconf.c (posix_options): Only use
41686 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41687 _POSIX_SYNCHRONIZED_IO when they are defined
41688 * sysdeps/mach/hurd/bits/posix_opt.h:
41689 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41690 (_XOPEN_REALTIME): Undefine macro.
41691 (_XOPEN_REALTIME_THREADS): Undefine macro.
41692 (_XOPEN_SHM): Undefine macro.
41693 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41695 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41697 (_POSIX_ASYNC_IO): Undefine macro.
41698 (_POSIX_PRIORITIZED_IO): Undefine macro.
41699 (_POSIX_SPIN_LOCKS): Define macro to -1.
41701 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41702 SA_NODEFER, SA_RESETHAND.
41703 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41704 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41707 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41709 * elf/Makefile (pldd-modules): Define unconditionally.
41711 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41713 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41717 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41718 Return ENOENT when name is empty.
41719 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41721 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41723 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41725 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41727 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41729 Fix mlock in all cases except non-readable pages.
41730 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41731 instead of VM_PROT_ALL as parameter to __vm_wire function.
41733 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41734 (__mkdir): When path is `/', just fail with EEXIST.
41735 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41737 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41739 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41740 <sys/uio.h> (for writev).
41741 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41742 and <sys/param.h> (for MIN).
41744 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41746 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41747 REQUESTED_TIME. Properly set the remaining time and return EINTR
41750 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41752 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41753 Depend on against $(link-rpcuserlibs).
41755 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41757 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41758 (__libc_stack_end): Do not use attribute_relro.
41759 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41760 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41761 to libthread-provided value.
41762 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41765 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41768 * bits/libc-lock.h (__libc_once_get): New macro.
41769 * sysdeps/mach/bits/libc-lock.h: Likewise.
41770 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41771 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41772 instead of using implementation details.
41774 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41775 * libio/freopen.c: Likewise.
41776 * libio/freopen64.c: Likewise.
41777 * misc/syslog.c: Likewise.
41778 * nscd/connections.c: Likewise.
41779 * nscd/netgroupcache.c: Likewise.
41780 * sysdeps/posix/getcwd.c: Likewise.
41782 2012-05-10 Roland McGrath <roland@hack.frob.com>
41784 * math/w_ilogbf.c: Add #include <limits.h>.
41786 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41788 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41789 path instead of returning without unlocking.
41791 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41792 immediate-write ioctls.
41793 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41795 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41797 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41798 __builtin_frame_address instead of making assumptions about the
41799 location of the return address relative to DATA. Force early load of
41800 the return address.
41801 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41802 __builtin_frame_address.
41805 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41806 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41807 implement dup3 and do some further code clean-ups.
41808 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41809 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41813 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41815 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41816 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41817 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41818 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41819 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41822 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41823 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41824 when handler == SIG_ERR, not when handler != SIG_ERR.
41826 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41828 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41829 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41832 accept4 for GNU Hurd.
41833 * include/sys/socket.h (__libc_accept4): New prototype.
41834 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41835 to implement __libc_accept4.
41836 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41838 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41840 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41841 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41842 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41843 signal-defines.sym.
41845 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41847 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41849 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41851 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41852 assertion on O_CLOEXEC flag.
41853 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41854 * hurd/intern-fd.c: Likewise.
41855 * hurd/port2fd.c: Likewise.
41857 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41860 * bits/in.h (IPV6_PKTINFO): Define new macro.
41861 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41863 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41868 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41870 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41871 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41872 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41873 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41874 * math/libm-test.inc (logb_test) : Additional logb tests.
41876 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41877 Andreas Jaeger <aj@suse.de>
41879 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41880 * configure: Regenerated.
41881 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41882 * config.make.in (link-obsolete-rpc): New substituted variable.
41883 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41884 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41885 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41886 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41887 so that libc.a contains the symbols.
41888 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41889 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41890 * sunrpc/auth_none.c: Likewise.
41891 * sunrpc/auth_unix.c: Likewise.
41892 * sunrpc/authdes_prot.c: Likewise.
41893 * sunrpc/authuxprot.c: Likewise.
41894 * sunrpc/clnt_gen.c: Likewise.
41895 * sunrpc/clnt_perr.c: Likewise.
41896 * sunrpc/clnt_raw.c: Likewise.
41897 * sunrpc/clnt_simp.c: Likewise.
41898 * sunrpc/clnt_tcp.c: Likewise.
41899 * sunrpc/clnt_udp.c: Likewise.
41900 * sunrpc/clnt_unix.c: Likewise.
41901 * sunrpc/des_crypt.c: Likewise.
41902 * sunrpc/des_soft.c: Likewise.
41903 * sunrpc/get_myaddr.c: Likewise.
41904 * sunrpc/key_call.c: Likewise.
41905 * sunrpc/key_prot.c: Likewise.
41906 * sunrpc/netname.c: Likewise.
41907 * sunrpc/pm_getmaps.c: Likewise.
41908 * sunrpc/pm_getport.c: Likewise.
41909 * sunrpc/pmap_clnt.c: Likewise.
41910 * sunrpc/pmap_prot.c: Likewise.
41911 * sunrpc/pmap_prot2.c: Likewise.
41912 * sunrpc/pmap_rmt.c: Likewise.
41913 * sunrpc/publickey.c: Likewise.
41914 * sunrpc/rpc_cmsg.c: Likewise.
41915 * sunrpc/rpc_common.c: Likewise.
41916 * sunrpc/rpc_dtable.c: Likewise.
41917 * sunrpc/rpc_prot.c: Likewise.
41918 * sunrpc/rpc_thread.c: Likewise.
41919 * sunrpc/rtime.c: Likewise.
41920 * sunrpc/svc.c: Likewise.
41921 * sunrpc/svc_auth.c: Likewise.
41922 * sunrpc/svc_raw.c: Likewise.
41923 * sunrpc/svc_run.c: Likewise.
41924 * sunrpc/svc_tcp.c: Likewise.
41925 * sunrpc/svc_udp.c: Likewise.
41926 * sunrpc/svc_unix.c: Likewise.
41927 * sunrpc/svcauth_des.c: Likewise.
41928 * sunrpc/xcrypt.c: Likewise.
41929 * sunrpc/xdr.c: Likewise.
41930 * sunrpc/xdr_array.c: Likewise.
41931 * sunrpc/xdr_float.c: Likewise.
41932 * sunrpc/xdr_intXX_t.c: Likewise.
41933 * sunrpc/xdr_mem.c: Likewise.
41934 * sunrpc/xdr_rec.c: Likewise.
41935 * sunrpc/xdr_ref.c: Likewise.
41936 * sunrpc/xdr_sizeof.c: Likewise.
41937 * sunrpc/xdr_stdio.c: Likewise.
41939 2012-05-10 Roland McGrath <roland@hack.frob.com>
41941 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41942 change. Update copyright years.
41944 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41946 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41948 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41949 Joseph Myers <joseph@codesourcery.com>
41950 Paul Pluzhnikov <ppluzhnikov@google.com>
41953 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41955 [cross-compiling] (extra-libs): Likewise.
41956 [cross-compiling] (extra-libs-others): Likewise.
41957 [cross-compiling] (librpcsvc-routines): Likewise.
41958 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41959 [cross-compiling] (omit-deps): Likewise.
41960 (sunrpc-CPPFLAGS): New variable.
41961 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41962 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41963 (cross-rpcgen-objs): New variable.
41964 (extra-objs): Append $(cross-rpcgen-objs).
41965 ($(cross-rpcgen-objs)): New rule.
41966 ($(objpfx)cross-rpcgen): Likewise.
41967 (rpcgen-cmd): Define to use $(built-program-file). Expand
41969 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41970 ($(objpfx)x%.stmp): Likewise.
41971 * sunrpc/proto.h [IS_IN_build] (_): Define.
41972 [IS_IN_build] (_libc_intl_domainname): Likewise.
41974 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41976 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41977 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41978 and R_X86_64_TPOFF64.
41980 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41982 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41983 sysdeps/unix/sysv/syscalls.list.
41986 * sysdeps/unix/sysv/syscalls.list: Remove file.
41988 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41991 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41992 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41993 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41994 (__LC_IDENTIFICATION): Make these macros useful in #if
41995 expressions, as required by C99.
41997 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41999 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42000 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42003 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42005 * stdlib/longlong.h: Updated from GCC.
42007 2012-05-09 Andreas Jaeger <aj@suse.de>
42009 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42010 default is first entry.
42011 (run_mode): Set type.
42012 (main): Remove informal message about syslog.
42013 (options): Fix typo.
42016 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42019 (llrintf): Likewise.
42020 (llrint): Likewise.
42023 (nearbyint): Likewise.
42024 (nearbyintf): Likewise.
42026 2012-05-09 Andreas Jaeger <aj@suse.de>
42027 Pedro Alves <palves@redhat.com>
42029 * nscd/nscd.c (run_mode): Use enum.
42030 (main): Cleanup coding style issue.
42032 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42033 Andreas Jaeger <aj@suse.de>
42035 * nscd/nscd.c (go_background): Replaced with...
42036 (run_mode): ... this.
42037 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42038 (options): Add -F --foreground.
42039 (main): Implement it.
42040 (parse_opt): Parse it.
42042 2012-05-09 Andreas Jaeger <aj@suse.de>
42045 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42046 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42047 -Wconversion warning.
42048 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42051 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42053 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42055 (LC_ALL): Use macro-int-constant.
42056 (LC_COLLATE): Likewise.
42057 (LC_CTYPE): Likewise.
42058 (LC_MESSAGES): Likewise.
42059 (LC_MONETARY): Likewise.
42060 (LC_NUMERIC): Likewise.
42061 (LC_TIME): Likewise.
42062 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42063 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42064 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42065 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42067 [C99-based standards] (float_t): Expect type.
42068 [C99-based standards] (double_t): Expect type.
42069 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42071 [C99-based standards] (HUGE_VALL): Likewise.
42072 [C99-based standards] (INFINITY): Likewise.
42073 [C99-based standards] (NAN): Likewise.
42074 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42075 [C99-based standards] (FP_NAN): Likewise.
42076 [C99-based standards] (FP_NORMAL): Likewise.
42077 [C99-based standards] (FP_SUBNORMAL): Likewise.
42078 [C99-based standards] (FP_ZERO): Likewise.
42079 [C99-based standards] (FP_FAST_FMA): Use
42080 optional-macro-int-constant. Specify type. Require == 1.
42081 [C99-based standards] (FP_FAST_FMAF): Likewise.
42082 [C99-based standards] (FP_FAST_FMAL): Likewise.
42083 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42084 [C99-based standards] (FP_ILOGBNAN): Likewise.
42085 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42087 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42088 [C99-based standards] (math_errhandling): Specify type.
42089 [ISO99 || ISO11] (signgam): Do not allow.
42090 [non-C99-based standards] (copysignf): Do not allow.
42091 [non-C99-based standards] (exp2f): Likewise.
42092 [non-C99-based standards] (log2f): Likewise.
42093 [non-C99-based standards] (modff): Allow.
42094 [non-C99-based standards] (erff): Do not allow.
42095 [non-C99-based standards] (erfcf): Likewise.
42096 [non-C99-based standards] (gammaf): Likewise.
42097 [non-C99-based standards] (hypotf): Likewise.
42098 [non-C99-based standards] (j0f): Likewise.
42099 [non-C99-based standards] (j1f): Likewise.
42100 [non-C99-based standards] (jnf): Likewise.
42101 [non-C99-based standards] (lgammaf): Likewise.
42102 [non-C99-based standards] (tgammaf): Likewise.
42103 [non-C99-based standards] (y0f): Likewise.
42104 [non-C99-based standards] (y1f): Likewise.
42105 [non-C99-based standards] (ynf): Likewise.
42106 [non-C99-based standards] (isnanf): Likewise.
42107 [non-C99-based standards] (acoshf): Likewise.
42108 [non-C99-based standards] (asinhf): Likewise.
42109 [non-C99-based standards] (atanhf): Likewise.
42110 [non-C99-based standards] (cbrtf): Likewise.
42111 [non-C99-based standards] (expm1f): Likewise.
42112 [non-C99-based standards] (ilogbf): Likewise.
42113 [non-C99-based standards] (log1pf): Likewise.
42114 [non-C99-based standards] (logbf): Likewise.
42115 [non-C99-based standards] (nextafterf): Likewise.
42116 [non-C99-based standards] (remainderf): Likewise.
42117 [non-C99-based standards] (rintf): Likewise.
42118 [non-C99-based standards] (scalbf): Likewise.
42119 [non-C99-based standards] (copysignl): Likewise.
42120 [non-C99-based standards] (exp2l): Likewise.
42121 [non-C99-based standards] (log2l): Likewise.
42122 [non-C99-based standards] (modfl): Allow.
42123 [non-C99-based standards] (erfl): Do not allow.
42124 [non-C99-based standards] (erfcl): Likewise.
42125 [non-C99-based standards] (gammal): Likewise.
42126 [non-C99-based standards] (hypotl): Likewise.
42127 [non-C99-based standards] (j0l): Likewise.
42128 [non-C99-based standards] (j1l): Likewise.
42129 [non-C99-based standards] (jnl): Likewise.
42130 [non-C99-based standards] (lgammal): Likewise.
42131 [non-C99-based standards] (tgammal): Likewise.
42132 [non-C99-based standards] (y0l): Likewise.
42133 [non-C99-based standards] (y1l): Likewise.
42134 [non-C99-based standards] (ynl): Likewise.
42135 [non-C99-based standards] (isnanl): Likewise.
42136 [non-C99-based standards] (acoshl): Likewise.
42137 [non-C99-based standards] (asinhl): Likewise.
42138 [non-C99-based standards] (atanhl): Likewise.
42139 [non-C99-based standards] (cbrtl): Likewise.
42140 [non-C99-based standards] (expm1l): Likewise.
42141 [non-C99-based standards] (ilogbl): Likewise.
42142 [non-C99-based standards] (log1pl): Likewise.
42143 [non-C99-based standards] (logbl): Likewise.
42144 [non-C99-based standards] (nextafterl): Likewise.
42145 [non-C99-based standards] (remainderl): Likewise.
42146 [non-C99-based standards] (rintl): Likewise.
42147 [non-C99-based standards] (scalbl): Likewise.
42148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42149 [non-C99-based standards] (FP_*): Do not allow.
42150 [C99-based standards] (FP_*): Change to
42151 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42152 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42154 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42155 (SIG_ERR): Likewise.
42156 [X/Open-based standards] (SIG_HOLD): Likewise.
42157 (SIG_IGN): Likewise.
42158 (SIGABRT): Use macro-int-constant. Specify type. Require
42160 (SIGFPE): Likewise.
42161 (SIGILL): Likewise.
42162 (SIGINT): Likewise.
42163 (SIGSEGV): Likewise.
42164 (SIGTER): Likewise.
42165 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42166 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42167 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42168 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42169 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42170 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42171 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42172 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42173 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42174 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42175 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42176 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42177 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42178 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42179 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42180 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42181 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42182 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42183 [X/Open-based standards] (SIGTRAP): Likewise.
42184 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42185 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42186 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42187 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42188 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42191 2012-05-08 Ian Wienand <ianw@vmware.com>
42194 * time/tzset.c (__tzset_parse_tz): Update default rules for
42195 daylight time changes in the Energy Policy Act of 2005.
42197 2012-05-09 Andreas Jaeger <aj@suse.de>
42200 * elf/ldconfig.c (parse_conf): Change string to make clear that
42201 ldconfig only issued a warning if ld.so.conf does not exist.
42203 2012-05-08 David S. Miller <davem@davemloft.net>
42205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42206 movxtod instead of popping the value on the stack.
42208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42210 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42212 * config.h.in: Add HAVE_ARM_PCS_VFP.
42214 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42217 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42218 checking but the checks are disabled for any reason.
42220 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42222 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42223 and ELF64_R_TYPE with ELFW(R_TYPE).
42225 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42227 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42228 (ulimit): Likewise.
42230 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42231 (settimeofday): Likewise.
42233 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42235 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42236 a struct th_u2 inside the union, and move tu_block/tu_code into
42237 a new th_u3 union of tu_block/tu_code inside of that. Move
42238 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42239 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42240 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42241 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42242 (th_stuff): Change to th_u1.tu_stuff.
42244 (th_msg): Change to th_u1.th_u2.tu_data.
42246 2012-05-07 David S. Miller <davem@davemloft.net>
42248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42251 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42252 (SETUP_PIC_REG): Use it.
42253 (SETUP_PIC_REG_LEAF): Use it.
42255 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42259 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42261 (EXPL_FINITE): Likewise.
42262 (FLDLOG): Likewise.
42263 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42264 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42266 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42268 (EXPL_FINITE): Likewise.
42269 (FLDLOG): Likewise.
42270 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42271 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42273 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42274 test of -max_value argument for long double.
42275 * sysdeps/i386/fpu/libm-test-ulps: Update.
42276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42278 2012-05-06 David S. Miller <davem@davemloft.net>
42280 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42281 quad soft-float symbols whose references which are compiler
42283 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42285 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42289 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42291 (EXPL_FINITE): Likewise.
42292 (FLDLOG): Likewise.
42295 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42296 Adjust comments for base varying.
42297 (__expl_finite): Change alias to EXPL_FINITE.
42298 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42300 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42301 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42302 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42303 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42304 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42306 (EXPL_FINITE): Likewise.
42307 (FLDLOG): Likewise.
42310 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42311 Adjust comments for base varying.
42312 (__expl_finite): Change alias to EXPL_FINITE.
42313 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42318 * math/libm-test.inc (check_float_internal): Correct ulp
42319 calculation for subnormal expected results.
42321 2012-05-06 Andreas Jaeger <aj@suse.de>
42323 * Makeconfig (+math-flags): New, set to -frounding-math.
42324 (+cflags): Add +math-flags so that all of glibc gets compiled with
42327 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42329 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42331 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42337 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42338 (__ieee754_expl): Allow for and saturate large arguments.
42339 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42340 (u_threshold): Likewise.
42341 (__exp): Call __ieee754_exp before checking for overflow and
42343 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42344 (u_threshold): Likewise.
42345 (__expf): Call __ieee754_expf before checking for overflow and
42347 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42348 (u_threshold): Likewise.
42349 (__expl): Call __ieee754_expl before checking for overflow and
42351 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42352 (__ieee754_expl): Allow for and saturate large arguments.
42353 * math/libm-test.inc (exp_test): Add another test. Do not allow
42354 missing overflow exception on overflow.
42355 (expm1_test): Do not allow missing overflow exception on overflow.
42357 * sysdeps/i386/fpu/e_expl.c: Move to ...
42358 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42359 rather than using inline asm.
42360 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42361 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42362 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42364 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42367 (signal): Likewise.
42371 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42373 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42374 sysdeps/unix/common/syscalls.list.
42375 (fchmod): Likewise.
42376 (fchown): Likewise.
42377 (ftruncate): Likewise.
42378 (getrusage): Likewise.
42379 (gettimeofday): Likewise.
42380 (setpgid): Likewise.
42381 (setregid): Likewise.
42382 (setreuid): Likewise.
42383 (sigaction): Likewise.
42384 (truncate): Likewise.
42385 (vhangup): Likewise.
42386 * sysdeps/unix/common/syscalls.list: Remove file.
42387 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42388 * sysdeps/unix/sysv/linux/Implies: Likewise.
42390 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42392 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42393 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42394 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42396 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42398 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42401 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42403 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42404 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42406 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42407 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42410 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42413 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42415 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42416 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42420 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42424 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42426 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42427 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42429 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42431 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42433 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42435 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42437 * sysdeps/unix/common/bits/dirent.h: Remove file.
42438 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42440 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42441 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42442 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42443 * sysdeps/unix/bsd/isatty.c: Likewise.
42444 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42445 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42446 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42448 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42451 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42452 long double comparison inaccuracies.
42453 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42456 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42458 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42459 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42461 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42464 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42465 nonzero digits before rounding a hex value.
42466 * stdlib/tst-strtod.c (tests): Add another test.
42468 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42470 * sysdeps/s390/fpu/libm-test-ulps: Update.
42472 2012-05-03 Andreas Jaeger <aj@suse.de>
42474 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42475 does not get optimized out.
42476 (malloc_opt_barrier): New.
42478 2012-05-03 Andreas Jaeger <aj@suse.de>
42479 Roland McGrath <roland@hack.frob.com>
42481 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42482 intermediate file deletion.
42483 (generated): Add .symlist files.
42485 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42488 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42489 Redirect under this condition.
42490 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42491 [__USE_GNU] (__dprintf_chk): Not under this condition.
42492 [__USE_GNU] (__vdprintf_chk): Likewise.
42493 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42494 under this condition.
42495 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42496 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42497 [__USE_XOPEN2K8] (vdprintf): Likewise.
42498 [__USE_GNU] (__dprintf_chk): Not under this condition.
42499 [__USE_GNU] (__vdprintf_chk): Likewise.
42500 [__USE_GNU] (dprintf): Likewise.
42501 [__USE_GNU] (vdprintf): Likewise.
42503 2012-05-03 Roland McGrath <roland@hack.frob.com>
42505 * elf/Makefile (common-generated): Set this instead of generated for
42506 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42507 $(all-built-dso)-derived lists.
42509 2012-05-03 Andreas Jaeger <aj@suse.de>
42511 * sysdeps/i386/fpu/libm-test-ulps: Update.
42514 * FAQ.in: Likewise.
42515 * scripts/gen-FAQ.pl: Likewise.
42516 * manual/install.texi (Installation): Point to online location of
42518 * Makefile (files-for-dist): Remove FAQ.
42521 2012-05-02 Allan McRae <allan@archlinux.org>
42523 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42524 (LDFLAGS-reldepmod5.so): Likewise.
42525 (LDFLAGS-reldep6mod1.so): Likewise.
42526 (LDFLAGS-reldep6mod4.so): Likewise.
42527 (LDFLAGS-reldep8mod3.so): Likewise.
42528 (LDFLAGS-unload4mod1.so): Likewise.
42529 (LDFLAGS-unload4mod2.so): Likewise.
42530 (LDFLAGS-tst-initorder): Likewise.
42531 (LDFLAGS-tst-initordera2.so): Likewise.
42532 (LDFLAGS-tst-initordera3.so): Likewise.
42533 (LDFLAGS-tst-initordera4.so): Likewise.
42534 (LDFLAGS-tst-initorderb2.so): Likewise.
42535 (LDFLAGS-noload): Likewise.
42536 (LDFLAGS-next): Likewise.
42537 (LDFLAGS-order2mod1.so): Likewise.
42538 (LDFLAGS-order2mod2.so): Likewise.
42539 (LDFLAGS-tst-initorder2): Likewise.
42540 (LDFLAGS-tst-initorder2a.so): Likewise.
42541 (LDFLAGS-tst-initorder2b.so): Likewise.
42542 (LDFLAGS-tst-initorder2c.so): Likewise.
42543 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42545 2012-05-02 David S. Miller <davem@davemloft.net>
42547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42549 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42552 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42554 2012-05-02 Andreas Jaeger <aj@suse.de>
42556 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42557 since we manipulate rounding mode.
42558 (CPPFLAGS-test-idouble.c): Likewise.
42559 (CPPFLAGS-test-ifloat.c): Likewise.
42560 (CFLAGS-test-ldouble.c): Likewise.
42561 (CFLAGS-test-double.c): Likewise.
42562 (CFLAGS-test-float.c): Likewise.
42563 (CFLAGS-test-misc.c): Likewise.
42564 (CFLAGS-test-test-fenv.c): Likewise.
42566 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42570 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42571 comparisons to determine direction to adjust input.
42573 2012-05-01 Roland McGrath <roland@hack.frob.com>
42575 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42576 output to the target.
42578 * scripts/localplt.awk: New file.
42579 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42580 (check-localplt-CFLAGS): Variable removed.
42581 ($(all-built-dso:=.jmprel)): New static pattern rule.
42582 (generated): Add those targets.
42583 (localplt-built-dso): New variable.
42584 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42586 * elf/check-localplt.c: File removed.
42588 * scripts/check-execstack.awk: New file.
42589 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42590 (check-execstack-CFLAGS): Variable removed.
42591 ($(objpfx)check-execstack.h): Target removed.
42592 ($(objpfx)execstack-default): New target.
42593 (generated): Add that instead of check-execstack.h.
42594 ($(all-built-dso:=.phdr)): New static pattern rule.
42595 (generated): Add those targets.
42596 * elf/check-execstack.c: File removed.
42598 * scripts/check-textrel.awk: New file.
42599 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42600 (check-textrel-CFLAGS): Variable removed.
42601 (all-built-dso): Use := to define.o
42602 ($(all-built-dso:=.dyn)): New static pattern rule.
42603 (generated): Add those targets.
42604 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42605 * config.make.in (READELF): New substituted variable.
42606 * elf/check-textrel.c: File removed.
42608 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42610 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42612 * conform/data/ctype.h-data [C99-based standards] (isblank):
42614 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42615 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42617 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42618 Specify type. Require positive value.
42619 (EILSEQ): Likewise.
42620 (ERANGE): Likewise.
42621 [ISO || POSIX] (EILSEQ): Do not expect.
42622 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42623 Specify type. Require positive value.
42624 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42625 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42626 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42627 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42628 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42629 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42630 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42631 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42632 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42633 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42634 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42635 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42636 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42637 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42638 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42639 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42640 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42641 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42642 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42643 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42644 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42645 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42646 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42647 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42648 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42649 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42650 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42651 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42652 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42653 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42654 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42655 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42656 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42657 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42658 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42659 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42660 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42661 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42662 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42663 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42664 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42665 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42666 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42667 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42668 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42669 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42670 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42671 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42672 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42673 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42674 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42675 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42676 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42677 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42678 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42679 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42680 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42681 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42682 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42683 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42684 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42685 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42686 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42687 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42688 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42689 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42690 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42691 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42692 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42693 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42694 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42695 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42696 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42697 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42698 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42699 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42700 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42702 (FLT_ROUNDS): Expect as macro, not constant.
42703 (FLT_MANT_DIG): Use macro-int-constant.
42704 (DBL_MANT_DIG): Likewise.
42705 (LDBL_MANT_DIG): Likewise.
42706 (FLT_DIG): Likewise.
42707 (DBL_DIG): Likewise.
42708 (LDBL_DIG): Likewise.
42709 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42710 (DBL_MIN_EXP): Likewise.
42711 (LDBL_MIN_EXP): Likewise.
42712 (FLT_MAX_EXP): Use macro-int-constant.
42713 (DBL_MAX_EXP): Likewise.
42714 (LDBL_MAX_EXP): Likewise.
42715 (FLT_MAX_10_EXP): Likewise.
42716 (DBL_MAX_10_EXP): Likewise.
42717 (LDBL_MAX_10_EXP): Likewise.
42718 (FLT_MAX): Use macro-constant.
42719 (DBL_MAX): Likewise.
42720 (LDBL_MAX): Likewise.
42721 (FLT_EPSILON): Use macro-constant. Give upper bound.
42722 (DBL_EPSILON): Likewise.
42723 (LDBL_EPSILON): Likewise.
42724 (FLT_MIN): Likewise.
42725 (DBL_MIN): Likewise.
42726 (LDBL_MIN): Likewise.
42727 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42728 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42729 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42730 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42731 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42732 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42733 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42734 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42735 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42736 [ISO11] (FLT_TRUE_MIN): Likewise.
42737 [ISO11] (LDBL_TRUE_MIN): Likewise.
42738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42739 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42740 (SCHAR_MIN): Use macro-int-constant. Specify type.
42741 (SCHAR_MAX): Likewise.
42742 (UCHAR_MAX): Likewise.
42743 (CHAR_MIN): Likewise.
42744 (CHAR_MAX): Likewise.
42745 (MB_LEN_MAX): Use macro-int-constant.
42746 (SHRT_MIN): Use macro-int-constant. Specify type.
42747 (SHRT_MAX): Likewise.
42748 (USHRT_MAX): Likewise.
42749 (INT_MAX): Likewise.
42750 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42752 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42754 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42756 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42757 bound negative. Suffix upper bound with "L".
42758 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42760 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42762 [C99-based standards] (LLONG_MAX): Likewise.
42763 [C99-based standards] (ULLONG_MAX): Likewise.
42764 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42766 [ISO11] (max_align_t): Require type.
42767 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42769 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42770 from $CFLAGS, without defining away __attribute__ calls.
42771 (checknamespace): Use $CFLAGS_namespace.
42773 * conform/conformtest.pl (@keywords): Only include C99 keywords
42774 for standards based on C99 or C11.
42776 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42778 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42781 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42782 usability of symbols in #if.
42784 * conform/conformtest.pl: If macro or constant types start
42785 "promoted:", expect the symbol to be of the following type
42786 promoted by the integer promotions.
42788 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42789 in one place. Also handle "macro-constant".
42791 * conform/conformtest.pl: Only accept expected macro values with
42792 "==". Parse all "macro" lines in one place.
42793 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42795 * conform/conformtest.pl: Handle braced types on "constant" lines
42796 instead of handling "typed-constant".
42797 * conform/data/signal.h-data: Use "constant" instead of
42800 * conform/conformtest.pl: Handle "optional-" at start of lines in
42801 one place rather than duplicating several cases. Handle each
42802 format of "macro" line with initial "optional-".
42804 * conform/conformtest.pl: Only accept expected constant or
42805 optional-constant values with "==". Parse all "constant" lines in
42806 one place. Parse all "optional-constant" lines in one place.
42807 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42808 * conform/data/fmtmsg.h-data: Likewise.
42809 * conform/data/netinet/in.h-data: Likewise.
42810 * conform/data/tar.h-data: Likewise.
42811 * conform/data/limits.h-data: Use "==" form on "constant" and
42812 "optional-constant" lines.
42814 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42815 Use -std=c99 for XOPEN2K.
42816 (@knownproblems): Remove.
42817 (newtoken): Don't check %isknown.
42819 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42820 Do not expect macro.
42821 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42822 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42823 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42824 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42825 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42826 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42827 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42828 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42829 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42830 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42831 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42832 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42833 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42834 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42835 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42836 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42837 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42838 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42839 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42840 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42841 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42842 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42843 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42844 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42845 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42846 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42847 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42848 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42849 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42850 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42851 [XPG3] (acosh): Likewise.
42852 [XPG3] (asinh): Likewise.
42853 [XPG3] (atanh): Likewise.
42854 [XPG3] (cbrt): Likewise.
42855 [XPG3] (expm1): Likewise.
42856 [XPG3] (ilogb): Likewise.
42857 [XPG3] (log1p): Likewise.
42858 [XPG3] (logb): Likewise.
42859 [XPG3] (nextafter): Likewise.
42860 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42861 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42862 [XPG3] (remainder): Likewise.
42863 [XPG3] (rint): Likewise.
42864 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42865 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42866 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42867 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42868 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42869 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42870 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42871 [UNIX98 || XOPEN2K] (scalb): Expect.
42872 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42873 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42874 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42875 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42876 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42877 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42878 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42879 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42880 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42881 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42882 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42883 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42884 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42885 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42886 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42887 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42888 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42889 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42890 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42891 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42892 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42893 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42894 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42895 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42896 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42897 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42898 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42899 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42900 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42901 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42902 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42903 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42904 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42905 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42906 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42907 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42908 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42909 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42910 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42911 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42912 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42915 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42916 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42917 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42918 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42919 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42920 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42921 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42922 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42923 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42924 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42925 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42926 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42927 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42928 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42929 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42930 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42931 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42932 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42933 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42934 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42935 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42936 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42937 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42938 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42939 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42940 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42941 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42942 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42943 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42944 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42945 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42946 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42947 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42955 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42956 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42957 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42958 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42959 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42975 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42976 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42977 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42978 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42979 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42980 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42981 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42982 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42983 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42984 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42985 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42986 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42987 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42988 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42989 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42990 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42993 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42994 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42995 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42996 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42997 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42998 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42999 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43000 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43003 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43004 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43005 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43010 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43011 _XOPEN_SOURCE_EXTENDED for XPG4.
43013 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43015 * Makeconfig (localtime): Remove variable.
43016 (inst_localtime-file): Likewise.
43018 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43039 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43043 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43044 comparisons to determine direction to adjust input.
43045 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43046 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43047 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43049 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43051 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43053 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43054 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43056 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43058 * math/libm-test.inc (nexttoward_test): Add more tests.
43060 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43063 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43064 in version GLIBC_2.1, not GLIBC_2.0.
43065 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43068 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43071 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43073 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43074 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43075 * math/libm-test.inc (acos_test): Add more tests.
43076 (asin_test): Likewise.
43077 * sysdeps/i386/fpu/libm-test-ulps: Update.
43078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43081 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43083 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43084 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43085 * math/libm-test.inc (acos_test_tonearest): New function.
43086 (acos_test_towardzero): Likewise.
43087 (acos_test_downward): Likewise.
43088 (acos_test_upward): Likewise.
43089 (asin_test_tonearest): Likewise.
43090 (asin_test_towardzero): Likewise.
43091 (asin_test_downward): Likewise.
43092 (asin_test_upward): Likewise.
43093 (main): Call the new functions.
43094 * sysdeps/i386/fpu/libm-test-ulps: Update.
43095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43099 * math/e_exp10.c: Include <float.h>.
43100 (__ieee754_exp10): Handle underflow here rather than multiplying
43101 large negative argument by M_LN10.
43102 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43104 * math/e_exp10l.c: Include <float.h>.
43105 (__ieee754_exp10l): Handle underflow here rather than multiplying
43106 large negative argument by M_LN10l.
43107 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43108 spurious overflow exception on underflow.
43110 2012-04-29 Marek Polacek <polacek@redhat.com>
43112 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43113 (__fortify_function): New macro.
43114 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43115 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43116 __extern_always_inline.
43117 * libio/bits/stdio2.h: Likewise.
43118 * libio/bits/stdio.h: Likewise.
43119 * string/string.h: Likewise.
43120 * string/bits/string3.h: Likewise.
43121 * include/stdio.h: Likewise.
43122 * stdlib/bits/stdlib.h: Likewise.
43123 * stdlib/stdlib.h: Likewise.
43124 * rt/bits/mqueue2.h: Likewise.
43125 * rt/mqueue.h: Likewise.
43126 * posix/bits/unistd.h: Likewise.
43127 * posix/unistd.h: Likewise.
43128 * io/bits/poll2.h: Likewise.
43129 * io/bits/fcntl2.h: Likewise.
43130 * io/fcntl.h: Likewise.
43131 * io/sys/poll.h: Likewise.
43132 * misc/bits/syslog.h: Likewise.
43133 * misc/bits/syslog-ldbl.h: Likewise.
43134 * misc/sys/syslog.h: Likewise.
43135 * socket/bits/socket2.h: Likewise.
43136 * socket/sys/socket.h: Likewise.
43137 * debug/tst-chk1.c: Likewise.
43138 * wcsmbs/bits/wchar2.h: Likewise.
43139 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43140 * wcsmbs/wchar.h: Likewise.
43142 2012-04-29 Andreas Jaeger <aj@suse.de>
43144 * Makerules (tests): Remove enable-check-abi protection.
43145 (check-abi-warn): Remove.
43146 (check-abi-%): Remove check-abi-warn usage.
43148 * configure.in: Remove check-abi configure option.
43149 * configure: Regenerated.
43150 * config.make.in (enable-check-abi): Remove.
43152 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43155 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43156 double functions to double *_finite functions.
43159 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43160 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43162 * stdio-common/Makefile (tests): Add tst-sprintf3.
43163 * stdio-common/tst-sprintf3.c: New file.
43165 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43166 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43168 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43170 * conform/conformtest.pl: Remove duplicate typed-constant
43173 2012-04-28 David S. Miller <davem@davemloft.net>
43175 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43176 (check-abi-%): Remove AWK script prerequisite and explicit
43178 (check-abi): Rewrite to just diff the symlist with the abilist.
43179 (config-tls, config-abi-config): Delete, no longer used.
43180 (update-abi-%): Remove AWK script and explicit abilist directory.
43181 (update-abi): Rewrite to simply compare and conditionally copy the
43182 symlist and the sysdep abilist file. Remove update-abi-config
43184 * abilist/ld.abilist: Remove.
43185 * abilist/libBrokenLocale.abilist: Remove.
43186 * abilist/libanl.abilist: Remove.
43187 * abilist/libcrypt.abilist: Remove.
43188 * abilist/libdl.abilist: Remove.
43189 * abilist/librt.abilist: Remove.
43190 * abilist/libthread_db.abilist: Remove.
43191 * abilist/libutil.abilist: Remove.
43192 * scripts/extract-abilist.awk: Remove.
43193 * scripts/merge-abilist.awk: Remove.
43194 * sysdeps/generic/libcidn.abilist: New file.
43195 * sysdeps/generic/libnss_compat.abilist: New file.
43196 * sysdeps/generic/libnss_db.abilist: New file.
43197 * sysdeps/generic/libnss_dns.abilist: New file.
43198 * sysdeps/generic/libnss_files.abilist: New file.
43199 * sysdeps/generic/libnss_hesiod.abilist: New file.
43200 * sysdeps/generic/libnss_nis.abilist: New file.
43201 * sysdeps/generic/libnss_nisplus.abilist: New file.
43202 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43203 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43204 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43206 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43207 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43208 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43209 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43210 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43211 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43212 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43213 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43214 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43216 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43217 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43218 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43219 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43221 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43222 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43223 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43224 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43225 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43226 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43228 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43229 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43230 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43232 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43233 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43235 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43237 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43239 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43241 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43243 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43245 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43247 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43294 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43296 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43317 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43335 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43336 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43337 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43339 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43340 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43341 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43342 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43343 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43344 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43345 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43346 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43347 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43348 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43350 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43356 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43358 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43362 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43379 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43381 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43383 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43387 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43389 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43400 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43402 * conform/conformtest.pl: Fix typo in handling typed-constant from
43405 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43407 * README: Cut down references to pre-2.6 Linux kernels and
43408 Linuxthreads. Update lists of configurations in libc and ports
43409 and sort alphabetically. Say "or newer" with Linux kernel version
43412 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43414 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43417 * math/libm-test.inc (logb_test_downward): New test to expose
43418 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43421 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43424 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43426 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43427 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43429 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43431 * sysdeps/unix/i386/brk.S: Remove file.
43432 * sysdeps/unix/i386/dl-brk.S: Likewise.
43433 * sysdeps/unix/i386/pipe.S: Likewise.
43434 * sysdeps/unix/i386/sigreturn.S: Likewise.
43435 * sysdeps/unix/i386/syscall.S: Likewise.
43436 * sysdeps/unix/i386/vfork.S: Likewise.
43437 * sysdeps/unix/i386/wait.S: Likewise.
43439 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43440 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43442 * configure.in (arm*-none*): Do not allow without
43443 --enable-hacker-mode.
43444 (netbsd*): Remove case setting base_os.
43445 (386bsd*): Likewise.
43446 (freebsd*): Likewise.
43449 (sunos*): Likewise.
43450 (ultrix*): Likewise.
43451 (newsos*): Likewise.
43452 (dynix*): Likewise.
43458 (minix*): Likewise.
43459 (irix4*): Likewise.
43460 (irix6*): Likewise.
43461 (solaris[2-9]*): Likewise.
43463 * configure: Regenerated.
43465 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43468 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43469 overflow or cancellation in calculating denominator.
43470 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43471 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43472 down expression to avoid unexpected rounding in newer GCCs.
43473 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43475 2012-04-26 David S. Miller <davem@davemloft.net>
43477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43478 long-double compat symbols.
43479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43493 2012-04-25 David S. Miller <davem@davemloft.net>
43495 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43496 HWCAP_* values only after the memory barriers have been defined.
43497 (atomic_full_barrier): Define.
43498 (atomic_read_barrier): Define.
43499 (atomic_write_barrier): Define.
43501 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43503 * shlib-versions: Add libgcc_s version information.
43504 * sysdeps/generic/libgcc_s.h: Remove.
43505 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43507 * sysdeps/gnu/unwind-resume.c: Likewise.
43508 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43510 2012-04-25 David S. Miller <davem@davemloft.net>
43512 * sysdeps/unix/sparc/brk.S: Delete.
43513 * sysdeps/unix/sparc/dl-brk.S: Delete.
43514 * sysdeps/unix/sparc/pipe.S: Delete.
43515 * sysdeps/unix/sparc/sysdep.S: Delete.
43516 * sysdeps/unix/sparc/sysdep.h: Delete.
43517 * sysdeps/unix/sparc/vfork.S: Delete.
43518 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43519 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43520 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43521 (ret_ERRVAL, r0, r1, MOVE): Define.
43522 (JUMPTARGET): Remove.
43523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43524 sysdeps/unix/sparc/sysdep.h
43525 (ENTRY, END): Remove.
43526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43528 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43530 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43531 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43534 * timezone/README: Update upstream location and email address for
43536 * timezone/zdump.c: Update from tzcode 2012b.
43537 * timezone/zic.c: Likewise.
43539 * configure.in (libc_cv_as_needed): Remove test.
43540 * configure: Regenerated.
43541 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43542 conditional definition.
43543 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43544 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43545 * config.make.in (have-as-needed): Remove variable.
43547 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43548 Paul Pluzhnikov <ppluzhnikov@google.com>
43550 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43553 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43555 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43556 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43557 * sysdeps/sh/strlen.S: Likewise.
43559 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43561 * sysdeps/unix/fork.S: Remove file.
43562 * sysdeps/unix/i386/fork.S: Likewise.
43563 * sysdeps/unix/sparc/fork.S: Likewise.
43565 * sysdeps/unix/system.c: Remove file.
43566 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43568 * sysdeps/unix/getegid.S: Remove file.
43569 * sysdeps/unix/geteuid.S: Likewise.
43571 2012-04-24 Roland McGrath <roland@hack.frob.com>
43573 * scripts/check-localplt.awk: New file.
43574 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43576 * scripts/data/localplt-generic.data: Add a comment.
43578 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43579 NODE when __dir_mkfile failed.
43580 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43581 Reported by Ludovic Courtès <ludo@gnu.org>.
43583 2012-04-24 Andreas Jaeger <aj@suse.de>
43585 * Makerules (common-clean): Also remove gen-as-const-headers
43588 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43590 * Makerules (native-compile): Do not change working directory for
43591 build. Use $(OUTPUT_OPTION) in command.
43592 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43594 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43597 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43598 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43599 * math/libm-test.inc (floor_test): Add more tests.
43600 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43602 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43604 * sysdeps/unix/getdents.c: Remove file.
43605 * sysdeps/unix/sysv/getdents.c: Likewise.
43606 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43608 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43609 sysdeps/unix/mman/syscalls.list.
43611 (mprotect): Likewise.
43613 (munmap): Likewise.
43614 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43615 * sysdeps/unix/mman/syscalls.list: Remove.
43616 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43618 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43619 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43620 * configure: Regenerated.
43621 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43622 $(libgcc_s_suffix).
43623 * config.make.in (libgcc_s_suffix): Remove variable.
43625 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43627 * sysdeps/unix/sysv/gethostname.c: Move to ...
43628 * sysdeps/posix/gethostname.c: ... here.
43630 * sysdeps/unix/execve.S: Remove file.
43632 * sysdeps/unix/_exit.S: Remove file.
43634 2012-04-23 Andreas Jaeger <aj@suse.de>
43637 * manual/Makefile: Remove make dist support, there's no
43638 need for a stand-alone documentation tar ball.
43639 (TEXI2DVI): Define always, it's not in Makeconfig.
43642 (edition): Removed.
43643 (glibc-doc-$(edition).tar): Removed
43647 (ETAGS): Remove, it's in Makeconfig.
43648 (move-if-change): Remove, it's in Makeconfig.
43650 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43653 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43654 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43655 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43656 (strtod_l, strtof_l, strtold_l): Remove __wur.
43657 It is not necessarily an error to ignore strtol's return value.
43658 One can reliably look at the stored endptr to decide whether
43659 the number had valid syntax.
43661 2012-04-21 Andreas Jaeger <aj@suse.de>
43664 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43666 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43668 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43669 * sysdeps/unix/sysv/Versions: Remove file.
43671 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43676 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43679 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43680 version from __vm86.
43682 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43684 * sysdeps/unix/common/lxstat.c: Remove file.
43685 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43687 * sysdeps/unix/sysv/Makefile: Remove file.
43689 * sysdeps/unix/sysv/direct.h: Remove file.
43691 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43692 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43693 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43694 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43695 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43696 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43697 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43699 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43701 * sysdeps/unix/xmknod.c: Remove file.
43702 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43704 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43706 * sysdeps/unix/sysv/i386/time.S: Remove file.
43708 * sysdeps/unix/fxstat.c: Remove file.
43709 * sysdeps/unix/xstat.c: Likewise.
43710 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43712 * sysdeps/unix/sysv/sigaction.c: Remove file.
43714 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43715 (sysdep_headers): Remove variable.
43716 [termio.h not in sysdep_headers] (generated): Likewise.
43717 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43718 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43719 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43720 * sysdeps/unix/sysv/tcflow.c: Likewise.
43721 * sysdeps/unix/sysv/tcflush.c: Likewise.
43722 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43723 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43724 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43725 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43726 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43728 * sysdeps/unix/siglist.c: Remove file.
43730 * sysdeps/unix/getppid.S: Remove file.
43732 * sysdeps/unix/mkdir.c: Remove file.
43733 * sysdeps/unix/rmdir.c: Likewise.
43735 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43737 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43739 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43740 errlist-compat value.
43742 2012-04-18 David S. Miller <davem@davemloft.net>
43744 * sysdeps/generic/memcopy.h (reg_char): Delete.
43745 * debug/strcat_chk.c: Use char, not reg_char.
43746 * debug/strcpy_chk.c: Likewise.
43747 * debug/strncat_chk.c: Likewise.
43748 * debug/strncpy_chk.c: Likewise.
43749 * string/memchr.c: Likewise.
43750 * string/memrchr.c: Likewise.
43751 * string/rawmemchr.c: Likewise.
43752 * string/strcat.c: Likewise.
43753 * string/strchr.c: Likewise.
43754 * string/strchrnul.c: Likewise.
43755 * string/strcmp.c: Likewise.
43756 * string/strcpy.c: Likewise.
43757 * string/strncat.c: Likewise.
43758 * string/strncmp.c: Likewise.
43759 * string/strncpy.c: Likewise.
43761 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43763 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43764 __builtin_memcopy is called when src and dest ranges are known to not
43767 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43769 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43770 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43771 fwd_align_merge macro call.
43772 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43773 bwd_align_merge macro call.
43774 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43776 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43778 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43779 bwd_align_merge macros.
43780 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43781 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43782 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43784 2012-04-18 David S. Miller <davem@davemloft.net>
43786 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43788 2012-04-18 Andreas Jaeger <aj@suse.de>
43791 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43792 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43793 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43795 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43796 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43797 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43799 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43800 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43801 Adjust for changed ldbl-128 files.
43803 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43804 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43805 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43807 2012-04-17 David S. Miller <davem@davemloft.net>
43809 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43811 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43813 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43814 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43815 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43816 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43817 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43818 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43820 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43823 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43824 * math/libm-test.inc: Add ilogb errno and exception tests.
43825 * math/w_ilogb.c: New file: ilogb wrapper.
43826 * math/w_ilogbf.c: New file: ilogbf wrapper.
43827 * math/w_ilogbl.c: New file: ilogbl wrapper.
43828 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43829 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43830 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43831 exception being thrown with 0.0 as argument.
43832 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43833 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43834 exception being thrown with 0.0 as argument.
43835 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43836 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43837 exception being thrown with 0.0 as argument.
43838 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43839 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43840 exception being thrown with 0.0 as argument.
43841 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43842 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43843 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43844 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43845 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43846 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43847 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43848 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43849 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43851 2012-04-17 Petr Baudis <pasky@ucw.cz>
43853 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43856 2012-04-16 Marek Polacek <polacek@redhat.com>
43858 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43860 2012-04-16 Marek Polacek <polacek@redhat.com>
43862 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43863 operands of fdivp instruction.
43865 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43867 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43868 * elf/tst-auditmod3b.c: Likewise.
43869 * elf/tst-auditmod4b.c: Likewise.
43870 * elf/tst-auditmod5b.c: Likewise.
43871 * elf/tst-auditmod6b.c: Likewise.
43872 * elf/tst-auditmod6c.c: Likewise.
43873 * elf/tst-auditmod7b.c: Likewise.
43874 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43875 * sysdeps/x86_64/preconfigure.in: Likewise.
43876 * sysdeps/x86_64/preconfigure: Regenerated.
43878 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43880 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43883 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43885 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43886 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43888 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43891 * locale/iso-639.def: Fix gl language name. Spotted by
43894 2012-04-12 Roland McGrath <roland@hack.frob.com>
43897 * libio/libio.h (__io_write_fn): Update comment.
43899 2012-04-12 Petr Baudis <pasky@ucw.cz>
43902 * stdio.texi (Hook Functions): The user provided writer function
43903 is not allowed to return -1.
43905 2012-04-11 David S. Miller <davem@davemloft.net>
43907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43909 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43911 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43912 Add a leading slash to rtkaio.
43914 2012-04-11 Jim Meyering <meyering@redhat.com>
43917 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43918 It is not necessarily an error to ignore fwrite's return
43919 value. One can reliably use ferror to test for errors after
43922 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43924 * bits/types.h (__snseconds_t): New type.
43925 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43927 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43929 (__SNSECONDS_T_TYPE): Likewise.
43930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43931 (__SNSECONDS_T_TYPE): Likewise.
43932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43933 (__SNSECONDS_T_TYPE): Likewise.
43935 2012-04-10 Andreas Jaeger <aj@suse.de>
43938 * manual/time.texi (Processor Time): Return type of times is
43939 elapsed real time since an arbitrary point in the past.
43940 (CPU Time): Move CLK_TCK from here...
43941 (Processor Time): ...to here. Correct description.
43942 * manual/conf.texi (Constants for Sysconf): Correct description of
43945 2012-04-10 David S. Miller <davem@davemloft.net>
43948 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43949 where the is a gap between DT_REL(A) and DT_JMPREL.
43951 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43953 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43954 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43955 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43957 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43959 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43960 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43961 (dl_main): Handle --inhibit-cache.
43962 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43964 * elf/dl-load.c (_dl_map_object): Use it.
43965 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43967 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43970 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43971 (__ieee754_powl): Saturate large exponents rather than testing for
43972 overflow of y*log2(x).
43973 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43974 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43978 * math/s_ctan.c: Include <float.h>.
43979 (__ctan): Avoid internal overflow or cancellation in calculating
43981 * math/s_ctanf.c: Likewise.
43982 * math/s_ctanl.c: Likewise.
43983 * math/s_ctanh.c: Likewise.
43984 * math/s_ctanhf.c: Likewise.
43985 * math/s_ctanhl.c: Likewise.
43986 * math/libm-test.inc (ctan_test): Add more tests.
43987 (ctanh_test): Likewise.
43988 * sysdeps/i386/fpu/libm-test-ulps: Update.
43989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43991 2012-04-09 Andreas Jaeger <aj@suse.de>
43994 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43995 is an optional BSD extension.
43998 * manual/stdio.texi (Opening Streams): Document additional fopen
44001 2012-04-09 Roland McGrath <roland@hack.frob.com>
44003 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44004 %eax without telling the compiler.
44006 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44009 * manual/install.texi: Use sourceware.org.
44011 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44014 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44015 (__ieee754_pow): Generate overflow and underflow using huge*huge
44016 and tiny*tiny rather than just returning constant infinity or zero
44017 for large exponents.
44018 * math/libm-test.inc (pow_test): Require overflow exceptions for
44019 applicable cases of large exponents.
44022 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44023 (__ieee754_pow): Use iterative multiplication algorithm only for
44024 integer exponents with absolute value below 1024. Check for odd
44025 integer exponents when using algorithm for real exponents.
44026 * math/libm-test.inc (pow_test): Add more tests.
44027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44029 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44032 * math/libm-test.inc (exp_test): Do not allow overflow exception
44035 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44038 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44039 instead of __kernel_standard_f.
44041 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44043 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44044 * sysdeps/x86_64/memset_chk.S: Likewise.
44046 2012-04-08 Andreas Jaeger <aj@suse.de>
44049 * manual/startup.texi (Environment Access): Describe return value
44050 for putenv and setenv.
44053 * manual/filesys.texi (Directory Entries): Add description for
44057 * manual/filesys.texi (Directory Entries): Clarify that it's file
44058 system not operating system in the description of DT_UNKNOWN.
44061 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44063 2012-04-08 Stephen Compall <s11@member.fsf.org>
44066 * manual/llio.texi (Opening and Closing Files): Add cross
44067 reference to explain mode argument.
44069 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44071 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44072 * sysdeps/x86_64/memset_chk.S: Likewise.
44074 2012-04-07 David S. Miller <davem@davemloft.net>
44076 * elf/elf.h (R_SPARC_WDISP10): Define.
44077 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44079 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44080 R_SPARC_SIZE64 and R_SPARC_H34.
44082 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44084 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44085 conditions and remove no longer applicable assertion.
44087 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44089 * bits/byteswap.h: Include <features.h>.
44090 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44091 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44093 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44095 * bits/byteswap.h (__bswap_16): Removed.
44096 Include <bits/byteswap-16.h> to get __bswap_16.
44097 * sysdeps/i386/bits/byteswap.h: Likewise.
44098 * sysdeps/s390/bits/byteswap.h: Likewise.
44099 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44100 * bits/byteswap-16.h: New file.
44101 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44102 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44103 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44104 * string/Makefile (headers): Add bits/byteswap-16.h.
44106 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44109 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44111 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44112 * nss/tst-nss-static.c: New.
44114 2012-04-06 Robert Millan <rmh@gnu.org>
44117 * manual/llio.texi (File Position Primitive): lseek
44118 refers to WHENCE when it really means OFFSET.
44120 2012-04-06 Andreas Jaeger <aj@suse.de>
44122 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44123 strncmp declarations.
44125 * abilist/libc.abilist: Add __poll and __ppoll.
44127 2012-04-05 David S. Miller <davem@davemloft.net>
44129 * scripts/check-local-headers.sh: Accept a host triplet in the
44130 path matched by the exclude regexp.
44132 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44134 * sysdeps/powerpc/powerpc32/dl-machine.h
44135 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44136 * sysdeps/s390/s390-32/dl-machine.h
44137 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44138 * sysdeps/sparc/sparc32/dl-machine.h
44139 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44140 * sysdeps/sparc/sparc64/dl-machine.h
44141 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44143 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44145 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44146 undefined symbol errors.
44148 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44151 2012-04-05 Michael Matz <matz@suse.de>
44154 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44156 2012-04-05 Andreas Jaeger <aj@suse.de>
44159 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44162 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44164 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44165 which ROUND is no valid rounding mode.
44167 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44169 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44171 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44173 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44175 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44176 an exception using FPU order intentionally.
44178 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44180 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44181 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44182 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44183 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44185 2012-04-05 Simon Josefsson <simon@josefsson.org>
44188 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44189 EINVAL when BUFLEN is too smal.
44191 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44194 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44195 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44197 2012-04-03 Andreas Jaeger <aj@suse.de>
44200 * manual/setjmp.texi (System V contexts): Fix sentence.
44203 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44204 New macro for this case.
44205 [!__GNUC__] (__bswap_64): New inline function for this case.
44206 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44207 * bits/byteswap.h: Likewise.
44208 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44209 ull, guard with __GLIBC_HAVE_LONG_LONG.
44211 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44212 __GLIBC_HAVE_LONG_LONG.
44214 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44215 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44217 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44220 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44221 inptr and inend, rather than using last_ch.
44223 2012-04-02 David S. Miller <davem@davemloft.net>
44225 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44226 * stdio-common/printf-parse.h (read_int): Change return type to
44227 'int', return -1 on INT_MAX overflow.
44228 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44229 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44230 overflows INT_MAX. Check for overflow of in-format-string precision
44231 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44232 SIZE_MAX not INT_MAX for integer overflow test.
44233 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44234 skip the construct in the format string but do not record anything.
44235 * stdio-common/bug22.c: Adjust to test both width/prevision
44236 INT_MAX overflow as well as total length INT_MAX overflow. Check
44237 explicitly for proper errno values.
44239 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44241 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44243 * string/test-strcmp.c [! WIDE]: Likewise.
44244 * time/tst-mktime2.c: Likewise for INT_MAX.
44245 * string/test-string.h: #include <sys/param.h> for MIN.
44247 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44248 * sysdeps/i386/init-first.c (init): Likewise.
44249 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44250 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44251 * sysdeps/sh/init-first.c (init): Likewise.
44253 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44255 * po/ru.po: Update from translation team.
44256 * po/vi.po: Likewise.
44258 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44260 * resolv/nss_dns/dns-host.c: Merge copyright years.
44262 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44264 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44265 Optimize memcpy with prefetch if
44266 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44267 src, dst pointers have unequal 16 byte alignments.
44269 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44272 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44273 from a CNAME entry and return the minimum ttl for the query.
44274 (gaih_getanswer_slice): Likewise.
44276 2012-03-30 Jeff Law <law@redhat.com>
44278 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44280 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44281 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44283 * resolv/nss_dns/dns-host.c: Update copyright year.
44285 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44287 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44288 requests to save a system call. Fix check that all bytes are sent.
44290 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44291 comments for sendmmsg.
44293 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44296 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44297 with only 1 character between 0x0041 and 0x01b0.
44298 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44299 * wcsmbs/tst-mbsnrtowcs.c: New file.
44301 2012-03-29 David S. Miller <davem@davemloft.net>
44303 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44304 small copies by hand.
44306 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44309 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44310 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44313 2012-03-28 David S. Miller <davem@davemloft.net>
44315 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44316 that branches into memcpy.
44317 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44318 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44319 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44320 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44321 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44323 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44324 implementation too.
44325 * sysdeps/sparc/mempcpy.S: New file.
44327 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44328 the IFUNC routine in the libc case.
44329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44331 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44332 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44333 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44334 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44335 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44336 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44337 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44338 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44340 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44341 loop to 256 bytes instead of 64 bytes and fix test signedness.
44343 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44344 * sysdeps/sparc/sparc32/Makefile: rather than here...
44345 * sysdeps/sparc/sparc64/Makefile: and here.
44347 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44349 * malloc/mallocbug.c: Avoid warnings about unused variables.
44351 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44354 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44355 in the right place. Discard and retry query if response is
44356 larger than input buffer size.
44358 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44363 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44364 x for large integer exponent.
44365 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44366 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44367 sign of result as needed afterwards.
44368 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44369 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44370 result for underflowing pow the same as for overflow.
44371 (__kernel_standard_l): Handle powl overflow and underflow here
44372 rather than calling __kernel_standard.
44373 * math/libm-test.inc (pow_test): Add more tests.
44388 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44389 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44390 (__kernel_standard_l): New function.
44391 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44393 * math/w_acosl.c (__acosl): Likewise.
44394 * math/w_asinl.c (__asinl): Likewise.
44395 * math/w_atan2l.c (__atan2l): Likewise.
44396 * math/w_atanhl.c (__atanhl): Likewise.
44397 * math/w_coshl.c (__coshl): Likewise.
44398 * math/w_exp10l.c (__exp10l): Likewise.
44399 * math/w_exp2l.c (__exp2l): Likewise.
44400 * math/w_fmodl.c (__fmodl): Likewise.
44401 * math/w_hypotl.c (__hypotl): Likewise.
44402 * math/w_j0l.c (__j0l, __y0l): Likewise.
44403 * math/w_j1l.c (__j1l, __y1l): Likewise.
44404 * math/w_jnl.c (__jnl, __ynl): Likewise.
44405 * math/w_lgammal.c (__lgammal): Likewise.
44406 * math/w_log10l.c (__log10l): Likewise.
44407 * math/w_log2l.c (__log2l): Likewise.
44408 * math/w_logl.c (__logl): Likewise.
44409 * math/w_powl.c (__powl): Likewise.
44410 * math/w_remainderl.c (__remainderl): Likewise.
44411 * math/w_scalbl.c (sysv_scalbl): Likewise.
44412 * math/w_sinhl.c (__sinhl): Likewise.
44413 * math/w_sqrtl.c (__sqrtl): Likewise.
44414 * math/w_tgammal.c (__tgammal): Likewise.
44415 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44416 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44417 * math/libm-test.inc (acos_test): Add more tests.
44418 (acosh_test): Likewise.
44419 (asin_test): Likewise.
44420 (atanh_test): Likewise.
44421 (exp_test): Likewise.
44422 (exp10_test): Likewise.
44423 (exp2_test): Likewise.
44424 (expm1_test): Likewise.
44425 (lgamma_test): Likewise.
44426 (log_test): Likewise.
44427 (log10_test): Likewise.
44428 (log1p_test): Likewise.
44429 (log2_test): Likewise.
44430 (pow_test): Do not allow some spurious overflow exceptions.
44431 (sqrt_test): Add more tests.
44432 (tgamma_test): Likewise.
44433 (y0_test): Likewise.
44434 (y1_test): Likewise.
44435 (yn_test): Likewise.
44437 2012-03-27 Anton Blanchard <anton@samba.org>
44439 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44441 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44442 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44443 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44445 2012-03-27 David S. Miller <davem@davemloft.net>
44447 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44449 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44450 have-as-vis3 check.
44452 2012-03-27 Andreas Jaeger <aj@suse.de>
44454 * sysdeps/x86_64/elf/configure.in: Moved to ...
44455 * sysdeps/x86_64/configure.in: ... here.
44456 * sysdeps/x86_64/elf/start.S: Moved to ...
44457 * sysdeps/x86_64/start.S: ... here.
44458 * sysdeps/x86_64/elf/configure: Delete.
44460 * sysdeps/x86_64/configure.in: Merge contents from
44461 sysdeps/i386/configure.in (without i686 check).
44463 * sysdeps/i386/elf/Versions: Merge into ...
44464 * sysdeps/i386/Versions: ... this.
44465 * sysdeps/i386/elf/Versions: Delete file.
44466 * sysdeps/i386/elf/start.S: Moved to ...
44467 * sysdeps/i386/start.S: ...here.
44468 * sysdeps/i386/elf/configure.in: Merge into...
44469 * sysdeps/i386/configure.in: ...here.
44470 * sysdeps/i386/elf/configure.in: Delete file.
44471 * sysdeps/i386/elf/configure: Delete file.
44473 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44474 * debug/backtracesyms.c: ... here.
44475 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44476 * debug/backtracesymsfd.c: ... here.
44477 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44478 * sysdeps/generic/ifunc-sel.h: ... here.
44480 * sysdeps/unix/i386/start.c: Delete file.
44481 * sysdeps/unix/sparc/start.c: Delete file.
44482 * sysdeps/unix/start.c: Delete file.
44484 * sysdeps/sh/elf/configure.in: Moved to ...
44485 * sysdeps/sh/configure.in: ... here.
44486 * sysdeps/sh/elf/start.S: Moved to ...
44487 * sysdeps/sh/start.S: ... here.
44488 * sysdeps/sh/elf/configure: Delete file.
44490 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44491 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44492 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44493 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44494 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44495 * sysdeps/powerpc/powerpc64/start.S: here.
44496 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44497 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44498 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44499 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44500 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44502 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44503 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44504 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44505 * sysdeps/powerpc/powerpc32/start.S: ... here.
44506 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44507 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44508 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44510 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44511 * sysdeps/powerpc/ifunc-sel.h: ... here.
44512 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44513 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44515 * sysdeps/sparc/elf/configure.in: Moved to ...
44516 * sysdeps/sparc/configure.in: ... here.
44517 * sysdeps/sparc/elf/configure: Delete file.
44518 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44519 * sysdeps/sparc/sparc32/start.S: ... here.
44520 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44521 * sysdeps/sparc/sparc64/start.S: ... here.
44522 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44523 * sysdeps/sparc/sparc32/Makefile: ... this.
44524 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44525 * sysdeps/sparc/sparc64/Makefile: ... this.
44527 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44528 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44529 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44530 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44531 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44532 * sysdeps/s390/s390-32/setjmp.S: ... here.
44533 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44534 * sysdeps/s390/s390-32/configure.in: ... here.
44535 * sysdeps/s390/s390-32/elf/configure: Delete file.
44536 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44537 * sysdeps/s390/s390-32/start.S: ... here.
44539 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44540 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44541 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44542 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44543 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44544 * sysdeps/s390/s390-64/setjmp.S: ... here.
44545 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44546 * sysdeps/s390/s390-64/configure.in: ... here
44547 * sysdeps/s390/s390-64/elf/configure: Delete file.
44548 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44549 * sysdeps/s390/s390-64/start.S: ... here.
44550 * sysdeps/s390/s390-64/elf/configure: Delete.
44552 * configure.in: Remove support for elf directories in sysdeps.
44554 * configure: Regenerated.
44555 * sysdeps/i386/configure: Regenerated.
44556 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44557 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44558 * sysdeps/s390/s390-32/configure: Regenerated.
44559 * sysdeps/s390/s390-64/configure: Regenerated.
44560 * sysdeps/sh/configure: Regenerated.
44561 * sysdeps/sparc/configure: Regenerated.
44562 * sysdeps/x86_64/configure: Regenerated.
44564 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44568 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44569 denormal result into account.
44571 2012-03-25 Roland McGrath <roland@hack.frob.com>
44573 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44574 Reported by Allan McRae <allan@archlinux.org>.
44576 2012-03-23 Jeff Law <law@redhat.com>
44578 * nss/getnssent.c (__nss_getent): Fix typo.
44580 2012-03-23 David S. Miller <davem@davemloft.net>
44582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44584 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44586 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44587 to pad to uint64_t for each field.
44588 (dl_tls_index): Replace unsigned long with uint64_t.
44590 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44591 Paul Pluzhnikov <ppluzhnikov@google.com>
44594 * grp/Makefile (otherlibs): Don't set it.
44595 * inet/Makefile (otherlibs): Likewise.
44596 * login/Makefile (otherlibs): Likewise.
44597 * nscd/Makefile (otherlibs): Likewise.
44598 * posix/Makefile (otherlibs): Likewise.
44599 * pwd/Makefile (otherlibs): Likewise.
44600 * rt/Makefile (otherlibs): Likewise.
44601 * sunrpc/Makefile (otherlibs): Likewise.
44602 * nss/Makefile (otherlibs): Likewise.
44603 Add libnss_files to routines and static-only-routines.
44604 ($(objpfx)getent): Remove rule.
44605 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44606 static-only-routines.
44608 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44611 * math/s_cexp.c: Include <float.h>.
44612 (__cexp): Handle exp result overflowing not necessarily
44613 overflowing both real and imaginary parts of result.
44614 * math/s_cexpf.c: Likewise.
44615 * math/s_cexpl.c: Likewise.
44616 * math/libm-test.inc (cexp_test): Add more tests.
44617 * sysdeps/i386/fpu/libm-test-ulps: Update.
44618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44620 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44622 * include/link.h (ELFW): New macro.
44623 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44624 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44626 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44628 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44631 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44633 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44635 (struct La_x32_retval): Likewise.
44637 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44639 * sysdeps/x86_64/preconfigure.in: New file.
44640 * sysdeps/x86_64/preconfigure: New generated file.
44642 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44645 * math/e_exp2l.c: Include <float.h>.
44646 (__ieee754_exp2l): Handle overflow and underflow cases
44647 separately. Only pass fractional part of argument to
44649 * math/libm-test.inc (exp2_test): Add more tests.
44651 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44652 negating x to take absolute value.
44653 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44655 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44656 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44658 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44659 computing low part if x was negated.
44660 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44662 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44664 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44665 la_x32_gnu_pltexit.
44666 (pltexit): Cast int_retval to ptrdiff_t.
44667 * elf/tst-auditmod3b.c: Likewise.
44668 * elf/tst-auditmod4b.c: Likewise.
44669 * elf/tst-auditmod5b.c: Likewise.
44670 * elf/tst-auditmod6b.c: Likewise.
44671 * elf/tst-auditmod6c.c: Likewise.
44672 * elf/tst-auditmod7b.c: Likewise.
44674 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44675 and x32_gnu_pltexit.
44677 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44678 __ELF_NATIVE_CLASS.
44679 (La_x32_regs): New macro.
44680 (La_x32_retval): Likewise.
44681 (la_x32_gnu_pltenter): New function prototype.
44682 (la_x32_gnu_pltexit): Likewise.
44684 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44691 * configure.in (libc_cv_cc_nofma): Check for option to disable
44692 generation of FMA instructions.
44693 * configure: Regenerate.
44694 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44695 * sysdeps/ieee754/dbl-64/Makefile: New file.
44696 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44697 Remove brandred-fma4.
44698 (CFLAGS-brandred-fma4.c): Remove.
44699 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44700 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44705 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44707 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44708 LLONG_MAX != LONG_MAX.
44709 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44710 (_fitoa_word): Likewise.
44711 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44712 LLONG_MAX != LONG_MAX.
44713 * stdio-common/_itowa.h: Include <_itoa.h>.
44714 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44715 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44716 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44717 only if not defined.
44718 (_ITOA_WORD_TYPE): Likewise.
44719 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44720 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44722 2012-03-21 David S. Miller <davem@davemloft.net>
44724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44726 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44728 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44729 of x86_64 when setting libc_cv_slibdir, libdir and
44731 * sysdeps/unix/sysv/linux/configure: Regenerated.
44733 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44735 * manual/lang.texi (Old Varargs): Remove section.
44736 (How Variadic): Update menu.
44737 (va_start): Do not mention varargs.h.
44739 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44740 Joseph Myers <joseph@codesourcery.com>
44742 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44744 * configure: Regenerated.
44746 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44748 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44749 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44752 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44755 * Makefile (files-for-dist): Remove NOTES.
44756 (NOTES): Remove rule.
44757 * README: Don't refer to NOTES.
44758 * manual/creature.texi: Don't include macros.texi.
44759 * manual/intro.texi (creature.texi): Remove comment referring to
44762 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44763 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44764 * configure: Regenerated.
44765 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44766 LIBC_TRY_CC_OPTION.
44767 (libc_cv_as_i686): Likewise.
44768 (libc_cv_cc_avx): Likewise.
44769 (libc_cv_cc_sse2avx): Likewise.
44770 (libc_cv_cc_fma4): Likewise.
44771 (libc_cv_cc_novzeroupper): Likewise.
44772 * sysdeps/i386/configure: Regenerated.
44775 * sysdeps/i386/fpu/s_cexp.S: Remove.
44776 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44777 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44778 * math/libm-test.inc (cexp_test): Add more tests.
44779 * sysdeps/i386/fpu/libm-test-ulps: Update.
44780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44782 2012-03-21 Allan McRae <allan@archlinux.org>
44784 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44786 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44789 * math/w_exp2.c: Do not include <float.h>.
44790 (o_threshold, u_threshold): Remove.
44791 (__exp2): Calculate result before checking finiteness and calling
44793 * math/w_exp2f.c: Likewise.
44794 * math/w_exp2l.c: Likewise.
44795 * math/libm-test.inc (exp2_test): Require overflow exception for
44799 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44800 range of signed 64-bit integers before using fistpll. Remove
44801 checks for whether integers fit in mantissa bits.
44802 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44803 the range of signed 32-bit integers before using fistpl. Remove
44804 checks for whether integers fit in mantissa bits.
44805 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44806 (__ieee754_powl): Test for y outside the range of signed 64-bit
44807 integers before using fistpll. Reduce 64-bit values to 63-bit
44809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44810 divide-by-zero is raised for zero to large negative powers.
44811 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44812 (__ieee754_powl): Test for y outside the range of signed 64-bit
44813 integers before using fistpll. Reduce 64-bit values to 63-bit
44815 * math/libm-test.inc (pow_test): Add more tests.
44817 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44819 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44820 <stdio-common/_itoa.h>.
44821 * debug/segfault.c: Likewise.
44822 * elf/dl-cache.c: Likewise.
44823 * elf/dl-minimal.c: Likewise.
44824 * elf/dl-misc.c: Likewise.
44825 * elf/dl-sysdep.c: Likewise.
44826 * elf/dl-version.c: Likewise.
44827 * elf/rtld.c: Likewise.
44828 * hurd/hurdsock.c: Likewise.
44829 * hurd/lookup-retry.c: Likewise.
44830 * malloc/malloc.c: Likewise.
44831 * malloc/mtrace.c: Likewise.
44832 * nscd/nscd_getgr_r.c: Likewise.
44833 * nscd/nscd_getpw_r.c: Likewise.
44834 * nscd/nscd_getserv_r.c: Likewise.
44835 * posix/getopt_init.c: Likewise.
44836 * posix/wordexp.c: Likewise.
44837 * stdio-common/_itoa.c: Likewise.
44838 * stdio-common/printf_fphex.c: Likewise.
44839 * stdio-common/vfprintf.c: Likewise.
44840 * string/_strerror.c: Likewise.
44841 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44842 * sysdeps/i386/i686/hp-timing.h: Likewise.
44843 * sysdeps/mach/_strerror.c: Likewise.
44844 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44845 * sysdeps/mach/hurd/sethostid.c: Likewise.
44846 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44847 * sysdeps/mach/xpg-strerror.c: Likewise.
44848 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44849 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44850 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44851 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44852 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44853 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44854 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44855 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44856 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44857 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44858 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44859 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44860 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44861 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44862 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44863 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44864 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44865 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44866 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44867 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44868 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44870 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44872 * stdio-common/_itoa.h: Moved to ...
44873 * sysdeps/generic/_itoa.h: Here.
44875 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44877 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44878 instead of "_itoa.h" and "_itowa.h".
44879 * stdio-common/vfprintf.: Likewise.
44881 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44883 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44885 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44886 (__signbit): Likwise.
44887 (llrintf): Likwise.
44890 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44892 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44895 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44897 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44898 OVERFLOW_EXCEPTION_OK.
44899 * math/libm-test.inc ("Philosophy"): Update comment about
44901 (OVERFLOW_EXCEPTION): Define.
44902 (OVERFLOW_EXCEPTION_OK): Likewise.
44903 (INVALID_EXCEPTION_OK): Renumber.
44904 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44905 (IGNORE_ZERO_INF_SIGN): Likewise.
44906 (test_exceptions): Handle FE_OVERFLOW.
44907 (exp10_test): Expect overflow exceptions.
44908 (exp2_test): Likewise.
44909 (expm1_test): Likewise.
44910 (nextafter_test): Likewise.
44911 (pow_test): Likewise.
44912 (scalbn_test): Likewise.
44913 (scalbln_test): Likewise.
44915 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44917 * sysdeps/x86_64/bits/atomic.h
44918 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44920 (atomic_exchange_acq): Likewise.
44921 (__arch_exchange_and_add_body): Likewise.
44922 (__arch_add_body): Likewise.
44923 (atomic_add_negative): Likewise.
44924 (atomic_add_zero): Likewise.
44926 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44928 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44929 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44931 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44933 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44934 Check __x86_64__ instead of __WORDSIZE.
44936 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44938 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44940 2012-03-19 David S. Miller <davem@davemloft.net>
44942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44944 * sysdeps/sparc/fpu/fenv_private.h: New file.
44945 * sysdeps/sparc/fpu/math_private.h: Use it.
44946 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44948 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44949 (libc_feholdexcept_setroundl): Remove.
44950 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44952 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44953 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44955 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44957 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44958 int64_t instead of long int.
44959 (INSERT_WORDS64): Likwise.
44961 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44963 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44964 _Unwind_GetCFA return to _Unwind_Ptr first.
44966 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44969 * math/s_clog.c: Include <float.h>.
44970 (__clog): Scale large or subnormal inputs.
44971 * math/s_clogf.c: Likewise.
44972 * math/s_clogl.c: Likewise.
44973 * math/s_clog10.c: Include <float.h>.
44974 (M_LOG10_2): Define.
44975 (__clog10): Scale large or subnormal inputs.
44976 * math/s_clog10f.c: Likewise.
44977 * math/s_clog10l.c: Likewise.
44978 * math/libm-test.inc (clog_test): Add more tests.
44979 (clog10_test): Likewise.
44980 * sysdeps/i386/fpu/libm-test-ulps: Update.
44981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44984 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44986 * math/libm-test.inc (atan2_test): Add another test.
44988 * Makerules (common-objdir-compile): Remove.
44989 * sysdeps/unix/Makefile (config-generated): Do not add
44990 $(unix-generated) to variable.
44991 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44992 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44994 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44996 [generic bits/local_lim.h] (before-compile): Do not append to
44998 [generic bits/local_lim.h] (common-generated): Likewise.
44999 [generic sys/param.h] (before-compile): Do not append to variable.
45000 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45001 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45002 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45003 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45005 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45006 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45007 [generic sys/param.h] ($(addprefix
45008 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45009 [generic sys/param.h] (common-generated): Do not append to
45011 [generic sys/param.h] (sysdep_headers): Likewise.
45012 [generic bits/errno.h] (before-compile): Do not append to
45014 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45016 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45017 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45018 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45019 [generic bits/errno.h] (common-generated): Do not append to
45021 [generic bits/ioctls.h] (before-compile): Do not append to
45023 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45025 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45026 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45027 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45029 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45030 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45031 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45032 [generic bits/ioctls.h] (common-generated): Do not append to
45034 [generic sys/syscall.h] (syscall.h): Remove variable.
45035 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45037 [generic sys/syscall.h] (before-compile): Do not append to
45039 [generic sys/syscall.h] (common-generated): Likewise.
45040 * sysdeps/unix/errnos-tmpl.c: Remove file.
45041 * sysdeps/unix/errnos.awk: Likewise.
45042 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45043 * sysdeps/unix/ioctls.awk: Likewise.
45044 * sysdeps/unix/mk-local_lim.c: Likewise.
45045 * sysdeps/unix/snarf-ioctls: Likewise.
45047 2012-03-19 Richard Henderson <rth@twiddle.net>
45049 * sysdeps/i386/fpu/fenv_private.h: New file.
45050 * sysdeps/i386/fpu/math_private.h: Use it.
45051 (math_opt_barrier, math_force_eval): Remove.
45052 (libc_feholdexcept_setround_53bit): Remove.
45053 (libc_feupdateenv_53bit): Remove.
45054 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45055 (math_opt_barrier, math_force_eval): Remove.
45056 (libc_feholdexcept): Remove.
45057 (libc_feholdexcept_setround): Remove.
45058 (libc_fetestexcept, libc_fesetenv): Remove.
45059 (libc_feupdateenv_test): Remove.
45060 (libc_feupdateenv, libc_feholdsetround): Remove.
45061 (libc_feresetround): Remove.
45063 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45064 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45066 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45067 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45068 (libc_feupdateenv_testl): New.
45069 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45070 (libc_feupdateenv_testf): New.
45071 (libc_feupdateenv): Use libc_feupdateenv_test.
45072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45073 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45075 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45076 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45077 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45078 (libc_feresetround_noex): New.
45079 (libc_feresetround_noexf): New.
45080 (libc_feresetround_noexl): New.
45081 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45082 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45083 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45084 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45086 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45087 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45089 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45090 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45091 SET_RESTORE_ROUND_NOEX.
45092 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45093 SET_RESTORE_ROUND_NOEXF.
45094 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45095 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45096 (libc_feholdsetroundf): New.
45097 (libc_feresetround, libc_feresetroundf): New.
45099 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45100 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45101 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45103 * sysdeps/generic/math_private.h: Include <fenv.h>.
45104 (default_libc_feholdexcept): New.
45105 (default_libc_feholdexcept_setround): New.
45106 (default_libc_fesetenv, default_libc_feupdateenv): New.
45107 (libc_feholdexcept): Only define if undefined.
45108 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45109 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45110 (libc_feholdexcept_setroundl): Likewise.
45111 (libc_feholdexcept_setround_53bit): Likewise.
45112 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45113 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45114 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45115 (libc_feupdateenv_53bit): Likewise.
45116 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45117 (libc_feholdexcept): Convert from macro to inline function.
45118 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45119 (libc_fesetenv, libc_feupdateenv): Likewise.
45121 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45122 not previously defined.
45123 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45124 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45125 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45126 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45127 * sysdeps/ieee754/flt-32/math_private.h: New file.
45128 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45129 math_private.h below SET_FLOAT_WORD.
45130 (__isnan, __isinf_ns, __finite): Remove.
45131 (__isnanf, __isinf_nsf, __finitef): Remove.
45133 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45137 2012-03-17 David S. Miller <davem@davemloft.net>
45140 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45143 2012-03-16 David S. Miller <davem@davemloft.net>
45145 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45149 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45151 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45152 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45153 sysdep_routines when subdir is sysvipc.
45154 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45155 __getshmlba helper.
45157 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45159 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45161 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45164 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45166 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45167 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45168 (__lround): Renamed to ...
45169 (__llround): This. Replace long int with long long int.
45170 Define lround functions as aliases of llround functions.
45171 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45173 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45175 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45176 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45177 adresses to uintptr_t. Replace "long int" and "unsigned long
45178 int" with "greg_t" on va_arg.
45180 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45182 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45183 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45185 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45186 Move e_machine check before EI_CLASS check. Handle x32
45187 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45188 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45189 SKIP_EM_IA_64 and include
45190 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45192 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45193 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45194 (add_system_dir): New macro.
45196 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45197 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45199 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45210 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45212 * math/w_j0f.c (j0f): Likewise.
45214 * math/w_j0l.c (__j0l): Likewise.
45216 * math/w_j1.c (j1): Likewise.
45218 * math/w_j1f.c (j1f): Likewise.
45220 * math/w_j1l.c (__j1l): Likewise.
45222 * math/w_jn.c (jn): Likewise.
45224 * math/w_jnf.c (jnf): Likewise.
45226 * math/w_jnl.c (__jnl): Likewise.
45228 * math/libm-test.inc (j0_test): Add more tests.
45229 (j1_test): Likewise.
45230 (jn_test): Likewise. Add trailing semicolon to existing test.
45231 (y0_test): Likewise.
45232 (y1_test): Likewise.
45233 * sysdeps/i386/fpu/libm-test-ulps: Update.
45234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45238 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45239 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45240 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45241 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45242 (__tanl): Set errno for infinite argument.
45243 * sysdeps/i386/fpu/mptan.c: Remove.
45244 * sysdeps/i386/fpu/s_tan.S: Likewise.
45245 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45246 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45247 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45248 * math/libm-test.inc (tan_test): Add more tests and enable more
45249 tests for double and long double.
45250 * sysdeps/i386/fpu/libm-test-ulps: Update.
45251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45253 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45255 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45256 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45258 2012-03-16 Roland McGrath <roland@hack.frob.com>
45260 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45261 * configure.in: Use it for both main tree and add-ons.
45262 * configure: Regenerated.
45264 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45266 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45268 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45270 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45274 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45275 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45276 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45277 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45278 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45280 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45281 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45282 != 0 for prec == 2.
45283 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45284 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45285 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45286 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45287 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45288 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45289 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45290 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45291 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45292 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45293 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45294 * math/libm-test.inc (cos_test): Add more tests and enable more
45295 tests for long double.
45296 (sin_test): Likewise.
45297 (sincos_test): Likewise.
45298 * sysdeps/i386/fpu/libm-test-ulps: Update.
45299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45301 2012-03-16 David S. Miller <davem@davemloft.net>
45303 * sysdeps/sparc/fpu/math_private.h: New file.
45305 2012-03-15 David S. Miller <davem@davemloft.net>
45307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45321 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45322 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45324 * sysdeps/sparc/sparc-ifunc.h: New file.
45325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45352 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45353 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45363 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45364 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45366 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45367 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45370 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45372 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45376 2012-03-15 Andreas Jaeger <aj@suse.de>
45379 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45380 ieee754/flt-32 implementation for sin, cos and sincos.
45381 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45382 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45383 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45384 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45385 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45386 ieee754/flt-32 implementation for tan.
45388 * math/libm-test.inc (cos_test): Enable some large input tests for
45390 (sin_test): Likewise.
45391 (sincos_test): Likewise.
45392 (tan_test): Add tests for large input.
45394 * sysdeps/i386/fpu/libm-test-ulps: Update.
45396 2012-03-15 Andreas Jaeger <aj@suse.de>
45399 * math/libm-test.inc (cos_test): Add more test cases.
45400 (sin_test): Likewise.
45401 (sincos_test): Likewise.
45403 2012-03-15 Andreas Jaeger <aj@suse.de>
45406 * math/libm-test.inc (cos_test): Add a test case for large input
45408 (sin_test): Likewise.
45409 (sincos_test): Likewise.
45411 2012-03-15 Andreas Jaeger <aj@suse.de>
45412 Joseph Myers <joseph@codesourcery.com>
45415 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45416 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45417 * sysdeps/i386/fpu/branred.c: Likewise.
45418 * sysdeps/i386/fpu/dosincos.c: Likewise.
45419 * sysdeps/i386/fpu/mpa.c: Likewise.
45420 * sysdeps/i386/fpu/s_cos.S: Likewise.
45421 * sysdeps/i386/fpu/s_sin.S: Likewise.
45422 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45423 * sysdeps/i386/fpu/sincos32.c: Likewise.
45425 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45427 (libc_feupdateenv_53bit): Define.
45428 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45430 (libc_feupdateenv_53bit): Define.
45432 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45433 53 bit (without extend i386 double precision).
45435 * math/libm-test.inc (sincos_test): Add tests for large input.
45439 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45441 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45445 2012-03-15 David S. Miller <davem@davemloft.net>
45447 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45448 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45449 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45450 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45457 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45458 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45459 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45460 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45461 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45475 fmin/fmax sysdep routines.
45476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45478 2012-03-14 David S. Miller <davem@davemloft.net>
45480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45484 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45485 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45486 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45488 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45491 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45494 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45499 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45501 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45502 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45503 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45504 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45505 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45506 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45507 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45508 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45552 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45557 * sysdeps/sparc/configure.in: New file.
45558 * sysdeps/sparc/configure: Generate.
45559 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45560 * configure: Regenerate.
45561 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45562 * config.make.in (have-as-vis3): New.
45563 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45564 available use -Av9d instead of -Av9a.
45565 * sysdeps/sparc/sparc64/Makefile: Likewise.
45566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45575 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45576 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45577 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45578 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45579 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45581 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45582 fzeros/fnegs to load 0x80000000 into a float register instead of
45584 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45586 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45590 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45591 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45592 ($(inst_includedir)/bits/syscall.h): Remove rule.
45593 ($(objpfx)bits/syscall.d): Include instead of
45594 $(objpfx)syscall-list.d.
45595 (generated): Change syscall-list.h and syscall-list.d to
45596 bits/syscall.h and bits/syscall.d.
45598 2012-03-14 Roland McGrath <roland@hack.frob.com>
45601 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45603 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45606 * math/s_csqrt.c: Include <float.h>.
45607 (__csqrt): Scale large or subnormal inputs.
45608 * math/s_csqrtf.c: Likewise.
45609 * math/s_csqrtl.c: Likewise.
45610 * math/libm-test.inc (csqrt_test): Add more tests.
45611 * sysdeps/i386/fpu/libm-test-ulps: Update.
45612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45615 * math/libm-test.inc (hypot_test): Add more tests.
45617 2012-03-13 David S. Miller <davem@davemloft.net>
45620 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45621 double-precision for the calculation instead of scaling.
45623 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45625 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45626 manipulate bits before adding and subtracting TWO52[sx].
45627 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45628 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45630 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45632 2012-03-13 David S. Miller <davem@davemloft.net>
45634 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45635 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45636 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45637 rtld-global-offsets.h
45638 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45640 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45643 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45645 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45646 'err' in the ifdef scope in which it is actually used.
45648 * nss/nss_db/db-init.c: Include string.h
45650 2012-03-12 David S. Miller <davem@davemloft.net>
45652 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45653 masking out of the most significant byte of random value used.
45654 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45655 Fix coding style in previous change.
45657 * sysdeps/unix/sysv/linux/kernel-features.h
45658 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45659 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45661 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45664 2012-03-11 David S. Miller <davem@davemloft.net>
45666 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45667 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45668 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45669 for 'resultvar' otherwise things get truncated on 64-bit.
45671 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45672 Fix masking out of the most significant byte of random value used.
45674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45676 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45680 2012-03-09 David S. Miller <davem@davemloft.net>
45682 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45683 variables with appropriate CPP guards.
45684 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45685 from the frame pointer, not the stack pointer. Correct layout
45686 comments. Fix test on resulting framesize and the management of
45687 the outregs buffer for pltexit. Preserve floating point return
45688 values across _dl_call_pltexit call.
45689 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45690 framesize and the management of the outregs buffer for pltexit.
45691 Preserve floating point return values across _dl_call_pltexit
45693 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45694 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45695 (la_sparc64_gnu_pltexit): New functions.
45696 (print_exit): Fix format string for return register value.
45698 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45700 * sunrpc/Makefile (others): Add rpcgen.
45701 ($(objpfx)rpcgen): Remove special build rule and dependency on
45703 * sunrpc/rpcgen.c: New file.
45705 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45708 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45709 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45710 * sysdeps/i386/crti.S: Likewise.
45711 * sysdeps/i386/crtn.S: Likewise.
45712 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45713 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45714 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45715 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45716 * sysdeps/sh/crti.S: Likewise.
45717 * sysdeps/sh/crtn.S: Likewise.
45718 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45721 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45723 * locale/programs/locfile-kw.gperf: Likewise.
45724 * locale/programs/charmap-kw.h: Regenerated.
45725 * locale/programs/locfile-kw.h: Likewise.
45728 * intl/plural.y: Replace FSF snail mail address with URL.
45729 * intl/plural.c: Regenerated.
45731 2012-03-09 Richard Henderson <rth@twiddle.net>
45733 * include/math_private.h: Remove file.
45734 * math/math_private.h: Move file ...
45735 * sysdeps/generic/math_private.h: ... here.
45737 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45738 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45739 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45741 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45742 and <math_private.h>.
45743 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45744 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45745 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45746 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45747 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45748 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45749 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45750 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45751 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45752 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45754 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45755 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45756 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45757 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45758 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45759 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45760 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45761 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45762 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45763 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45764 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45765 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45766 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45767 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45768 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45769 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45770 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45771 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45772 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45773 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45774 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45775 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45776 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45777 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45778 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45779 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45780 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45781 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45782 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45783 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45784 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45785 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45786 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45787 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45788 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45789 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45790 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45791 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45792 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45793 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45794 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45795 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45796 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45797 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45798 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45799 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45800 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45801 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45802 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45803 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45804 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45805 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45806 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45807 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45808 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45809 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45810 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45811 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45812 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45813 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45814 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45815 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45816 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45817 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45819 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45820 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45821 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45823 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45824 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45825 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45826 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45827 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45829 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45830 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45831 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45832 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45833 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45834 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45835 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45836 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45837 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45838 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45839 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45840 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45841 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45842 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45843 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45844 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45845 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45846 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45847 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45848 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45849 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45850 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45851 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45852 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45853 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45854 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45855 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45856 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45857 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45858 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45859 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45860 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45861 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45862 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45863 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45864 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45865 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45866 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45867 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45868 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45869 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45870 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45871 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45872 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45873 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45874 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45875 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45876 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45877 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45878 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45879 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45880 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45881 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45882 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45883 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45884 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45885 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45886 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45887 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45888 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45889 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45890 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45891 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45892 * sysdeps/ieee754/k_standard.c: Likewise.
45893 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45894 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45895 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45896 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45897 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45898 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45899 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45900 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45901 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45902 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45903 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45904 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45905 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45906 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45907 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45908 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45909 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45910 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45911 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45912 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45913 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45914 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45915 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45916 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45917 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45918 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45921 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45922 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45923 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45924 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45925 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45926 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45927 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45928 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45929 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45930 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45931 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45932 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45933 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45934 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45935 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45936 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45937 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45938 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45939 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45940 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45941 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45942 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45943 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45944 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45945 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45958 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45959 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45960 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45961 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45962 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45963 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45964 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45966 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45967 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45968 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45969 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45970 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45972 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45973 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45974 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45975 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45976 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45977 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45978 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45979 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45981 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45982 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45983 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45984 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45985 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45986 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45992 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45994 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45995 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45996 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45997 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45998 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46002 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46004 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46005 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46008 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46012 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46013 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46014 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46015 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46019 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46020 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46022 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46023 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46024 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46025 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46027 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46028 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46032 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46034 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46035 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46037 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46039 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46041 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46042 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46043 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46044 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46047 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46048 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46049 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46050 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46051 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46052 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46053 * sysdeps/ieee754/s_lib_version.c: Likewise.
46054 * sysdeps/ieee754/s_matherr.c: Likewise.
46055 * sysdeps/ieee754/s_signgam.c: Likewise.
46056 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46057 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46058 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46059 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46060 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46061 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46062 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46063 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46064 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46065 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46066 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46067 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46068 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46069 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46070 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46071 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46072 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46073 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46074 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46075 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46076 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46078 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46080 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46081 * sunrpc/rpc_main.c: Likewise.
46082 * sunrpc/rpc_svcout.c: Likewise.
46084 2012-03-09 David S. Miller <davem@davemloft.net>
46086 * include/math_private.h: New file.
46088 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46090 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46091 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46092 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46093 from <bits/socket_type.h>.
46094 (enum __socket_type): Don't define here.
46095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46097 bits/socket_type.h.
46100 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46101 checking __USE_GNU.
46103 * Makerules ($(inst_includedir)/%.h): New rule.
46104 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46105 (install-others): Remove variable setting.
46106 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46108 2012-03-08 Richard Henderson <rth@twiddle.net>
46110 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46111 from macro to inline function; merge with the
46112 !__LIBC_INTERNAL_MATH_INLINES version.
46113 (__ieee754_sqrtf): Likewise.
46115 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46116 to inline function.
46117 (__rintf, __floor, __floorf): Likewise.
46119 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46120 macro to inline function.
46121 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46124 not <math/math_private.h>.
46126 2012-03-08 David S. Miller <davem@davemloft.net>
46128 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46130 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46132 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46134 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46136 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46137 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46139 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46141 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46142 be defined individually, they must be defined as a block. Define
46143 S for printing a string instead of hidint the different by using a
46144 macro for adding the 'l'.
46145 * stdio-common/tst-fphex-wide.c: Adjust.
46147 2012-03-07 Marek Polacek <polacek@redhat.com>
46149 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46151 2012-03-08 Marek Polacek <polacek@redhat.com>
46154 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46155 * stdio-common/tst-fphex.c: Define a few macros to make the
46156 test reusable. Use them.
46157 * stdio-common/tst-fphex-wide.c: New file.
46159 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46162 * manual/macros.texi (gnusystems): New macro.
46163 (nongnusystems): Likewise.
46164 (gnulinuxhurdsystems): Likewise.
46165 (gnuhurdsystems): Likewise..
46166 (gnulinuxsystems): Likewise.
46167 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46168 variants of the GNU system, not "GNU system".
46169 * manual/conf.texi: Likewise.
46170 * manual/errno.texi: Likewise. Update example of errno macro
46172 * manual/filesys.texi: Likewise.
46173 (getumask): Document as specific to GNU/Hurd.
46174 * manual/install.texi: Likewise. Reword some references to
46176 * manual/intro.texi: Likewise.
46177 * manual/io.texi: Likewise.
46178 (File Name Portability): Detail which constraints are inapplicable
46179 to all GNU systems and which are only inapplicable to GNU/Hurd.
46180 * manual/job.texi: Likewise.
46181 * manual/llio.texi: Likewise.
46182 (O_NOCTTY): Document as present on GNU/Linux.
46183 * manual/maint.texi: Likewise.
46184 * manual/memory.texi: Likewise.
46185 * manual/pattern.texi: Likewise.
46186 * manual/pipe.texi: Likewise.
46187 * manual/process.texi: Likewise.
46188 * manual/resource.texi: Likewise.
46189 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46191 * manual/setjmp.texi: Likewise.
46192 * manual/signal.texi: Likewise.
46193 * manual/startup.texi: Likewise.
46194 * manual/stdio.texi: Likewise.
46195 * manual/terminal.texi: Likewise.
46196 (ONLCR): Document as POSIX.
46197 (OXTABS): Document availability on GNU/Linux as XTABS.
46198 (ONOEOT): Document availability separately from other bits.
46199 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46200 * manual/time.texi: Likewise.
46201 * manual/users.texi: Likewise.
46202 * INSTALL: Regenerated.
46203 * sysdeps/gnu/errlist.c: Regenerated.
46205 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46206 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46207 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46209 * configure: Regenerated.
46211 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46213 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46214 default includes instead of AC_HEADER_CHECK.
46215 * sysdeps/i386/configure: Regenerated.
46218 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46219 * math/s_cacoshf.c (__cacoshf): Likewise.
46220 * math/s_cacoshl.c (__cacoshl): Likewise.
46221 * math/s_casinh.c (__casinh): Set signs of result from argument.
46222 * math/s_casinhf.c (__casinhf): Likewise.
46223 * math/s_casinhl.c (__casinhl): Likewise.
46224 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46225 (casinh_test): Add more tests.
46226 * sysdeps/i386/fpu/libm-test-ulps: Update.
46227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46229 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46231 * po/zh_TW.po: Update from translation team.
46233 * login/Makefile (distribute): Remove variable.
46234 * catgets/Makefile: Likewise.
46235 * mach/Makefile: Likewise.
46236 * malloc/Makefile: Likewise.
46237 * misc/Makefile: Likewise.
46238 * iconv/Makefile: Likewise.
46239 * nscd/Makefile: Likewise.
46240 * hurd/Makefile: Likewise.
46241 * manual/Makefile: Likewise.
46242 * locale/Makefile: Likewise.
46243 * intl/Makefile: Likewise.
46244 * conform/Makefile: Likewise.
46245 * nss/Makefile: Likewise.
46246 * time/Makefile: Likewise.
46247 * soft-fp/Makefile: Likewise.
46248 * dirent/Makefile: Likewise.
46249 * gmon/Makefile: Likewise.
46250 * po/Makefile: Likewise.
46251 * rt/Makefile: Likewise.
46252 * socket/Makefile: Likewise.
46253 * math/Makefile: Likewise.
46254 * signal/Makefile: Likewise.
46255 * debug/Makefile: Likewise.
46256 * elf/Makefile: Likewise.
46257 * timezone/Makefile: Likewise.
46258 * stdlib/Makefile: Likewise.
46259 * iconvdata/Makefile: Likewise.
46260 * sunrpc/Makefile: Likewise.
46261 * io/Makefile: Likewise.
46262 * argp/Makefile: Likewise.
46263 * inet/Makefile: Likewise.
46264 * hesiod/Makefile: Likewise.
46265 * grp/Makefile: Likewise.
46266 * csu/Makefile: Likewise.
46267 * wctype/Makefile: Likewise.
46268 * crypt/Makefile: Likewise.
46269 * libio/Makefile: Likewise.
46270 * string/Makefile: Likewise.
46271 * nis/Makefile: Likewise.
46272 * resolv/Makefile: Likewise.
46273 * stdio-common/Makefile: Likewise.
46274 * wcsmbs/Makefile: Likewise.
46275 * dlfcn/Makefile: Likewise.
46276 * posix/Makefile: Likewise.
46279 * timezone/Makefile: Don't install timezone files, just the programs
46282 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46284 * nss/databases.def: Add missing gshadow entry.
46286 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46288 2012-03-06 Marek Polacek <polacek@redhat.com>
46291 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46292 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46293 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46294 * stdio-common/tst-long-dbl-fphex.c: New file.
46296 2012-03-06 David S. Miller <davem@davemloft.net>
46298 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46299 (set_obp_int): New function.
46300 (get_obp_int): New function.
46301 (__get_clockfreq_via_dev_openprom): Likewise.
46302 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46303 Avoid unused variable warnings on 'val' and use builtin_expect.
46304 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46306 (INLINE_CLONE_SYSCALL): Likewise.
46308 2012-03-05 David S. Miller <davem@davemloft.net>
46310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46312 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46316 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46317 only for |x| >= 40.
46318 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46320 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46322 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46323 Replace gettimeofday with __vdso_gettimeofday.
46325 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46326 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46327 __vdso_clock_gettime and __vdso_getcpu.
46329 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46330 time with __vdso_time.
46332 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46334 * manual/lang.texi (size_t): Note types to which size_t may be
46335 equivalent with the GNU C Library, but do not describe when
46336 differences between them are significant.
46338 2012-03-05 Andreas Jaeger <aj@suse.de>
46340 * sysdeps/i386/fpu/libm-test-ulps: Update.
46342 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46345 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46346 (__ieee754_pow): Save and restore rounding mode and use
46347 round-to-nearest for main computations.
46348 * math/libm-test.inc (pow_test_tonearest): New function.
46349 (pow_test_towardzero): Likewise.
46350 (pow_test_downward): Likewise.
46351 (pow_test_upward): Likewise.
46352 (main): Call the new functions.
46353 * sysdeps/i386/fpu/libm-test-ulps: Update.
46354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46357 * math/libm-test.inc (cosh_test_tonearest): New function.
46358 (cosh_test_towardzero): Likewise.
46359 (cosh_test_downward): Likewise.
46360 (cosh_test_upward): Likewise.
46361 (sinh_test_tonearest): Likewise.
46362 (sinh_test_towardzero): Likewise.
46363 (sinh_test_downward): Likewise.
46364 (sinh_test_upward): Likewise.
46365 (main): Call the new functions.
46366 * sysdeps/i386/fpu/libm-test-ulps: Update.
46367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46369 2012-03-05 Tom de Vries <tom@codesourcery.com>
46371 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46372 default stack guard is set in last bytes.
46373 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46375 2012-03-05 Kees Cook <keescook@chromium.org>
46377 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46380 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46381 possibly allocate from heap instead of stack.
46382 * stdio-common/bug-vfprintf-nargs.c: New file.
46383 * stdio-common/Makefile (tests): Add nargs overflow test.
46385 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46389 2012-03-03 Marek Polacek <polacek@redhat.com>
46391 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46392 * math/math_private.h: Likewise.
46393 * stdlib/tst-strtod.c: Likewise.
46394 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46395 * sysdeps/x86_64/bits/atomic.h: Likewise.
46397 2012-03-02 David S. Miller <davem@davemloft.net>
46399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46402 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46403 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46404 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46405 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46406 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46408 2012-03-02 Roland McGrath <roland@hack.frob.com>
46411 * manual/examples/README: New file, says the example source files
46412 can be used under GPL>=2.
46413 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46414 line containing just "*/".
46415 * manual/examples/add.c: Add copyright header (GPL>=2).
46416 * manual/examples/argp-ex1.c: Likewise.
46417 * manual/examples/argp-ex2.c: Likewise.
46418 * manual/examples/argp-ex3.c: Likewise.
46419 * manual/examples/argp-ex4.c: Likewise.
46420 * manual/examples/atexit.c: Likewise.
46421 * manual/examples/db.c: Likewise.
46422 * manual/examples/dir.c: Likewise.
46423 * manual/examples/dir2.c: Likewise.
46424 * manual/examples/execinfo.c: Likewise.
46425 * manual/examples/filecli.c: Likewise.
46426 * manual/examples/filesrv.c: Likewise.
46427 * manual/examples/fmtmsgexpl.c: Likewise.
46428 * manual/examples/genpass.c: Likewise.
46429 * manual/examples/inetcli.c: Likewise.
46430 * manual/examples/inetsrv.c: Likewise.
46431 * manual/examples/isockad.c: Likewise.
46432 * manual/examples/longopt.c: Likewise.
46433 * manual/examples/memopen.c: Likewise.
46434 * manual/examples/memstrm.c: Likewise.
46435 * manual/examples/mkfsock.c: Likewise.
46436 * manual/examples/mkisock.c: Likewise.
46437 * manual/examples/mygetpass.c: Likewise.
46438 * manual/examples/pipe.c: Likewise.
46439 * manual/examples/popen.c: Likewise.
46440 * manual/examples/rprintf.c: Likewise.
46441 * manual/examples/search.c: Likewise.
46442 * manual/examples/select.c: Likewise.
46443 * manual/examples/setjmp.c: Likewise.
46444 * manual/examples/sigh1.c: Likewise.
46445 * manual/examples/sigusr.c: Likewise.
46446 * manual/examples/stpcpy.c: Likewise.
46447 * manual/examples/strdupa.c: Likewise.
46448 * manual/examples/strftim.c: Likewise.
46449 * manual/examples/strncat.c: Likewise.
46450 * manual/examples/subopt.c: Likewise.
46451 * manual/examples/swapcontext.c: Likewise.
46452 * manual/examples/termios.c: Likewise.
46453 * manual/examples/testopt.c: Likewise.
46454 * manual/examples/testpass.c: Likewise.
46455 * manual/examples/timeval_subtract.c: Likewise.
46458 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46460 * manual/timeval_subtract.c.texi: ... here, new file.
46462 2012-03-02 David S. Miller <davem@davemloft.net>
46464 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46466 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46469 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46470 (__sin): Save and restore rounding mode and use round-to-nearest
46471 for all computations.
46472 (__cos): Save and restore rounding mode and use round-to-nearest
46473 for all computations.
46474 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46476 (tan): Save and restore rounding mode and use round-to-nearest for
46478 * math/libm-test.inc (cos_test_tonearest): New function.
46479 (cos_test_towardzero): Likewise.
46480 (cos_test_downward): Likewise.
46481 (cos_test_upward): Likewise.
46482 (sin_test_tonearest): Likewise.
46483 (sin_test_towardzero): Likewise.
46484 (sin_test_downward): Likewise.
46485 (sin_test_upward): Likewise.
46486 (tan_test_tonearest): Likewise.
46487 (tan_test_towardzero): Likewise.
46488 (tan_test_downward): Likewise.
46489 (tan_test_upward): Likewise.
46490 (main): Call the new functions.
46491 * sysdeps/i386/fpu/libm-test-ulps: Update.
46492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46495 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46496 small n, then large n, before computing and testing k+n.
46497 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46498 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46500 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46502 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46503 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46504 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46505 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46508 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46509 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46510 * math/libm-test.inc (scalbn_test): Add more tests.
46511 (scalbln_test): Likewise.
46513 * manual/filesys.texi (mode_t): Describe constraints on size and
46514 signedness, not exact equivalence to a particular type.
46516 (ino64_t): Likewise.
46518 (nlink_t): Likewise.
46519 (blkcnt_t): Likewise.
46520 (blkcnt64_t): Likewise.
46521 * manual/llio.texi (off_t): Likewise.
46524 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46525 (__ieee754_exp): Save and restore rounding mode and use
46526 round-to-nearest for all computations.
46527 * math/libm-test.inc (exp_test_tonearest): New function.
46528 (exp_test_towardzero): Likewise.
46529 (exp_test_downward): Likewise.
46530 (exp_test_upward): Likewise.
46531 (main): Call the new functions.
46532 * sysdeps/i386/fpu/libm-test-ulps: Update.
46533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46535 2012-03-01 Chris Demetriou <cgd@google.com>
46537 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46538 have predictable order.
46540 2012-03-01 David S. Miller <davem@davemloft.net>
46542 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46544 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46545 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46546 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46547 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46549 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46550 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46551 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46553 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46554 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46555 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46556 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46557 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46561 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46562 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46563 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46565 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46566 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46567 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46568 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46569 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46570 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46571 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46572 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46573 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46574 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46575 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46576 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46577 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46578 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46579 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46581 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46582 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46583 * sysdeps/sparc/elf/configure: Regenerated.
46585 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46587 * configure.in (AS, LD): Require binutils 2.20 or later.
46588 * configure: Regenerated.
46589 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46590 as required minimum version.
46591 * INSTALL: Regenerated.
46595 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46596 before squaring exponent.
46597 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46598 bottom long double and 27 bits of top long double before squaring
46600 * math/libm-test.inc (erfc_test): Add more tests.
46601 * sysdeps/i386/fpu/libm-test-ulps: Update.
46602 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46605 2012-03-01 Kai Tietz <ktietz@redhat.com>
46607 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46608 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46609 containing bit-fields.
46610 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46611 * soft-fp/single.h (_FP_UNION_S): Likewise.
46612 * soft-fp/double.h (_FP_UNION_D): Likewise.
46614 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46617 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46618 not include ../strcmp.S.
46619 [USE_AS_STRNCASECMP_L]: Likewise.
46620 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46621 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46622 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46623 (__strncasecmp_l_ia32): Define as alias to
46624 __strncasecmp_l_nonascii.
46627 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46628 * sysdeps/i386/fpu/libm-test-ulps: Update.
46629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46631 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46634 2012-02-29 Jeff Law <law@redhat.com>
46636 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46637 out of bounds read.
46639 2012-02-29 Marek Polacek <polacek@redhat.com>
46642 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46643 * elf/Makefile: Add rules to run tst-unused-dep.out.
46645 2012-02-28 David S. Miller <davem@davemloft.net>
46647 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46648 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46649 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46650 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46651 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46652 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46654 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46656 * math/libm-test.inc (llround_test): Move one test from
46657 lround_test. Use TEST_f_L in moved test.
46658 (lround_test): Move misplaced test to llround_test. Add testcase
46661 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46663 * sysdeps/x86_64/fpu/e_expf.S: New file.
46664 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46666 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46669 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46670 of remain_len that may cause incomplete multi-byte character and
46672 * posix/bug-regex33.c: New file.
46673 * posix/Makefile (tests): Add bug-regex33.
46675 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46677 * manual/macros.texi: New file.
46678 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46679 * manual/libc.texinfo: Include macros.texi.
46680 * manual/creatute.texi: Likewise.
46681 * manual/install.texi: Likewise.
46682 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46683 @glibcadj{} in references to the GNU C Library.
46684 * manual/charset.texi: Likewise.
46685 * manual/conf.texi: Likewise.
46686 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46687 when not using those macros.
46688 * manual/creature.texi: Likewise.
46689 * manual/crypt.texi: Likewise.
46690 * manual/errno.texi: Likewise.
46691 * manual/filesys.texi: Likewise.
46692 * manual/header.texi: Likewise.
46693 * manual/install.texi: Likewise.
46694 * manual/intro.texi: Likewise.
46695 * manual/io.texi: Likewise.
46696 * manual/job.texi: Likewise.
46697 * manual/lang.texi: Likewise.
46698 * manual/libc.texiinfo: Likewise.
46699 * manual/llio.texi: Likewise.
46700 * manual/locale.texi: Likewise.
46701 * manual/maint.texi: Likewise.
46702 * manual/math.texi: Likewise.
46703 * manual/memory.texi: Likewise.
46704 * manual/message.texi: Likewise.
46705 * manual/nss.texi: Likewise.
46706 * manual/pattern.texi: Likewise.
46707 * manual/process.texi: Likewise.
46708 * manual/resource.texi: Likewise.
46709 * manual/search.texi: Likewise.
46710 * manual/setjmp.texi: Likewise.
46711 * manual/signal.texi: Likewise.
46712 * manual/socket.texi: Likewise.
46713 * manual/startup.texi: Likewise.
46714 * manual/stdio.texi: Likewise.
46715 * manual/string.texi: Likewise.
46716 * manual/sysinfo.texi: Likewise.
46717 * manual/syslog.texi: Likewise.
46718 * manual/terminal.texi: Likewise.
46719 * manual/time.texi: Likewise.
46720 * manual/users.texi: Likewise.
46721 * INSTALL: Regenerated.
46722 * NOTES: Regenerated.
46723 * sysdeps/gnu/errlist.c: Regenerated.
46725 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46727 * include/dirent.h: Include <dirstream.h> before
46730 2012-02-28 David S. Miller <davem@davemloft.net>
46732 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46733 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46734 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46735 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46737 2012-02-27 David S. Miller <davem@davemloft.net>
46739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46741 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46742 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46745 frame pointer instead of stack pointer relative arg slot.
46746 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46747 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46748 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46750 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46753 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46755 2012-02-27 David S. Miller <davem@davemloft.net>
46757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46761 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46762 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46763 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46764 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46766 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46768 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46769 later. Allow versions 5-9.
46770 * configure: Regenerated.
46771 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46772 required minimum version and 4.6 as recommended version. Do not
46773 mention bugs in GCC 2.7 and 2.8.
46774 * INSTALL: Regenerated.
46776 2012-02-27 David S. Miller <davem@davemloft.net>
46778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46782 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46783 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46784 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46785 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46788 manipulate bits before adding and subtracting TWO112[sx].
46789 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46791 2012-02-27 Roland McGrath <roland@hack.frob.com>
46794 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46795 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46796 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46797 being in POSIX, because they are in 1003.1-2008.
46799 * rt/tst-aio.c: Include <fcntl.h>.
46800 * rt/tst-aio7.c: Likewise.
46801 * rt/tst-aio64.c: Likewise.
46803 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46805 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46807 * manual/install.texi (--with-headers): Describe headers as
46808 interface headers, not private headers.
46809 (Specific advice for GNU/Linux systems): Describe use of headers
46810 from "make headers_install", not private headers from older
46812 * INSTALL: Regenerated.
46813 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46815 * sysdeps/unix/sysv/linux/configure: Regenerated.
46817 * manual/llio.texi (fclean): Remove documentation.
46819 * manual/Makefile (libc-texi-generated): New variable. Include
46821 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46822 $(libc-texi-generated), not duplicated list of files.
46823 (version.texi, stamp-version): New rules.
46824 (realclean): Remove $(libc-texi-generated), not individual files
46825 from that list. Do not remove dir-add.texinfo.
46826 * manual/libc.texinfo: Comment out uses of edition numbers and
46827 references to printed manual. Remove last-updated dates.
46828 (EDITION): Comment out.
46830 (VERSION, UPDATED): Remove.
46831 (version.texi): Include.
46833 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46835 * sysdeps/posix/spawni.c: Include <signal.h>.
46836 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46837 * sysdeps/pthread/aio_fsync.c: Likewise.
46839 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46841 * conform/Makefile (tests): Run only when not cross-compiling and
46842 when fast-check is not defined.
46844 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46845 * conform/data/limits.h-data: Fixes for POSIX2008.
46846 * conform/run-conformtest.sh: Run all tests.
46847 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46849 * include/bits/dlfcn.h: Likewise.
46850 * include/langinfo.h: Likewise.
46851 * include/monetary.h: Likewise.
46852 * include/sys/poll.h: Likewise.
46854 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46856 * posix/spawn.h: Define __need_sigset_t.
46857 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46858 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46859 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46860 to get sigevent_t only.
46861 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46862 only for __USE_GNU.
46863 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46864 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46865 process_vm_writev only for __USE_GNU.
46866 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46868 * conform/Makefile: For now ignore errors from run-conformtest.
46869 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46870 POSIX to avoid namespace pollution. Don't prepend headers.
46871 * conform/data/aio.h-data: Fixes for POSIX testing.
46872 * conform/data/fcntl.h-data: Likewise.
46873 * conform/data/glob.h-data: Likewise.
46874 * conform/data/grp.h-data: Likewise.
46875 * conform/data/pthread.h-data: Likewise.
46876 * conform/data/pwd.h-data: Likewise.
46877 * conform/data/signal.h-data: Likewise.
46878 * conform/data/spawn.h-data: Likewise.
46879 * conform/data/stdio.h-data: Likewise.
46880 * conform/data/stdlib.h-data: Likewise.
46881 * conform/data/stropts.h-data: Likewise.
46882 * conform/data/sys/mman.h-data: Likewise.
46883 * conform/data/sys/stat.h-data: Likewise.
46884 * conform/data/sys/types.h-data: Likewise.
46885 * conform/data/sys/wait.h-data: Likewise.
46886 * conform/data/time.h-data: Likewise.
46887 * conform/data/unistd.h-data: Likewise.
46888 * conform/data/utime.h-data: Likewise.
46890 * io/sys/stat.h: fchmod was always in POSIX.
46891 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46892 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46893 * rt/aio.h: Define __need_timespec before including <time.h>.
46894 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46895 struct. Add forward declaration of pthread_attr_t and use it in
46897 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46898 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46899 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46900 always remove CLK_TCK definition.
46902 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46904 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46906 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46908 * conform/run-conformtest.sh: New file.
46909 * conform/Makefile: Run run-conformtest for tests.
46910 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46913 * conform/data/uchar.h-data: New file.
46914 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46915 * conform/data/arpa/inet.h-data: Likewise.
46916 * conform/data/assert.h-data: Likewise.
46917 * conform/data/complex.h-data: Likewise.
46918 * conform/data/cpio.h-data: Likewise.
46919 * conform/data/ctype.h-data: Likewise.
46920 * conform/data/dirent.h-data: Likewise.
46921 * conform/data/dlfcn.h-data: Likewise.
46922 * conform/data/errno.h-data: Likewise.
46923 * conform/data/fcntl.h-data: Likewise.
46924 * conform/data/float.h-data: Likewise.
46925 * conform/data/fmtmsg.h-data: Likewise.
46926 * conform/data/fnmatch.h-data: Likewise.
46927 * conform/data/ftw.h-data: Likewise.
46928 * conform/data/glob.h-data: Likewise.
46929 * conform/data/grp.h-data: Likewise.
46930 * conform/data/iconv.h-data: Likewise.
46931 * conform/data/inttypes.h-data: Likewise.
46932 * conform/data/langinfo.h-data: Likewise.
46933 * conform/data/libgen.h-data: Likewise.
46934 * conform/data/limits.h-data: Likewise.
46935 * conform/data/locale.h-data: Likewise.
46936 * conform/data/math.h-data: Likewise.
46937 * conform/data/monetary.h-data: Likewise.
46938 * conform/data/mqueue.h-data: Likewise.
46939 * conform/data/ndbm.h-data: Likewise.
46940 * conform/data/net/if.h-data: Likewise.
46941 * conform/data/netdb.h-data: Likewise.
46942 * conform/data/netinet/in.h-data: Likewise.
46943 * conform/data/nl_types.h-data: Likewise.
46944 * conform/data/poll.h-data: Likewise.
46945 * conform/data/pthread.h-data: Likewise.
46946 * conform/data/pwd.h-data: Likewise.
46947 * conform/data/regex.h-data: Likewise.
46948 * conform/data/sched.h-data: Likewise.
46949 * conform/data/search.h-data: Likewise.
46950 * conform/data/semaphore.h-data: Likewise.
46951 * conform/data/setjmp.h-data: Likewise.
46952 * conform/data/signal.h-data: Likewise.
46953 * conform/data/spawn.h-data: Likewise.
46954 * conform/data/stdarg.h-data: Likewise.
46955 * conform/data/stdio.h-data: Likewise.
46956 * conform/data/stdlib.h-data: Likewise.
46957 * conform/data/string.h-data: Likewise.
46958 * conform/data/strings.h-data: Likewise.
46959 * conform/data/stropts.h-data: Likewise.
46960 * conform/data/sys/ipc.h-data: Likewise.
46961 * conform/data/sys/mman.h-data: Likewise.
46962 * conform/data/sys/msg.h-data: Likewise.
46963 * conform/data/sys/resource.h-data: Likewise.
46964 * conform/data/sys/select.h-data: Likewise.
46965 * conform/data/sys/sem.h-data: Likewise.
46966 * conform/data/sys/shm.h-data: Likewise.
46967 * conform/data/sys/socket.h-data: Likewise.
46968 * conform/data/sys/stat.h-data: Likewise.
46969 * conform/data/sys/statvfs.h-data: Likewise.
46970 * conform/data/sys/time.h-data: Likewise.
46971 * conform/data/sys/timeb.h-data: Likewise.
46972 * conform/data/sys/times.h-data: Likewise.
46973 * conform/data/sys/types.h-data: Likewise.
46974 * conform/data/sys/uio.h-data: Likewise.
46975 * conform/data/sys/un.h-data: Likewise.
46976 * conform/data/sys/utsname.h-data: Likewise.
46977 * conform/data/sys/wait.h-data: Likewise.
46978 * conform/data/syslog.h-data: Likewise.
46979 * conform/data/tar.h-data: Likewise.
46980 * conform/data/termios.h-data: Likewise.
46981 * conform/data/utime.h-data: Likewise.
46982 * conform/data/utmpx.h-data: Likewise.
46983 * conform/data/varargs.h-data: Likewise.
46984 * conform/data/wchar.h-data: Likewise.
46985 * conform/data/wctype.h-data: Likewise.
46986 * conform/data/wordexp.h-data: Likewise.
46988 * include/stropts.h: New file.
46989 * include/uchar.h: New file.
46990 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46991 * include/assert.h: Likewise.
46992 * include/ctype.h: Likewise.
46993 * include/dirent.h: Likewise.
46994 * include/dlfcn.h: Likewise.
46995 * include/fcntl.h: Likewise.
46996 * include/fnmatch.h: Likewise.
46997 * include/glob.h: Likewise.
46998 * include/grp.h: Likewise.
46999 * include/libio.h: Likewise.
47000 * include/locale.h: Likewise.
47001 * include/math.h: Likewise.
47002 * include/net/if.h: Likewise.
47003 * include/netdb.h: Likewise.
47004 * include/netinet/in.h: Likewise.
47005 * include/pthread.h: Likewise.
47006 * include/pwd.h: Likewise.
47007 * include/regex.h: Likewise.
47008 * include/sched.h: Likewise.
47009 * include/search.h: Likewise.
47010 * include/setjmp.h: Likewise.
47011 * include/signal.h: Likewise.
47012 * include/stdio.h: Likewise.
47013 * include/stdlib.h: Likewise.
47014 * include/string.h: Likewise.
47015 * include/sys/cdefs.h: Likewise.
47016 * include/sys/mman.h: Likewise.
47017 * include/sys/msg.h: Likewise.
47018 * include/sys/resource.h: Likewise.
47019 * include/sys/select.h: Likewise.
47020 * include/sys/socket.h: Likewise.
47021 * include/sys/stat.h: Likewise.
47022 * include/sys/statvfs.h: Likewise.
47023 * include/sys/time.h: Likewise.
47024 * include/sys/times.h: Likewise.
47025 * include/sys/uio.h: Likewise.
47026 * include/sys/utsname.h: Likewise.
47027 * include/sys/wait.h: Likewise.
47028 * include/termios.h: Likewise.
47029 * include/time.h: Likewise.
47030 * include/ulimit.h: Likewise.
47031 * include/unistd.h: Likewise.
47032 * include/utime.h: Likewise.
47033 * include/wchar.h: Likewise.
47034 * include/wctype.h: Likewise.
47035 * include/wordexp.h: Likewise.
47037 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47039 * time/time.h: TIME_UTC must be a macro.
47040 Make timespec_get available for ISO C11 only as well.
47042 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47044 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47045 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47047 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47049 * configure.in: Use -o not -a in test for unsupported multi-arch.
47051 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47053 * manual/texinfo.tex: Update to version 2012-01-19.16.
47055 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47057 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47059 2012-02-24 Roland McGrath <roland@hack.frob.com>
47062 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47063 * manual/fdl-1.3.texi: New file.
47064 * manual/fdl-1.1.texi: File removed.
47067 * manual/libc.texinfo (FDL_VERSION): New @set.
47068 Use it for mention of FDL in cover text.
47069 (Documentation License): Use it in @include file name.
47071 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47072 Roland McGrath <roland@hack.frob.com>
47075 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47076 (not LONG_LONG_MAX and LONG_LONG_MIN.
47077 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47078 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47080 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47082 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47086 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47087 manipulate bits before adding and subtracting TWO23[sx].
47088 * math/libm-test.inc (nearbyint_test): Add more tests.
47090 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47093 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47094 bits before adding and subtracting TWO23[sx].
47095 * math/libm-test.inc (rint_test): Add more tests.
47096 (rint_test_tonearest): Likewise.
47097 (rint_test_towardzero): Likewise.
47098 (rint_test_downward): Likewise.
47099 (rint_test_upward: Likewise.
47101 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47104 * include/stdc-predef.h: New file. Extracted from features.h.
47105 * include/features.h: Include stdc-predef.h.
47106 * Makefile (headers): Add stdc-predef.h.
47107 * CONFORMANCE (Compiler limitations): Update.
47109 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47111 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47113 2012-02-21 David S. Miller <davem@davemloft.net>
47115 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47116 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47118 2012-02-20 David S. Miller <davem@davemloft.net>
47120 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47121 using a normal save/restore sequence, rather than allocating a
47122 dummy stack frame just to store a frame pointer and restore.
47123 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47125 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47127 * manual/install.texi: Fix stray word in line-wrapped comment.
47129 2012-02-20 David S. Miller <davem@davemloft.net>
47131 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47132 both binutils and gcc support GOTDATA.
47134 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47135 "rd %pc" in the PIC register setup sequences.
47137 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47138 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47139 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47140 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47141 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47142 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47143 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47144 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47146 (SYSCALL_ERROR_HANDLER): Likewise.
47147 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47148 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47149 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47150 (SYSCALL_ERROR_HANDLER): Likewise.
47152 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47153 (HAVE_GCC_GOTDATA): New.
47154 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47155 relocation support in both binutils and gcc.
47156 * sysdeps/sparc/elf/configure: Regenerate.
47158 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47159 * sysdeps/sparc/sparc32/elf/configure: Delete.
47160 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47161 * sysdeps/sparc/sparc64/elf/configure: Delete.
47162 * sysdeps/sparc/elf/configure.in: New file.
47163 * sysdeps/sparc/elf/configure: Generate.
47165 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47166 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47167 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47168 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47169 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47171 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47173 * manual/install.texi: Do not mention specific glibc version
47175 * manual/libc.texinfo (VERSION, UPDATED): Update.
47176 (@copying): Use @copyright{} and range of years.
47178 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47181 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47182 [crti.S not in sysdirs] (generated): Do not append.
47183 [crti.S not in sysdirs] (omit-deps): Likewise.
47184 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47185 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47186 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47187 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47188 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47190 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47191 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47192 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47193 * csu/defs.awk: Remove file.
47194 * sysdeps/generic/initfini.c: Likewise.
47195 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47197 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47200 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47202 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47203 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47204 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47205 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47206 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47207 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47209 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47210 (__EPOLL_PACKED): Define to empty if not defined by
47212 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47216 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47218 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47219 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47220 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47221 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47223 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47227 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47229 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47231 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47232 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47233 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47236 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47238 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47239 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47241 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47243 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47244 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47246 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47248 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47251 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47253 * math/w_acos.c: Use non-signaling floating-point comparisons.
47254 * math/w_acosf.c: Likewise.
47255 * math/w_acosh.c: Likewise.
47256 * math/w_acoshf.c: Likewise.
47257 * math/w_acoshl.c: Likewise.
47258 * math/w_acosl.c: Likewise.
47259 * math/w_asin.c: Likewise.
47260 * math/w_asinf.c: Likewise.
47261 * math/w_asinl.c: Likewise.
47262 * math/w_atanh.c: Likewise.
47263 * math/w_atanhf.c: Likewise.
47264 * math/w_atanhl.c: Likewise.
47265 * math/w_exp2.c: Likewise.
47266 * math/w_exp2f.c: Likewise.
47267 * math/w_exp2l.c: Likewise.
47268 * math/w_j0.c: Likewise.
47269 * math/w_j0f.c: Likewise.
47270 * math/w_j0l.c: Likewise.
47271 * math/w_j1.c: Likewise.
47272 * math/w_j1f.c: Likewise.
47273 * math/w_j1l.c: Likewise.
47274 * math/w_jn.c: Likewise.
47275 * math/w_jnf.c: Likewise.
47276 * math/w_log.c: Likewise.
47277 * math/w_log10.c: Likewise.
47278 * math/w_log10f.c: Likewise.
47279 * math/w_log10l.c: Likewise.
47280 * math/w_log2.c: Likewise.
47281 * math/w_log2f.c: Likewise.
47282 * math/w_log2l.c: Likewise.
47283 * math/w_logf.c: Likewise.
47284 * math/w_logl.c: Likewise.
47285 * math/w_sqrt.c: Likewise.
47286 * math/w_sqrtf.c: Likewise.
47287 * math/w_sqrtl.c: Likewise.
47288 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47289 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47290 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47291 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47292 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47294 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47297 * manual/string.texi (strnlen): Use correct parameter name in
47298 equivalent expression.
47300 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47303 * manual/users.texi (seteuid): Consistently use neweuid for
47306 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47309 * manual/nss.texi (Services in the NSS configuration): Correct
47310 list of services in example configuration file.
47312 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47315 * manual/arith.texi: Remove statements about negative zero
47316 behaving identically to zero.
47318 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47321 * manual/install.texi: Do not document upgrading from libc5.
47323 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47326 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47328 2012-02-18 David S. Miller <davem@davemloft.net>
47330 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47331 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47332 %o7 across the call.
47333 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47336 SETUP_PIC_REG_LEAF.
47337 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47338 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47339 * sysdeps/sparc/crtn.S: Likewise.
47341 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47343 * aout/Makefile: Remove.
47345 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47348 * manual/examples/argp-ex1.c (main): Format definition in GNU
47350 * manual/examples/argp-ex2.c (main): Likewise.
47351 * manual/examples/argp-ex3.c (main): Likewise.
47352 * manual/examples/argp-ex4.c (main): Likewise.
47353 * manual/examples/longopt.c (main): Use new-style prototype
47355 * manual/examples/strncat.c (main): Specify return type and use
47356 (void) for arguments.
47357 * manual/examples/subopt.c (main): Use char **argv argument.
47359 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47362 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47365 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47368 * manual/string.texi (strchr): Change when strchrnul is
47371 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47374 * manual/locale.texi (setlocale): Document LOCPATH.
47376 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47379 * manual/process.texi (execle): Move @dots{} before last argument.
47381 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47384 * manual/charset.texi (Generic Charset Conversion): Fix typo
47385 (LC_TYPE -> LC_CTYPE).
47387 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47390 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47391 (scalbnf): Likewise.
47392 (scalbnl): Likewise.
47393 (scalbln): Likewise.
47394 (scalblnf): Likewise.
47395 (scalblnl): Likewise.
47396 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47397 (vwarnx): Likewise.
47400 * manual/filesys.texi (telldir): Use braces around return type.
47401 * manual/llio.texi (mmap): Add space after comma.
47402 (mmap64): Likewise.
47403 * manual/math.texi (jn): Use @var{} on parameter names.
47409 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47411 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47413 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47414 (sched_get_priority_max): Likewise.
47415 * manual/signal.texi (sigvec): Add space after comma.
47416 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47418 (if_indextoname): Likewise.
47419 (if_freenameindex): Likewise.
47420 (sendto): Use ',' instead of '.' in prototype.
47421 * manual/startup.texi (syscall): Use @dots{} instead of literal
47423 * manual/stdio.texi (__fpending): Separate initial words of
47424 paragraph from @deftypefun line.
47425 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47427 (vsyslog): Use @var{} on parameter names.
47428 * manual/terminal.texi (stty): Use @var{} on parameter names.
47429 * manual/users.texi (getutmp): Use @var{} on parameter names.
47430 (getutmpx): Likewise.
47432 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47435 * manual/stdio.texi (fopen): Fix typos in description of
47438 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47441 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47442 get clock_id definition.
47444 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47447 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47448 (madvise): Cast every argument to void on its own.
47450 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47453 * manual/startup.texi (Exit Status): Fix typo.
47455 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47458 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47459 * manual/examples/argp-ex2.c: Likewise.
47460 * manual/examples/argp-ex3.c: Likewise.
47462 2012-02-16 Richard Henderson <rth@redhat.com>
47464 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47465 * sysdeps/s390/s390-32/initfini.c: Remove.
47466 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47467 * sysdeps/s390/s390-64/initfini.c: Remove.
47469 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47471 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47472 compiler output for sysdeps/generic/initfini.c.
47473 * sysdeps/sh/elf/initfini.c: Remove file.
47475 2012-02-16 David S. Miller <davem@davemloft.net>
47478 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47480 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47481 * sysdeps/sparc/crti.S: New file.
47482 * sysdeps/sparc/crtn.S: New file.
47483 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47484 * sysdeps/sparc/sparc64/Makefile: Likewise.
47486 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47489 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47491 2012-02-15 Roland McGrath <roland@hack.frob.com>
47494 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47496 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47497 (write, read, close): Likewise.
47498 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47500 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47502 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47503 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47504 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47505 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47507 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47508 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47511 2012-02-14 Marek Polacek <polacek@redhat.com>
47513 * sysdeps/x86_64/crti.S: New file.
47514 * sysdeps/x86_64/crtn.S: New file.
47515 * sysdeps/x86_64/elf/initfini.c: Remove file.
47517 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47519 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47520 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47521 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47522 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47524 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47525 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47528 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47530 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47531 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47532 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47533 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47535 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47539 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47541 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47542 __feraiseexcept instead of feraiseexcept.
47544 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47545 nanosleep invocations.
47546 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47547 strings, and add error checking for a nanosleep invocations.
47549 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47551 Replace FSF snail mail address with URLs, as per GNU coding standards.
47552 Most of the snail mail addresses were wrong anyway, and omitting
47553 them makes the source code easier to maintain. Almost all of the
47554 changes are to license notices and to locale LC_IDENTIFICATION
47555 addresses, except for this one:
47556 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47557 not its snail mail address.
47559 2012-02-09 Richard Henderson <rth@twiddle.net>
47561 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47562 of kernel-features.h.
47564 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47566 2012-02-08 Marek Polacek <polacek@redhat.com>
47568 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47569 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47570 * sysdeps/gnu/_G_config.h: Likewise.
47571 * sysdeps/generic/_G_config.h: Likewise.
47573 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47575 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47579 * sysdeps/powerpc/powerpc32/crti.S: New file.
47580 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47581 * sysdeps/powerpc/powerpc64/crti.S: New file.
47582 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47584 * Makeconfig (have-initfini): Don't set.
47585 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47586 * configure.in (nopic_initfini): Don't substitute.
47587 * config.h.in (HAVE_INITFINI): Don't #undef.
47588 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47589 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47591 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47593 Support crti.S and crtn.S provided directly by architectures.
47594 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47595 [crti.S in sysdirs] (omit-deps): Likewise.
47596 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47597 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47598 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47599 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47600 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47601 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47602 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47603 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47604 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47605 compiler output for sysdeps/generic/initfini.c.
47606 * sysdeps/i386/elf/Makefile: Remove file.
47607 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47609 2012-02-07 Marek Polacek <polacek@redhat.com>
47611 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47612 * sysdeps/gnu/_G_config.h: Likewise.
47613 * sysdeps/mach/hurd/_G_config.h: Likewise.
47615 2012-02-07 Marek Polacek <polacek@redhat.com>
47617 * math/Makefile (tests): Add tst-CMPLX2.
47618 * math/tst-CMPLX2.c: New file.
47620 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47622 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47624 * math/libm-test.inc (jn_test): Add missing L suffix.
47626 2012-02-06 Marek Polacek <polacek@redhat.com>
47628 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47629 * sysdeps/i386/fpu/e_powf.S: Likewise.
47630 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47631 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47632 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47633 * sysdeps/i386/fpu/e_pow.S: Likewise.
47634 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47635 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47636 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47637 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47638 * sysdeps/i386/fpu/e_log2.S: Likewise.
47639 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47640 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47641 * sysdeps/i386/fpu/e_powl.S: Likewise.
47642 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47643 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47644 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47645 * sysdeps/i386/fpu/e_logl.S: Likewise.
47646 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47647 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47648 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47649 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47650 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47651 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47652 * sysdeps/i386/fpu/e_log.S: Likewise.
47653 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47654 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47655 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47656 * sysdeps/i386/fpu/e_logf.S: Likewise.
47657 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47658 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47659 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47660 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47661 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47662 * sysdeps/i386/fpu/e_log10.S: Likewise.
47663 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47664 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47665 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47666 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47667 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47668 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47669 * sysdeps/i386/asm-syntax.h: Likewise.
47670 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47671 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47672 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47673 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47674 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47675 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47676 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47677 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47678 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47679 * sysdeps/powerpc/sysdep.h: Likewise.
47680 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47681 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47683 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47686 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47688 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47690 * sysdeps/i386/sysdep.h: Include <features.h>.
47691 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47694 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47696 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47698 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47701 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47703 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47704 (SETUP_PIC_REG): Use GET_PC_THUNK.
47705 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47708 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47710 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47711 for non-PIC compilation.
47712 (SETUP_PIC_REG): Add .p2align directive.
47713 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47714 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47715 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47716 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47717 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47718 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47719 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47720 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47721 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47722 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47723 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47724 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47725 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47726 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47727 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47728 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47729 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47730 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47731 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47732 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47733 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47734 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47735 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47736 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47737 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47739 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47740 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47741 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47742 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47743 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47744 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47745 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47746 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47747 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47748 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47749 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47750 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47751 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47752 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47753 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47755 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47757 * math/tst-CMPLX.c: Include <stdio.h>.
47759 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47761 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47763 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47764 * sysdeps/sparc/bits/mathdef.h: Likewise.
47766 2012-01-31 Marek Polacek <polacek@redhat.com>
47768 * libio/libio.h: Don't define _PARAMS.
47769 * locale/programs/config.h: Don't define PARAMS.
47770 * stdlib/strtol_l.c: Likewise.
47771 (__strtol_l): Remove PARAMS from the prototype.
47773 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47775 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47776 names. Just use the correct names. Remove unnecessary wrapper
47778 * malloc/arena.c: Likewise.
47779 * malloc/hooks.c: Likewise.
47781 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47782 ARENA_TEST says not to. Simplify test for creation of a new arena.
47783 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47785 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47787 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47789 (update_get_addr): New function.
47790 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47791 GET_ADDR_MODULE parameter.
47793 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47795 * crypt/cert.c: Remove __STDC__ conditionals.
47796 * crypt/crypt-entry.c: Likewise.
47797 * crypt/crypt_util.c: Likewise.
47798 * libio/filedoalloc.c: Likewise.
47799 * libio/fileops.c: Likewise.
47800 * libio/genops.c: Likewise.
47801 * libio/iofclose.c: Likewise.
47802 * libio/iofdopen.c: Likewise.
47803 * libio/iofopen.c: Likewise.
47804 * libio/iofopen64.c: Likewise.
47805 * libio/iogetdelim.c: Likewise.
47806 * libio/iopopen.c: Likewise.
47807 * libio/obprintf.c: Likewise.
47808 * libio/oldfileops.c: Likewise.
47809 * libio/oldiofclose.c: Likewise.
47810 * libio/oldiofdopen.c: Likewise.
47811 * libio/oldiofopen.c: Likewise.
47812 * libio/oldiopopen.c: Likewise.
47813 * libio/wfiledoalloc.c: Likewise.
47814 * libio/wgenops.c: Likewise.
47815 * locale/programs/xmalloc.c: Likewise.
47816 * misc/syslog.c: Likewise.
47817 * stdio-common/xbug.c: Likewise.
47818 * string/memchr.c: Likewise.
47819 * string/memcmp.c: Likewise.
47820 * string/memrchr.c: Likewise.
47821 * string/rawmemchr.c: Likewise.
47822 * sysdeps/posix/getcwd.c: Likewise.
47823 * time/strftime_l.c: Likewise.
47825 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47827 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47828 * config.make.in (config-cflags-sse2avx): Define.
47829 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47832 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47834 * scripts/config.guess: Update from upstream config git repository.
47835 * scripts/config.sub: Likewise.
47837 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47839 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47841 (R_TILEPRO_*, R_TILEGX_*): New macros.
47843 * scripts/firstversions.awk: Fix bug in version range handling.
47845 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47847 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47849 * include/sys/epoll.h: New file.
47850 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47853 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47855 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47856 Avoid unnecessary __WORDSIZE == 64 test.
47857 (fmaxf): Use VEX format if possible.
47862 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47863 * math/math_private.h: Remove libc_fegetround* and
47865 * sysdeps/i386/configure.in: Check for -msse2avx.
47866 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47867 also if SSE2AVX is defined.
47868 Remove libc_fegetround* and libc_fesetround*.
47869 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47870 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47871 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47879 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47881 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47883 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47885 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47887 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47890 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47892 * Makeconfig (libm): Define.
47893 * elf/Makefile: Add rules to build and run tst-relsort1.
47894 * elf/tst-relsort1.c: New file.
47895 * elf/tst-relsort1mod1.c: New file.
47896 * elf/tst-relsort1mod2.c: New file.
47898 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47900 * math/s_ldexp.c: Remove __STDC__ conditionals.
47901 * math/s_ldexpf.c: Likewise.
47902 * math/s_ldexpl.c: Likewise.
47903 * math/s_nextafter.c: Likewise.
47904 * math/s_nexttowardf.c: Likewise.
47905 * math/s_significand.c: Likewise.
47906 * math/s_significandf.c: Likewise.
47907 * math/s_significandl.c: Likewise.
47908 * math/w_jnl.c: Likewise.
47909 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47910 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47911 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47912 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47913 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47914 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47915 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47916 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47917 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47918 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47919 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47921 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47922 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47923 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47924 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47925 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47926 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47928 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47929 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47930 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47931 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47932 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47933 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47934 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47935 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47936 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47937 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47938 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47939 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47940 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47941 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47942 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47943 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47944 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47945 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47946 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47947 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47948 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47949 * sysdeps/ieee754/k_standard.c: Likewise.
47950 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47951 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47952 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47953 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47954 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47955 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47956 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47957 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47958 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47959 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47960 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47961 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47962 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47963 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47964 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47966 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47967 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47968 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47969 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47970 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47971 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47972 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47973 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47974 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47975 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47976 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47979 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47980 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47981 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47982 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47983 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47984 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47985 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47986 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47987 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47988 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47989 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47990 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47991 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47992 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47993 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47994 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47995 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47996 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47997 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47998 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47999 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48000 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48001 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48002 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48003 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48007 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48008 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48010 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48011 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48012 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48014 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48015 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48016 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48017 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48018 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48019 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48020 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48021 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48022 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48023 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48024 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48025 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48026 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48027 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48028 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48029 * sysdeps/ieee754/s_matherr.c: Likewise.
48030 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48031 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48032 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48035 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48037 * crypt/md5.h: Remove __STDC__ conditionals.
48038 * libio/libioP.h: Likewise.
48039 * locale/programs/config.h: Likewise.
48040 * sysdeps/generic/sysdep.h: Likewise.
48041 * sysdeps/i386/asm-syntax.h: Likewise.
48042 * sysdeps/s390/asm-syntax.h: Likewise.
48043 * sysdeps/unix/sysdep.h: Likewise.
48044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48047 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48049 * libio/libio.h: Remove __STDC__ conditionals.
48050 * malloc/obstack.h: Likewise.
48051 * math/complex.h: Likewise.
48052 * math/math.h: Likewise.
48053 * sysdeps/generic/_G_config.h: Likewise.
48054 * sysdeps/gnu/_G_config.h: Likewise.
48055 * sysdeps/mach/hurd/_G_config.h: Likewise.
48056 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48057 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48058 * sysdeps/sparc/bits/mathdef.h: Likewise.
48060 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48063 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48064 Clean up HAS_* macros.
48065 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48066 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48076 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48078 * elf/tst-unique3.cc (gets): Remove declaration.
48079 * elf/tst-unique3lib.cc (gets): Likewise.
48080 * elf/tst-unique3lib2.cc (gets): Likewise.
48081 * elf/tst-unique4.cc (gets): Likewise.
48083 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48085 * include/stdio.h: Add C++ protection. Add gets declarations and
48087 * debug/tst-chk1.c: Don't declare gets here.
48088 * stdio-common/tst-gets.c: Likewise.
48090 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48092 * posix/glob: Remove directory.
48094 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48096 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48098 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48100 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48101 of the non-standard EPFNOSUPPORT.
48103 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48105 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48106 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48107 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48109 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48111 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48113 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48115 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48117 * nscd/grpcache.c (cache_addgr): Likewise.
48118 * nscd/hstcache.c (cache_addhst): Likewise.
48119 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48120 * nscd/pwdcache.c (cache_addpw): Likewise.
48121 * nscd/servicescache.c (cache_addserv): Likewise.
48123 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48125 * malloc/malloc.c: Various cleanups.
48126 * malloc/hooks.c: Likewise.
48128 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48129 * stdlib/bug-fmtmsg1.c: New file.
48131 * stdlib/fmtmsg.c (init): Add missing unlock.
48132 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48134 2012-01-12 Marek Polacek <polacek@redhat.com>
48136 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48139 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48141 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48142 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48143 macro to ensure uniqueness of label name.
48144 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48145 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48147 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48149 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48152 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48153 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48154 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48156 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48158 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48160 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48161 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48162 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48164 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48166 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48167 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48168 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48169 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48171 * math/bits/math-finite.h: Add ldexp support.
48173 2012-01-10 Marek Polacek <polacek@redhat.com>
48175 * locale/programs/localedef.h (show_archive_content): Add noreturn
48178 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48180 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48182 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48184 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48186 * io/Makefile (headers): Add bits/poll2.h.
48188 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48191 typo #include statement.
48193 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48195 * include/sys/cdefs.h: Define __attribute_alloc_size.
48196 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48197 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48198 * elf/pldd.c: Likewise.
48199 * iconv/iconv_charmap.c: Likewise.
48200 * iconv/iconvconfig.c: Likewise.
48201 * iconv/strtab.c: Likewise.
48202 * locale/programs/locale.c: Likewise.
48203 * locale/programs/localedef.h: Likewise.
48204 * locale/programs/simple-hash.c: Likewise.
48205 * nscd/nscd.h: Likewise.
48206 * nss/makedb.c: Likewise.
48207 * sysdeps/generic/ldconfig.h: Likewise.
48208 * locale/programs/localedef.c: Remove xmalloc prototype.
48209 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48211 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48213 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48216 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48218 * math/Makefile (tests): Add tst-CMPLX.
48219 * math/tst-CMPLX.c: New file.
48221 * math/complex.h (CMPLXL): Fix typo.
48223 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48224 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48226 * debug/tst-chk1.c: Add poll and ppoll tests.
48227 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48228 * include/sys/poll.h: Add hidden proto for ppoll.
48229 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48230 * sysdeps/mach/hurd/ppoll.c: Likewise.
48231 * io/ppoll.c: Likewise.
48232 * debug/poll_chk.c: New file.
48233 * debug/ppoll_chk.c: New file.
48234 * include/bits/poll2.h: New file.
48235 * io/bits/poll2.h: New file.
48238 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48240 * configure.in: static is always set to yes. Remove.
48241 * config.make.in: Don't set build-static.
48242 * Makeconfig: Remove use of build-static.
48243 * dlfcn/Makefile: Likewise.
48244 * elf/Makefile: Likewise.
48245 * math/Makefile: Likewise.
48246 * misc/Makefile: Likewise.
48247 * nptl/Makefile: Likewise.
48248 * sysdeps/mach/hurd/Makefile: Likewise.
48250 * configure.in: PWD_P is not used anymore.
48251 * config.make.in: Remove PWD_P entry.
48253 * configure.in: Remove last remnants of RANLIB.
48254 No need to check for signed size_t anymore.
48255 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48257 Remove __builtin_expect test because we require at least gcc 3.4.
48258 * aclocal.m4: Likewise.
48260 * wcsmbs/mbrtoc16.c: Implement using towc function.
48261 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48262 * wcsmbs/wcsmbsload.c: Likewise.
48263 * iconv/gconv_simple.c: Likewise.
48264 * iconv/gconv_int.h: Likewise.
48265 * iconv/gconv_builtin.h: Likewise.
48266 * iconv/iconv_prog.c: Remove CHAR16 handling.
48268 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48270 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48272 * configure.in: Remove --with-elf and --enable-bounded options.
48273 Dont set base_machine for ia64. More non-ELF conditions removed.
48274 Remove testing and setting of leading underscore information.
48275 * config.make.in (build-bounded): Set to no.
48276 * config.h.in: Remove NO_UNDERSCORES entry.
48277 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48279 * csu/start.c: Remove !NO_UNDERSCORE code.
48280 * locale/localeinfo.h: Likewise.
48281 * sysdeps/generic/machine-gmon.h: Likewise.
48282 * sysdeps/generic/sysdep.h: Likewise.
48283 * sysdeps/i386/sysdep.h: Likewise.
48284 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48285 * sysdeps/mach/sysdep.h: Likewise.
48286 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48287 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48288 * sysdeps/sh/sysdep.h: Likewise.
48289 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48290 * sysdeps/unix/i386/sysdep.S: Likewise.
48291 * sysdeps/unix/sparc/start.c: Likewise.
48292 * sysdeps/unix/sparc/sysdep.S: Likewise.
48293 * sysdeps/unix/sparc/sysdep.h: Likewise.
48294 * sysdeps/unix/start.c: Likewise.
48295 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48296 * sysdeps/x86_64/sysdep.h: Likewise.
48298 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48301 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48303 * argp/argp-fmtstream.h: Use const instead __const.
48304 * argp/argp.h: Likewise.
48305 * assert/assert.h: Likewise.
48306 * bits/fenv.h: Likewise.
48307 * bits/sched.h: Likewise.
48308 * bits/sigset.h: Likewise.
48309 * bits/sigthread.h: Likewise.
48310 * catgets/nl_types.h: Likewise.
48311 * conform/data/pthread.h-data: Likewise.
48312 * crypt/crypt-private.h: Likewise.
48313 * crypt/crypt.h: Likewise.
48314 * crypt/crypt_util.c: Likewise.
48315 * ctype/ctype.h: Likewise.
48316 * debug/execinfo.h: Likewise.
48317 * debug/mbsnrtowcs_chk.c: Likewise.
48318 * debug/mbsrtowcs_chk.c: Likewise.
48319 * debug/wcsnrtombs_chk.c: Likewise.
48320 * debug/wcsrtombs_chk.c: Likewise.
48321 * debug/wcstombs_chk.c: Likewise.
48322 * dirent/dirent.h: Likewise.
48323 * dlfcn/dlfcn.h: Likewise.
48324 * elf/neededtest4.c: Likewise.
48325 * grp/grp.h: Likewise.
48326 * gshadow/gshadow.h: Likewise.
48327 * iconv/gconv.h: Likewise.
48328 * iconv/gconv_int.h: Likewise.
48329 * iconv/gconv_simple.c: Likewise.
48330 * iconv/iconv.h: Likewise.
48331 * iconv/loop.c: Likewise.
48332 * iconv/skeleton.c: Likewise.
48333 * include/aio.h: Likewise.
48334 * include/aliases.h: Likewise.
48335 * include/argz.h: Likewise.
48336 * include/arpa/inet.h: Likewise.
48337 * include/assert.h: Likewise.
48338 * include/dirent.h: Likewise.
48339 * include/dlfcn.h: Likewise.
48340 * include/execinfo.h: Likewise.
48341 * include/fcntl.h: Likewise.
48342 * include/fenv.h: Likewise.
48343 * include/glob.h: Likewise.
48344 * include/grp.h: Likewise.
48345 * include/libintl.h: Likewise.
48346 * include/mntent.h: Likewise.
48347 * include/netdb.h: Likewise.
48348 * include/pwd.h: Likewise.
48349 * include/rpc/netdb.h: Likewise.
48350 * include/sched.h: Likewise.
48351 * include/search.h: Likewise.
48352 * include/shadow.h: Likewise.
48353 * include/signal.h: Likewise.
48354 * include/stdio.h: Likewise.
48355 * include/stdlib.h: Likewise.
48356 * include/string.h: Likewise.
48357 * include/sys/socket.h: Likewise.
48358 * include/sys/stat.h: Likewise.
48359 * include/sys/statfs.h: Likewise.
48360 * include/sys/statvfs.h: Likewise.
48361 * include/sys/syslog.h: Likewise.
48362 * include/sys/time.h: Likewise.
48363 * include/sys/uio.h: Likewise.
48364 * include/time.h: Likewise.
48365 * include/unistd.h: Likewise.
48366 * include/utmp.h: Likewise.
48367 * include/wchar.h: Likewise.
48368 * include/wctype.h: Likewise.
48369 * inet/aliases.h: Likewise.
48370 * inet/arpa/inet.h: Likewise.
48371 * inet/netinet/ether.h: Likewise.
48372 * inet/netinet/in.h: Likewise.
48373 * intl/libintl.h: Likewise.
48374 * io/bits/fcntl2.h: Likewise.
48375 * io/fcntl.h: Likewise.
48376 * io/ftw.h: Likewise.
48377 * io/sys/poll.h: Likewise.
48378 * io/sys/stat.h: Likewise.
48379 * io/sys/statfs.h: Likewise.
48380 * io/sys/statvfs.h: Likewise.
48381 * io/utime.h: Likewise.
48382 * libio/bits/stdio.h: Likewise.
48383 * libio/bits/stdio2.h: Likewise.
48384 * libio/libio.h: Likewise.
48385 * libio/libioP.h: Likewise.
48386 * libio/stdio.h: Likewise.
48387 * locale/lc-ctype.c: Likewise.
48388 * locale/locale.h: Likewise.
48389 * login/utmp.h: Likewise.
48390 * malloc/arena.c: Likewise.
48391 * malloc/malloc.c: Likewise.
48392 * malloc/malloc.h: Likewise.
48393 * malloc/mcheck.c: Likewise.
48394 * malloc/mtrace.c: Likewise.
48395 * math/bits/mathcalls.h: Likewise.
48396 * math/fenv.h: Likewise.
48397 * math/math_private.h: Likewise.
48398 * misc/bits/error.h: Likewise.
48399 * misc/bits/syslog.h: Likewise.
48400 * misc/err.h: Likewise.
48401 * misc/error.h: Likewise.
48402 * misc/fstab.h: Likewise.
48403 * misc/mntent.h: Likewise.
48404 * misc/regexp.h: Likewise.
48405 * misc/search.h: Likewise.
48406 * misc/sgtty.h: Likewise.
48407 * misc/sys/mman.h: Likewise.
48408 * misc/sys/syslog.h: Likewise.
48409 * misc/sys/uio.h: Likewise.
48410 * misc/sys/xattr.h: Likewise.
48411 * misc/ttyent.h: Likewise.
48412 * nis/rpcsvc/ypclnt.h: Likewise.
48413 * nss/nss.h: Likewise.
48414 * posix/bits/unistd.h: Likewise.
48415 * posix/fnmatch.h: Likewise.
48416 * posix/glob.h: Likewise.
48417 * posix/sched.h: Likewise.
48418 * posix/spawn.h: Likewise.
48419 * posix/sys/wait.h: Likewise.
48420 * posix/unistd.h: Likewise.
48421 * posix/wordexp.h: Likewise.
48422 * pwd/pwd.h: Likewise.
48423 * resolv/netdb.h: Likewise.
48424 * resource/sys/resource.h: Likewise.
48425 * rt/aio.h: Likewise.
48426 * rt/bits/mqueue2.h: Likewise.
48427 * rt/mqueue.h: Likewise.
48428 * shadow/shadow.h: Likewise.
48429 * signal/signal.h: Likewise.
48430 * socket/send.c: Likewise.
48431 * socket/sendto.c: Likewise.
48432 * socket/sys/socket.h: Likewise.
48433 * stdio-common/printf.h: Likewise.
48434 * stdlib/bits/stdlib.h: Likewise.
48435 * stdlib/fmtmsg.h: Likewise.
48436 * stdlib/monetary.h: Likewise.
48437 * stdlib/stdlib.h: Likewise.
48438 * stdlib/ucontext.h: Likewise.
48439 * streams/stropts.h: Likewise.
48440 * string/argz.h: Likewise.
48441 * string/bits/string2.h: Likewise.
48442 * string/string.h: Likewise.
48443 * string/strings.h: Likewise.
48444 * sunrpc/rpc/auth.h: Likewise.
48445 * sunrpc/rpc/auth_des.h: Likewise.
48446 * sunrpc/rpc/clnt.h: Likewise.
48447 * sunrpc/rpc/netdb.h: Likewise.
48448 * sunrpc/rpc/pmap_clnt.h: Likewise.
48449 * sunrpc/rpc/xdr.h: Likewise.
48450 * sysdeps/generic/inttypes.h: Likewise.
48451 * sysdeps/generic/net/if.h: Likewise.
48452 * sysdeps/generic/sys/swap.h: Likewise.
48453 * sysdeps/gnu/net/if.h: Likewise.
48454 * sysdeps/gnu/utmpx.h: Likewise.
48455 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48456 * sysdeps/i386/i486/bits/string.h: Likewise.
48457 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48458 * sysdeps/s390/bits/string.h: Likewise.
48459 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48460 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48461 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48462 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48463 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48464 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48465 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48466 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48467 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48468 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48469 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48470 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48471 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48472 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48473 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48474 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48475 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48476 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48477 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48478 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48479 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48480 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48481 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48482 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48483 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48484 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48485 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48486 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48487 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48488 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48489 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48490 * sysvipc/sys/ipc.h: Likewise.
48491 * sysvipc/sys/msg.h: Likewise.
48492 * sysvipc/sys/sem.h: Likewise.
48493 * sysvipc/sys/shm.h: Likewise.
48494 * termios/termios.h: Likewise.
48495 * time/sys/time.h: Likewise.
48496 * time/time.h: Likewise.
48497 * wcsmbs/bits/wchar2.h: Likewise.
48498 * wcsmbs/uchar.h: Likewise.
48499 * wcsmbs/wchar.h: Likewise.
48500 * wctype/wctype.h: Likewise.
48503 * Makeconfig: Remove all but ELF support including AIX support.
48504 * Makerules: Likewise.
48505 * config.h.in: Likewise.
48506 * config.make.in: Likewise.
48507 * configure: Likewise.
48508 * configure.in: Likewise.
48509 * csu/Makefile: Likewise.
48510 * csu/version.c: Likewise.
48511 * debug/Makefile: Likewise.
48512 * dlfcn/Makefile: Likewise.
48513 * elf/Makefile: Likewise.
48514 * extra-lib.mk: Likewise.
48515 * iconv/Makefile: Likewise.
48516 * include/libc-symbols.h: Likewise.
48517 * include/shlib-compat.h: Likewise.
48518 * resolv/Makefile: Likewise.
48519 * resolv/res_libc.c: Likewise.
48520 * rt/Makefile: Likewise.
48521 * sysdeps/i386/asm-syntax.h: Likewise.
48522 * sysdeps/i386/sysdep.h: Likewise.
48523 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48524 * sysdeps/mach/sysdep.h: Likewise.
48525 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48526 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48527 * sysdeps/s390/asm-syntax.h: Likewise.
48528 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48529 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48530 * sysdeps/sh/sysdep.h: Likewise.
48531 * sysdeps/unix/sparc/sysdep.h: Likewise.
48532 * sysdeps/wordsize-32/divdi3.c: Likewise.
48533 * sysdeps/x86_64/sysdep.h: Likewise.
48535 * argp/Versions: Remove _argp_unlock_xxx.
48538 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48539 * abilist/libBrokenLocale.abilist: Likewise.
48540 * abilist/libanl.abilist: Likewise.
48541 * abilist/libc.abilist: Likewise.
48542 * abilist/libcrypt.abilist: Likewise.
48543 * abilist/libdl.abilist: Likewise.
48544 * abilist/libm.abilist: Likewise.
48545 * abilist/libnsl.abilist: Likewise.
48546 * abilist/libpthread.abilist: Likewise.
48547 * abilist/libresolv.abilist: Likewise.
48548 * abilist/librt.abilist: Likewise.
48549 * abilist/libthread_db.abilist: Likewise.
48550 * abilist/libutil.abilist: Likewise.
48551 * abilist/libnss_db.abilist: New file.
48553 * scripts/abilist.awk: Add support for indirect functions.
48555 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48557 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48559 * shlib-versions: Remove entries for ports architectures.
48561 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48563 * elf/stackguard-macros.h: Remove support for IA-64.
48564 * elf/tst-auditmod1.c: Likewise.
48565 * sysdeps/generic/ldsodefs.h: Likewise.
48567 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48568 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48572 * configure.in: Remove --enable-omitfp support.
48574 * config.make.in: Likewise.
48575 * Makeconfig: Likewise.
48576 * manual/install.texi: Likewise.
48578 In case anyone cares, the IA-64 architecture could move to ports.
48579 * sysdeps/ia64/*: Removed.
48580 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48581 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48584 * configure.in: Remove entries for unsupported architectures.
48587 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48588 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48590 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48591 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48592 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48593 fall back to using wcrtomb.
48594 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48595 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48597 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48598 * wcsmbs/tst-c16c32-1.c: New file.
48600 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48603 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48605 * elf/tst-unique3.cc: Add explicit declaration of gets.
48606 * elf/tst-unique3lib.cc: Likewise.
48607 * elf/tst-unique3lib2.cc: Likewise.
48608 * elf/tst-unique4.cc: Likewise.
48610 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48612 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48615 * assert/assert.h (static_assert): Don't define for C++.
48616 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48617 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48619 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48621 * iconv/loop.c (single loop): Fix assertion in storing of
48624 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48626 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48628 * posix/getconf.c: Update copyright year.
48629 * nss/getent.c: Likewise.
48630 * nss/makedb.c: Likewise.
48631 * iconv/iconvconfig.c: Likewise.
48632 * iconv/iconv_prog.c: Likewise.
48633 * elf/ldconfig.c: Likewise.
48634 * elf/pldd.c: Likewise.
48635 * elf/sotruss.ksh: Likewise.
48636 * catgets/gencat.c: Likewise.
48637 * csu/version.c: Likewise.
48638 * elf/ldd.bash.in: Likewise.
48639 * elf/sprof.c (print_version): Likewise.
48640 * locale/programs/locale.c: Likewise.
48641 * locale/programs/localedef.c: Likewise.
48642 * login/programs/pt_chown.c: Likewise.
48643 * nscd/nscd.c (print_version): Likewise.
48644 * debug/xtrace.sh: Likewise.
48645 * malloc/memusage.sh: Likewise.
48646 * malloc/mtrace.pl: Likewise.
48647 * debug/catchsegv.sh: Likewise.
48649 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48651 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48654 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48657 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48658 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48660 * iconv/gconv_int.h: Likewise.
48661 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48662 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48663 from libc for GLIBC_2.16.
48664 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48665 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48666 * wcsmbs/uchar.h: Really define mbstate_t.
48667 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48668 * wcsmbs/c16rtomb.c: New file.
48669 * wcsmbs/mbrtoc16.c: New file.
48670 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48671 for C/POSIX locale.
48672 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48673 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48675 * wcsmbs/wchar.h: Add missing __restrict.
48677 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48680 * time/Makefile (routines): Add timespec_get.
48681 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48682 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48683 timespec for ISO C11.
48684 * time/timespec_get.c: New file.
48685 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48686 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48689 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48690 * stdlib/stdlib.h: Declare aligned_alloc.
48691 * Versions.def: Add GLIBC_2.16 for libc.
48692 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48695 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48698 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48702 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48705 * assert/assert.h (static_assert): Define.
48707 * version.h: Update for 2.16 development version.
48710 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48713 * version.h (RELEASE): Bump for 2.15 release.
48714 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48716 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48717 Patch by Marek Polacek <mpolacek@redhat.com>.
48719 * bits/byteswap.h: Protect long long constants with __extension__.
48720 * sysdeps/i386/bits/byteswap.h: Likewise.
48721 * sysdeps/ia64/bits/byteswap.h: Likewise.
48722 * sysdeps/s390/bits/byteswap.h: Likewise.
48723 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48725 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48728 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48729 destination buffer.
48730 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48732 2011-12-23 Marek Polacek <polacek@redhat.com>
48734 * elf/dl-addr.c (determine_info): Add inline keyword.
48735 * elf/tst-auditmod4b.c (check_avx): Likewise.
48736 * elf/tst-auditmod6b.c (check_avx): Likewise.
48737 * elf/tst-auditmod6c.c (check_avx): Likewise.
48738 * elf/tst-auditmod7b.c (check_avx): Likewise.
48740 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48742 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48745 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48748 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48749 processing for last bytes.
48751 2011-08-06 Bruno Haible <bruno@clisp.org>
48754 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48755 U+0385, not to U+1FEE.
48758 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48759 entry for U+00A5 U+0301.
48761 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48764 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48765 buffer for the output is too small.
48767 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48771 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48772 SSE flags if possible.
48774 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48778 processing for last bytes.
48780 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48782 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48783 (syscall-list-default-options, syscall-list-default-condition)
48784 (syscall-list-includes): Define.
48785 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48786 list of ABIs and options and #if conditions for each ABI. Do not
48787 handle common syscalls between ABIs specially.
48788 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48790 (syscall-list-variants, syscall-list-32bit-options)
48791 (syscall-list-32bit-condition, syscall-list-64bit-options)
48792 (syscall-list-64bit-condition): Define.
48793 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48794 (syscall-list-variants, syscall-list-32bit-options)
48795 (syscall-list-32bit-condition, syscall-list-64bit-options)
48796 (syscall-list-64bit-condition): Define.
48797 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48799 (syscall-list-variants, syscall-list-32bit-options)
48800 (syscall-list-32bit-condition, syscall-list-64bit-options)
48801 (syscall-list-64bit-condition): Define.
48802 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48804 (syscall-list-variants, syscall-list-32bit-options)
48805 (syscall-list-32bit-condition, syscall-list-64bit-options)
48806 (syscall-list-64bit-condition): Define.
48808 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48810 * locale/iso-639.def: Add brx entry.
48813 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48814 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48816 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48817 __feraiseexcept_renamed.
48819 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48822 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48823 EPOLLET with unsigned values.
48824 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48825 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48827 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48828 to large cancellation.
48829 * math/s_cacoshf.c: Likewise.
48830 * math/s_cacoshl.c: Likewise.
48832 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48836 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48837 * math/s_cacoshf.c: Likewise.
48838 * math/s_cacoshl.c: Likewise.
48840 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48843 * iconv/gconv.h: Define __GCONV_SWAP.
48844 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48845 * iconvdata/utf-16.c: Likewise.
48846 * iconvdata/utf-32.c: Likewise.
48848 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48851 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48852 numerator after shifting it by one limb.
48854 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48856 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48857 under [__USE_EXTERN_INLINES].
48859 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48862 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48864 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48866 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48867 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48869 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48870 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48871 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48872 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48873 for strncasecmp/strncasecmp_l compilation.
48874 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48875 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48877 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48880 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48883 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48886 * time/tzfile.c (__tzfile_read): Check values from file header.
48888 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48890 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48891 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48892 * powerpc/powerpc32/dl-start.S: Likewise.
48893 * powerpc/powerpc32/elf/start.S: Likewise.
48894 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48895 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48896 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48897 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48898 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48899 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48900 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48901 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48902 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48903 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48904 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48905 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48906 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48907 * powerpc/powerpc32/memset.S: Likewise.
48908 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48909 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48910 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48911 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48912 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48913 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48914 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48915 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48916 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48917 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48918 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48919 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48920 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48922 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48924 * math/libm-test.inc: Added more nearbyint tests.
48925 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48927 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48928 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48930 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48932 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48935 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48937 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48938 Add wcscpy-ssse3 wcscpy-c.
48939 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48940 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48941 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48942 * sysdeps/x86_64/wcschr.S: New file.
48943 * sysdeps/x86_64/wcsrchr.S: New file.
48944 * string/test-strcmp.c: Remove checking of wcscmp function for
48946 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48947 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48948 wcsrchr-sse2 wcsrchr-c.
48949 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48950 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48951 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48952 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48953 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48954 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48955 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48956 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48957 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48958 * wcsmbc/wcschr.c (WCSCHR): New macro.
48960 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48962 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48963 * wcsmbs/test-wcsrchr.c: New file.
48964 * string/test-strrchr.c: Add wcsrchr support.
48966 * wcsmbs/test-wcscpy.c: New file.
48967 * string/test-strcpy.c: Add wcscpy support.
48970 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48972 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48975 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48978 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48980 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48982 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48983 Minor optimizations.
48985 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48986 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48987 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48989 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48991 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48992 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48993 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48994 for gcc to avoid warnings.
48995 * inet/Makefile (tests): Add tst-checks.
48996 * inet/tst-checks.c: New file.
48998 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49001 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49004 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49005 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49007 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49009 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49011 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49014 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49016 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49018 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49019 conditional on GCC version.
49020 (__arch_compare_and_exchange_val_8_acq)
49021 (__arch_compare_and_exchange_val_16_acq)
49022 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49023 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49024 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49026 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49028 * sysdeps/sh/backtrace.c: New file.
49030 2011-12-02 Andreas Schwab <schwab@redhat.com>
49032 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49035 2011-12-01 Andreas Schwab <schwab@redhat.com>
49037 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49038 falling back to utime.
49040 2011-11-30 Andreas Schwab <schwab@redhat.com>
49042 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49043 expectations for float.
49045 2011-11-29 Andreas Schwab <schwab@redhat.com>
49047 * locale/weight.h (findidx): Add parameter len.
49048 * locale/weightwc.h (findidx): Likewise.
49049 * posix/fnmatch_loop.c (FCT): Adjust caller.
49050 * posix/regcomp.c (build_equiv_class): Likewise.
49051 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49052 * posix/regexec.c (check_node_accept_bytes): Likewise.
49053 * string/strcoll_l.c (STRCOLL): Likewise.
49054 * string/strxfrm_l.c (STRXFRM): Likewise.
49056 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49058 * Makefile.in: Remove CVSOPT handling.
49059 * configure.in: Remove use of AC_REVISION.
49060 * iconvdata/Makefile (distribute): No need to filter out CVS.
49061 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49064 2011-11-16 Andreas Schwab <schwab@redhat.com>
49066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49067 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49068 [USE_AS_STRNCASECMP_L]: Likewise.
49069 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49070 NO_TLS_DIRECT_SEG_REFS.
49071 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49072 Fix argument offsets for non-PIC.
49073 [USE_AS_STRNCASECMP_L]: Likewise.
49074 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49075 NO_TLS_DIRECT_SEG_REFS.
49077 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49079 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49081 * locale/loadlocale.c (_nl_load_locale): Likewise.
49083 2011-11-15 Andreas Schwab <schwab@redhat.com>
49085 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49086 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49087 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49088 (SYSCALL_GETTIME): Set errno on error.
49090 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49091 count references to noai6ai_cached.
49093 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49095 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49097 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49098 FD_CLOEXEC for /proc/self/maps.
49100 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49101 FD_CLOEXEC for /proc/meminfo.
49103 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49106 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49107 FD_CLOEXEC for given file.
49109 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49111 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49112 FD_CLOEXEC for /etc/hosts.
49113 (_gethtent): Likewise.
49115 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49117 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49118 cancellation and set FD_CLOEXEC for /etc/netgroup.
49120 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49121 reading /etc/publickey.
49123 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49124 allow cancellation when reading /etc/group.
49126 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49128 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49130 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49131 when using data file.
49133 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49135 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49136 (write_nis_obj): Use "c" and "e" in fopen.
49138 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49140 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49142 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49144 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49146 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49149 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49151 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49153 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49155 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49156 file parsing and set FD_CLOEXEC.
49158 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49160 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49162 2011-11-14 Andreas Schwab <schwab@redhat.com>
49164 * malloc/arena.c (arena_get2): Don't call reused_arena when
49165 _int_new_arena failed.
49167 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49169 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49170 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49171 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49172 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49173 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49174 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49175 to compile strcasecmp and strncasecmp.
49176 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49177 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49181 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49183 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49184 locale-defines.sym to gen-as-const-headers.
49185 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49186 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49187 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49188 to compile strcasecmp and strncasecmp.
49189 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49190 strcasecmp_l and strncasecmp_l.
49191 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49192 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49193 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49194 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49195 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49196 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49197 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49198 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49199 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49200 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49201 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49203 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49205 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49206 result of SYSDEP_GETTIME_CPU to retval.
49207 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49208 parameter list to macro. Remove trailing semicolon. Adjust users.
49210 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49213 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49215 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49217 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49218 from unused variable.
49220 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49222 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49225 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49228 * sunrpc/rpc_prot.c (rejected): Fix case value.
49230 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49231 unsigned long long int to avoid warnings in shift.
49233 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49235 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49238 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49239 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49240 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49242 * nis/nis_table.c (nis_list): Use variable of correct type for
49243 result of __follow_path call.
49245 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49247 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49248 of math functions ceil, trunc, floor, round, and sqrt, when
49249 avaliable on the platform.
49250 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49252 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49253 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49254 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49256 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49258 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49259 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49261 2011-11-11 Roland McGrath <roland@hack.frob.com>
49263 * include/unistd.h: Fix __readlink return type.
49264 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49266 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49268 * stdlib/ucontext.h: Undo last change for makecontext.
49270 2011-11-11 Andreas Schwab <schwab@redhat.com>
49272 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49274 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49275 * setjmp/setjmp.h: Mark functions as non-leaf.
49276 * setjmp/bits/setjmp2.h: Likewise.
49277 * stdlib/ucontext.h: Likewise.
49279 2011-11-10 Andreas Schwab <schwab@redhat.com>
49281 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49282 (reused_arena): Don't check arena limit.
49283 (arena_get2): Atomically check arena limit.
49285 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49287 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49288 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49290 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49293 2011-11-07 Andreas Schwab <schwab@redhat.com>
49295 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49296 handler when locking.
49298 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49299 Fix size of allocated buffer.
49301 2011-11-04 Andreas Schwab <schwab@redhat.com>
49304 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49305 declarations for long double functions.
49306 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49308 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49310 2011-11-03 Andreas Schwab <schwab@redhat.com>
49312 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49315 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49318 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49320 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49322 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49324 * include/alloca.h (stackinfo_alloca_round): Define.
49325 (extend_alloca): Use it.
49326 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49327 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49330 * scripts/check-local-headers.sh: Ignore libaudit.h.
49332 * nscd/Makefile (extra-objs): Make recursively expanded.
49334 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49336 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49337 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49339 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49340 * posix/tst-rfc3484-2.c: Likewise.
49341 * posix/tst-rfc3484-3.c: Likewise.
49343 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49345 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49347 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49348 process_vm_writev from libc using GLIBC_2.15 version.
49350 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49352 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49354 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49357 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49360 * nss/getent.c (initgroups_keys): Show error message in case no group
49363 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49364 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49365 __bump_nl_timestamp.
49366 * nscd/connections (nscd_init): When host database is served open
49367 netlink socket and request notification about configuration changes.
49368 (main_loop_poll): Track netlink file descriptor and bump timestamp
49369 in case data becomes available.
49370 (main_loop_epoll): Likewise.
49371 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49372 (database_pers_head): Add extra_data fileds.
49373 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49374 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49375 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49377 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49378 in6ai data, call __free_in6ai.
49379 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49380 Add -DHAVE_NETLINK.
49381 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49382 interface information. Reuse previous data if netlink timestamp
49384 (__bump_nl_timestamp): New function.
49385 (__free_in6ai): New function.
49387 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49389 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49390 close_not_cancel_no_status here.
49391 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49393 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49396 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49399 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49400 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49401 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49403 2011-07-03 Andreas Jaeger <aj@suse.de>
49406 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49407 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49408 * math/libm-test.inc (sin_test): Add test case.
49410 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49413 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49414 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49416 * elf/chroot_canon.c (chroot_canon): Cleanups.
49418 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49421 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49422 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49424 * string/test-strchr.c: Make usable for strchrnul testing.
49425 * string/test-strchrnul.c: New file.
49426 * string/Makefile (strop-tests): Add strchrnul.
49428 * po/it.po: Update from translation team.
49429 * po/es.po: Likewise.
49431 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49434 the three constants needed as parameters. Drop the others.
49435 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49436 __m128i_strloadu_tolower.
49437 Create and initialize variable zero and use it in all the places
49438 where _mm_setzero_si128 was used.
49440 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49441 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49442 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49443 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49445 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49446 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49447 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49448 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49449 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49450 __mpranred, __mptan.
49451 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49452 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49453 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49454 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49455 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49456 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49457 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49458 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49459 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49461 2011-10-28 Andreas Schwab <schwab@redhat.com>
49463 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49464 redefine if SHARED.
49465 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49468 wide char related routines to wcsmbs subdir.
49470 2011-10-27 Andreas Schwab <schwab@redhat.com>
49473 * misc/sys/cdefs.h (__THROWNL): Define.
49474 * posix/unistd.h: Use __THREADNL instead of __THREAD
49475 for memory synchronization functions.
49477 2011-10-26 Roland McGrath <roland@hack.frob.com>
49480 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49482 * manual/stdio.texi (Obstack Streams): Node removed.
49484 2011-10-26 Andreas Schwab <schwab@redhat.com>
49486 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49487 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49488 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49490 * math/math_private.h (math_force_eval): Allow non-addressable
49492 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49494 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49496 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49497 file is not needed.
49499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49500 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49502 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49503 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49505 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49506 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49508 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49509 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49510 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49511 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49512 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49513 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49514 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49515 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49516 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49517 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49518 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49519 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49520 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49521 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49522 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49523 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49524 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49525 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49526 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49528 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49529 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49531 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49532 place. Use VEX encoding when compiling for AVX.
49534 2011-10-25 Andreas Schwab <schwab@redhat.com>
49536 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49537 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49539 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49541 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49543 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49544 useless if() expression.
49545 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49546 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49547 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49548 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49549 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49551 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49552 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49553 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49554 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49555 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49556 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49557 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49558 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49559 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49560 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49561 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49562 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49563 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49565 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49567 2011-10-25 Andreas Schwab <schwab@redhat.com>
49569 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49571 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49573 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49575 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49576 .text section. Avoid duplicate constants.
49577 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49579 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49581 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49584 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49585 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49586 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49587 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49588 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49589 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49590 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49591 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49592 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49593 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49594 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49595 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49596 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49597 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49598 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49599 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49600 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49601 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49602 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49603 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49604 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49605 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49606 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49607 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49608 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49609 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49610 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49611 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49612 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49613 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49614 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49615 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49616 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49617 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49618 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49619 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49620 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49621 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49623 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49625 * sysdeps/x86_64/dla.h: Move to ...
49626 * sysdeps/x86_64/fpu/dla.h: ...here.
49627 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49628 situations. Use __builtin_fma only for gcc 4.6 and up.
49630 * config.make.in: Add have-mfma4 entry.
49631 * configure.in: Substitute libc_cv_cc_fma4.
49632 * math/Makefile (dbl-only-routines): Add sincostab.
49633 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49634 Use __sincostab not sincos.
49635 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49638 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49639 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49640 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49642 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49643 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49644 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49645 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49647 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49648 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49650 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49651 define aliases when function name is a macro.
49652 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49653 sysdeps/ieee754/dbl-64/sincos.tbl.
49654 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49655 fma4-enabled routines.
49656 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49657 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49658 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49659 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49660 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49661 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49663 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49664 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49665 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49666 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49667 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49668 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49669 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49670 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49671 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49672 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49673 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49674 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49675 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49676 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49677 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49678 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49679 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49680 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49681 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49683 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49684 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49685 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49687 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49689 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49690 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49691 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49692 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49693 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49694 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49695 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49696 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49698 2011-10-24 Andreas Schwab <schwab@redhat.com>
49700 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49702 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49704 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49706 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49708 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49710 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49711 Remove unused variable magic_bits.
49712 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49714 * string/strnlen.c: Define and use STRNLEN macro.
49715 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49716 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49717 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49718 * wcsmbs/wcslen.c: Define and use WCSLEN.
49719 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49720 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49721 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49722 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49723 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49724 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49725 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49727 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49730 strnlen-sse2-no-bsf.
49731 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49733 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49734 Add strnlen support.
49735 (USE_AS_STRNLEN): New macro.
49736 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49737 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49738 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49739 * sysdeps/x86_64/wcslen.S: New file.
49741 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49744 XMM-moves are used for copying on small sizes.
49746 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49748 * wcsmbs/Makefile (strop-tests): Add wcschr.
49749 * wcsmbs/test-wcschr.c: New file.
49750 * string/test-strchr.c: Update.
49751 Add wcschr support.
49754 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49756 * wcsmbs/Makefile (strop-tests): Add wcslen.
49757 * wcsmbs/test-wcslen.c: New file.
49758 * string/test-strlen.c: Update.
49759 Add wcslen support.
49762 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49764 * po/it.po: Update from translation team.
49766 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49768 * sysdeps/x86_64/wcscmp.S: Update.
49769 Fix wrong comparison semantics.
49770 wcscmp shall use signed comparison not unsigned.
49771 Don't use substraction to avoid overflow bug.
49772 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49773 * wcsmbc/wcscmp.c: Likewise.
49774 * string/test-strcmp.c: Likewise.
49775 Add new tests to check cases with negative values.
49777 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49779 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49780 * sysdeps/x86_64/dla.h: ...here. New file.
49781 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49783 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49784 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49785 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49786 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49787 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49788 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49791 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49793 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49794 __ynl_finite aliases.
49796 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49800 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49802 [DLA_FMA] (EMULV): Use DLA_FMA.
49803 [DLA_FMA] (MUL12): Use EMULV.
49804 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49805 that are not needed.
49806 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49809 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49814 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49816 * math/s_nan.c: Undef __nan.
49817 * math/s_nanf.c: Undef __nanf.
49818 * math/s_nanl.c: Undef __nanl.
49819 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49822 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49824 * math/s_catan.c: Add branch predictions.
49825 * math/s_catanf.c: Likewise.
49826 * math/s_catanh.c: Likewise.
49827 * math/s_catanhf.c: Likewise.
49828 * math/s_catanhl.c: Likewise.
49829 * math/s_catanl.c: Likewise.
49830 * math/s_cexp.c: Likewise.
49831 * math/s_cexpf.c: Likewise.
49832 * math/s_cexpl.c: Likewise.
49833 * math/s_clog.c: Likewise.
49834 * math/s_clog10.c: Likewise.
49835 * math/s_clog10f.c: Likewise.
49836 * math/s_clog10l.c: Likewise.
49837 * math/s_clogf.c: Likewise.
49838 * math/s_clogl.c: Likewise.
49839 * math/s_csqrt.c: Likewise.
49840 * math/s_csqrtf.c: Likewise.
49841 * math/s_csqrtl.c: Likewise.
49842 * math/s_ctanf.c: Likewise.
49843 * math/s_ctanh.c: Likewise.
49844 * math/s_ctanhf.c: Likewise.
49845 * math/s_ctanhl.c: Likewise.
49846 * math/s_ctanl.c: Likewise.
49848 * math/math_private.h: Define __nan, __nanf, __nanl.
49849 * math/s_cacosh.c: Include <math_private.h>.
49850 * math/s_cacoshl.c: Likewise.
49851 * math/s_casinh.c: Likewise.
49852 * math/s_casinhf.c: Likewise.
49853 * math/s_casinhl.c: Likewise.
49854 * math/s_ccos.c: Rely entire on ccosh.
49855 * math/s_ccosf.c: Rely entire on ccoshf.
49856 * math/s_ccosl.c: Rely entirely on ccoshl.
49857 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49858 Remove tests for FE_INVALID.
49859 * math/s_ccoshf.c: Likewise.
49860 * math/s_ccoshl.c: Likewise.
49861 * math/s_csin.c: Likewise.
49862 * math/s_csinf.c: Likewise.
49863 * math/s_csinh.c Likewise.
49864 * math/s_csinhf.c: Likewise.
49865 * math/s_csinhl.c: Likewise.
49866 * math/s_csinl.c: Likewise.
49867 * math/s_ctan.c: Likewise.
49868 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49869 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49870 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49872 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49875 compilation problems.
49877 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49880 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49882 * sysdeps/i386/configure.in: Test for -mfma4 option.
49883 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49884 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49885 COMMON_CPUID_INDEX_80000001.
49886 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49887 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49888 use it if FMA3 is not supported.
49889 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49891 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49892 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49894 2011-10-20 Andreas Schwab <schwab@redhat.com>
49897 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49898 it would create a cycle with a link time dependency.
49900 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49902 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49904 * string/Makefile (strop-tests): Add rawmemchr.
49905 * string/test-rawmemchr.c: New file.
49907 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49908 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49909 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49910 when compiling str{,n}casecmp and when AVX is available. Hook up
49911 new optimized code in initializers.
49913 2011-10-19 Andreas Schwab <schwab@redhat.com>
49915 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49916 __feraiseexcept instead of feraiseexcept.
49918 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49920 * math/math_private.h: Define defaults for libc_fetestexcept and
49922 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49923 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49924 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49925 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49926 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49927 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49928 libc_fetestexcept and libc_feupdateenv.
49930 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49931 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49932 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49933 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49934 libc_feholdexcept_setround.
49936 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49937 Add s_nearbyint-c and s_nearbyintf-c.
49938 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49939 nearbyintf inlines.
49940 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49941 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49942 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49943 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49945 * math/math_private.h: Define defaults for libc_fegetround,
49946 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49947 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49948 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49949 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49950 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49951 standard functions.
49952 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49953 Remove comments and hacks for old compiler versions.
49954 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49955 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49956 libc_feholdexceptl.
49958 2011-10-18 Andreas Schwab <schwab@redhat.com>
49960 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49961 (__feraiseexcept_renamed): Add __NTH.
49962 (feraiseexcept): Add __NTH. Rename local variables to fix
49963 namespace violations.
49965 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49967 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49969 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49971 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49972 recently added interfaces.
49973 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49975 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49976 about macro parameter expansion.
49978 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49979 __NO_MATH_INLINES is defined. Cleanups.
49981 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49982 and __floorf is target has SSE4.1.
49983 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49984 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49985 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49986 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49988 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49990 (floorf): Likewise.
49992 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49994 2011-10-17 Andreas Schwab <schwab@redhat.com>
49996 * misc/sys/cdefs.h: Fix last change.
49998 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50001 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50003 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50005 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50006 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50007 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50008 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50009 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50010 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50011 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50012 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50013 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50014 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50015 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50016 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50017 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50018 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50019 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50020 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50021 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50022 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50023 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50024 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50025 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50026 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50028 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50029 ceil, ceilf, floor, floorf.
50031 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50032 Perform IRELATIVE relocations last.
50034 * elf/do-rel.h: Add another parameter nrelative, replacing the
50035 local variable with the same name. Change name of the function
50036 to end in Rel or Rela (uppercase).
50037 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50038 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50039 elf_dynamic_do_##reloc function.
50041 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50043 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50044 is sufficient, at least on modern CPUs.
50046 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50048 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50049 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50051 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50053 * math/bits/math-finite.h: Add entries for exp.
50054 * math/e_expl.c: Add __*_finite alias.
50055 * sysdeps/i386/fpu/e_exp.S: Likewise.
50056 * sysdeps/i386/fpu/e_expf.S: Likewise.
50057 * sysdeps/i386/fpu/e_expl.c: Likewise.
50058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50059 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50060 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50061 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50062 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50063 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50064 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50066 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50067 is sufficient, at least on modern CPUs.
50069 * ctype/ctype-info.c (__ctype_init): Define.
50070 * include/ctype.h (__ctype_init): Declare.
50071 (__ctype_b_loc): The variable is always initialized.
50072 (__ctype_toupper_loc): Likewise.
50073 (__ctype_tolower_loc): Likewise.
50074 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50075 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50077 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50079 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50081 * configure.in: Also look in $cxxmachine/include for C++ system
50084 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50086 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50087 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50088 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50089 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50090 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50091 (USE_AS_WMEMCMP): New macro.
50093 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50094 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50095 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50096 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50097 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50098 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50099 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50100 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50101 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50102 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50103 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50104 (USE_AS_WMEMCMP): New macro.
50105 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50106 * sysdeps/string/test-memcmp.c: Update.
50107 Fix simple_wmemcmp.
50109 * wcsmbs/wmemcmp.c: Update.
50110 (WMEMCMP): New macro.
50113 2011-10-12 Andreas Jaeger <aj@suse.de>
50116 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50118 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50120 * libio/iofwide.c (do_length): Avoid warning.
50122 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50124 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50126 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50128 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50129 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50130 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50131 * sysdeps/i386/i686/fpu/e_log.S: New file.
50132 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50133 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50135 * ctype/ctype.h: Add support for inlined isXXX functions when
50136 compiling C++ code.
50138 2011-10-14 Andreas Schwab <schwab@redhat.com>
50140 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50142 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50144 2011-10-13 Roland McGrath <roland@hack.frob.com>
50147 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50149 2011-10-13 Andreas Schwab <schwab@redhat.com>
50151 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50152 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50155 * sysdeps/x86_64/memrchr.S: Check for zero size.
50157 * string/stratcliff.c: Add memrchr tests.
50159 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50161 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50162 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50163 rawmemchr-sse2 rawmemchr-sse2-bsf.
50164 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50165 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50166 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50167 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50168 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50169 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50170 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50171 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50172 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50173 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50174 * string/memrchr.c (MEMRCHR): New macro.
50176 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50178 Add integration with gcc's -ffinite-math-only and optimize wrapper
50180 * Versions.def: Define GLIBC_2.15 version for libm.
50181 * math/Makefile (headers): Add bits/math-finite.h.
50182 * math/bits/math-finite.h: New file.
50183 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50184 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50185 * math/e_acoshl.c: Add __*_finite alias.
50186 * math/e_acosl.c: Likewise.
50187 * math/e_asinl.c: Likewise.
50188 * math/e_atan2l.c: Likewise.
50189 * math/e_atanhl.c: Likewise.
50190 * math/e_coshl.c: Likewise.
50191 * math/e_exp10.c: Likewise.
50192 * math/e_exp10f.c: Likewise.
50193 * math/e_exp10l.c: Likewise.
50194 * math/e_exp2l.c: Likewise.
50195 * math/e_fmodl.c: Likewise.
50196 * math/e_gammal_r.c: Likewise.
50197 * math/e_hypotl.c: Likewise.
50198 * math/e_j0l.c: Likewise.
50199 * math/e_j1l.c: Likewise.
50200 * math/e_jnl.c: Likewise.
50201 * math/e_lgammal_r.c: Likewise.
50202 * math/e_log10l.c: Likewise.
50203 * math/e_log2l.c: Likewise.
50204 * math/e_logl.c: Likewise.
50205 * math/e_powl.c: Likewise.
50206 * math/e_sinhl.c: Likewise.
50207 * math/e_sqrtl.c: Likewise.
50208 * math/e_scalb.c: Completely rewritten and optimized.
50209 * math/e_scalbf.c: Likewise.
50210 * math/e_scalbl.c: Likewise.
50211 * math/w_acos.c: Likewise.
50212 * math/w_acosf.c: Likewise.
50213 * math/w_acosl.c: Likewise.
50214 * math/w_acosh.c: Likewise.
50215 * math/w_acoshf.c: Likewise.
50216 * math/w_acoshl.c: Likewise.
50217 * math/w_asin.c: Likewise.
50218 * math/w_asinf.c: Likewise.
50219 * math/w_asinl.c: Likewise.
50220 * math/w_atan2.c: Likewise.
50221 * math/w_atan2f.c: Likewise.
50222 * math/w_atan2l.c: Likewise.
50223 * math/w_atanh.c: Likewise.
50224 * math/w_atanhf.c: Likewise.
50225 * math/w_atanhl.c: Likewise.
50226 * math/w_exp10.c: Likewise.
50227 * math/w_exp10f.c: Likewise.
50228 * math/w_exp10l.c: Likewise.
50229 * math/w_fmod.c: Likewise.
50230 * math/w_fmodf.c: Likewise.
50231 * math/w_fmodl.c: Likewise.
50232 * math/w_j0.c: Likewise.
50233 * math/w_j0f.c: Likewise.
50234 * math/w_j0l.c: Likewise.
50235 * math/w_j1.c: Likewise.
50236 * math/w_j1f.c: Likewise.
50237 * math/w_j1l.c: Likewise.
50238 * math/w_jn.c: Likewise.
50239 * math/w_jnf.c: Likewise.
50240 * math/w_log.c: Likewise.
50241 * math/w_logf.c: Likewise.
50242 * math/w_logl.c: Likewise.
50243 * math/w_log10.c: Likewise.
50244 * math/w_log10f.c: Likewise.
50245 * math/w_log10l.c: Likewise.
50246 * math/w_log2.c: Likewise.
50247 * math/w_log2f.c: Likewise.
50248 * math/w_log2l.c: Likewise.
50249 * math/w_pow.c: Likewise.
50250 * math/w_powf.c: Likewise.
50251 * math/w_powl.c: Likewise.
50252 * math/w_remainder.c: Likewise.
50253 * math/w_remainderf.c: Likewise.
50254 * math/w_remainderl.c: Likewise.
50255 * math/w_scalb.c: Likewise.
50256 * math/w_scalbf.c: Likewise.
50257 * math/w_scalbl.c: Likewise.
50258 * math/w_sqrt.c: Likewise.
50259 * math/w_sqrtf.c: Likewise.
50260 * math/w_sqrtl.c: Likewise.
50261 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50262 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50264 * math/math_private.h: Declare __kernel_standard_f.
50265 * math/w_cosh.c: Remove cruft and optimize a bit.
50266 * math/w_coshf.c: Likewise.
50267 * math/w_coshl.c: Likewise.
50268 * math/w_exp2.c: Likewise.
50269 * math/w_exp2f.c: Likewise.
50270 * math/w_exp2l.c: Likewise.
50271 * math/w_hypot.c: Likewise.
50272 * math/w_hypotf.c: Likewise.
50273 * math/w_hypotl.c: Likewise.
50274 * math/w_lgamma.c: Likewise.
50275 * math/w_lgamma_r.c: Likewise.
50276 * math/w_lgammaf.c: Likewise.
50277 * math/w_lgammaf_r.c: Likewise.
50278 * math/w_lgammal.c: Likewise.
50279 * math/w_lgammal_r.c: Likewise.
50280 * math/w_sinh.c: Likewise.
50281 * math/w_sinhf.c: Likewise.
50282 * math/w_sinhl.c: Likewise.
50283 * math/w_tgamma.c: Likewise.
50284 * math/w_tgammaf.c: Likewise.
50285 * math/w_tgammal.c: Likewise.
50286 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50287 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50288 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50289 Minor optimizations. Pretty printing. Remove cruft.
50290 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50291 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50292 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50293 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50294 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50295 * sysdeps/i386/fpu/e_asin.S: Likewise.
50296 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50297 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50298 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50299 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50300 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50301 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50302 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50303 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50304 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50305 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50306 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50307 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50308 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50309 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50310 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50311 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50312 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50313 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50314 * sysdeps/i386/fpu/e_log.S: Likewise.
50315 * sysdeps/i386/fpu/e_log10.S: Likewise.
50316 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50317 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50318 * sysdeps/i386/fpu/e_log2.S: Likewise.
50319 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50320 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50321 * sysdeps/i386/fpu/e_logf.S: Likewise.
50322 * sysdeps/i386/fpu/e_logl.S: Likewise.
50323 * sysdeps/i386/fpu/e_pow.S: Likewise.
50324 * sysdeps/i386/fpu/e_powf.S: Likewise.
50325 * sysdeps/i386/fpu/e_powl.S: Likewise.
50326 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50327 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50328 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50329 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50330 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50331 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50332 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50333 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50334 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50335 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50336 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50338 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50339 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50340 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50341 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50342 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50344 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50345 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50346 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50348 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50349 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50350 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50351 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50352 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50353 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50355 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50356 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50357 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50358 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50359 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50360 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50361 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50362 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50363 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50364 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50365 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50366 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50367 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50368 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50369 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50370 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50371 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50372 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50373 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50374 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50375 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50376 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50377 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50378 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50379 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50380 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50381 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50382 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50383 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50384 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50385 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50386 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50387 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50388 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50389 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50390 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50391 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50392 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50393 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50394 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50395 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50396 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50397 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50398 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50399 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50400 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50401 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50402 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50403 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50405 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50406 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50407 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50408 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50409 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50410 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50411 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50412 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50413 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50414 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50415 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50416 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50417 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50418 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50419 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50420 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50422 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50423 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50424 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50425 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50426 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50427 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50428 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50429 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50430 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50431 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50432 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50433 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50434 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50435 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50436 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50437 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50438 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50439 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50440 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50441 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50442 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50443 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50444 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50445 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50446 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50447 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50448 (__isnanf): Likewise.
50449 (__isinf_ns): Likewise.
50450 (__isinf_nsf): Likewise.
50451 (__finite): Likewise.
50452 (__finitef): Likewise.
50453 (__ieee754_sqrt): Define as macro.
50454 (__ieee754_sqrtf): Define as macro.
50455 (__ieee754_sqrtl): Define as macro.
50456 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50458 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50459 __FINITE_MATH_ONLY__ consistent.
50460 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50462 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50464 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50467 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50469 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50471 * po/ja.po: Update from translation team.
50473 2011-10-08 Roland McGrath <roland@hack.frob.com>
50475 * locale/programs/locarchive.c (prepare_address_space): New function.
50476 (create_archive, enlarge_archive, open_archive): Use it.
50478 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50479 inside [SHARED], where it is used.
50481 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50483 * nss/getent.c (netgroup_keys): Remove unused variable.
50484 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50486 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50488 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50489 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50491 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50492 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50493 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50494 * math/Makefile (libm-calls): Add s_isinf_ns.
50495 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50496 * math/multc3.c: Likewise.
50497 * math/s_casin.c: Likewise.
50498 * math/s_casinf.c: Likewise.
50499 * math/s_casinl.c: Likewise.
50500 * math/s_ccos.c: Likewise.
50501 * math/s_ccosf.c: Likewise.
50502 * math/s_ccosl.c: Likewise.
50503 * math/s_ctan.c: Likewise.
50504 * math/s_ctanf.c: Likewise.
50505 * math/s_ctanh.c: Likewise.
50506 * math/s_ctanhf.c: Likewise.
50507 * math/s_ctanhl.c: Likewise.
50508 * math/s_ctanl.c: Likewise.
50509 * math/w_fmod.c: Likewise.
50510 * math/w_fmodf.c: Likewise.
50511 * math/w_fmodl.c: Likewise.
50512 * math/w_remainder.c: Likewise.
50513 * math/w_remainderf.c: Likewise.
50514 * math/w_remainderl.c: Likewise.
50515 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50516 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50517 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50519 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50520 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50521 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50522 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50524 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50526 * stdio-common/printf_fphex.c: Likewise.
50527 * stdio-common/printf_size.c: Likewise.
50529 * math/e_exp10.c: Include math_private.h using <...> not "...".
50530 * math/e_exp10f.c: Likewise.
50531 * math/e_exp10l.c: Likewise.
50532 * math/e_exp2l.c: Likewise.
50533 * math/e_j0l.c: Likewise.
50534 * math/e_j1l.c: Likewise.
50535 * math/e_jnl.c: Likewise.
50536 * math/e_lgammal_r.c: Likewise.
50537 * math/e_rem_pio2l.c: Likewise.
50538 * math/e_scalb.c: Likewise.
50539 * math/e_scalbf.c: Likewise.
50540 * math/e_scalbl.c: Likewise.
50541 * math/k_cosl.c: Likewise.
50542 * math/k_sinl.c: Likewise.
50543 * math/k_tanl.c: Likewise.
50544 * math/s_cacoshf.c: Likewise.
50545 * math/s_catan.c: Likewise.
50546 * math/s_catanf.c: Likewise.
50547 * math/s_catanh.c: Likewise.
50548 * math/s_catanhf.c: Likewise.
50549 * math/s_catanhl.c: Likewise.
50550 * math/s_catanl.c: Likewise.
50551 * math/s_ccosh.c: Likewise.
50552 * math/s_ccoshf.c: Likewise.
50553 * math/s_ccoshl.c: Likewise.
50554 * math/s_cexp.c: Likewise.
50555 * math/s_cexpf.c: Likewise.
50556 * math/s_cexpl.c: Likewise.
50557 * math/s_clog.c: Likewise.
50558 * math/s_clog10.c: Likewise.
50559 * math/s_clog10f.c: Likewise.
50560 * math/s_clog10l.c: Likewise.
50561 * math/s_clogf.c: Likewise.
50562 * math/s_clogl.c: Likewise.
50563 * math/s_csin.c: Likewise.
50564 * math/s_csinf.c: Likewise.
50565 * math/s_csinh.c: Likewise.
50566 * math/s_csinhf.c: Likewise.
50567 * math/s_csinhl.c: Likewise.
50568 * math/s_csinl.c: Likewise.
50569 * math/s_csqrt.c: Likewise.
50570 * math/s_csqrtf.c: Likewise.
50571 * math/s_csqrtl.c: Likewise.
50572 * math/s_ctan.c: Likewise.
50573 * math/s_ctanf.c: Likewise.
50574 * math/s_ctanh.c: Likewise.
50575 * math/s_ctanhf.c: Likewise.
50576 * math/s_ctanhl.c: Likewise.
50577 * math/s_ctanl.c: Likewise.
50578 * math/s_ldexp.c: Likewise.
50579 * math/s_ldexpf.c: Likewise.
50580 * math/s_ldexpl.c: Likewise.
50581 * math/s_significand.c: Likewise.
50582 * math/s_significandf.c: Likewise.
50583 * math/s_significandl.c: Likewise.
50584 * math/w_acos.c: Likewise.
50585 * math/w_acosf.c: Likewise.
50586 * math/w_acosh.c: Likewise.
50587 * math/w_acoshf.c: Likewise.
50588 * math/w_acoshl.c: Likewise.
50589 * math/w_acosl.c: Likewise.
50590 * math/w_asin.c: Likewise.
50591 * math/w_asinf.c: Likewise.
50592 * math/w_asinl.c: Likewise.
50593 * math/w_atan2.c: Likewise.
50594 * math/w_atan2f.c: Likewise.
50595 * math/w_atan2l.c: Likewise.
50596 * math/w_atanh.c: Likewise.
50597 * math/w_atanhf.c: Likewise.
50598 * math/w_atanhl.c: Likewise.
50599 * math/w_cosh.c: Likewise.
50600 * math/w_coshf.c: Likewise.
50601 * math/w_coshl.c: Likewise.
50602 * math/w_dremf.c: Likewise.
50603 * math/w_exp10.c: Likewise.
50604 * math/w_exp10f.c: Likewise.
50605 * math/w_exp10l.c: Likewise.
50606 * math/w_exp2.c: Likewise.
50607 * math/w_exp2f.c: Likewise.
50608 * math/w_fmod.c: Likewise.
50609 * math/w_fmodf.c: Likewise.
50610 * math/w_fmodl.c: Likewise.
50611 * math/w_hypot.c: Likewise.
50612 * math/w_hypotf.c: Likewise.
50613 * math/w_hypotl.c: Likewise.
50614 * math/w_j0.c: Likewise.
50615 * math/w_j0f.c: Likewise.
50616 * math/w_j0l.c: Likewise.
50617 * math/w_j1.c: Likewise.
50618 * math/w_j1f.c: Likewise.
50619 * math/w_j1l.c: Likewise.
50620 * math/w_jn.c: Likewise.
50621 * math/w_jnf.c: Likewise.
50622 * math/w_jnl.c: Likewise.
50623 * math/w_lgamma.c: Likewise.
50624 * math/w_lgamma_r.c: Likewise.
50625 * math/w_lgammaf.c: Likewise.
50626 * math/w_lgammaf_r.c: Likewise.
50627 * math/w_lgammal.c: Likewise.
50628 * math/w_lgammal_r.c: Likewise.
50629 * math/w_log.c: Likewise.
50630 * math/w_log10.c: Likewise.
50631 * math/w_log10f.c: Likewise.
50632 * math/w_log10l.c: Likewise.
50633 * math/w_log2.c: Likewise.
50634 * math/w_log2f.c: Likewise.
50635 * math/w_log2l.c: Likewise.
50636 * math/w_logf.c: Likewise.
50637 * math/w_logl.c: Likewise.
50638 * math/w_pow.c: Likewise.
50639 * math/w_powf.c: Likewise.
50640 * math/w_powl.c: Likewise.
50641 * math/w_remainder.c: Likewise.
50642 * math/w_remainderf.c: Likewise.
50643 * math/w_remainderl.c: Likewise.
50644 * math/w_scalb.c: Likewise.
50645 * math/w_scalbf.c: Likewise.
50646 * math/w_scalbl.c: Likewise.
50647 * math/w_sinh.c: Likewise.
50648 * math/w_sinhf.c: Likewise.
50649 * math/w_sinhl.c: Likewise.
50650 * math/w_sqrt.c: Likewise.
50651 * math/w_sqrtf.c: Likewise.
50652 * math/w_sqrtl.c: Likewise.
50653 * math/w_tgamma.c: Likewise.
50654 * math/w_tgammaf.c: Likewise.
50655 * math/w_tgammal.c: Likewise.
50657 * po/ja.po: Update from translation team.
50659 2011-09-29 Andreas Jaeger <aj@suse.de>
50662 * sunrpc/netname.c (netname2host): Fix logic.
50666 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50668 * math/w_remainder.c (__remainder): Likewise.
50669 * math/w_remainderf.c (__remainderf): Likewise.
50670 * math/libm-test.inc (remainder_test): Add test cases.
50672 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50674 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50677 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50679 * string/test-memcmp.c: Avoid unncessary #defines.
50680 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50682 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50684 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50685 Use new sse2 version for core i3 - i7 as it's faster
50686 than sse42 version.
50687 (bit_Prefer_PMINUB_for_stringop): New.
50688 * sysdeps/x86_64/rawmemchr.S: Update.
50689 Replace with faster SSE2 version.
50690 * sysdeps/x86_64/memrchr.S: New file.
50691 * sysdeps/x86_64/memchr.S: Update.
50692 Replace with faster SSE2 version.
50694 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50696 * elf/dl-load.c (lose): Add cast to avoid warning.
50698 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50700 * po/ca.po: Update from translation team.
50702 * inet/getnetgrent_r.c: Hook up nscd.
50703 * nscd/Makefile (routines): Add nscd_netgroup.
50704 (nscd-modules): Add netgroupcache.
50705 (CFLAGS-netgroupcache.c): Define.
50706 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50707 (cache_search): Add const to second parameter.
50708 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50710 (dbs): Add netgrdb entry.
50711 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50712 (verify_persistent_db): Handle netgrdb.
50713 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50714 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50716 (netgroup_response_header): Define.
50717 (innetgroup_response_header): Define.
50718 (datahead): Add netgroup_response_header and innetgroup_response_header
50720 * nscd/nscd.conf: Add entries for netgroup cache.
50721 * nscd/nscd.h (dbtype): Add netgrdb.
50722 (_PATH_NSCD_NETGROUP_DB): Define.
50723 (netgroup_iov_disabled): Declare.
50724 (xmalloc, xcalloc, xrealloc): Move declarations here.
50725 (cache_search): Adjust prototype.
50726 Add netgroup-related prototypes.
50727 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50728 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50729 (__nscd_innetgr): Declare.
50730 * nscd/selinux.c (perms): Use access_vector_t as element type and
50731 add netgroup-related initializers.
50732 * nscd/netgroupcache.c: New file.
50733 * nscd/nscd_netgroup.c: New file.
50734 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50735 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50736 For four parameters use innetgr.
50737 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50738 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50739 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50740 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50742 * nscd/connections.c (register_traced_file): Don't register file
50743 for disabled databases.
50745 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50747 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50749 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50750 from tree and freeing node.
50752 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50754 * nss/nsswitch.c (__nss_database_lookup): Handle
50755 nss_parse_service_list out of memory case.
50757 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50759 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50760 out of memory case.
50762 2011-10-04 Andreas Schwab <schwab@redhat.com>
50764 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50765 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50767 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50768 elf_machine_rela, elf_machine_lazy_rel.
50769 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50770 (ELF_DYNAMIC_DO_REL): Likewise.
50771 (ELF_DYNAMIC_DO_RELA): Likewise.
50772 (ELF_DYNAMIC_RELOCATE): Likewise.
50773 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50774 to ELF_DYNAMIC_DO_REL.
50775 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50776 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50777 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50779 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50780 skip_ifunc, don't call ifunc function if non-zero.
50781 (elf_machine_rela): Likewise.
50782 (elf_machine_lazy_rel): Likewise.
50783 (elf_machine_lazy_rela): Likewise.
50784 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50785 (elf_machine_lazy_rel): Likewise.
50786 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50788 (elf_machine_lazy_rel): Likewise.
50789 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50791 (elf_machine_lazy_rel): Likewise.
50792 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50793 (elf_machine_lazy_rel): Likewise.
50794 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50795 (elf_machine_lazy_rel): Likewise.
50796 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50797 (elf_machine_lazy_rel): Likewise.
50798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50799 (elf_machine_lazy_rel): Likewise.
50800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50801 (elf_machine_lazy_rel): Likewise.
50802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50803 (elf_machine_lazy_rel): Likewise.
50805 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50807 * nss/nss_files/files-init.c (_nss_files_init): Use static
50808 initialization for all the *_traced_file variables.
50810 2011-09-28 Andreas Schwab <schwab@redhat.com>
50812 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50814 2011-09-27 Roland McGrath <roland@hack.frob.com>
50817 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50819 2011-09-27 Andreas Schwab <schwab@redhat.com>
50821 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50822 Reread the line before reparsing it.
50824 2011-09-26 Andreas Schwab <schwab@redhat.com>
50826 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50828 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50829 Maxim Kuvyrkov <maxim@codesourcery.com>
50830 Joseph Myers <joseph@codesourcery.com>
50832 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50833 if needed for __stack_chk_guard.
50835 2011-09-19 Roland McGrath <roland@hack.frob.com>
50837 * sysdeps/posix/spawni.c (script_execute): Always define it.
50838 It will be optimized away if unused.
50839 (maybe_script_execute): New function.
50840 (__spawni): Call it.
50842 * Makerules: Don't include tls.make.
50843 (config-tls): Always set to thread.
50844 * tls.make.c: File removed.
50846 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50848 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50849 * config.make.in (CPPFLAGS-config): New substituted variable.
50851 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50853 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50856 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50857 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50859 2011-09-15 Roland McGrath <roland@hack.frob.com>
50861 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50862 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50863 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50864 (CALL_FAIL): Likewise.
50865 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50866 (CALL_FAIL): Macro removed.
50867 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50869 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50871 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50872 for __FINITE_MATH_ONLY__ == 1.
50874 2011-09-15 Andreas Schwab <schwab@redhat.com>
50876 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50877 __ieee754_sqrt instead of sqrt.
50878 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50879 __ieee754_sqrtf instead of sqrtf.
50880 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50881 __floorf instead of floorf.
50882 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50883 __floorf, __truncf instead of floorf, truncf.
50885 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50887 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50889 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50890 __extern_always_inline.
50891 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50894 2011-09-14 Andreas Schwab <schwab@redhat.com>
50896 * elf/rtld.c (dl_main): Also relocate in dependency order when
50897 doing symbol dependency testing.
50899 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50901 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50902 Always define `refsym'.
50904 2011-09-13 Andreas Schwab <schwab@redhat.com>
50906 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50907 (__FD_ELT): Renamed from __FDELT.
50908 * misc/bits/select2.h (__FD_ELT): Likewise.
50909 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50910 __FD_MASK instead of __FDELT, __FDMASK.
50911 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50913 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50916 * elf/Makefile (gen-ldd): Fix pattern.
50918 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50919 (init_tls): Likewise.
50921 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50925 2011-09-12 Andreas Schwab <schwab@redhat.com>
50927 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50928 `struct cmsghdr *' instead of `void *'.
50929 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50932 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50934 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50936 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50937 ldd_rewrite_script.
50939 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50941 * configure.in: Remove --with-tls option.
50942 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50943 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50944 out in case it is missing.
50945 * sysdeps/ia64/elf/configure.in: Likewise.
50946 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50947 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50948 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50949 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50950 * sysdeps/sh/elf/configure.in: Likewise.
50951 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50952 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50953 * sysdeps/x86_64/elf/configure.in: Likewise.
50954 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50955 * sysdeps/mach/hurd/tls.h: Likewise.
50958 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50961 * configure.in: Fix use of AC_INIT.
50963 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50965 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50967 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50969 * malloc/hooks.c: Likewise.
50972 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50973 variables statically.
50974 (narenas): Initialize.
50975 (list_lock): Initialize.
50976 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50977 initializtion of main_arena and list_lock. Small cleanups.
50978 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50979 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50980 Add initializers to main_arena and mp_.
50981 (malloc_state): Remove pagesize member. Change all users to use
50984 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50985 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50986 is always initialized.
50988 * malloc/malloc.c: Removed unused configurations and dead code.
50989 * malloc/arena.c: Likewise.
50990 * malloc/hooks.c: Likewise.
50991 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50993 * include/tls.h: Removed. USE___THREAD must always be defined.
50994 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50995 * elf/dl-libc.c: Likewise.
50996 * elf/dl-tsd.c: Likewise.
50997 * include/errno.h: Likewise.
50998 * include/netdb.h: Likewise.
50999 * include/resolv.h: Likewise.
51000 * inet/herrno-loc.c: Likewise.
51001 * inet/herrno.c: Likewise.
51002 * malloc/arena.c: Likewise.
51003 * malloc/hooks.c: Likewise.
51004 * malloc/malloc.c: Likewise.
51005 * resolv/res-state.c: Likewise.
51006 * resolv/res_libc.c: Likewise.
51007 * sysdeps/i386/dl-machine.h: Likewise.
51008 * sysdeps/ia64/dl-machine.h: Likewise.
51009 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51010 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51011 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51012 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51013 * sysdeps/sh/dl-machine.h: Likewise.
51014 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51015 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51016 * sysdeps/unix/i386/sysdep.S: Likewise.
51017 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51018 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51019 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51020 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51022 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51023 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51028 * sysdeps/x86_64/dl-machine.h: Likewise.
51029 * tls.make.c: Likewise.
51031 * configure.in: Remove --with-__thread option. Make tests for
51032 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51033 tls_model attribute fail if no support is available. Remove
51035 * Makeconfig: Adjust for dropped configure option. All features are
51037 * Makerules: Likewise.
51038 * Versions.def: Likewise.
51039 * argp/argp-fmtstream.c: Likewise.
51040 * argp/argp-fmtstream.h: Likewise.
51041 * argp/argp-help.c: Likewise.
51042 * assert/assert.c: Likewise.
51043 * config.h.in: Likewise.
51044 * config.make.in: Likewise.
51045 * configure: Likewise.
51046 * configure.in: Likewise.
51047 * csu/Versions: Likewise.
51048 * csu/init.c: Likewise.
51049 * elf/tst-audit2.c: Likewise.
51050 * elf/tst-tls10.c: Likewise.
51051 * elf/tst-tls10.h: Likewise.
51052 * elf/tst-tls11.c: Likewise.
51053 * elf/tst-tls12.c: Likewise.
51054 * elf/tst-tls14.c: Likewise.
51055 * elf/tst-tlsmod11.c: Likewise.
51056 * elf/tst-tlsmod12.c: Likewise.
51057 * elf/tst-tlsmod13.c: Likewise.
51058 * elf/tst-tlsmod13a.c: Likewise.
51059 * elf/tst-tlsmod14a.c: Likewise.
51060 * elf/tst-tlsmod15b.c: Likewise.
51061 * elf/tst-tlsmod16a.c: Likewise.
51062 * elf/tst-tlsmod16b.c: Likewise.
51063 * elf/tst-tlsmod7.c: Likewise.
51064 * elf/tst-tlsmod8.c: Likewise.
51065 * elf/tst-tlsmod9.c: Likewise.
51066 * gmon/gmon.c: Likewise.
51067 * grp/fgetgrent_r.c: Likewise.
51068 * grp/putgrent.c: Likewise.
51069 * hurd/fopenport.c: Likewise.
51070 * include/libc-symbols.h: Likewise.
51071 * include/tls.h: Likewise.
51072 * intl/gettextP.h: Likewise.
51073 * intl/loadinfo.h: Likewise.
51074 * locale/global-locale.c: Likewise.
51075 * locale/localeinfo.h: Likewise.
51076 * mach/devstream.c: Likewise.
51077 * malloc/arena.c: Likewise.
51078 * malloc/set-freeres.c: Likewise.
51079 * misc/err.c: Likewise.
51080 * misc/getttyent.c: Likewise.
51081 * misc/mntent_r.c: Likewise.
51082 * posix/getopt.c: Likewise.
51083 * posix/wordexp.c: Likewise.
51084 * pwd/fgetpwent_r.c: Likewise.
51085 * resolv/Versions: Likewise.
51086 * resolv/res_hconf.c: Likewise.
51087 * shadow/fgetspent_r.c: Likewise.
51088 * shadow/putspent.c: Likewise.
51089 * stdio-common/printf_fphex.c: Likewise.
51090 * stdio-common/tmpfile.c: Likewise.
51091 * stdlib/abort.c: Likewise.
51092 * stdlib/fmtmsg.c: Likewise.
51093 * sunrpc/auth_unix.c: Likewise.
51094 * sunrpc/clnt_perr.c: Likewise.
51095 * sunrpc/clnt_tcp.c: Likewise.
51096 * sunrpc/clnt_udp.c: Likewise.
51097 * sunrpc/clnt_unix.c: Likewise.
51098 * sunrpc/openchild.c: Likewise.
51099 * sunrpc/svc_simple.c: Likewise.
51100 * sunrpc/svc_tcp.c: Likewise.
51101 * sunrpc/svc_udp.c: Likewise.
51102 * sunrpc/svc_unix.c: Likewise.
51103 * sunrpc/xdr.c: Likewise.
51104 * sunrpc/xdr_array.c: Likewise.
51105 * sunrpc/xdr_rec.c: Likewise.
51106 * sunrpc/xdr_ref.c: Likewise.
51107 * sunrpc/xdr_stdio.c: Likewise.
51109 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51111 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51113 2011-07-03 Andreas Jaeger <aj@suse.de>
51115 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51116 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51117 regenerate with gen-libm-tests.pl.
51119 2010-05-12 Petr Baudis <pasky@suse.cz>
51122 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51123 around j0() zero points by switching to j1().
51124 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51125 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51127 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51129 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51131 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51133 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51136 Patch in part by Pavel Roskin <proski@gnu.org>.
51139 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51141 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51142 Free memory block if necessary.
51145 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51146 be NULL. Don't lock in this case.
51148 2011-09-09 Roland McGrath <roland@hack.frob.com>
51150 * elf/elf.h (ELFOSABI_GNU): New macro.
51151 (ELFOSABI_LINUX): Define to that.
51153 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51155 * string/strncat.c (strncat): Undef the symbol in case it has been
51156 defined in bits/string.h.
51158 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51160 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51162 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51165 2011-08-17 Andreas Jaeger <aj@suse.de>
51167 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51169 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51170 Ian Lance Taylor <iant@google.com>
51172 * math/libm-test.inc (lround_test): New testcase.
51173 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51175 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51177 * Makefile: Remove support for automatic cvs check-ins.
51178 * Makerules: Likewise.
51179 * config.make.in: Likewise.
51180 * configure.in: Likewise.
51181 * intl/Makefile: Likewise.
51182 * locale/Makefile: Likewise.
51183 * po/Makefile: Likewise.
51184 * posix/Makefile: Likewise.
51185 * sysdeps/gnu/Makefile: Likewise.
51186 * sysdeps/mach/hurd/Makefile: Likewise.
51187 * sysdeps/sparc/sparc32/Makefile: Likewise.
51190 * posix/Makefile (bug-regex32-ENV): Define.
51191 Patch by John Stanley <jpsinthemix@verizon.net>.
51193 * misc/Makefile (headers): Add bits/select2.h.
51194 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51195 * misc/bits/select2.h: New file.
51196 * include/bits/select2.h: New file.
51197 * debug/Makefile (routines): Add fdelt_chk.
51198 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51199 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51201 * debug/fdelt_chk.c: New file.
51203 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51204 * wcsmbs/test-wmemcmp.c: Likewise.
51205 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51206 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51208 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51210 * string/Makefile (strop-tests): Add memcmp.
51211 * string/test-wmemcmp.c: New file.
51212 * string/test-memcmp.c: Add wmemcmp support.
51214 2011-09-08 Roland McGrath <roland@hack.frob.com>
51217 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51220 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51221 garbage value in a __mach_port_mod_refs call in the cases of the
51222 task-self and thread-self ports.
51224 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51226 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51228 2011-09-08 Andreas Schwab <schwab@redhat.com>
51230 * elf/dl-load.c (lose): Check for non-null L.
51232 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51234 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51236 * elf/dl-libc.c (dlerror_run): Pass back error code from
51240 * elf/dl-load.c (lose): Free l_origin if it is valid.
51242 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51244 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51245 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51246 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51247 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51248 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51249 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51251 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51253 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51254 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51255 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51256 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51257 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51258 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51259 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51260 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51261 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51262 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51264 2011-08-15 Alan Modra <amodra@gmail.com>
51267 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51268 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51269 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51270 ppc_mcount to static-only-routines.
51271 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51273 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51274 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51276 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51278 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51279 for finite and infinity parameters.
51281 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51283 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51284 and add nop instructions for throughput optimization.
51285 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51287 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51289 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51290 aligned copy for power7 with vector-scalar instructions.
51291 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51293 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51298 2011-09-07 Andreas Schwab <schwab@redhat.com>
51301 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51304 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51306 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51307 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51308 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51309 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51312 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51314 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51315 Forgot to demangle the pointer.
51317 * sysdeps/i386/sysdep.h: Define atom_text_section.
51318 * sysdeps/x86_64/sysdep.h: Likewise.
51319 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51320 section with atom_text_section.
51321 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51322 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51323 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51324 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51325 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51327 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51328 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51329 already be defined. Change to take two parameters and don't assign
51330 result to variable. Adjust all users.
51331 Define INTERNAL_GETTIME if not already defined.
51332 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51335 HAVE_CLOCK_GETTIME_VSYSCALL.
51336 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51338 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51339 gettimeofday vsyscall, just use time.
51341 2011-09-06 Andreas Schwab <schwab@redhat.com>
51343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51346 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51348 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51350 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51352 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51353 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51354 syscall if possible.
51356 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51358 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51359 e_ident. Don't pass to find_mapsXX.
51360 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51362 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51365 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51366 * sysdeps/x86_64/multiarch/strchr.S: Update.
51367 Check bit_slow_BSF bit.
51368 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51369 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51370 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51372 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51375 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51377 (tryshell): Define.
51378 (__spawni): Change last parameter to be flag. Test
51379 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51380 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51381 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51382 * posix/spawni.c: Likewise.
51383 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51384 * posix/spawnp.c: Likewise. Change normal version to use
51385 SPAWN_XFLAGS_USE_PATH.
51386 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51387 SPAWN_XFLAGS_TRY_SHELL.
51390 * posix/glob.h: Remove gcc 1.x support.
51393 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51395 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51397 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51398 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51400 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51401 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51402 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51404 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51405 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51407 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51409 * sysdeps/x86_64/wcscmp.S: New file.
51411 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51412 wcscmp-c wcscmp-sse2
51413 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51414 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51415 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51416 * wcsmbs/wcscmp.c: Allow renaming.
51418 2011-09-05 David S. Miller <davem@davemloft.net>
51420 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51421 stack slot, rather than the struct return pointer slot.
51422 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51423 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51425 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51427 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51429 * po/ja.po: Update from translation team.
51432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51433 kernel in 64-bit binaries.
51435 2011-09-01 David S. Miller <davem@davemloft.net>
51437 * elf/elf.h (HWCAP_SPARC_*): Move to..
51438 * sysdeps/sparc/sysdep.h: this new file and add new values.
51439 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51440 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51441 _DL_HWCAP_COUNT to 24.
51442 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51444 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51445 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51446 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51447 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51448 instead of magic constants.
51449 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51451 2011-08-31 David S. Miller <davem@davemloft.net>
51453 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51454 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51455 Reimplement to do errno handling inline.
51456 (SYSCALL_ERROR_HANDLER): New macro.
51457 (__SYSCALL_STRING): Do not do errno handling in asm.
51458 (__CLONE_SYSCALL_STRING): Delete.
51459 (__INTERNAL_SYSCALL_STRING): Delete.
51460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51461 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51462 (PSEUDO): Reimplement to do errno handling inline.
51463 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51464 (SYSCALL_ERROR_HANDLER): New macro.
51465 (__SYSCALL_STRING): Do not do errno handling in asm.
51466 (__CLONE_SYSCALL_STRING): Delete.
51467 (__INTERNAL_SYSCALL_STRING): Delete.
51468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51469 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51471 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51472 (inline_syscall*): Add 'err' argument.
51473 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51474 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51475 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51476 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51478 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51479 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51481 2011-08-30 Andreas Schwab <schwab@redhat.com>
51483 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51485 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51487 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51490 2011-08-24 David S. Miller <davem@davemloft.net>
51492 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51494 2011-08-24 Andreas Schwab <schwab@redhat.com>
51496 * elf/Makefile: Add rules to build and run unload8 test.
51497 * elf/unload8.c: New file.
51498 * elf/unload8mod1.c: New file.
51499 * elf/unload8mod1x.c: New file.
51500 * elf/unload8mod2.c: New file.
51501 * elf/unload8mod3.c: New file.
51503 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51506 2011-08-23 David S. Miller <davem@davemloft.net>
51508 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51509 subtract stack bias.
51510 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51511 %sp not %fp in calculations.
51512 (_JMPBUF_UNWINDS_ADJ): Likewise.
51514 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51515 (aio_suspend): Call it to force an exception region around the
51516 AIO_MISC_WAIT() invocation.
51518 2011-08-23 Andreas Schwab <schwab@redhat.com>
51520 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51523 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51525 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51527 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51528 and <dl-machine.h>.
51529 (Elf64_FuncDesc): Remove.
51531 2011-08-22 David S. Miller <davem@davemloft.net>
51533 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51534 sigaltstack check, add missing cfi directives.
51535 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51536 missing cfi directives, and sigaltstack handling.
51538 2011-08-16 Andreas Schwab <schwab@redhat.com>
51541 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51542 object is seen twice.
51543 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51545 * elf/Makefile (distribute): Add tst-initorder2.c.
51546 (tests): Add tst-initorder2.
51547 (modules-names): Add tst-initorder2a tst-initorder2b
51548 tst-initorder2c tst-initorder2d. Add rules to build them.
51549 ($(objpfx)tst-initorder2.out): New rule.
51550 * elf/tst-initorder2.c: New file.
51551 * elf/tst-initorder2.exp: New file.
51553 2011-08-22 Andreas Schwab <schwab@redhat.com>
51555 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51557 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51558 dependencies back to end of function.
51560 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51561 $(elfobjdir)/ld.so.
51563 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51566 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51567 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51568 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51569 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51570 of __vdso_gettimeofday.
51571 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51572 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51574 (_libc_vdso_platform_setup): Remove initialization of
51575 __vdso_gettimeofday and __vdso_time.
51577 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51579 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51580 and fgetc_unlocked.
51581 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51584 * elf/dl-open.c (add_to_global): Report additions to the global scope
51585 for LD_DEBUG=scopes.
51586 (dl_open_worker): Also print scope of newly loaded dependencies.
51587 (_dl_show_scope): Indicate if there is no scope.
51590 * stdio-common/Makefile (tests): Add bug24.
51591 * stdio-common/bug24.c: New file.
51593 2011-08-19 Andreas Jaeger <aj@suse.de>
51596 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51597 non-existant file when using close-on-exec mode.
51599 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51602 the very first instruction.
51604 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51605 the CFI state in the end.
51606 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51607 inclusion of dl-trampoline.h.
51608 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51610 2011-08-19 Andreas Schwab <schwab@redhat.com>
51612 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51613 expectations for long double.
51615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51616 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51618 2011-08-14 David S. Miller <davem@davemloft.net>
51620 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51621 artificual limit depends upon the system page size.
51623 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51625 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51626 * resolv/Makefile: Define CFLAGS-libresolv.
51628 2011-08-17 Andreas Schwab <schwab@redhat.com>
51630 * nss/makedb.c (compute_tables): Make variables used in nested
51633 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51635 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51636 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51637 if buffer was too small.
51639 * elf/pldd.c (main): Attach to all threads in the process.
51640 Rewrite /proc handling to use *at functions.
51642 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51644 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51645 specifies first scope to show.
51646 (dl_open_worker): Update callers. Move printing scope of new
51647 object to before the relocation.
51648 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51649 * sysdeps/generic/ldsodefs.h: Update declaration.
51651 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51652 string for the scope number.
51654 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51656 * nscd/servicescache.c (cache_addserv): Make sure written is always
51659 2011-08-14 Roland McGrath <roland@hack.frob.com>
51661 * sysdeps/i386/i486/bits/atomic.h
51662 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51663 statement expression, so as to suppress "set but not used" warning.
51664 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51666 * string/strncat.c (STRNCAT): Use prototype definition.
51668 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51669 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51671 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51672 (localedef-modules): Add localedef.
51673 (locale-modules): Add locale.
51675 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51676 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51677 to avoid a warning.
51679 2011-08-14 David S. Miller <davem@davemloft.net>
51681 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51682 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51684 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51686 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51687 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51688 * elf/rtld.c (dl_main): Set l_name of vDSO.
51689 Call _dl_show_scope when DL_DEBUG_SCOPES.
51690 (process_dl_debug): Recognize scopes flag and also set it for all.
51691 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51692 Declare _dl_show_scope.
51694 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51695 (do_dlopen): Pass caller_dlopen to dl_open.
51696 (__libc_dlopen_mode): Initialize caller_dlopen.
51698 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51699 of libc. Make tolower call locale-independent. Optimize a bit by
51700 using isdigit instead of isalnum.
51701 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51703 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51705 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51706 was a dependency or dynamically loaded.
51708 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51710 * intl/l10nflist.c: Allow architecture-specific pop function.
51711 * sysdeps/x86_64/l10nflist.c: New file.
51713 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51716 2011-08-10 Andreas Schwab <schwab@redhat.com>
51718 * include/dirent.h: Add libc_hidden_proto for scandirat and
51719 scandirat64. Don't declare __scandirat64.
51720 * dirent/scandirat.c: Add libc_hidden_def.
51721 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51722 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51724 2011-08-10 David S. Miller <davem@davemloft.net>
51726 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51728 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51729 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51730 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51732 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51734 * Versions.def [libc]: Add GLIBC_2.15.
51735 * dirent/Makefile (routines): Add scandirat and scandirat64.
51736 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51738 * dirent/dirent.h: Declare scandirat and scandirat64.
51739 * dirent/scandirat.c: New file.
51740 * dirent/scandirat64.c: New file.
51741 * sysdeps/wordsize-64/scandirat.c: New file.
51742 * sysdeps/wordsize-64/scandirat64.c: New file.
51743 * dirent/opendir.c: Define opendirat.
51744 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51746 * dirent/scandir64.c: Adjust for scandir.c change.
51747 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51748 __scandirat64, and __scandir_cancel_handler.
51749 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51750 additional parameter and use openat instead of open (outside of ld.so).
51751 Add new __opendir as wrapper around __opendirat.
51752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51753 here without requiring old scandirat implementation.
51755 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51757 * dirent/scandir.c (cancel_handler): Renamed to
51758 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51759 defined. Adjust users.
51760 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51761 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51763 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51765 * string/test-string.h (IMPL): Use __STRING to expand name and then
51768 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51771 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51773 * string/Makefile: Update.
51774 (strop-tests): Append strncat.
51775 * string/test-wcscmp.c: New file.
51776 New comprehensive test for wcscmp.
51777 * string/test-strcmp.c: Update.
51778 (WIDE): New define.
51780 2011-07-22 Andreas Schwab <schwab@redhat.com>
51782 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51785 2011-07-26 Andreas Schwab <schwab@redhat.com>
51787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51788 encoding to ACE if AI_IDN.
51790 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51792 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51793 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51795 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51797 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51798 Fix overflow bug in strncat.
51799 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51801 * string/test-strncat.c: Update.
51802 Add new tests for checking overflow bugs.
51804 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51807 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51808 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51809 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51810 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51811 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51812 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51813 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51814 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51816 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51817 (USE_AS_STRCAT): Define.
51818 Add strcat and strncat support.
51819 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51821 2011-07-25 Andreas Schwab <schwab@redhat.com>
51823 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51824 __n bigger than INT_MAX+1.
51825 (__strncmp_g): Likewise.
51827 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51829 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51830 * libio/stido.h: Likewise.
51832 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51834 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51837 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51838 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51839 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51840 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51841 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51844 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51847 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51849 (_dl_x86_64_save_sse): Likewise.
51851 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51853 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51855 (_dl_x86_64_save_sse): Likewise.
51857 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51859 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51861 2011-07-21 Andreas Schwab <schwab@redhat.com>
51863 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51865 (_dl_x86_64_save_sse): Use correct AVX check.
51867 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51869 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51870 bug in strncpy/strncat.
51871 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51873 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51875 * string/tester.c (test_strcat): Add tests for different alignments
51876 of source and destination.
51877 (test_strncat): Likewise.
51879 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51882 * posix/glob.c (glob): Check passed in values before using them in
51883 expressions to avoid some overflows.
51884 (glob_in_dir): Likewise.
51887 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51888 check for AVX enablement so that we don't crash with old kernels and
51890 * elf/tst-audit4.c: Add same checks here.
51891 * elf/tst-audit6.c: Likewise.
51893 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51895 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51897 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51899 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51901 * po/cs.po: Update from translation team.
51902 * po/bg.po: Likewise.
51904 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51906 * misc/sys/cdefs.h: Add support for const attribute.
51907 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51908 to gnu_dev_{major,minor,makedev} functions.
51910 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51912 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51914 2011-07-20 Andreas Schwab <schwab@redhat.com>
51916 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51919 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51922 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51923 register in order to avoid conflicts with the soft frame pointer
51924 being held in r11 when necessary.
51925 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51926 (INTERNAL_VSYSCALL_NCS): Likewise.
51928 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51930 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51931 * elf/dl-fini.c (_dl_fini): Adjust caller.
51932 * elf/dl-close.c (_dl_close_worker): Likewise.
51933 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51935 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51937 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51938 "aux_cache->nlibs < 0".
51940 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51941 in the reload-count case.
51943 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51945 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51946 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51947 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51948 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51949 * sysdeps/x86_64/multiarch/strcat.S: New file.
51950 * sysdeps/x86_64/multiarch/strncat.S: New file.
51951 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51952 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51953 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51954 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51956 (USE_AS_STRCAT): Define.
51957 Add strcat and strncat support.
51958 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51959 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51960 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51961 * string/strncat.c: Update.
51962 (USE_AS_STRNCAT): Define.
51963 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51964 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51966 * sysdeps/x86_64/multiarch/init-arch.h
51967 (bit_Prefer_PMINUB_for_stringop): New.
51968 (index_Prefer_PMINUB_for_stringop): Likewise.
51969 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51970 bit_Prefer_PMINUB_for_stringop.
51972 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51974 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51976 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51977 of casting of buffer.
51978 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51979 buffer32 and buffer64.
51980 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51981 writes instead of casting of buffer.
51982 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51984 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51987 2011-07-19 Andreas Schwab <schwab@redhat.com>
51989 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51991 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51993 * nscd/nscd.c (termination_handler): Don't do anything for a database
51994 if it has not yet been initialized.
51996 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51998 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52000 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52002 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52004 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52006 * po/nl.po: Update from translation team.
52007 * po/sv.po: Likewise.
52009 2011-07-16 Roland McGrath <roland@hack.frob.com>
52011 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52012 now disallowed by GCC.
52014 * configure.in (use-default-link): Default to yes if a test -shared
52015 link meets our qualifications.
52016 * configure: Regenerated.
52018 * config.make.in (output-format): New variable.
52019 * configure.in: Check for ld --print-output-format support.
52020 * configure: Regenerated.
52021 * Makerules ($(common-objpfx)format.lds)
52022 [$(output-format) != unknown]: Just use $(output-format),
52023 instead of the linker-script munging.
52025 2011-07-14 Roland McGrath <roland@hack.frob.com>
52027 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52028 of $(common-objpfx)shlib.lds.
52029 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52031 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52032 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52034 * configure.in (-z relro check): Adjust test code to add a large
52035 writable data section after it.
52036 * configure: Regenerated.
52038 2011-07-11 Roland McGrath <roland@hack.frob.com>
52040 * configure.in (-z relro check): Fix test code to make the variable
52042 * configure: Regenerated.
52044 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52046 * nscd/nscd.h (struct traced_file): Define.
52047 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52048 elements. Add traced_files.
52049 (inotify_fd): Declare.
52050 (register_traced_file): Declare.
52051 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52052 (inotify_fd): Export.
52053 (resolv_conf_descr): Remove.
52054 (nscd_init): Move inotify descriptor creation to main.
52055 Don't register files for notification here.
52056 (register_traced_file): New function.
52057 (invalidate_cache): Don't use reset_res to determine whether to call
52058 res_init, go through the list of registered files.
52059 (main_loop_poll): The inotify descriptors are now stored in the
52060 structures for the traced files.
52061 (main_loop_epoll): Likewise
52062 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52063 to __nss_disable_nscd.
52064 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52065 for a database anymore. Check the records for all the registered
52067 * nss/Makefile (libnss_files-routines): Add files-init.
52068 (libnss_db-routines): Add db-init.
52069 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52070 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52071 * nss/nss_db/db-init.c: New file.
52072 * nss/nss_files/files-init.c: New file.
52073 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52074 __nss_lookup_function.
52075 (__nss_lookup_function): Call nss_load_library.
52076 (nss_load_all_libraries): New function.
52077 (__nss_disable_nscd): Take parameter with callback function for files
52078 to register. Set is_nscd. Load all the DSOs for the NSS modules
52079 used for the cached services.
52080 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52081 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52082 options for features to all the files in nscd.
52084 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52086 2011-07-10 Roland McGrath <roland@hack.frob.com>
52088 * csu/elf-init.c (__libc_csu_init): Comment typo.
52090 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52092 * po/pl.po: Update from translation team.
52093 * po/ja.po: Likewise.
52094 * po/ru.po: Likewise.
52095 * po/ko.po: Likewise.
52096 * po/fr.po: Likewise.
52098 2011-07-09 Roland McGrath <roland@hack.frob.com>
52100 * configure.in (.ctors/.dtors header and trailer check):
52101 Use an empirical test on a built program.
52102 * configure: Regenerated.
52104 * configure.in (-z relro check): Use an empirical test on a built DSO.
52105 Detect, but do not require, on ia64.
52106 * configure: Regenerated.
52108 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52109 Update tests that use readelf to use $READELF instead.
52110 * configure: Regenerated.
52112 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52114 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52115 if the result is not used.
52117 2011-07-05 Andreas Jaeger <aj@suse.de>
52120 * stdlib/tst-strtod.c: Add testcase.
52122 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52124 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52125 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52126 The latter has a higher limit. Take additional parameter to pass to
52128 (__pathconf): Pass file to __statfs_link_max.
52129 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52131 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52135 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52136 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52138 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52139 (__statfs_filesize_max): Likewise.
52140 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52142 2011-07-05 Andreas Jaeger <aj@suse.de>
52144 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52146 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52148 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52150 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52153 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52155 * Makefile (strop-tests): Add strncat.
52156 * string/test-strncat.c: New file.
52158 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52160 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52162 2011-06-21 Andreas Jaeger <aj@suse.de>
52164 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52165 Copy rule from iconvdata/Makefile.
52167 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52170 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52171 but no long options are defined, just return 'W'.
52173 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52176 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52178 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52180 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52182 (innetgr): Likewise.
52184 2011-07-05 Roland McGrath <roland@hack.frob.com>
52186 * config.make.in (install_root): Default to $(DESTDIR).
52188 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52190 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52192 2011-07-02 Roland McGrath <roland@hack.frob.com>
52194 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52196 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52197 containing directory rather than embedding absolute directory names.
52199 * scripts/check-local-headers.sh: Rewritten using awk.
52200 Match by word, not by line. Print error messages for matches.
52201 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52203 * Makerules [shlib-lds-flags empty]:
52204 ($(common-objpfx)libc_pic.opts): New target.
52205 ($(common-objpfx)libc_pic.os.clean): New target.
52206 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52208 * config.make.in (OBJCOPY): New variable.
52209 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52210 * configure: Regenerated.
52212 * config.make.in (use-default-link): New variable.
52213 * configure.in (use_default_link): Grok --with-default-link to set it.
52214 * configure: Regenerated.
52215 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52216 (shlib-lds, shlib-lds-flags): Define to empty.
52218 * Makerules (shlib-lds): New variable.
52219 (shlib-lds-flags): New variable.
52220 (build-shlib, build-moduile, build-module-asneeded): Use it.
52221 ($(common-objpfx)libc.so): Use $(shlib-lds).
52222 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52223 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52225 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52226 DT_FLAGS/DT_FLAGS_1 with zero flags.
52228 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52229 linker script munging.
52231 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52233 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52235 * crypt/sha512.c (sha512_process_block): Perform total addition using
52236 128-bit if possible.
52237 (__sha512_finish_ctx): Likewise.
52238 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52240 * crypt/sha256.c (SWAP64): Define.
52241 (sha256_process_block): Perform total addition using 64-bit if
52243 (__sha256_finish_ctx): Likewise.
52245 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52247 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52248 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52249 * nscd/hstcache.c (cache_addhst): Likewise.
52250 * nscd/grpcache.c (cache_addgr): Likewise.
52251 * nscd/aicache.c (addhstaiX): Likewise
52252 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52254 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52256 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52257 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52258 * nscd/hstcache.c (cache_addhst): Likewise.
52259 * nscd/grpcache.c (cache_addgr): Likewise.
52260 * nscd/aicache.c (addhstaiX): Likewise
52262 2011-07-01 Andreas Schwab <schwab@redhat.com>
52264 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52265 domain only when needed.
52267 2011-06-30 Andreas Schwab <schwab@redhat.com>
52269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52270 is always restored.
52272 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52274 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52275 are re-adding the entry.
52276 * nscd/servicescache.c (cache_addserv): Likewise.
52278 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52280 * sysdeps/generic/dl-irel.h: fix protection against multiple
52282 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52284 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52287 * malloc/memusage.sh: Fix quoting in message.
52288 * debug/xtrace.sh: Likewise.
52290 * configure.in: Remove support for --experimental-malloc option, make
52292 * config.make.in: Likewise.
52293 * malloc/Makefile: Likewise.
52295 2011-06-27 Andreas Schwab <schwab@redhat.com>
52297 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52298 two-byte characters.
52300 2011-06-27 Roland McGrath <roland@hack.frob.com>
52302 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52303 AC_CACHE_CHECK invocation.
52304 * configure: Regenerated.
52306 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52308 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52311 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52312 bit from old_res_options.
52314 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52316 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52317 value type for setfct.
52319 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52321 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52322 __gettimeofday instead of gettimeofday.
52324 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52326 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52328 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52330 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52335 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52338 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52339 strcpy-sse2-unaligned strncpy-sse2-unaligned
52340 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52341 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52342 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52343 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52344 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52345 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52346 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52347 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52348 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52349 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52350 (STRCPY): Support SSE2 and SSSE3 versions.
52352 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52356 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52357 kernels which artificially limit size of requests.
52359 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52361 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52362 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52363 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52364 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52365 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52366 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52367 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52368 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52369 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52371 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52372 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52373 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52374 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52375 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52377 Enable unaligned load optimization for Intel Core i3, i5 and i7
52379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52381 (index_Fast_Unaligned_Load): Define.
52382 (HAS_FAST_UNALIGNED_LOAD): Define.
52384 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52386 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52388 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52392 until it is clear that the information is realy needed.
52393 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52395 2011-06-22 Andreas Schwab <schwab@redhat.com>
52397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52399 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52402 /sys/devices/system/cpu/online if it is usable.
52404 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52405 reading the information from the /proc filesystem to once a second.
52407 2011-06-21 Andreas Jaeger <aj@suse.de>
52409 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52410 NULL after inclusion of kernel headers.
52412 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52414 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52415 calls to internal_setent.
52418 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52419 addresses using gethostbyname4_r ignore IPv4 addresses.
52421 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52422 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52424 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52426 2011-06-20 David S. Miller <davem@davemloft.net>
52428 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52430 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52432 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52433 (elf_irel): Use it.
52434 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52435 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52436 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52437 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52438 * sysdeps/x86_64/dl-irel.h: Likewise.
52440 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52441 * elf/dl-sym.c: Likewise.
52443 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52445 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52446 need to dereference resplen2.
52448 2011-06-14 Andreas Schwab <schwab@redhat.com>
52450 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52452 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52454 * Makeconfig: Define vardbdir and inst_vardbdir.
52455 * nss/Makefile: Add rules to install db-Makefile.
52457 * nss/nss_db/db-XXX.c: Cleanup.
52459 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52460 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52462 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52463 * nss/makedb.c: Implement -g option to specify that value strings
52464 are generated and should not be added to table iterated over for
52466 * nss/nss_db/db-initgroups.c: New file.
52468 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52471 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52472 (internal_getgrouplist): Adjust to name change.
52473 Update use_initgroups_entry if this is not the first call.
52474 * nss/databases.def: Add initgroups entry.
52476 * nss/makedb.c (compute_tables): Check result of multiple hash table
52477 sizes to minimize maximum chain length.
52479 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52481 * Versions.def: Add entry for libnss_db.
52482 * shlib-versions: Likewise.
52483 * nss/Makefile: Add rules to build libnss_db.
52484 * nss/Versions: Add libnss_db information. Organize libnss_files
52486 * nss/db-Makefile: Add gshadow support. Change rules for the new
52487 makedb progra. Some minor improvements to generate smaller files.
52488 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52490 * nss/makedb.c: ...here.
52491 Improve database format to be smaller and require less memory at
52493 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52495 * nss/nss_db/db-netgrp.c: Likewise.
52496 * nss/nss_db/db-open.c: Likewise.
52497 * nss/nss_files/flies-XXX.x: Adjust comments.
52498 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52499 * nss/nss_files/files-grp.c: Likewise.
52500 * nss/nss_files/files-hosts.c: Likewise.
52501 * nss/nss_files/files-network.c: Likewise.
52502 * nss/nss_files/files-proto.c: Likewise.
52503 * nss/nss_files/files-pwd.c: Likewise.
52504 * nss/nss_files/files-rpc.c: Likewise.
52505 * nss/nss_files/files-service.c: Likewise.
52506 * nss/nss_files/files-sgrp.c: Likewise.
52507 * nss/nss_files/files-spwd.c: Likewise.
52508 * nss/nss_db/db-alias.c: Removed.
52509 * nss/nss_db/dummy-db.h: Removed.
52511 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52513 * nss/makedb.c: Rewritten to not use database library.
52514 * nss/Makefile: Update to build new makedb program.
52516 2011-06-14 Andreas Jaeger <aj@suse.de>
52518 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52519 memset declaration.
52521 2011-06-10 Andreas Schwab <schwab@redhat.com>
52523 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52526 2011-06-10 Roland McGrath <roland@hack.frob.com>
52528 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52529 * elf/Makefile ($(objpfx)ld.so): Likewise.
52531 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52532 Don't list ld.so twice in dependencies.
52534 * posix/bug-regex31.c: Include <stdlib.h>.
52536 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52538 * nis/nss_compat/compat-spwd.c
52539 (getspent_next_nss_netgr): Remove unused variable.
52540 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52542 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52543 nonmembers" output to use the right array.
52545 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52547 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52549 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52550 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52551 * catgets/gencat.c (read_input_file): Likewise.
52552 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52554 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52555 variable definition inside #if's controlling its use.
52557 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52559 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52561 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52563 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52566 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52568 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52569 * configure: Regenerated.
52571 * Makerules: Revert last change.
52572 * elf/Makefile: Likewise.
52574 2011-06-09 Roland McGrath <roland@hack.frob.com>
52576 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52577 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52578 (reloc-link): Likewise.
52580 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52582 * elf/Makefile: Add rules to build pldd.
52583 * elf/pldd.c: New file.
52584 * elf/pldd-xx.c: New file.
52586 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52588 * version.h: Update for 2.15 development version.
52590 2011-06-07 David S. Miller <davem@davemloft.net>
52592 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52594 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52595 elf_machine_lazy_rel): Likewise.
52596 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52597 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52598 elf_machine_lazy_rel): Likewise.
52599 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52600 dl_hwcap via passed in argument.
52601 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52604 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52606 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52608 2011-06-06 Roland McGrath <roland@hack.frob.com>
52611 * manual/fdl-1.1.texi: New file, verbatim from:
52612 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52613 * manual/lgpl-2.1.texi: New file, verbatim from:
52614 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52615 * manual/Makefile (licenses): New variable, list those new file names.
52617 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52619 * manual/fdl.texi: File removed.
52620 * manual/lesser.texi: File removed.
52621 * manual/libc.texinfo (Copying, Documentation License):
52622 Use new @include file names, put @appendix directive before @include.
52624 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52627 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52628 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52629 (mq_open): Add __NTH.
52631 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52633 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52634 Assume Intel Core i3/i5/i7 processor if AVX is available.
52636 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52638 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52641 2011-05-31 Andreas Schwab <schwab@redhat.com>
52643 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52644 memory. Use alloca_account. Fix memory leak when retrying.
52646 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52648 * version.h (RELEASE): Bump for 2.14 release.
52649 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52651 * config.make.in (RANLIB): Remove entry.
52653 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52655 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52656 (libc.pot): Work around missing support for .ksh extension in xgettext.
52659 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52660 if both request failed.
52661 (send_dg): In case of server errors clear resplen or *resplen2.
52664 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52665 when there are multiple maps.
52666 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52667 (_dl_fini): Remove test here.
52669 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52671 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52674 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52675 bit from old_res_options.
52676 (gaih_inet): Likewise.
52679 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52682 * resolv/res_init.c (res_setoptions): Make the code more compact.
52685 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52689 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52691 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52694 * malloc/malloc.h: Declare malloc hook variables as volatile.
52696 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52700 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52701 raise in the comment.
52702 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52703 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52704 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52706 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52709 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52710 grow the buffers more if it already has to be sufficient.
52711 (build_wcs_upper_buffer): Likewise.
52712 * posix/regexec.c (check_matching): Likewise.
52713 (clean_state_log_if_needed): Likewise.
52714 (extend_buffers): Don't enlarge buffers beyond size of the input
52716 Patches mostly by Emil Wojak <emil@wojak.eu>.
52717 * posix/bug-regex32.c: New file.
52718 * posix/Makefile (tests): Add bug-regex32.
52720 * locale/findlocale.c (_nl_find_locale): Return right away if
52721 _nl_explode_name failed.
52722 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52724 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52726 * debug/xtrace.sh: Unify messages.
52727 * malloc/memusage.sh: Likewise.
52730 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52731 time symbol from vDSO. Substitute with vsyscall if not available.
52732 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52735 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52736 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52737 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52738 Add sendmmsg and internal_sendmmsg.
52739 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52740 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52741 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52743 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52744 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52745 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52747 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52750 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52751 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52753 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52757 * iconvdata/Makefile (tests): Add bug-iconv9.
52758 * iconvdata/bug-iconv9.c: New file.
52760 2011-05-27 Andreas Schwab <schwab@redhat.com>
52763 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52765 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52767 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52768 (struct user_regs_struct): Change intcs field back to cs.
52770 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52772 * po/ja.po: Update from translation team.
52774 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52777 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52778 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52780 2011-05-20 Andreas Schwab <schwab@redhat.com>
52782 * stdlib/longlong.h: Update from GCC.
52784 2011-05-23 Andreas Schwab <schwab@redhat.com>
52786 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52788 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52789 Add parameter name.
52790 (__sysconf): Pass it down.
52792 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52795 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52797 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52798 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52799 add in in __libc_use_alloca calls. Adjust callers.
52800 (glob): Use malloc in some situations.
52802 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52803 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52806 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52808 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52809 and CLOCK_BOOTTIME_ALARM.
52812 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52815 * string/_strerror.c (__strerror_r): Print negative errors as signed
52819 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52820 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52821 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52823 * configure.in: Fix typo in redirection and correct removal of test
52824 files in two cases.
52827 * locale/setlocale.c (new_composite_name): Fix test to check for
52828 identical name of all categories.
52831 * libio/filedoalloc.c (local_isatty): New function.
52832 (_IO_file_doallocate): Use local_isatty.
52833 * stdio-common/perror.c (perror): In case a new stream is used
52834 forward the stream error.
52835 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52838 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52843 * include/alloca.h (extend_alloca_account): Define.
52846 * posix/regex.h: Fix comments with documentation of user-accessible
52847 fields after compilation and describe correct free'ing of pattern
52848 after re_compile_pattern.
52849 Patch by Reuben Thomas <rrt@sc3d.org>.
52851 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52853 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52854 and -mno-altivec to prevent the compiler from using Altivec and/or
52855 VSX instructions when the corresponding registers are not available.
52857 2011-05-19 Andreas Schwab <schwab@redhat.com>
52859 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52861 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52863 * libio/freopen.c (freopen): Use __dup2, not dup2.
52864 * libio/freopen64.c (freopen64): Likewise.
52866 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52869 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52870 * math/Makefile (tests): Add test-powl.
52871 (CFLAGS-test-powl.c): Define.
52872 * math/test-powl.c: New file.
52874 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52876 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52878 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52881 * iconvdata/gb18030.c: Update to GB18020-2005.
52883 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52885 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52886 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52887 Patch by Aharon Robbins <arnold@skeeve.com>.
52890 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52894 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52895 through underflows.
52898 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52899 point to strings before performing equality test for error_one_per_line
52903 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52906 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52907 (struct user_fpregs_struct): Avoid __uint*_t types.
52910 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52911 symbol info. Use it instead of calling _dl_addr locally.
52912 (lock_and_info): New function.
52913 (tr_freehook): Call lock_and_info and pass symbol info as additional
52914 parameter to tr_where.
52915 (tr_mallochook): Likewise.
52916 (tr_reallochook): Likewise.
52917 (tr_memalignhook): Likewise.
52919 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52920 used and couldn't be at all thread-safe.
52922 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52924 * libio/freopen.c (freopen): Don't close old file descriptor
52925 before the new one is opened. Instead dup the new file descriptor
52926 to the old one after the new stream is created.
52927 * libio/freopen64.c (freopen64): Likewise.
52928 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52929 * libio/fileops.c (_IO_new_file_close_it): Handle new
52930 _IO_FLAGS2_NOCLOSE flag.
52931 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52932 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52933 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52934 _IO_FLAGS2_NOCLOSE flag.
52935 * include/unistd.h: Add hidden_proto for dup3.
52936 Define __have_dup3.
52937 * io/dup3.c: Define hidden symbol.
52938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52941 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52942 when an incomplete long option is used.
52943 * posix/tst-getopt_long1.c: New file.
52944 * posix/Makefile (tests): Add tst-getopt_long1.
52947 * scripts/config.guess: Update from autoconf-2.68.
52948 * scripts/config.sub: Likewise.
52951 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52953 (has_cpuclock): ...this. New function.
52954 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52955 macro here based on has_cpuclock code.
52958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52959 First byte (not low byte) is now always NUL.
52960 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52962 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52963 Use non-cancelable interfaces.
52966 * locale/iso-639.def: Add entry for Sorani.
52969 * include/stdlib.h: Move include protection to the right place.
52970 Define abort_msg_s. Declare __abort_msg with it.
52971 * stdlib/abort.c (__abort_msg): Adjust type.
52972 * assert/assert.c (__assert_fail_base): New function. Majority
52973 of code from __assert_fail. Allocate memory for __abort_msg with
52975 (__assert_fail): Now call __assert_fail_base.
52976 * assert/assert-perr.c: Remove bulk of implementation. Use
52977 __assert_fail_base.
52978 * include/assert.hL Declare __assert_fail_base.
52979 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52981 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52983 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52987 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52988 until all modules are registered in the DTV.
52989 * elf/Makefile: Add rules to build and run tst-tls19.
52990 * elf/tst-tls19.c: New file.
52991 * elf/tst-tls19mod1.c: New file.
52992 * elf/tst-tls19mod2.c: New file.
52993 * elf/tst-tls19mod3.c: New file.
52994 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52997 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53001 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53002 two-byte sequence errors.
53003 * iconvdata/Makefile (tests): Add bug-iconv8.
53004 * iconvdata/bug-iconv8.c: New file.
53007 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53010 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53013 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53014 (dummy_getcfa): New function.
53015 (init): Get _Unwind_GetCFA address, use dummy if not found.
53016 (backtrace_helper): In recursion check, also check whether CFA changes.
53017 (__backtrace): Completely initialize arg.
53019 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53020 storing incomplete byte sequence in state object. Avoid testing for
53021 guaranteed too small input if we know there is enough data available.
53023 2011-05-11 Andreas Schwab <schwab@redhat.com>
53025 * Makeconfig (+link-pie): Indent.
53026 * Rules (binaries-pie): Define if $(have-fpie) and
53028 (binaries-shared): Also filter out $(binaries-pie).
53029 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53030 * nscd/Makefile (others-pie): Add nscd.
53031 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53032 ($(objpfx)nscd): Remove command override.
53033 * login/Makefile (others-pie): Add pt_chown.
53034 ($(objpfx)pt_chown): Remove command override.
53035 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53036 remove command overrides.
53038 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53040 * libio/tst_putwc.c: Fix error messages.
53043 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53044 currently writing and seek to current position when not.
53045 * libio/Makefile (tests): Add bug-fclose1.
53046 * libio/bug-fclose1.c: New file.
53048 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53051 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53052 don't set DF_1_NODELETE here.
53053 (do_lookup_x): When entering new entry test for copy relocation
53054 and if necessary set DF_1_NODELETE flag.
53055 * elf/tst-unique4.cc: New file.
53056 * elf/tst-unique4.h: New file.
53057 * elf/tst-unique4lib.cc: New file.
53058 * elf/Makefile: Add rules to build and run tst-unique4.
53059 Patch by Piotr Bury <pbury@goahead.com>.
53061 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53064 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53067 * misc/mntent_r.c (addmntent): Flush the stream after the output
53070 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53071 (is_trusted_path_normalize): Skip initial colon. Append slash
53072 to empty buffer. Duplicate is_trusted_path code but allow
53073 constructed patch to be prefix.
53074 (is_dst): Allow $ORIGIN followed by /.
53075 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53076 Correct testing of result of is_trusted_path_normalize
53077 (decompose_rpath): Fix warning.
53079 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53082 * grp/initgroups.c (internal_getgrouplist): When we found the service
53083 list through the initgroups entry in nsswitch.conf do not always
53084 continue on a successful lookup. Don't always use the
53085 __nss_group_database value if it is set.
53086 * nss/nsswitch.conf (initgroups): Change action for successful db
53087 lookup to continue for compatibility.
53089 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53092 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53094 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53096 * iconvdata/tst-tables.sh: Likewise.
53097 * iconvdata/cp770.c: New file.
53098 * iconvdata/cp771.c: New file.
53099 * iconvdata/cp772.c: New file.
53100 * iconvdata/cp773.c: New file.
53101 * iconvdata/cp774.c: New file.
53102 * iconvdata/testdata/CP770: New file.
53103 * iconvdata/testdata/CP770..UTF8: New file.
53104 * iconvdata/testdata/CP771: New file.
53105 * iconvdata/testdata/CP771..UTF8: New file.
53106 * iconvdata/testdata/CP772: New file.
53107 * iconvdata/testdata/CP772..UTF8: New file.
53108 * iconvdata/testdata/CP773: New file.
53109 * iconvdata/testdata/CP773..UTF8: New file.
53110 * iconvdata/testdata/CP774: New file.
53111 * iconvdata/testdata/CP774..UTF8: New file.
53113 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53115 * iconvdata/gen-8bit-gap.sh: Likewise.
53116 * iconvdata/gen-8bit.sh: Likewise.
53118 * locale/iso-639.def: Add ary entry.
53121 * locale/C-translit.h.in: Add U20A1 transliteration.
53124 * locale/iso-639.def: Add wae entry.
53125 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53128 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53132 * locale/C-translit.h.in: Add entry for U20B9.
53133 Patch by pravin.d.s@gmail.com.
53135 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53138 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53139 ENAMETOOLONG use generic getcwd.
53140 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53141 in rtld. Use *stat64.
53142 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53143 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53144 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53145 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53146 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53147 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53148 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53149 __fstatat64 macros.
53150 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53151 * dirent/rewinddir.c: Add libc_hidden_def.
53152 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53153 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53155 * include/dirent.h (__alloc_dir): Add flags parameter.
53156 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53157 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53159 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53160 from fdopendir if O_CLOEXEC is already set.
53162 2011-03-15 Alan Modra <amodra@gmail.com>
53164 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53165 l_tls_firstbyte_offset non-zero. Save padding offset in
53166 l_tls_firstbyte_offset for later use.
53167 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53168 freeing static tls block.
53170 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53172 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53173 where #ifdef was intended. The intent is to prevent ARG_MAX from
53174 being defined by the kernel headers.
53176 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53179 * resolv/resolv.h: Define RES_NOTLDQUERY.
53180 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53181 no-tld-query and set RES_NOTLDQUERY.
53182 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53183 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53184 modern BIND to search name as TLD unless forbidden.
53186 2011-05-07 Petr Baudis <pasky@suse.cz>
53187 Ulrich Drepper <drepper@gmail.com>
53190 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53191 (is_trusted_path): ...to here.
53192 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53193 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53194 using is_trusted_path_normalize() in setuid scripts.
53196 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53198 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53199 __BEGIN/__END_DECLS.
53201 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53203 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53204 NSS_STATUS_NOTFOUND if no record was found.
53206 2011-05-05 Andreas Schwab <schwab@redhat.com>
53208 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53209 (headers-not-in-tirpc): Remove rpc/netdb.h
53210 * resolv/netdb.h: Revert last change.
53212 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53214 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53215 circular dependency between libgcc.a and libc.a.
53217 2011-05-05 Andreas Schwab <schwab@redhat.com>
53219 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53220 * nis/Makefile: Don't install rpcsvc/*.
53221 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53222 instead of <rpc/types.h>.
53223 (MAXHOSTNAMELEN): Define.
53225 2011-05-03 Andreas Schwab <schwab@redhat.com>
53227 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53229 2011-04-28 Maciej Babinski <mbabinski@google.com>
53232 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53233 gethostbyname4_r when IPv6 results are possible.
53235 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53238 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53239 _PC_PIPE_BUF handling.
53241 2011-04-30 Bruno Haible <bruno@clisp.org>
53244 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53245 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53247 * inet/getnameinfo.c (getnameinfo): Likewise.
53249 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53251 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53252 to groups setting in database lookup.
53253 * nss/nsswitch.conf: Add initgroups entry.
53255 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53258 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53260 Patch by Eric Blake <eblake@redhat.com>.
53262 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53264 * sunrpc/Makefile (need-export-routines): Add svc_run.
53265 (routines): Remove svc_run.
53266 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53267 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53268 * sunrpc/svc_run.c (svc_run): Likewise.
53269 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53271 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53273 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53274 problem in reallocation in last patch.
53276 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53278 * sunrpc/Makefile: Move inclusion of Rules.
53280 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53282 * nss/nss_files/files-initgroups.c: New file.
53283 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53284 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53285 _nss_files_initgroups_dyn.
53287 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53289 * elf/elf.h (R_ARM_IRELATIVE): Define.
53291 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53293 * po/ru.po: Update from translation team.
53295 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53297 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53300 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53303 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53304 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53305 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53306 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53307 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53309 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53311 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53313 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53314 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53315 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53317 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53320 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53322 * stdlib/bug-getcontext.c: New file.
53323 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53325 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53327 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53328 instructions into .machine "z9-109".
53329 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53330 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53332 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53334 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53335 between environment variables and auxiliary vector.
53337 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53339 * Makefile: Add rules to build linkobj/libc.so.
53340 * include/libc-symbols.h: Define libc_hidden_nolink.
53341 * include/rpc/auth.h: Mark functions which are to be hidden.
53342 * include/rpc/auth_des.h: Likewise.
53343 * include/rpc/auth_unix.h: Likewise.
53344 * include/rpc/clnt.h: Likewise.
53345 * include/rpc/des_crypt.h: Likewise.
53346 * include/rpc/key_prot.h: Likewise.
53347 * include/rpc/pmap_clnt.h: Likewise.
53348 * include/rpc/pmap_prot.h: Likewise.
53349 * include/rpc/pmap_rmt.h: Likewise.
53350 * include/rpc/rpc_msg.h: Likewise.
53351 * include/rpc/svc.h: Likewise.
53352 * include/rpc/svc_auth.h: Likewise.
53353 * include/rpc/xdr.h: Likewise.
53354 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53355 * nss/Makefile: Likewise.
53356 * sunrpc/Makefile: Don't install headers. Build library with normal
53357 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53358 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53359 for the compat linking library. Remove use of INTDEF/INTUSE.
53360 * sunrpc/auth_none.c: Likewise.
53361 * sunrpc/auth_unix.c: Likewise.
53362 * sunrpc/authdes_prot.c: Likewise.
53363 * sunrpc/authuxprot.c: Likewise.
53364 * sunrpc/clnt_gen.c: Likewise.
53365 * sunrpc/clnt_perr.c: Likewise.
53366 * sunrpc/clnt_raw.c: Likewise.
53367 * sunrpc/clnt_simp.c: Likewise.
53368 * sunrpc/clnt_tcp.c: Likewise.
53369 * sunrpc/clnt_udp.c: Likewise.
53370 * sunrpc/clnt_unix.c: Likewise.
53371 * sunrpc/des_crypt.c: Likewise.
53372 * sunrpc/des_soft.c: Likewise.
53373 * sunrpc/get_myaddr.c: Likewise.
53374 * sunrpc/key_call.c: Likewise.
53375 * sunrpc/key_prot.c: Likewise.
53376 * sunrpc/netname.c: Likewise.
53377 * sunrpc/pm_getmaps.c: Likewise.
53378 * sunrpc/pm_getport.c: Likewise.
53379 * sunrpc/pmap_clnt.c: Likewise.
53380 * sunrpc/pmap_prot.c: Likewise.
53381 * sunrpc/pmap_prot2.c: Likewise.
53382 * sunrpc/pmap_rmt.c: Likewise.
53383 * sunrpc/publickey.c: Likewise.
53384 * sunrpc/rpc_cmsg.c: Likewise.
53385 * sunrpc/rpc_common.c: Likewise.
53386 * sunrpc/rpc_dtable.c: Likewise.
53387 * sunrpc/rpc_prot.c: Likewise.
53388 * sunrpc/rpc_thread.c: Likewise.
53389 * sunrpc/rtime.c: Likewise.
53390 * sunrpc/svc.c: Likewise.
53391 * sunrpc/svc_auth.c: Likewise.
53392 * sunrpc/svc_authux.c: Likewise.
53393 * sunrpc/svc_raw.c: Likewise.
53394 * sunrpc/svc_run.c: Likewise.
53395 * sunrpc/svc_simple.c: Likewise.
53396 * sunrpc/svc_tcp.c: Likewise.
53397 * sunrpc/svc_udp.c: Likewise.
53398 * sunrpc/svc_unix.c: Likewise.
53399 * sunrpc/svcauth_des.c: Likewise.
53400 * sunrpc/xcrypt.c: Likewise.
53401 * sunrpc/xdr.c: Likewise.
53402 * sunrpc/xdr_array.c: Likewise.
53403 * sunrpc/xdr_float.c: Likewise.
53404 * sunrpc/xdr_intXX_t.c: Likewise.
53405 * sunrpc/xdr_mem.c: Likewise.
53406 * sunrpc/xdr_rec.c: Likewise.
53407 * sunrpc/xdr_ref.c: Likewise.
53408 * sunrpc/xdr_sizeof.c: Likewise.
53409 * sunrpc/xdr_stdio.c: Likewise.
53411 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53414 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53415 * sysdeps/ia64/dl-tls.h: Likewise.
53416 * sysdeps/powerpc/dl-tls.h: Likewise.
53417 * sysdeps/s390/dl-tls.h: Likewise.
53418 * sysdeps/sh/dl-tls.h: Likewise.
53419 * sysdeps/sparc/dl-tls.h: Likewise.
53420 * sysdeps/x86_64/dl-tls.h: Likewise.
53421 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53423 2011-03-14 Andreas Schwab <schwab@redhat.com>
53425 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53426 rpath element also skip the following colon.
53427 (expand_dynamic_string_token): Add is_path parameter and pass
53428 down to DL_DST_REQUIRED and _dl_dst_substitute.
53429 (decompose_rpath): Call expand_dynamic_string_token with
53430 non-zero is_path. Ignore empty rpaths.
53431 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53434 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53439 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53442 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53443 Patch by Filipe David Manana <fdmanana@apache.org>.
53445 2011-04-07 Andreas Schwab <schwab@redhat.com>
53447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53448 Maintain aligned stack.
53449 (CHECK_RSP): Remove unused macro.
53451 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53453 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53454 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53456 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53458 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53460 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53462 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53465 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53466 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53467 * sysdeps/x86_64/memmove.c: New file.
53468 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53469 (memcpy): Renamed to ...
53470 (__new_memcpy): This.
53471 (memcpy): Provide GLIBC_2_14 memcpy.
53472 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53473 (memcpy): Provide GLIBC_2_2_5 memcpy.
53475 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53478 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53480 2011-03-30 Andreas Schwab <schwab@redhat.com>
53482 * misc/syncfs.c: New file.
53483 * misc/Makefile (routines): Add syncfs.
53484 * posix/unistd.h: Declare syncfs.
53485 * sysdeps/unix/syscalls.list: Add syncfs.
53487 2011-04-01 Andreas Schwab <schwab@redhat.com>
53489 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53491 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53492 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53493 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53494 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53495 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53496 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53497 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53499 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53501 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53502 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53503 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53505 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53506 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53507 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53509 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53510 sync_file_range.c with -fexceptions.
53511 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53512 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53513 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53514 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53515 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53516 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53518 sync_file_range as cancellation point
53519 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53520 now a wrapper around __call_sync_file_range with cancellation handling.
53521 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53522 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53523 function name to __call_sync_file_range.
53524 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53525 Add call_sync_file_range.
53527 2011-04-01 Andreas Schwab <schwab@redhat.com>
53529 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53532 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53534 * iconv/iconv.h: Fix typo in comment.
53535 * io/fcntl.h: Likewise.
53536 * libio/stdio.h: Likewise.
53537 * posix/spawn.h: Likewise.
53538 * posix/unistd.h: Likewise.
53539 * stdlib/stdlib.h: Likewise.
53540 * time/time.h: Likewise.
53541 * wcsmbs/wchar.h: Likewise.
53543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53544 open_by_handle): Add.
53545 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53546 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53547 Augment a few comments.
53548 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53549 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53552 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53553 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53556 * io/fcntl.h (AT_EMPTY_PATH): Define.
53558 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53560 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53561 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53562 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53564 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53565 * Versions.def: Add GLIBC_2.14.
53566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53569 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53571 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53573 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53575 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53578 * string/test-strncmp.c (do_page_test): New function.
53579 (check2): Likewise.
53580 (test_main): Call check2.
53581 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53583 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53586 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53587 Handle cache information in CPU leaf 4.
53588 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53590 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53593 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53594 character representation.
53595 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53597 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53599 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53600 END(__isnan) to END(__isnanf) to match function entry point/label
53601 EALIGN(__isnanf,...).
53603 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53605 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53607 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53610 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53611 copy from the symbol referenced in the relocation to initialize the
53613 Patch by Piotr Bury <pbury@goahead.com>.
53614 * elf/Makefile: Add rules to build and tst-unique3.
53615 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53616 * elf/tst-unique3.cc: New file.
53617 * elf/tst-unique3.h: New file.
53618 * elf/tst-unique3lib.cc: New file.
53619 * elf/tst-unique3lib2.cc: New file.
53621 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53623 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53625 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53626 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53629 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53631 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53632 to-be-loaded object along a path to loader is ld.so.
53634 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53635 Ulrich Drepper <drepper@gmail.com>
53637 * sysdeps/x86_64/memset.S: After aligning destination, code
53638 branches to different locations depending on the value of
53639 misalignment, when multiarch is enabled. Fix this.
53641 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53643 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53644 Set _x86_64_preferred_memory_instruction for AMD processsors.
53645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53646 Set bit_Prefer_SSE_for_memop for AMD processors.
53648 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53650 * libio/fmemopen.c (fmemopen): Optimize a bit.
53652 2011-03-03 Andreas Schwab <schwab@redhat.com>
53654 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53656 2011-03-03 Roland McGrath <roland@redhat.com>
53658 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53660 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53662 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53663 __bzero_ultra1 instead of __memset_ultra1.
53665 2011-02-23 Andreas Schwab <schwab@redhat.com>
53666 Ulrich Drepper <drepper@gmail.com>
53669 * include/link.h (struct link_map): Add l_orig_initfini.
53670 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53671 returning unsuccessfully.
53672 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53673 close of a file loaded at startup, restore the original l_initfini
53675 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53676 list, store the pointer.
53677 * elf/Makefile ($(objpfx)noload-mem): New rule.
53678 (noload-ENV): Define.
53679 (tests): Add $(objpfx)noload-mem.
53680 * elf/noload.c: Include <memcheck.h>.
53681 (main): Call mtrace. Close all opened handles.
53683 2011-02-17 Andreas Schwab <schwab@redhat.com>
53686 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53687 dependencies are missing.
53689 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53691 Fix __if_freereq crash: Unlike the generic version which uses free,
53693 * sysdeps/mach/hurd/ifreq.h: New file.
53695 2011-01-27 Petr Baudis <pasky@suse.cz>
53696 Ulrich Drepper <drepper@gmail.com>
53699 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53700 to extend_alloca().
53701 * stdio-common/bug23.c: New file.
53702 * stdio-common/Makefile (tests): Add bug23.
53704 2010-09-28 Andreas Schwab <schwab@redhat.com>
53705 Ulrich Drepper <drepper@gmail.com>
53708 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53709 before performing relro protection. At old place add assertion
53710 to make sure nothing changed.
53712 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53713 Glauber de Oliveira Costa <glommer@gmail.com>
53715 * elf/elf.h: Add new ARM TLS relocs.
53717 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53720 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53722 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53724 * sysdeps/wordsize-64/tst-writev.c: New file.
53726 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53728 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53729 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53730 insns in _dl_start to prevent a TOC reference before relocs are
53733 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53736 * Makeconfig: Remove RANLIB definition.
53737 * Makerules: Don't use RANLIB.
53738 * aclocal.m4: Remove ranlib test.
53739 * configure.in: No need to check for ranlib.
53740 * elf/rtld-Rules: Don't use RANLIB.
53742 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53744 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53746 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53747 inclusion protection macro.
53749 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53750 SIGRTMIN and SIGRTMAX and print information in that case only when
53751 SIGRTMIN is defined.
53753 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53755 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53756 arginfo fn returning -1.
53758 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53759 and thousands string is zero terminated.
53761 2011-02-03 Andreas Schwab <schwab@redhat.com>
53763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53764 sysdeps/unix/sysv/linux/bits/socket.h.
53766 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53768 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53769 (__CPU_COUNT): Remove old macros.
53770 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53771 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53772 (__CPU_ALLOC, __CPU_FREE): Add macros.
53773 (__sched_cpualloc, __sched_cpufree): Add declarations.
53775 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53777 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53778 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53779 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53780 (readdhstai): Return value of addhstaiX call.
53781 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53782 (addgrbyX): Return value returned by cache_addgr.
53783 (readdgrbyname): Return value returned by addgrbyX.
53784 (readdgrbygid): Likewise.
53785 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53786 (addpwbyX): Return value returned by cache_addpw.
53787 (readdpwbyname): Return value returned by addhstbyX.
53788 (readdpwbyuid): Likewise.
53789 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53790 (addservbyX): Return value returned by cache_addserv.
53791 (readdservbyname): Return value returned by addservbyX:
53792 (readdservbyport): Likewise.
53793 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53794 (addhstbyX): Return value returned by cache_addhst.
53795 (readdhstbyname): Return value returned by addhstbyX.
53796 (readdhstbyaddr): Likewise.
53797 (readdhstbynamev6): Likewise.
53798 (readdhstbyaddrv6): Likewise.
53799 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53800 (readdinitgroups): Return value returned by addinitgroupsX.
53801 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53802 (prune_cache): Keep track of timeout value of re-added entries.
53803 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53804 * nscd/nscd.h: Adjust prototypes of readd* functions.
53806 2011-02-04 Roland McGrath <roland@redhat.com>
53808 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53809 (nis_stats): Likewise.
53810 * nis/nis_modify.c (nis_modify): Likewise.
53811 * nis/nis_remove.c (nis_remove): Likewise.
53812 * nis/nis_add.c (nis_add): Likewise.
53814 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53816 * posix/fnmatch_loop.c: Add some consts.
53818 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53820 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53823 * config.make.in (config-cflags-novzeroupper): Define.
53824 * configure.in: Substitute libc_cv_cc_novzeroupper.
53825 * elf/Makefile (AVX-CFLAGS): Define.
53826 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53827 (CFLAGS-tst-auditmod4a.c): Likewise.
53828 (CFLAGS-tst-auditmod4b.c): Likewise.
53829 (CFLAGS-tst-auditmod6b.c): Likewise.
53830 (CFLAGS-tst-auditmod6c.c): Likewise.
53831 (CFLAGS-tst-auditmod7b.c): Likewise.
53832 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53834 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53836 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53837 function to the callback.
53838 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53840 2011-02-02 Andreas Schwab <schwab@redhat.com>
53842 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53845 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53848 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53850 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53852 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53855 * elf/Makefile: Add rules to build and run new test.
53856 * elf/tst-initorder.c: New file.
53857 * elf/tst-initorder.exp: New file.
53858 * elf/tst-initordera1.c: New file.
53859 * elf/tst-initordera2.c: New file.
53860 * elf/tst-initordera3.c: New file.
53861 * elf/tst-initordera4.c: New file.
53862 * elf/tst-initorderb1.c: New file.
53863 * elf/tst-initorderb2.c: New file.
53864 * elf/tst-order-a1.c: New file.
53865 * elf/tst-order-a2.c: New file.
53866 * elf/tst-order-a3.c: New file.
53867 * elf/tst-order-a4.c: New file.
53868 * elf/tst-order-b1.c: New file.
53869 * elf/tst-order-b2.c: New file.
53870 * elf/tst-order-main.c: New file.
53871 New test case by George Gensure <werkt0@gmail.com>.
53873 2010-10-01 Andreas Schwab <schwab@redhat.com>
53875 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53876 decoding ACE if AI_CANONIDN.
53878 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53880 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53882 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53884 * version.h (RELEASE): Bump for 2.13 release.
53885 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53887 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53889 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53891 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53892 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53893 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53894 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53895 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53896 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53898 * posix/getconf.c: Update copyright year.
53899 * catgets/gencat.c: Likewise.
53900 * csu/version.c: Likewise.
53901 * debug/catchsegv.sh: Likewise.
53902 * debug/xtrace.sh: Likewise.
53903 * elf/ldconfig.c: Likewise.
53904 * elf/ldd.bash.in: Likewise.
53905 * elf/sprof.c (print_version): Likewise.
53906 * iconv/iconv_prog.c: Likewise.
53907 * iconv/iconvconfig.c: Likewise.
53908 * locale/programs/locale.c: Likewise.
53909 * locale/programs/localedef.c: Likewise.
53910 * malloc/memusage.sh: Likewise.
53911 * malloc/mtrace.pl: Likewise.
53912 * nscd/nscd.c (print_version): Likewise.
53913 * nss/getent.c: Likewise.
53915 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53916 PF_CAIF, and PF_ALG.
53917 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53919 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53921 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53922 (modules-names): Use them.
53923 (ifunc-test-modules, ifunc-pie-tests): Define.
53924 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53925 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53926 (test-extras): Likewise.
53927 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53928 $(compile-command.c).
53929 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53930 (all-built-dso): Define.
53931 (check-textrel.out, check-execstack.out): Depend on it.
53933 * configure.in: Don't override --enable-multi-arch.
53935 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53938 * nscd/hstcache.c (tryagain): Define.
53939 (cache_addhst): Return tryagain not notfound for temporary errors.
53940 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53943 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53946 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53947 to make the syscall.
53948 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53951 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53952 and fall back to matching as normal character if the string ends before
53953 the matching ']' is found. This is what POSIX requires.
53954 * posix/testfnm.c: Adjust test result.
53955 * posix/globtest.sh: Adjust test result. Add new test.
53956 * posix/tst-fnmatch.input: Likewise.
53957 * posix/tst-fnmatch2.c: Add new test.
53959 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53961 * elf/Makefile (check-execstack): Revert last change. Depend on
53963 (check-execstack.h): New target.
53964 (generated): Add check-execstack.h.
53965 * elf/check-execstack.c: Include "check-execstack.h".
53966 (main): Revert last change.
53967 (handle_file): Return zero if GNU_STACK is absent and
53968 DEFAULT_STACK_PERMS doesn't include PF_X.
53970 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53972 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53973 in child fails because the descriptor is already closed.
53974 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53975 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53976 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53979 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53983 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53984 temporary buffer used to handle multi lookups locally.
53985 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53987 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53989 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53992 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53994 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53995 alignment for SSE2.
53997 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54000 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54001 characters. When rounding increased number of integer digits recompute
54003 * stdio-common/tst-grouping.c: New file.
54004 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54006 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54008 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54009 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54011 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54013 * bits/select.h: Likewise.
54015 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54017 * po/ja.po: Update from translation team.
54019 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54022 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54023 implementation just like for lxstat, fxstatat, et al.
54025 2010-12-27 Jim Meyering <meyering@redhat.com>
54028 * posix/regexec.c (build_trtable): Return failure indication upon
54029 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54031 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54034 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54035 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54036 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54037 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54040 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54043 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54044 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54046 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54048 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54049 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54050 script has SORT_BY_INIT_PRIORITY.
54051 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54052 NO_CTORS_DTORS_SECTIONS is defined.
54053 * elf/soinit.c: Likewise.
54054 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54055 NO_CTORS_DTORS_SECTIONS is defined.
54056 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54057 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54058 * sysdeps/sh/init-first.c: Likewise.
54059 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54061 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54063 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54064 always use the slow path.
54066 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54068 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54069 similar rule which adds the sysdep directories to the header search in
54070 order to pick up the correct platform stackinfo.h.
54071 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54072 perform test if it is, otherwise return successfully without testing.
54073 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54074 DEFAULT_STACK_PERMS define in stackinfo.h.
54075 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54076 defined in stackinfo.h.
54077 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54078 DEFAULT_STACK_PERMS defined in stackinfo.h.
54079 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54080 * sysdeps/ia64/stackinfo.h: Likewise.
54081 * sysdeps/s390/stackinfo.h: Likewise.
54082 * sysdeps/sh/stackinfo.h: Likewise.
54083 * sysdeps/sparc/stackinfo.h: Likewise.
54084 * sysdeps/x86_64/stackinfo.h: Likewise.
54085 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54086 PF_X for powerpc64. Retain PF_X for powerpc32.
54088 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54090 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54092 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54093 GETDENTS_64BIT_ALIGNED.
54095 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54097 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54099 2010-12-10 Andreas Schwab <schwab@redhat.com>
54101 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54104 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54105 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54107 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54108 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54110 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54113 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54116 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54118 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54120 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54122 * po/it.po: Update from translation team.
54124 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54126 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54129 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54131 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54133 2010-11-24 Andreas Schwab <schwab@redhat.com>
54135 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54137 (gaih_getanswer_slice): Likewise.
54139 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54143 2010-05-31 Petr Baudis <pasky@suse.cz>
54146 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54147 silently even in the chroot mode.
54149 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54151 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54152 last patch a bit. Pretty printing
54154 2010-05-31 Petr Baudis <pasky@suse.cz>
54157 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54158 initialization of skip_initgroups_dyn.
54160 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54162 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54165 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54167 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54169 2010-11-11 Andreas Schwab <schwab@redhat.com>
54171 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54172 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54173 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54174 ($(objpfx)tst-fnmatch-mem): New rule.
54175 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54176 * posix/tst-fnmatch.c (main): Call mtrace.
54178 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54180 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54181 Support Intel processor model 6 and model 0x2c.
54183 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54185 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54188 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54191 * string/test-strncasecmp.c (check_result): New function.
54192 (do_one_test): Use it.
54193 (check1): New function.
54194 (test_main): Use it.
54195 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54196 Support strcasecmp and strncasecmp.
54198 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54201 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54202 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54204 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54206 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54210 * sysdeps/x86_64/multiarch/bzero.S: New file.
54211 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54212 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54213 * sysdeps/x86_64/multiarch/memset.S: New file.
54214 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54216 Set bit_Prefer_SSE_for_memop for Intel processors.
54217 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54219 (index_Prefer_SSE_for_memop): Define.
54220 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54222 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54224 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54225 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54227 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54230 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54231 (__x86_64_raw_data_cache_size_half): Likewise.
54232 (__x86_64_raw_shared_cache_size): Likewise.
54233 (__x86_64_raw_shared_cache_size_half): Likewise.
54235 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54236 (__x86_64_raw_data_cache_size_half): Likewise.
54237 (__x86_64_raw_shared_cache_size): Likewise.
54238 (__x86_64_raw_shared_cache_size_half): Likewise.
54239 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54240 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54241 and __x86_64_raw_shared_cache_size_half. Round
54242 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54243 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54244 to multiple of 256 bytes.
54246 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54249 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54250 of inacessible symlinks. Verify result of symlink before returning it.
54251 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54252 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54254 2010-10-28 Erich Ritz <erichritz@gmail.com>
54256 * math/math.h (isinf): Fix typo in comment.
54258 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54260 * po/da.po: Update from translation team.
54262 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54264 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54265 is added to the list.
54267 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54268 Ulrich Drepper <drepper@gmail.com>
54270 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54271 the global list here. Move code to...
54272 (_dl_add_to_namespace_list): ...here. New function.
54273 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54274 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54275 * elf/dl-load.c (lose): Don't remove the element from the list.
54276 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54277 (_dl_map_object): Likewise.
54279 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54282 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54283 into all bytes of SSE register.
54284 Patch by Richard Li <richardpku@gmail.com>.
54286 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54289 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54292 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54294 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54295 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54296 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54297 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54302 2010-10-22 Andreas Schwab <schwab@redhat.com>
54304 * include/dlfcn.h (__RTLD_SECURE): Define.
54305 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54306 mode & __RTLD_SECURE instead.
54307 (open_path): Rename preloaded parameter to secure.
54308 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54309 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54310 * elf/dl-deps.c (openaux): Likewise.
54311 * elf/rtld.c (struct map_args): Remove is_preloaded.
54312 (map_doit): Don't use it.
54313 (dl_main): Likewise.
54314 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54315 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54317 2010-09-09 Andreas Schwab <schwab@redhat.com>
54319 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54320 (sysd-rules-targets): Remove duplicates.
54321 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54322 rtld-%.$o dependency.
54324 2010-10-18 Andreas Schwab <schwab@redhat.com>
54326 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54327 _dl_map_object do it.
54329 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54331 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54332 fast fma builtins, define the macros in the C99 standard.
54333 (FP_FAST_FMAF): Likewise.
54334 (FP_FAST_FMAL): Likewise.
54335 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54337 * bits/mathdef.h: Update copyright year.
54338 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54340 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54342 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54343 builtins, define the macros in the C99 standard.
54344 (FP_FAST_FMAF): Likewise.
54345 (FP_FAST_FMAL): Likewise.
54346 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54348 (FP_FAST_FMAF): Likewise.
54350 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54353 * math/libm-test.inc (fma_test): Some new testcases.
54354 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54355 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54356 y and infinite z. Do multiplication by C already in long double.
54357 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54358 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54359 y and infinite z. Do bitwise or of inexact bit into u.d.
54360 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54361 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54362 * sysdeps/i386/fpu/s_fma.S: Removed.
54363 * sysdeps/i386/fpu/s_fmal.S: Removed.
54365 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54368 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54370 computation is not scheduled after fetestexcept. Fix value
54371 of minimum denormal long double.
54373 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54376 * math/libm-test.inc (fma_test): Add some more tests.
54377 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54380 2010-10-15 Andreas Schwab <schwab@redhat.com>
54382 * scripts/data/localplt-s390-linux-gnu.data: New file.
54383 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54385 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54388 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54389 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54391 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54393 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54395 if one of x and y is very large and the other is subnormal.
54396 * sysdeps/s390/fpu/s_fmaf.c: New file.
54397 * sysdeps/s390/fpu/s_fma.c: New file.
54398 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54399 * sysdeps/powerpc/fpu/s_fma.S: New file.
54400 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54401 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54402 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54404 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54407 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54409 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54410 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54411 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54412 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54413 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54414 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54415 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54417 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54420 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54421 * posix/bug-regex31.input: Add test case.
54423 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54425 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54426 * posix/bug-regex31.input: New file.
54429 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54430 (parse_sub_exp): Fix last change, use postorder.
54432 * posix/bug-regex31.c: New file.
54433 * posix/Makefile: Add rules to build and run bug-regex31.
54435 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54438 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54441 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54442 to have entries in sys_siglist.
54445 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54448 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54451 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54452 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54453 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54454 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54455 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54456 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54457 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54458 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54459 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54460 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54461 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54462 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54463 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54464 * math/ftestexcept.c (fetestexcept): Likewise.
54465 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54466 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54467 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54468 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54469 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54470 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54471 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54473 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54476 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54479 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54481 * string/bug-strstr1.c: New file.
54482 * string/Makefile: Add rules to build and run bug-strstr1.
54484 2010-10-05 Eric Blake <eblake@redhat.com>
54487 * string/str-two-way.h (two_way_long_needle): Always clear memory
54488 when skipping input due to the shift table.
54490 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54493 * malloc/mcheck.c: Handle large requests.
54496 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54497 for strncmp and strncasecmp.
54498 * string/stratcliff.c: Add tests for strcmp and strncmp.
54499 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54501 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54503 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54506 2010-09-30 Andreas Jaeger <aj@suse.de>
54508 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54509 (CGROUP_SUPER_MAGIC): Define.
54510 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54511 Handle btrfs and cgroup file systems.
54512 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54515 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54517 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54518 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54520 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54523 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54524 trying to locate the ELF header.
54526 2010-09-27 Andreas Schwab <schwab@redhat.com>
54529 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54530 Mask out sign-bit copies when constructing f_fsid.
54532 2010-09-24 Petr Baudis <pasky@suse.cz>
54534 * debug/stack_chk_fail_local.c: Add missing licence exception.
54535 * debug/warning-nop.c: Likewise.
54537 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54539 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54540 implementing getdents64 using getdents syscall, set d_type if
54541 __ASSUME_GETDENTS32_D_TYPE.
54543 2010-09-16 Andreas Schwab <schwab@redhat.com>
54545 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54546 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54548 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54551 * posix/unistd.h: Undo change of feature selection for ftruncate from
54554 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54556 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54559 2010-09-20 Andreas Schwab <schwab@redhat.com>
54561 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54565 2010-09-14 Andreas Schwab <schwab@redhat.com>
54567 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54568 variables after CHECK_SP call.
54569 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54571 2010-09-13 Andreas Schwab <schwab@redhat.com>
54572 Ulrich Drepper <drepper@redhat.com>
54574 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54575 re-relocationg ld.so.
54576 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54577 _dl_init_paths call.
54578 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54581 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54583 * resolv/res_init.c (__res_vinit): Count the default server we added.
54585 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54586 Ulrich Drepper <drepper@redhat.com>
54589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54590 (____longjmp_chk): Use %ebx for saving value across system call.
54593 2010-09-06 Andreas Schwab <schwab@redhat.com>
54595 * manual/Makefile: Don't mix pattern rules with normal rules.
54597 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54599 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54601 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54602 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54603 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54604 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54605 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54608 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54611 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54612 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54614 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54616 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54617 * sysdeps/x86_64/addmul_1.S: Likewise.
54618 * sysdeps/x86_64/lshift.S: Likewise.
54619 * sysdeps/x86_64/mul_1.S: Likewise.
54620 * sysdeps/x86_64/rshift.S: Likewise.
54621 * sysdeps/x86_64/sub_n.S: Likewise.
54622 * sysdeps/x86_64/submul_1.S: Likewise.
54624 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54626 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54627 Define __sched_param instead of SCHED_* and sched_param when
54628 <bits/sched.h> is included with __need_schedparam defined.
54629 * bits/sched.h [__need_schedparam]
54630 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54631 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54632 (__defined_schedparam): Define to 1.
54633 (__sched_param): New structure, identical to sched_param.
54634 (__need_schedparam): Undefine.
54636 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54638 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54639 (epoll_create1): Declare.
54641 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54643 2010-08-31 Andreas Schwab <schwab@redhat.com>
54646 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54647 shifting retval into place.
54649 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54651 * nis/rpcsvc/nis.h: Update copyright notice.
54652 * nis/rpcsvc/nis.x: Likewise.
54653 * nis/rpcsvc/nis_callback.h: Likewise.
54654 * nis/rpcsvc/nis_callback.x: Likewise.
54655 * nis/rpcsvc/nis_object.x: Likewise.
54656 * nis/rpcsvc/nis_tags.h: Likewise.
54657 * nis/rpcsvc/yp.h: Likewise.
54658 * nis/rpcsvc/yp.x: Likewise.
54659 * nis/rpcsvc/ypupd.h: Likewise.
54660 * nis/yp_xdr.c: Likewise.
54661 * nis/ypupdate_xdr.c: Likewise.
54663 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54664 mainly the body of pmap_getport. Add parameters to specify timeouts.
54665 (pmap_getport): Use __libc_rpc_getport.
54666 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54667 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54668 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54670 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54675 2010-08-27 Roland McGrath <roland@redhat.com>
54677 * sysdeps/i386/i686/multiarch/Makefile
54678 (CFLAGS-varshift.c): New variable.
54680 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54682 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54683 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54687 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54689 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54691 * sysdeps/x86_64/strlen.S: Unroll the loop.
54692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54693 strlen-sse2 strlen-sse2-bsf.
54694 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54695 __strlen_no_bsf if bit_Slow_BSF is set.
54696 (__strlen_sse42): Removed.
54697 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54698 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54700 2010-08-25 Roland McGrath <roland@redhat.com>
54702 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54703 * sysdeps/x86_64/multiarch/varshift.c: New file.
54704 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54705 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54706 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54707 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54709 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54711 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54712 strlen-sse2 strlen-sse2-bsf.
54713 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54714 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54715 (__strlen_sse2): Removed.
54716 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54717 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54719 bit_Slow_BSF for Atom.
54720 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54721 (index_Slow_BSF): Define.
54722 (HAS_SLOW_BSF): Define.
54724 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54727 * resolv/res_init.c (__res_vinit): When no server address at all
54728 is given default to loopback.
54730 2010-08-24 Roland McGrath <roland@redhat.com>
54732 * configure.in: Remove config-name.h generation.
54733 * configure: Regenerated.
54734 * config-name.in: File removed.
54735 * scripts/config-uname.sh: New file.
54736 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54737 ($(objdir)config-name.h): New target.
54739 * sunrpc/rpc_parse.h: Avoid nested comment.
54741 2010-08-24 Richard Henderson <rth@redhat.com>
54742 Ulrich Drepper <drepper@redhat.com>
54743 H.J. Lu <hongjiu.lu@intel.com>
54745 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54746 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54747 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54748 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54749 _mm_alignr_epi8 with _mm_loadu_si128.
54750 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54751 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54752 (__m128i_shift_right): Removed.
54753 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54754 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54755 * sysdeps/x86_64/multiarch/varshift.h: New file.
54756 * sysdeps/x86_64/multiarch/varshift.S: New file.
54758 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54760 * configure.in: Move assembler checks to before sysdep dir checking.
54762 2010-08-20 Petr Baudis <pasky@suse.cz>
54764 * LICENSES: Sync the sunrpc license.
54766 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54768 * sunrpc/auth_des.c: Update copyright notice once again.
54769 * sunrpc/auth_none.c: Likewise.
54770 * sunrpc/auth_unix.c: Likewise.
54771 * sunrpc/authdes_prot.c: Likewise.
54772 * sunrpc/authuxprot.c: Likewise.
54773 * sunrpc/bindrsvprt.c: Likewise.
54774 * sunrpc/clnt_gen.c: Likewise.
54775 * sunrpc/clnt_perr.c: Likewise.
54776 * sunrpc/clnt_raw.c: Likewise.
54777 * sunrpc/clnt_simp.c: Likewise.
54778 * sunrpc/clnt_tcp.c: Likewise.
54779 * sunrpc/clnt_udp.c: Likewise.
54780 * sunrpc/clnt_unix.c: Likewise.
54781 * sunrpc/des_crypt.c: Likewise.
54782 * sunrpc/des_soft.c: Likewise.
54783 * sunrpc/get_myaddr.c: Likewise.
54784 * sunrpc/getrpcport.c: Likewise.
54785 * sunrpc/key_call.c: Likewise.
54786 * sunrpc/key_prot.c: Likewise.
54787 * sunrpc/openchild.c: Likewise.
54788 * sunrpc/pm_getmaps.c: Likewise.
54789 * sunrpc/pm_getport.c: Likewise.
54790 * sunrpc/pmap_clnt.c: Likewise.
54791 * sunrpc/pmap_prot.c: Likewise.
54792 * sunrpc/pmap_prot2.c: Likewise.
54793 * sunrpc/pmap_rmt.c: Likewise.
54794 * sunrpc/rpc/auth.h: Likewise.
54795 * sunrpc/rpc/auth_unix.h: Likewise.
54796 * sunrpc/rpc/clnt.h: Likewise.
54797 * sunrpc/rpc/des_crypt.h: Likewise.
54798 * sunrpc/rpc/key_prot.h: Likewise.
54799 * sunrpc/rpc/netdb.h: Likewise.
54800 * sunrpc/rpc/pmap_clnt.h: Likewise.
54801 * sunrpc/rpc/pmap_prot.h: Likewise.
54802 * sunrpc/rpc/pmap_rmt.h: Likewise.
54803 * sunrpc/rpc/rpc.h: Likewise.
54804 * sunrpc/rpc/rpc_des.h: Likewise.
54805 * sunrpc/rpc/rpc_msg.h: Likewise.
54806 * sunrpc/rpc/svc.h: Likewise.
54807 * sunrpc/rpc/svc_auth.h: Likewise.
54808 * sunrpc/rpc/types.h: Likewise.
54809 * sunrpc/rpc/xdr.h: Likewise.
54810 * sunrpc/rpc_clntout.c: Likewise.
54811 * sunrpc/rpc_cmsg.c: Likewise.
54812 * sunrpc/rpc_common.c: Likewise.
54813 * sunrpc/rpc_cout.c: Likewise.
54814 * sunrpc/rpc_dtable.c: Likewise.
54815 * sunrpc/rpc_hout.c: Likewise.
54816 * sunrpc/rpc_main.c: Likewise.
54817 * sunrpc/rpc_parse.c: Likewise.
54818 * sunrpc/rpc_parse.h: Likewise.
54819 * sunrpc/rpc_prot.c: Likewise.
54820 * sunrpc/rpc_sample.c: Likewise.
54821 * sunrpc/rpc_scan.c: Likewise.
54822 * sunrpc/rpc_scan.h: Likewise.
54823 * sunrpc/rpc_svcout.c: Likewise.
54824 * sunrpc/rpc_tblout.c: Likewise.
54825 * sunrpc/rpc_util.c: Likewise.
54826 * sunrpc/rpc_util.h: Likewise.
54827 * sunrpc/rpcinfo.c: Likewise.
54828 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54829 * sunrpc/rpcsvc/key_prot.x: Likewise.
54830 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54831 * sunrpc/rpcsvc/mount.x: Likewise.
54832 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54833 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54834 * sunrpc/rpcsvc/rex.x: Likewise.
54835 * sunrpc/rpcsvc/rstat.x: Likewise.
54836 * sunrpc/rpcsvc/rusers.x: Likewise.
54837 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54838 * sunrpc/rpcsvc/spray.x: Likewise.
54839 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54840 * sunrpc/rtime.c: Likewise.
54841 * sunrpc/svc.c: Likewise.
54842 * sunrpc/svc_auth.c: Likewise.
54843 * sunrpc/svc_authux.c: Likewise.
54844 * sunrpc/svc_raw.c: Likewise.
54845 * sunrpc/svc_run.c: Likewise.
54846 * sunrpc/svc_simple.c: Likewise.
54847 * sunrpc/svc_tcp.c: Likewise.
54848 * sunrpc/svc_udp.c: Likewise.
54849 * sunrpc/svc_unix.c: Likewise.
54850 * sunrpc/svcauth_des.c: Likewise.
54851 * sunrpc/xcrypt.c: Likewise.
54852 * sunrpc/xdr.c: Likewise.
54853 * sunrpc/xdr_array.c: Likewise.
54854 * sunrpc/xdr_float.c: Likewise.
54855 * sunrpc/xdr_mem.c: Likewise.
54856 * sunrpc/xdr_rec.c: Likewise.
54857 * sunrpc/xdr_ref.c: Likewise.
54858 * sunrpc/xdr_sizeof.c: Likewise.
54859 * sunrpc/xdr_stdio.c: Likewise.
54861 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54864 2010-08-19 Andreas Schwab <schwab@redhat.com>
54866 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54868 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54870 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54871 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54872 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54873 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54874 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54875 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54876 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54877 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54879 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54880 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54881 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54882 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54883 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54885 2010-07-26 Anton Blanchard <anton@samba.org>
54887 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54888 * malloc/arena.c (heap_trim): Likewise.
54890 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54892 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54895 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54897 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54899 * sysdeps/i386/elf/Makefile: New file.
54901 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54903 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54904 from fanotify_init.
54905 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54906 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54908 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54910 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54912 * sysdeps/multiarch/strcmp.S: Likewise.
54914 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54916 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54917 strncase_l-nonascii.
54918 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54919 Add strncase_l-ssse3.
54920 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54921 * sysdeps/x86_64/strcmp.S: Likewise.
54922 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54923 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54924 * sysdeps/x86_64/strncase.S: New file.
54925 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54926 * sysdeps/x86_64/strncase_l.S: New file.
54927 * string/Makefile (strop-tests): Add strncasecmp.
54928 * string/test-strncasecmp.c: New file.
54930 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54933 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54934 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54936 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54938 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54940 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54942 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54943 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54944 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54946 2010-05-01 Alan Modra <amodra@gmail.com>
54948 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54949 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54950 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54951 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54952 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54953 tidying. Don't tail-call __sigjmp_save for static lib.
54954 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54956 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54957 (CALL_MCOUNT): Add eh info, and nop after bl.
54958 (TAIL_CALL_SYSCALL_ERROR): New macro.
54959 (PSEUDO_RET): Use it.
54960 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54961 Correct save location of integer regs and cr.
54962 (_dl_profile_resolve): Correct cr save location. Delete nops
54963 after bl when SHARED. Reduce cfi size a little by better
54964 placement of cfi directives.
54965 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54966 make a stack frame. Instead use parm save area as a temp.
54967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54968 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54970 Don't make a stack frame for parent, use parm save area.
54971 Increase child stack frame to 112 bytes. Don't save unused reg,
54972 and adjust reg usage. Set up cfi on error recovery and
54973 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54975 (__makecontext): Add dummy nop after jump to exit.
54976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54977 Use correct parm save area and cr save, reduce stack frame.
54978 Correct cfi for possible PSEUDO_RET frame setup.
54979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54980 Branch to local label emitted by PSEUDO_RET rather than
54983 2010-08-12 Andreas Schwab <schwab@redhat.com>
54986 * locale/programs/locale.c (print_assignment): New function.
54987 (show_locale_vars): Use it.
54989 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54991 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54993 (struct statfs64): Likewise.
54994 (_STATFS_F_FLAGS): Define.
54995 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54996 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54997 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54998 (ST_VALID): Define locally.
54999 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55000 __statvfs_getflags, use the provided value.
55001 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55002 __ASSUME_STATFS_F_FLAGS.
55004 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55006 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55007 Add sys/fanotify.h.
55008 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55009 fanotify_mask for GLIBC_2.13.
55010 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55011 fanotify_init and fanotify_mark.
55012 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55013 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55015 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55017 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55018 prlimit64 for GLIBC_2.13.
55019 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55021 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55024 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55025 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55026 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55029 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55032 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55033 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55035 * nss/Makefile: Add rules to build and run tst-nss-test1.
55036 * shlib-versions: Add entry for libnss_test1.
55037 * nss/nss_test1.c: New file.
55038 * nss/tst-nss-test1.c: New file.
55040 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55041 (__nss_configure_lookup): Set appropriate entry in
55042 __nss_configure_lookup to true.
55043 * nss/nsswitch.h: Define enum with indeces of databases in
55044 databases and __nss_database_custom arrays. Declare
55045 __nss_database_custom.
55046 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55047 to avoid using nscd when custom rules are installed.
55048 * nss/getXXbyYY_r.c: Likewise.
55049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55051 * nss/nss_files/files-parse.c: Whitespace fixes.
55053 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55056 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55057 * posix/fnmatch_loop.c: Likewise.
55059 2010-07-17 Andi Kleen <ak@linux.intel.com>
55061 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55062 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55063 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55064 * Versions.def [GLIBC_2.13]: Add.
55066 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55069 Also fail if tpwd after pwuid call is NULL.
55071 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55073 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55074 when converting to ms.
55076 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55078 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55079 EOPNOTSUPP errors with ENOTTY.
55080 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55081 EOPNOTSUPP errors with ENOTTY.
55083 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55085 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55086 Add strcasecmp_l-ssse3.
55087 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55089 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55090 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55091 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55093 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55095 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55097 * string/Makefile (strop-tests): Add strcasecmp.
55098 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55099 strcasecmp_l-nonascii.
55100 (gen-as-const-headers): Add locale-defines.sym.
55101 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55102 * sysdeps/x86_64/strcasecmp.S: New file.
55103 * sysdeps/x86_64/strcasecmp_l.S: New file.
55104 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55105 * sysdeps/x86_64/locale-defines.sym: New file.
55106 * string/test-strcasecmp.c: New file.
55108 * string/test-strcasestr.c: Test both ends of the range of characters.
55109 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55111 2010-07-29 Roland McGrath <roland@redhat.com>
55114 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55116 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55118 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55121 2010-07-27 Andreas Schwab <schwab@redhat.com>
55123 * manual/memory.texi (Malloc Tunable Parameters): Document
55126 2010-07-26 Roland McGrath <roland@redhat.com>
55129 * configure.in (-fgnu89-inline check): Set and substitute
55130 gnu89_inline, not libc_cv_gnu89_inline.
55131 * configure: Regenerated.
55132 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55134 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55136 * string/test-strnlen.c: New file.
55137 * string/Makefile (strop-tests): Add strnlen.
55138 * string/tester.c (test_strnlen): Add a few more test cases.
55139 * string/tst-strlen.c: Better error reporting.
55141 * sysdeps/x86_64/strnlen.S: New file.
55143 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55145 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55146 lower-latency instructions.
55148 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55150 * string/test-strcasestr.c: New file.
55151 * string/test-strstr.c: New file.
55152 * string/Makefile (strop-tests): Add strstr and strcasestr.
55153 * string/str-two-way.h: Don't undefine MAX.
55154 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55156 2010-07-21 Andreas Schwab <schwab@redhat.com>
55158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55159 strcasestr-nonascii.
55160 (CFLAGS-strcasestr-nonascii.c): Define.
55161 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55162 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55163 Remove unused attribute.
55165 2010-07-20 Roland McGrath <roland@redhat.com>
55167 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55168 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55169 ld.so.cache was broken. With it, there is no way to disable dsocaps
55170 like LD_HWCAP_MASK can disable hwcaps.
55172 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55174 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55176 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55178 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55179 call in strcasestr.
55180 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55181 __strcasestr_sse42_nonascii.
55182 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55183 strcasestr-nonascii.c.
55184 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55186 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55188 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55189 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55190 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55191 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55193 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55195 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55198 2010-07-06 Andreas Schwab <schwab@redhat.com>
55201 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55204 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55206 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55207 _PC_PIPE_BUF using F_GETPIPE_SZ.
55209 2010-07-05 Roland McGrath <roland@redhat.com>
55211 * manual/arith.texi (Rounding Functions): Fix rint description
55212 implicit in round description.
55214 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55216 * elf/Makefile: Fix linking for a few tests to make recent linker
55219 2010-06-30 Andreas Schwab <schwab@redhat.com>
55221 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55222 $(common-objpfx)libc_nonshared.a.
55224 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55226 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55227 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55228 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55229 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55230 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55231 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55232 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55233 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55248 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55249 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55250 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55251 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55252 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55253 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55254 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55255 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55256 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55257 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55258 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55259 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55275 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55277 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55278 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55279 * string/memmove.c (memmove): Renamed to ...
55280 (MEMMOVE): ...this. Default to memmove.
55281 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55282 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55285 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55286 mempcpy-ssse3-back memmove-ssse3-back.
55287 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55288 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55289 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55290 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55291 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55292 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55293 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55294 * sysdeps/x86_64/multiarch/memmove.c: New file.
55295 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55296 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55297 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55298 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55299 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55300 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55302 (index_Fast_Copy_Backward): Define.
55303 (HAS_ARCH_FEATURE): Define.
55304 (HAS_FAST_REP_STRING): Define.
55305 (HAS_FAST_COPY_BACKWARD): Define.
55307 2010-06-21 Andreas Schwab <schwab@redhat.com>
55309 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55310 Restore proper fallback handling.
55312 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55315 * posix/group_member.c (__group_member): Correct checking loop.
55317 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55318 OOM in getpwuid_r correctly. Return error number when the caller
55319 should return, otherwise -1.
55320 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55321 call returning > 0 value.
55322 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55324 2010-06-07 Andreas Schwab <schwab@redhat.com>
55326 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55327 libc_nonshared.a from targets in modules-names.
55329 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55331 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55334 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55336 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55337 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55338 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55339 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55341 2010-06-02 Andreas Schwab <schwab@redhat.com>
55343 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55345 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55347 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55353 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55354 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55356 2010-06-14 Roland McGrath <roland@redhat.com>
55358 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55360 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55362 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55363 __REDIRECT followed by __THROW.
55364 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55365 * posix/getopt.h (getopt): Likewise.
55367 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55369 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55370 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55371 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55373 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55374 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55376 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55378 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55380 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55384 Properly check family and model.
55386 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55388 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55390 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55392 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55394 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55396 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55399 2010-05-19 Andreas Schwab <schwab@redhat.com>
55401 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55404 2010-05-21 Andreas Schwab <schwab@redhat.com>
55406 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55407 and internal_recvmmsg.
55408 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55409 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55410 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55411 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55413 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55414 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55415 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55417 2010-05-20 Andreas Schwab <schwab@redhat.com>
55419 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55421 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55423 POWER7 optimizations.
55424 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55425 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55427 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55429 * version.h: Update for 2.13 development version.
55431 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55433 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55434 exceptions. Return 0.
55436 2010-05-07 Roland McGrath <roland@redhat.com>
55438 * elf/ldconfig.c (main): Add a const.
55440 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55442 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55443 (args_options): Add no-idn option.
55444 (ahosts_keys_int): Add idn_flags to ai_flags.
55445 (parse_option): Handle 'i' option to clear idn_flags.
55447 * malloc/malloc.c (_int_free): Possible race in the most recently
55448 added check. Only act on the data if no current modification
55451 See ChangeLog.17 for earlier changes.