1 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6 __tls_get_addr_internal instead of __tls_get_offset in order to
7 avoid GOT pointer dependency. Make rtld export
8 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9 __tls_get_addr since we are a __tls_get_offset platform.
10 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11 GOT pointer being set up before.
12 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14 2013-11-28 Joseph Myers <joseph@codesourcery.com>
16 * manual/math.texi (Errors in Math Functions): Document accuracy
20 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
23 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
28 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
30 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
38 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
39 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
41 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
48 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50 atomic-feupdateenv and flt-rounds.
51 * sysdeps/powerpc/nofpu/Versions (libc): Add
52 __atomic_feholdexcept, __atomic_feclearexcept,
53 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
55 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
56 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
59 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
62 * manual/arith.texi (FP Exceptions): Document that exceptions may
63 not be raised when matherr is used.
64 (Math Error Reporting): Document overflow in directed rounding
65 modes. Document that errno may not be set when finite values are
66 returned on overflow. Document intent to set errno on underflow
67 only for underflow to zero.
70 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
71 round-to-nearest then adjust result for other rounding modes.
72 * include/fenv.h (fegetround): Use libm_hidden_proto.
73 * math/fegetround.c (fegetround): Use libm_hidden_def.
74 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
75 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
76 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
77 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
79 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
80 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
81 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
82 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
84 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
87 * nss/Versions (libnss_files): Add
88 _nss_files_gethostbyname3_r.
89 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
91 (HOST_DB_LOOKUP): Remove macro.
92 (_nss_files_gethostbyname_r): Implement function without the
94 (_nss_files_gethostbyname2_r): Likewise.
96 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
98 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
100 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
102 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
103 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
106 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
108 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
109 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
110 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
111 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
112 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
113 __fe_nomask_env_priv and attribute_hidden.
114 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
115 (libc_feupdateenv_test_ppc): Likewise.
116 (libc_feresetround_ppc): Likewise.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
118 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
121 (__fe_nomask_env): Likewise.
122 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
124 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
126 * string/Makefile: Remove ifunc tests.
127 * string/test-string.h: Define TEST_IFUNC.
128 * string/test-bcopy-ifunc.c: Remove.
129 * string/test-bzero-ifunc.c: Likewise.
130 * string/test-memccpy-ifunc.c: Likewise.
131 * string/test-memchr-ifunc.c: Likewise.
132 * string/test-memcmp-ifunc.c: Likewise.
133 * string/test-memcpy-ifunc.c: Likewise.
134 * string/test-memmem-ifunc.c: Likewise.
135 * string/test-memmove-ifunc.c: Likewise.
136 * string/test-mempcpy-ifunc.c: Likewise.
137 * string/test-memrchr-ifunc.c: Likewise.
138 * string/test-memset-ifunc.c: Likewise.
139 * string/test-rawmemchr-ifunc.c: Likewise.
140 * string/test-stpcpy-ifunc.c: Likewise.
141 * string/test-stpncpy-ifunc.c: Likewise.
142 * string/test-strcasecmp-ifunc.c: Likewise.
143 * string/test-strcasestr-ifunc.c: Likewise.
144 * string/test-strcat-ifunc.c: Likewise.
145 * string/test-strchr-ifunc.c: Likewise.
146 * string/test-strchrnul-ifunc.c: Likewise.
147 * string/test-strcmp-ifunc.c: Likewise.
148 * string/test-strcpy-ifunc.c: Likewise.
149 * string/test-strcspn-ifunc.c: Likewise.
150 * string/test-strlen-ifunc.c: Likewise.
151 * string/test-strncasecmp-ifunc.c: Likewise.
152 * string/test-strncat-ifunc.c: Likewise.
153 * string/test-strncmp-ifunc.c: Likewise.
154 * string/test-strncpy-ifunc.c: Likewise.
155 * string/test-strnlen-ifunc.c: Likewise.
156 * string/test-strpbrk-ifunc.c: Likewise.
157 * string/test-strrchr-ifunc.c: Likewise.
158 * string/test-strspn-ifunc.c: Likewise.
159 * string/test-strstr-ifunc.c: Likewise.
161 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
163 * benchtests/Makefile: Remove ifunc tests.
164 * benchtests/bench-string.h: Define TEST_IFUNC.
165 * benchtests/bench-bcopy-ifunc.c: Remove.
166 * benchtests/bench-bzero-ifunc.c: Likewise.
167 * benchtests/bench-memccpy-ifunc.c: Likewise.
168 * benchtests/bench-memchr-ifunc.c: Likewise.
169 * benchtests/bench-memcmp-ifunc.c: Likewise.
170 * benchtests/bench-memcpy-ifunc.c: Likewise.
171 * benchtests/bench-memmem-ifunc.c: Likewise.
172 * benchtests/bench-memmove-ifunc.c: Likewise.
173 * benchtests/bench-mempcpy-ifunc.c: Likewise.
174 * benchtests/bench-memrchr-ifunc.c: Likewise.
175 * benchtests/bench-memset-ifunc.c: Likewise.
176 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
177 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
178 * benchtests/bench-stpcpy-ifunc.c: Likewise.
179 * benchtests/bench-stpncpy-ifunc.c: Likewise.
180 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
181 * benchtests/bench-strcasestr-ifunc.c: Likewise.
182 * benchtests/bench-strcat-ifunc.c: Likewise.
183 * benchtests/bench-strchr-ifunc.c: Likewise.
184 * benchtests/bench-strchrnul-ifunc.c: Likewise.
185 * benchtests/bench-strcmp-ifunc.c: Likewise.
186 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
187 * benchtests/bench-strcpy-ifunc.c: Likewise.
188 * benchtests/bench-strcspn-ifunc.c: Likewise.
189 * benchtests/bench-strlen-ifunc.c: Likewise.
190 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
191 * benchtests/bench-strncat-ifunc.c: Likewise.
192 * benchtests/bench-strncmp-ifunc.c: Likewise.
193 * benchtests/bench-strncpy-ifunc.c: Likewise.
194 * benchtests/bench-strnlen-ifunc.c: Likewise.
195 * benchtests/bench-strpbrk-ifunc.c: Likewise.
196 * benchtests/bench-strrchr-ifunc.c: Likewise.
197 * benchtests/bench-strsep-ifunc.c: Likewise.
198 * benchtests/bench-strspn-ifunc.c: Likewise.
199 * benchtests/bench-strstr-ifunc.c: Likewise.
201 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
203 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
205 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
207 * resolv/netdb.h: Use __glibc_reserved instead __unused.
208 * rt/aio.h: Likewise.
209 * sysdeps/gnu/bits/utmp.h: Likewise.
210 * sysdeps/gnu/bits/utmpx.h: Likewise.
211 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
212 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
213 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
214 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
215 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
216 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
217 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
218 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
219 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
220 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
222 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
223 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
225 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
226 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
227 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
228 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
229 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
230 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
231 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
232 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
233 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
234 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
235 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
237 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
238 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
239 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
240 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
241 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
242 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
243 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
244 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
245 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
246 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
247 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
248 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
249 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
250 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
251 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
252 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
254 2013-11-25 Carlos O'Donell <carlos@redhat.com>
257 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
258 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
260 2013-11-25 Joseph Myers <joseph@codesourcery.com>
262 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
263 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
266 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
268 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
269 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
270 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
271 (__fesetround): Remove define.
272 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
273 rounding and exceptions handling.
274 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
275 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
276 (__fe_nomask_env): Likewise.
277 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
278 __fegetround instead of fegetround.
279 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
280 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
282 2013-11-21 Roland McGrath <roland@hack.frob.com>
284 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
287 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
289 2013-11-21 Meador Inge <meadori@codesourcery.com>
292 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
293 (encrypt_r): Likewise.
294 * malloc/obstack.h (obstack_free): Likewise.
295 * posix/unistd.h (encrypt): Likewise.
297 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
299 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
300 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
301 DL_CALL_DT_FINI() that call the functions directly.
302 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
303 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
304 * elf/dl-fini.c: Likewise.
306 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
308 * malloc/hooks.c (memalign_check): Add alignment rounding.
309 * malloc/malloc.c (_mid_memalign): New function.
310 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
311 Implement by calling _mid_memalign.
312 * manual/probes.texi (Memory Allocation Probes): Remove
313 memory_valloc_retry and memory_pvalloc_retry.
315 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
317 * locale/programs/locarchive.c (open_archive): Add const
318 qualifier to ARCHIVEFNAME and copy default fname to
322 * libio/tst-widetext.input: Rename Oriya to Odia.
323 * locale/iso-639.def: Likewise.
325 * manual/probes.texi (Mathematical Function Probes): Add
326 documentation for sin, cos, asin and acos probes.
327 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
328 (__sin32): Add slowasin probe.
329 (__cos32): Add slowacos probe.
330 (__mpsin): Add slowsin probe.
331 (__mpcos): Add slowcos probe.
333 2013-11-19 Joseph Myers <joseph@codesourcery.com>
336 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
337 thread-local __sim_exceptions_thread and global
338 __sim_exceptions_global.
339 (__sim_disabled_exceptions): Change to thread-local
340 __sim_disabled_exceptions_thread and global
341 __sim_disabled_exceptions_global.
342 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
343 and global __sim_round_mode_global.
344 (__simulate_exceptions): Use thread-local floating-point state and
345 set global state from it as needed.
346 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
347 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
348 __sim_round_mode_thread.
349 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
350 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
351 and global __sim_exceptions_global.
352 (__sim_disabled_exceptions): Change to thread-local
353 __sim_disabled_exceptions_thread and global
354 __sim_disabled_exceptions_global.
355 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
356 and global __sim_round_mode_global.
357 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
358 (SIM_SET_GLOBAL): Likewise.
359 * sysdeps/powerpc/soft-fp/sfp-machine.h
360 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
361 __sim_round_mode_thread.
362 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
363 __sim_disabled_exceptions_thread.
364 (__sim_exceptions): Change to __sim_exceptions_thread.
365 (__sim_disabled_exceptions): Change to
366 __sim_disabled_exceptions_thread.
367 (__sim_round_mode): Change to __sim_round_mode_thread.
368 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
369 thread-local floating-point state and set global state from it as
371 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
372 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
373 (__sim_disabled_exceptions): Remove extern declaration.
374 (feenableexcept): Use thread-local floating-point state and set
375 global state from it as needed.
376 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
378 (__sim_disabled_exceptions): Likewise.
379 (__sim_round_mode): Likewise.
380 (__fegetenv): Use thread-local floating-point state.
381 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
382 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
383 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
384 floating-point state and set global state from it as needed.
385 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
386 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
387 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
389 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
390 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
392 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
393 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
394 Use __sim_round_mode_thread.
395 * math/test-fenv-tls.c: New file.
396 * math/Makefile (tests): Add test-fenv-tls.
397 ($(objpfx)test-fenv-tls): Depend on
398 $(common-objpfx)nptl/libpthread.so.
400 2013-11-19 Andreas Schwab <schwab@suse.de>
402 * locale/programs/locale.c (show_info): Decode wordarray elements.
403 * locale/categories.def (LC_MONETARY): Add element for
404 _NL_MONETARY_CRNCYSTR.
405 * locale/C-monetary.c (conversion_rate): New variable.
406 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
409 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
411 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
412 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
414 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
416 * elf/Makefile (tst-auxv): New test.
417 * elf/tst-auxv.c: New
418 * elf/rtld.c (dl_main): Adjust AT_EXECFN
420 2013-11-18 Joseph Myers <joseph@codesourcery.com>
422 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
423 (hidden_proto): Caller changed.
424 (hidden_tls_proto): New macro.
425 (libc_hidden_tls_proto): Likewise.
426 (rtld_hidden_tls_proto): Likewise.
427 (libm_hidden_tls_proto): Likewise.
428 (libresolv_hidden_tls_proto): Likewise.
429 (librt_hidden_tls_proto): Likewise.
430 (libdl_hidden_tls_proto): Likewise.
431 (libnss_files_hidden_tls_proto): Likewise.
432 (libnsl_hidden_tls_proto): Likewise.
433 (libnss_nisplus_hidden_tls_proto): Likewise.
434 (libutil_hidden_tls_proto): Likewise.
436 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
439 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
440 (decompose_rpath): Defer expansion to fillin_rpath.
441 (_dl_init_paths): Pass linkmap to fillin_rpath.
443 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
445 * benchtests/Makefile: Add strsep.
446 * benchtests/bench-strsep.c: New file: strsep benchtest.
447 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
449 2013-11-18 Andreas Schwab <schwab@suse.de>
451 * locale/programs/locale.c (show_info) [case byte]: Check for
452 '\377' instead of '\177'.
453 * locale/C-monetary.c (not_available): Always use "\377".
454 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
455 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
456 detect unavailable sign_posn locale elements.
457 * locale/localeconv.c (__localeconv): For grouping and
458 mon_grouping handle "\177" and "\377" like no grouping.
459 (INT_ELEM): New macro. Use it to set all numeric members.
460 * locale/programs/ld-monetary.c (monetary_read)
461 <tok_mon_grouping>: Normalize single -1 to the empty string.
462 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
465 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
468 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
470 * stdio-common/tst-sscanf.c (struct test): Add testcase.
472 2013-11-16 Joseph Myers <joseph@codesourcery.com>
474 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
475 (NO_TEST_INLINE): Update value.
476 (ERRNO_UNCHANGED): Likewise.
477 (ERRNO_EDOM): Likewise.
478 (ERRNO_ERANGE): Likewise.
479 (IGNORE_RESULT): Likewise.
480 (check_float_internal): Check signs of NaN results if
482 (check_complex): Pass TEST_NAN_SIGN flag through to second
483 check_float_internal call.
484 (copysign_test_data): Add tests with quiet NaNs as second
485 argument. Use TEST_NAN_SIGN.
486 (fabs_test_data): Add test of negative quiet NaN argument. Use
488 (signbit_test_data): Add tests of quiet NaN argument.
489 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
491 * math/gen-libm-test.pl (show_exceptions): Take extra argument
493 (parse_args): Handle function results specified as IGNORE.
494 * math/libm-test.inc (IGNORE_RESULT): New macro.
495 (check_float_internal): Do not check numerical result if flag
497 (check_complex): Pass through IGNORE_RESULT to second
498 check_float_internal call.
499 (check_int): Do not check numerical result if flag IGNORE_RESULT
501 (check_long): Likewise.
502 (check_bool): Likewise.
503 (check_longlong): Likewise.
504 (lrint_test_data): Add tests of infinite and NaN arguments.
505 (lrint_tonearest_test_data): Likewise.
506 (lrint_towardzero_test_data): Likewise.
507 (lrint_downward_test_data): Likewise.
508 (lrint_upward_test_data): Likewise.
509 (llrint_test_data): Likewise.
510 (llrint_tonearest_test_data): Likewise.
511 (llrint_towardzero_test_data): Likewise.
512 (llrint_downward_test_data): Likewise.
513 (llrint_upward_test_data): Likewise.
514 (lround_test_data): Likewise.
515 (llround_test_data): Likewise.
517 * math/libm-test.inc (NO_TEST_INLINE): New macro.
518 (ERRNO_UNCHANGED): Update value.
519 (ERRNO_EDOM): Likewise.
520 (ERRNO_ERANGE): Likewise.
521 (NO_TEST_INLINE_FLOAT): New macro.
522 (NO_TEST_INLINE_DOUBLE): Likewise.
523 (enable_test): New function.
524 (RUN_TEST_f_f): Check enable_test before running test.
525 (RUN_TEST_2_f): Likewise.
526 (RUN_TEST_fff_f): Likewise.
527 (RUN_TEST_c_f): Likewise.
528 (RUN_TEST_f_f1): Likewise.
529 (RUN_TEST_fF_f1): Likewise.
530 (RUN_TEST_fI_f1): Likewise.
531 (RUN_TEST_ffI_f1): Likewise.
532 (RUN_TEST_c_c): Likewise.
533 (RUN_TEST_cc_c): Likewise.
534 (RUN_TEST_f_i): Likewise.
535 (RUN_TEST_f_i_tg): Likewise.
536 (RUN_TEST_ff_i_tg): Likewise.
537 (RUN_TEST_f_b): Likewise.
538 (RUN_TEST_f_b_tg): Likewise.
539 (RUN_TEST_f_l): Likewise.
540 (RUN_TEST_f_L): Likewise.
541 (RUN_TEST_fFF_11): Likewise.
542 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
544 (cosh_test_data): Likewise.
545 (exp_test_data): Likewise.
546 (expm1_test_data): Likewise.
547 (hypot_test_data): Likewise.
548 (pow_test_data): Likewise.
549 (sinh_test_data): Likewise.
550 (tanh_test_data): Likewise.
551 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
554 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
555 tests with quiet NaN input and output.
556 (acosh_test_data): Likewise.
557 (asin_test_data): Likewise.
558 (asinh_test_data): Likewise.
559 (atan_test_data): Likewise.
560 (atanh_test_data): Likewise.
561 (atan2_test_data): Likewise.
562 (cbrt_test_data): Likewise.
563 (cos_test_data): Likewise.
564 (cosh_test_data): Likewise.
565 (erf_test_data): Likewise.
566 (erfc_test_data): Likewise.
567 (exp_test_data): Likewise.
568 (exp10_test_data): Likewise.
569 (exp2_test_data): Likewise.
570 (expm1_test_data): Likewise.
571 (hypot_test_data): Likewise.
572 (j0_test_data): Likewise.
573 (j1_test_data): Likewise.
574 (jn_test_data): Likewise.
575 (lgamma_test_data): Likewise.
576 (log_test_data): Likewise.
577 (log10_test_data): Likewise.
578 (log1p_test_data): Likewise.
579 (log2_test_data): Likewise.
580 (pow_test_data): Likewise.
581 (scalb_test_data): Likewise.
582 (sin_test_data): Likewise.
583 (sincos_test_data): Likewise.
584 (sinh_test_data): Likewise.
585 (tan_test_data): Likewise.
586 (tanh_test_data): Likewise.
587 (tgamma_test_data): Likewise.
588 (y0_test_data): Likewise.
589 (y1_test_data): Likewise.
590 (yn_test_data): Likewise.
593 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
594 argument being NaN and avoid computations with second argument in
596 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
597 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
598 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
600 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
602 * locale/iso-639.def: Add Chitwani Tharu (the).
604 2013-11-14 Andreas Schwab <schwab@suse.de>
606 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
607 word instead of empty string.
609 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
612 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
614 (__fe_nomask_env): Likewise.
616 2013-11-13 Steve Ellcey <sellcey@mips.com>
618 * benchtests/bench-timing.h: Include time.h.
620 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
623 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
625 * sysdeps/unix/sysv/linux/configure: Regenerated.
627 2013-11-13 Joseph Myers <joseph@codesourcery.com>
630 * stdlib/strtod_l.c (round_and_return): Do not consider
631 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
632 exponent one less than half the least subnormal exponent.
633 * stdlib/test-strtod-round-data: Add more tests.
634 * stdlib/tst-strtod-round.c (tests): Regenerated.
636 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
639 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
640 (__fe_mask_env): Likewise.
641 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
642 libm_hidden_proto and add function prototype.
643 (__fe_mask_env): Add function prototype.
644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
645 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
647 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
649 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
651 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
653 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
654 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
656 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
658 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
661 2013-11-11 David S. Miller <davem@davemloft.net>
664 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
665 symbol in the non-vis3 case in static builds.
666 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
667 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
668 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
669 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
671 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
674 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
677 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
679 * benchtests/Makefile: Add bench-strtod.
680 * benchtests/bench-strtod.c: New file: strtod benchtest
682 2013-11-11 Andreas Schwab <schwab@suse.de>
685 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
686 terminating NUL in key length.
688 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
690 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
691 Add artificial ODP entry for vDSO symbol for PPC64.
692 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
693 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
695 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
698 * nss/getent.c (services_keys): Recognize services starting with digit.
700 2013-11-06 David S. Miller <davem@davemloft.net>
703 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
704 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
706 2013-11-06 Will Newton <will.newton@linaro.org>
708 * manual/memory.texi (Malloc Examples): Remove register
709 keyword from examples.
711 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
713 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
715 2013-11-04 Joseph Myers <joseph@codesourcery.com>
717 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
718 depending on [__GCC_IEC_559 > 0].
719 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
720 depending on [__GCC_IEC_559_COMPLEX > 0].
722 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
724 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
727 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
729 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
731 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
734 * malloc/malloc (malloc_info): Do not handle first bin as
737 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
739 * locale/iso-639.def: Add Central Nahuatl (nhn).
741 2013-11-01 Bruno Haible <bruno@clisp.org>
744 * manual/math.texi (BSD Random): Specify range upper bound as
747 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
749 * locale/iso-639.def: Add Meadow Mari (mhr).
751 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
753 [BZ #14752], [BZ #15763]
754 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
756 * rt/tst_shm.c: Add test for escaping directory.
758 2013-10-31 Andreas Schwab <schwab@suse.de>
761 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
762 followed by 'x' as part of digit sequence.
763 * stdio-common/tst-sscanf.c (double_tests2): New tests.
765 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
768 * configure.ac: allow GNU Make 4.0 and greater.
769 * configure: Regenerated.
771 2013-10-30 Will Newton <will.newton@linaro.org>
774 * malloc/hooks.c (memalign_check): Limit alignment to the
775 maximum representable power of two.
776 * malloc/malloc.c (__libc_memalign): Likewise.
777 * malloc/tst-memalign.c (do_test): Add test for very
778 large alignment values.
779 * malloc/tst-posix_memalign.c (do_test): Likewise.
781 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
784 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
785 (munmap_chunk): Likewise.
786 (mremap_chunk): Likewise.
788 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
791 * stdlib/div.c (div): Remove obsolete code.
792 * stdlib/ldiv.c (ldiv): Likewise.
793 * stdlib/lldiv.c (lldiv): Likewise.
795 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
798 * nss/nss_files/files-XXX.c (get_contents_ret): New
800 (get_contents): New function.
801 (internal_getent): Use it. Expand size of LINEBUFLEN.
803 2013-10-30 Mike Frysinger <vapier@gentoo.org>
805 * configure.in: Moved to ...
806 * configure.ac: ... here. Change reference to configure.in
808 * sysdeps/arm/preconfigure.ac: ... here.
809 configure.in to configure.ac.
810 * sysdeps/gnu/configure.in: Moved to ...
811 * sysdeps/gnu/configure.ac: ... here.
812 * sysdeps/i386/configure.in: Moved to ...
813 * sysdeps/i386/configure.ac: ... here.
814 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
815 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
816 * sysdeps/mach/configure.in: Moved to ...
817 * sysdeps/mach/configure.ac: ... here.
818 * sysdeps/mach/hurd/configure.in: Moved to ...
819 * sysdeps/mach/hurd/configure.ac: ... here.
820 * sysdeps/powerpc/configure.in: Moved to ...
821 * sysdeps/powerpc/configure.ac: ... here.
822 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
823 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
824 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
825 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
826 * sysdeps/s390/s390-32/configure.in: Moved to ...
827 * sysdeps/s390/s390-32/configure.ac: ... here.
828 * sysdeps/s390/s390-64/configure.in: Moved to ...
829 * sysdeps/s390/s390-64/configure.ac: ... here.
830 * sysdeps/sh/configure.in: Moved to ...
831 * sysdeps/sh/configure.ac: ... here.
832 * sysdeps/sparc/configure.in: Moved to ...
833 * sysdeps/sparc/configure.ac: ... here.
834 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
835 * sysdeps/unix/sysv/linux/configure.ac: ... here.
836 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
837 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
838 * sysdeps/x86_64/configure.in: Moved to ...
839 * sysdeps/x86_64/configure.ac: ... here.
840 * sysdeps/x86_64/preconfigure.in: Moved to ...
841 * sysdeps/x86_64/preconfigure.ac: ... here.
842 * aclocal.m4: Change reference to configure.in to configure.ac.
843 * config.h.in: Likewise.
844 * manual/install.texi: Likewise.
845 * manual/maint.texi: Likewise.
846 * Makefile: Likewise.
847 * malloc/Makefile: Likewise.
848 * nscd/Makefile: Likewise.
849 * Makeconfig: Change reference to configure.in and
850 preconfigure.in to configure.ac and preconfigure.ac
852 * INSTALL: Regenerated.
853 * configure: Likewise.
854 * sysdeps/gnu/configure: Likewise.
855 * sysdeps/i386/configure: Likewise.
856 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
857 * sysdeps/mach/configure: Likewise.
858 * sysdeps/mach/hurd/configure: Likewise.
859 * sysdeps/powerpc/configure: Likewise.
860 * sysdeps/powerpc/powerpc32/configure: Likewise.
861 * sysdeps/powerpc/powerpc64/configure: Likewise.
862 * sysdeps/s390/s390-32/configure: Likewise.
863 * sysdeps/s390/s390-64/configure: Likewise.
864 * sysdeps/sh/configure: Likewise.
865 * sysdeps/sparc/configure: Likewise.
866 * sysdeps/unix/sysv/linux/configure: Likewise.
867 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
868 * sysdeps/x86_64/configure: Likewise.
869 * sysdeps/x86_64/preconfigure: Likewise.
871 2013-10-29 Andreas Schwab <schwab@suse.de>
873 * stdio-common/Makefile (tst-swscanf-ENV): Define.
875 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
877 * benchtests/pow-inputs: Add new inputs.
879 * benchtests/exp-inputs: Add new inputs.
881 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
882 conditional check for return value.
885 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
887 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
888 to provide a boost for large inputs with word alignment.
889 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
890 implementation based on optimized PPC64 strcpy.
891 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
892 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
893 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
894 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
896 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
899 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
901 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
904 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
905 * time/tst-strptime.c (day_tests): Add testcase.
907 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
910 * manual/pattern.texi: Acknowledge that fnmatch can fail.
912 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
915 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
918 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
921 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
922 heap for large requests.
924 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
927 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
928 result if the result has no associated interface.
929 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
930 interface for all 127.X.Y.Z addresses.
932 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
934 * locale/iso-639.def: Add Ligurian (lij)
936 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
939 * sunrpc/rpc_main.c: Document rpcgen -5.
941 2013-10-19 Michael Stahl <mstahl@redhat.com>
943 * elf/rtld.c (do_preload): Print the reason why preloading failed.
945 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
948 * posix/glob.c: Match only directories when trailing slash is present.
949 * posix/tst-gnuglob.c (my_opendir): Do not open files.
950 (main): Add testcase.
952 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
955 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
957 2013-10-18 Carlos O'Donell <carlos@redhat.com>
959 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
960 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
961 AUTH_DES and cindex for FIPS 140-2.
962 (DES Encryption): Add cindex FIPS 46-3.
964 * locale/locarchive.h (struct locarhandle): Add fname.
965 * locale/programs/localedef.c (main): Pass ARGV[remaining]
966 if an optional argument was specified to --list-archive,
968 * locale/programs/locarchive.c (show_archive_content): Take new
969 argument fname and pass it via ah.fname to open_archive.
970 * locale/programs/localedef.h: Update decl.
971 (open_archive): If AH->fname is non-null, open that file
972 rather than the default file name, and don't ignore ENOENT.
973 (create_archive): Set AH.fname to NULL.
974 (delete_locales_from_archive): Likewise.
975 (add_locales_to_archive): Likewise.
976 * locale/programs/locfile.c (write_all_categories): Likewise.
978 2013-10-18 Joseph Myers <joseph@codesourcery.com>
979 Aldy Hernandez <aldyh@redhat.com>
981 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
982 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
983 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
984 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
985 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
986 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
987 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
988 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
989 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
990 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
991 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
992 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
993 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
994 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
995 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
997 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
999 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1001 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1003 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1004 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1006 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1007 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1008 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1009 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1011 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1012 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1013 * sysdeps/powerpc/preconfigure: Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1016 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1017 Replace contents of file by #include of <fenv_libc.h>.
1018 * sysdeps/powerpc/soft-fp/sfp-machine.h
1019 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1021 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1022 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1023 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1024 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1025 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1026 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1027 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1028 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1029 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1030 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1031 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1032 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1034 Allow copysignl PLT reference to be missing.
1036 2013-10-18 Richard Sandiford <richard@codesourcery.com>
1037 Joseph Myers <joseph@codesourcery.com
1040 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1042 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1044 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1046 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1047 * elf/tst-tls1.c: Likewise.
1048 * elf/tst-tls10.h: Likewise.
1049 * elf/tst-tls14.c: Likewise.
1050 * elf/tst-tls2.c: Likewise.
1051 * elf/tst-tls3.c: Likewise.
1052 * elf/tst-tls4.c: Likewise.
1053 * elf/tst-tls5.c: Likewise.
1054 * elf/tst-tls6.c: Likewise.
1055 * elf/tst-tls7.c: Likewise.
1056 * elf/tst-tls8.c: Likewise.
1057 * elf/tst-tls9.c: Likewise.
1058 * elf/tst-tlsmod1.c: Likewise.
1059 * elf/tst-tlsmod13.c: Likewise.
1060 * elf/tst-tlsmod13a.c: Likewise.
1061 * elf/tst-tlsmod14a.c: Likewise.
1062 * elf/tst-tlsmod16a.c: Likewise.
1063 * elf/tst-tlsmod16b.c: Likewise.
1064 * elf/tst-tlsmod2.c: Likewise.
1065 * elf/tst-tlsmod3.c: Likewise.
1066 * elf/tst-tlsmod4.c: Likewise.
1067 * elf/tst-tlsmod5.c: Likewise.
1068 * elf/tst-tlsmod6.c: Likewise.
1070 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
1073 * malloc/malloc.c: remove checks for statistics.
1075 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1078 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1079 * inet/tst-network.c: Add testcase.
1081 2013-10-17 Andreas Schwab <schwab@suse.de>
1084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1085 to determine canonical name.
1087 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1089 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1090 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1091 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1092 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1093 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1094 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1095 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1096 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1097 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1098 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1099 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1100 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1101 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1102 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1103 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1104 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1106 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1107 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1108 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1112 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1113 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1114 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1115 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1116 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1117 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1118 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1119 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1120 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1121 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1122 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1123 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1124 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1125 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1126 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1127 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1128 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1129 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1130 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1131 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1132 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1133 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1134 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1135 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1136 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1137 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1138 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1139 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1140 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1141 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1142 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1143 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1144 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1145 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1146 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1148 2013-10-17 Joseph Myers <joseph@codesourcery.com>
1151 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1152 make result into a quiet NaN.
1154 2013-10-16 Joseph Myers <joseph@codesourcery.com>
1156 * soft-fp/adddf3.c: Fix horizontal whitespace.
1157 * soft-fp/addsf3.c: Likewise.
1158 * soft-fp/addtf3.c: Likewise.
1159 * soft-fp/divdf3.c: Likewise.
1160 * soft-fp/divsf3.c: Likewise.
1161 * soft-fp/divtf3.c: Likewise.
1162 * soft-fp/double.h: Likewise.
1163 * soft-fp/eqdf2.c: Likewise.
1164 * soft-fp/eqsf2.c: Likewise.
1165 * soft-fp/eqtf2.c: Likewise.
1166 * soft-fp/extenddftf2.c: Likewise.
1167 * soft-fp/extended.h: Likewise.
1168 * soft-fp/extendsfdf2.c: Likewise.
1169 * soft-fp/extendsftf2.c: Likewise.
1170 * soft-fp/extendxftf2.c: Likewise.
1171 * soft-fp/fixdfdi.c: Likewise.
1172 * soft-fp/fixdfsi.c: Likewise.
1173 * soft-fp/fixdfti.c: Likewise.
1174 * soft-fp/fixsfdi.c: Likewise.
1175 * soft-fp/fixsfsi.c: Likewise.
1176 * soft-fp/fixsfti.c: Likewise.
1177 * soft-fp/fixtfdi.c: Likewise.
1178 * soft-fp/fixtfsi.c: Likewise.
1179 * soft-fp/fixtfti.c: Likewise.
1180 * soft-fp/fixunsdfdi.c: Likewise.
1181 * soft-fp/fixunsdfsi.c: Likewise.
1182 * soft-fp/fixunsdfti.c: Likewise.
1183 * soft-fp/fixunssfdi.c: Likewise.
1184 * soft-fp/fixunssfsi.c: Likewise.
1185 * soft-fp/fixunssfti.c: Likewise.
1186 * soft-fp/fixunstfdi.c: Likewise.
1187 * soft-fp/fixunstfsi.c: Likewise.
1188 * soft-fp/fixunstfti.c: Likewise.
1189 * soft-fp/floatdidf.c: Likewise.
1190 * soft-fp/floatdisf.c: Likewise.
1191 * soft-fp/floatditf.c: Likewise.
1192 * soft-fp/floatsidf.c: Likewise.
1193 * soft-fp/floatsisf.c: Likewise.
1194 * soft-fp/floatsitf.c: Likewise.
1195 * soft-fp/floattidf.c: Likewise.
1196 * soft-fp/floattisf.c: Likewise.
1197 * soft-fp/floattitf.c: Likewise.
1198 * soft-fp/floatundidf.c: Likewise.
1199 * soft-fp/floatundisf.c: Likewise.
1200 * soft-fp/floatunditf.c: Likewise.
1201 * soft-fp/floatunsidf.c: Likewise.
1202 * soft-fp/floatunsisf.c: Likewise.
1203 * soft-fp/floatunsitf.c: Likewise.
1204 * soft-fp/floatuntidf.c: Likewise.
1205 * soft-fp/floatuntisf.c: Likewise.
1206 * soft-fp/floatuntitf.c: Likewise.
1207 * soft-fp/fmadf4.c: Likewise.
1208 * soft-fp/fmasf4.c: Likewise.
1209 * soft-fp/fmatf4.c: Likewise.
1210 * soft-fp/gedf2.c: Likewise.
1211 * soft-fp/gesf2.c: Likewise.
1212 * soft-fp/getf2.c: Likewise.
1213 * soft-fp/ledf2.c: Likewise.
1214 * soft-fp/lesf2.c: Likewise.
1215 * soft-fp/letf2.c: Likewise.
1216 * soft-fp/muldf3.c: Likewise.
1217 * soft-fp/mulsf3.c: Likewise.
1218 * soft-fp/multf3.c: Likewise.
1219 * soft-fp/negdf2.c: Likewise.
1220 * soft-fp/negsf2.c: Likewise.
1221 * soft-fp/negtf2.c: Likewise.
1222 * soft-fp/op-1.h: Likewise.
1223 * soft-fp/op-2.h: Likewise.
1224 * soft-fp/op-4.h: Likewise.
1225 * soft-fp/op-8.h: Likewise.
1226 * soft-fp/op-common.h: Likewise.
1227 * soft-fp/quad.h: Likewise.
1228 * soft-fp/single.h: Likewise.
1229 * soft-fp/soft-fp.h: Likewise.
1230 * soft-fp/sqrtdf2.c: Likewise.
1231 * soft-fp/sqrtsf2.c: Likewise.
1232 * soft-fp/sqrttf2.c: Likewise.
1233 * soft-fp/subdf3.c: Likewise.
1234 * soft-fp/subsf3.c: Likewise.
1235 * soft-fp/subtf3.c: Likewise.
1236 * soft-fp/truncdfsf2.c: Likewise.
1237 * soft-fp/trunctfdf2.c: Likewise.
1238 * soft-fp/trunctfsf2.c: Likewise.
1239 * soft-fp/trunctfxf2.c: Likewise.
1240 * soft-fp/unorddf2.c: Likewise.
1241 * soft-fp/unordsf2.c: Likewise.
1242 * soft-fp/unordtf2.c: Likewise.
1244 2013-10-15 Joseph Myers <joseph@codesourcery.com>
1246 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1247 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1249 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
1251 * elf/dl-libc.c: Clear initfini list after freeing.
1253 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1255 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1256 * soft-fp/addsf3.c: Likewise.
1257 * soft-fp/addtf3.c: Likewise.
1258 * soft-fp/divdf3.c: Likewise.
1259 * soft-fp/divsf3.c: Likewise.
1260 * soft-fp/divtf3.c: Likewise.
1261 * soft-fp/double.h: Likewise.
1262 * soft-fp/eqdf2.c: Likewise.
1263 * soft-fp/eqsf2.c: Likewise.
1264 * soft-fp/eqtf2.c: Likewise.
1265 * soft-fp/extenddftf2.c: Likewise.
1266 * soft-fp/extended.h: Likewise.
1267 * soft-fp/extendsfdf2.c: Likewise.
1268 * soft-fp/extendsftf2.c: Likewise.
1269 * soft-fp/extendxftf2.c: Likewise.
1270 * soft-fp/fixdfdi.c: Likewise.
1271 * soft-fp/fixdfsi.c: Likewise.
1272 * soft-fp/fixdfti.c: Likewise.
1273 * soft-fp/fixsfdi.c: Likewise.
1274 * soft-fp/fixsfsi.c: Likewise.
1275 * soft-fp/fixsfti.c: Likewise.
1276 * soft-fp/fixtfdi.c: Likewise.
1277 * soft-fp/fixtfsi.c: Likewise.
1278 * soft-fp/fixtfti.c: Likewise.
1279 * soft-fp/fixunsdfdi.c: Likewise.
1280 * soft-fp/fixunsdfsi.c: Likewise.
1281 * soft-fp/fixunsdfti.c: Likewise.
1282 * soft-fp/fixunssfdi.c: Likewise.
1283 * soft-fp/fixunssfsi.c: Likewise.
1284 * soft-fp/fixunssfti.c: Likewise.
1285 * soft-fp/fixunstfdi.c: Likewise.
1286 * soft-fp/fixunstfsi.c: Likewise.
1287 * soft-fp/fixunstfti.c: Likewise.
1288 * soft-fp/floatdidf.c: Likewise.
1289 * soft-fp/floatdisf.c: Likewise.
1290 * soft-fp/floatditf.c: Likewise.
1291 * soft-fp/floatsidf.c: Likewise.
1292 * soft-fp/floatsisf.c: Likewise.
1293 * soft-fp/floatsitf.c: Likewise.
1294 * soft-fp/floattidf.c: Likewise.
1295 * soft-fp/floattisf.c: Likewise.
1296 * soft-fp/floattitf.c: Likewise.
1297 * soft-fp/floatundidf.c: Likewise.
1298 * soft-fp/floatundisf.c: Likewise.
1299 * soft-fp/floatunsidf.c: Likewise.
1300 * soft-fp/floatunsisf.c: Likewise.
1301 * soft-fp/floatuntidf.c: Likewise.
1302 * soft-fp/floatuntisf.c: Likewise.
1303 * soft-fp/floatuntitf.c: Likewise.
1304 * soft-fp/fmadf4.c: Likewise.
1305 * soft-fp/fmasf4.c: Likewise.
1306 * soft-fp/fmatf4.c: Likewise.
1307 * soft-fp/gedf2.c: Likewise.
1308 * soft-fp/gesf2.c: Likewise.
1309 * soft-fp/getf2.c: Likewise.
1310 * soft-fp/ledf2.c: Likewise.
1311 * soft-fp/lesf2.c: Likewise.
1312 * soft-fp/letf2.c: Likewise.
1313 * soft-fp/muldf3.c: Likewise.
1314 * soft-fp/mulsf3.c: Likewise.
1315 * soft-fp/multf3.c: Likewise.
1316 * soft-fp/negdf2.c: Likewise.
1317 * soft-fp/negsf2.c: Likewise.
1318 * soft-fp/negtf2.c: Likewise.
1319 * soft-fp/op-1.h: Likewise.
1320 * soft-fp/op-2.h: Likewise.
1321 * soft-fp/op-4.h: Likewise.
1322 * soft-fp/op-8.h: Likewise.
1323 * soft-fp/op-common.h: Likewise.
1324 * soft-fp/quad.h: Likewise.
1325 * soft-fp/single.h: Likewise.
1326 * soft-fp/soft-fp.h: Likewise.
1327 * soft-fp/sqrtdf2.c: Likewise.
1328 * soft-fp/sqrtsf2.c: Likewise.
1329 * soft-fp/sqrttf2.c: Likewise.
1330 * soft-fp/subdf3.c: Likewise.
1331 * soft-fp/subsf3.c: Likewise.
1332 * soft-fp/subtf3.c: Likewise.
1333 * soft-fp/truncdfsf2.c: Likewise.
1334 * soft-fp/trunctfdf2.c: Likewise.
1335 * soft-fp/trunctfsf2.c: Likewise.
1336 * soft-fp/trunctfxf2.c: Likewise.
1337 * soft-fp/unorddf2.c: Likewise.
1338 * soft-fp/unordsf2.c: Likewise.
1339 * soft-fp/unordtf2.c: Likewise.
1341 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1344 * misc/error.c (error_tail): Fix possible buffer overflow.
1346 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1349 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1352 2013-10-14 P. J. McDermott <pj@pehjota.net>
1355 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1356 testing pipefail option.
1358 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1360 * soft-fp/double.h: Indent preprocessor directives inside #if.
1361 * soft-fp/extended.h: Likewise.
1362 * soft-fp/op-2.h: Likewise.
1363 * soft-fp/op-4.h: Likewise.
1364 * soft-fp/op-common.h: Likewise.
1365 * soft-fp/quad.h: Likewise.
1366 * soft-fp/single.h: Likewise.
1367 * soft-fp/soft-fp.h: Likewise.
1369 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1371 * iconv/iconv_prog.c: Fix typos.
1372 * stdio-common/psiginfo-data.h: Likewise.
1374 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1377 * locale/setlocale.c: Fix typo.
1379 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1382 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1383 signaling NaN arguments.
1384 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1385 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1388 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1390 * soft-fp/gesf2.c (__gesf2): Likewise.
1391 * soft-fp/getf2.c (__getf2): Likewise.
1392 * soft-fp/ledf2.c (__ledf2): Likewise.
1393 * soft-fp/lesf2.c (__lesf2): Likewise.
1394 * soft-fp/letf2.c (__letf2): Likewise.
1396 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1397 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1398 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1399 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1400 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1401 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1402 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1403 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1404 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1405 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1406 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1407 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1408 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1409 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1410 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1411 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1412 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1413 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1414 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1415 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1416 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1417 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1418 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1419 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1420 * soft-fp/floattidf.c (__floattidf): Likewise.
1421 * soft-fp/floattisf.c (__floattisf): Likewise.
1422 * soft-fp/floattitf.c (__floattitf): Likewise.
1423 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1424 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1425 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1426 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1427 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1428 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1429 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1430 * soft-fp/gesf2.c (__gesf2): Likewise.
1431 * soft-fp/getf2.c (__getf2): Likewise.
1432 * soft-fp/ledf2.c (__ledf2): Likewise.
1433 * soft-fp/lesf2.c (__lesf2): Likewise.
1434 * soft-fp/letf2.c (__letf2): Likewise.
1436 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1437 Undefine and redefine.
1438 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1439 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1440 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1441 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1442 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1443 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1444 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1445 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1446 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1447 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1448 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1449 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1450 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1451 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1452 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1455 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1456 without decrementing exponent if mantissa >= that for the
1458 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1459 denominator, not >. Decrement exponent in < case instead of
1460 incrementing in >= case.
1461 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1462 without decrementing exponent if mantissa >= that for the
1465 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1466 computing saturated result for unsigned overflow.
1468 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1469 Jeff Law <law@redhat.com>
1471 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1472 (atan2Mp): Add systemtap probe marker.
1473 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1474 (__ieee754_log): Add systemtap probe marker.
1475 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1476 (atanMp): Add systemtap probe marker.
1477 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1478 (tanMp): Add systemtap probe marker.
1479 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1480 (__slowexp): Add systemtap probe marker.
1481 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1482 (__slowpow): Add systemtap probe marker.
1483 * manual/probes.texi: Document probes.
1485 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1488 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1490 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1492 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1493 written to buffer but not flushed.
1494 * libio/iofwrite_u.c: Likewise.
1495 * libio/iopadn.c: Return bytes returned even if EOF was
1497 * libio/iowpadn.c: Likewise.
1498 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1499 if _IO_padn does not write the whole buffer.
1500 [!COMPILE_WPRINTF] (PAD): Likewise.
1502 2013-10-10 David S. Miller <davem@davemloft.net>
1504 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1507 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1509 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1510 instead of FSF address.
1511 * soft-fp/fixdfti.c: Likewise.
1512 * soft-fp/fixsfti.c: Likewise.
1513 * soft-fp/fixtfti.c: Likewise.
1514 * soft-fp/fixunsdfti.c: Likewise.
1515 * soft-fp/fixunssfti.c: Likewise.
1516 * soft-fp/fixunstfti.c: Likewise.
1517 * soft-fp/floattidf.c: Likewise.
1518 * soft-fp/floattisf.c: Likewise.
1519 * soft-fp/floattitf.c: Likewise.
1520 * soft-fp/floatuntidf.c: Likewise.
1521 * soft-fp/floatuntisf.c: Likewise.
1522 * soft-fp/floatuntitf.c: Likewise.
1523 * soft-fp/trunctfxf2.c: Likewise.
1525 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1526 * soft-fp/fixdfti.c: Likewise.
1527 * soft-fp/fixsfti.c: Likewise.
1528 * soft-fp/fixtfti.c: Likewise.
1529 * soft-fp/fixunsdfti.c: Likewise.
1530 * soft-fp/fixunssfti.c: Likewise.
1531 * soft-fp/fixunstfti.c: Likewise.
1532 * soft-fp/floattidf.c: Likewise.
1533 * soft-fp/floattisf.c: Likewise.
1534 * soft-fp/floattitf.c: Likewise.
1535 * soft-fp/floatuntidf.c: Likewise.
1536 * soft-fp/floatuntisf.c: Likewise.
1537 * soft-fp/floatuntitf.c: Likewise.
1538 * soft-fp/trunctfxf2.c: Likewise.
1540 2013-10-10 David S. Miller <davem@davemloft.net>
1542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1544 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1546 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1547 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1548 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1549 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1550 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1551 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1552 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1554 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1555 for NaNs before doing comparisons on argument.
1556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1559 2013-10-10 Will Newton <will.newton@linaro.org>
1561 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1562 passed to _int_memalign does not overflow.
1564 2013-10-10 Torvald Riegel <triegel@redhat.com>
1566 * scripts/bench.pl: Add include-sources directive.
1567 * benchtests/README: Update documentation.
1569 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1571 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1572 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1573 instead of FP_INIT_ROUNDMODE.
1574 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1575 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1578 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1579 copy class of input value.
1580 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1581 not handle exceptions.
1582 * soft-fp/negsf2.c (__negsf2): Likewise.
1583 * soft-fp/negtf2.c (__negtf2): Likewise.
1584 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1586 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1588 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1589 semicolon. From Linux kernel.
1591 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1593 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1595 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1598 * manual/socket.texi: Added statement about buffer
1599 for gethostbyname2_r.
1601 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1603 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1604 Use .p2align directive instead, throughout.
1605 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1606 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1607 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1608 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1609 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1610 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1611 * sysdeps/x86_64/strchr.S: Likewise.
1612 * sysdeps/x86_64/strrchr.S: Likewise.
1614 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1616 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1618 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1620 * sysdeps/generic/math_private.h (__mpsin1): Remove
1622 (__mpcos1): Likewise.
1623 (__mpsin): New argument __range_reduce.
1624 (__mpcos): Likewise.
1625 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1626 (slow): Use __mpsin and __mpcos.
1633 (bsloww1): Likewise.
1634 (bsloww2): Likewise.
1637 (csloww1): Likewise.
1638 (csloww2): Likewise.
1639 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1640 range_reduce. Merge in __mpsin1.
1641 (__mpcos): Likewise.
1643 (__mpcos1): Likewise.
1645 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1647 * locale/loadlocale.c (_nl_intern_locale_data): Use
1649 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1650 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1651 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1652 obstack data is appropriately aligned.
1653 (obstack_int32_grow_fast): Likewise.
1654 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1655 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1656 (add_locale_uint32_array): Likewise.
1658 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1660 * benchtests/Makefile: Remove ARGLIST and RET variables.
1661 ($(objpfx)bench-%.c): Pass only function name to the script.
1662 * benchtests/README: Update documentation.
1663 * benchtests/acos-inputs: Add new directives.
1664 * benchtests/acosh-inputs: Likewise.
1665 * benchtests/asin-inputs: Likewise.
1666 * benchtests/asinh-inputs: Likewise.
1667 * benchtests/atan-inputs: Likewise.
1668 * benchtests/atanh-inputs: Likewise.
1669 * benchtests/cos-inputs: Likewise.
1670 * benchtests/cosh-inputs: Likewise.
1671 * benchtests/exp-inputs: Likewise.
1672 * benchtests/log-inputs: Likewise.
1673 * benchtests/pow-inputs: Likewise.
1674 * benchtests/rint-inputs: Likewise.
1675 * benchtests/sin-inputs: Likewise.
1676 * benchtests/sinh-inputs: Likewise.
1677 * benchtests/tan-inputs: Likewise.
1678 * benchtests/tanh-inputs: Likewise.
1679 * scripts/bench.pl: Add support for new directives.
1681 2013-10-07 Alan Modra <amodra@gmail.com>
1683 * README: Fix careless merge.
1685 2013-10-05 Alan Modra <amodra@gmail.com>
1687 * NEWS: Mention powerpc64le support and bugs fixed.
1688 * README: Both big-endian and little-endian powerpc64 supported.
1690 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1692 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1693 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1694 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1695 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1697 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1699 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1702 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1704 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1705 Move -mhard-float appending from
1706 ports/sysdeps/powerpc/powerpc32/Makefile.
1707 [$(with-fp) = yes] (ASFLAGS): Likewise.
1708 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1709 * sysdeps/powerpc/nofpu: Move directory from
1710 ports/sysdeps/powerpc/nofpu.
1711 * sysdeps/powerpc/soft-fp: Move directory from
1712 ports/sysdeps/powerpc/soft-fp.
1713 * sysdeps/powerpc/powerpc32/405: Move directory from
1714 ports/sysdeps/powerpc/powerpc32/405.
1715 * sysdeps/powerpc/powerpc32/440: Move directory from
1716 ports/sysdeps/powerpc/powerpc32/440.
1717 * sysdeps/powerpc/powerpc32/464: Move directory from
1718 ports/sysdeps/powerpc/powerpc32/464.
1719 * sysdeps/powerpc/powerpc32/476: Move directory from
1720 ports/sysdeps/powerpc/powerpc32/476.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1722 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1724 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1726 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1728 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1730 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1731 * README: Update for powerpc-*-linux-gnu software floating point
1734 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1735 case to powerpc/powerpc32*.
1736 * sysdeps/unix/sysv/linux/configure: Regenerated.
1738 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1739 (_FPU_MASK_OM): Define as 0x04.
1740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1741 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1743 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1745 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1748 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1751 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1754 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1755 and setcontext_e500.
1757 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1759 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1761 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1763 * manual/threads.texi (Default Thread Attributes): Fix typo.
1765 2013-10-04 Will Newton <will.newton@linaro.org>
1767 * malloc/Makefile: Add tst-memalign.
1768 * malloc/tst-memalign.c: New file.
1770 * malloc/tst-posix_memalign.c: Add comments.
1771 (do_test): Add comments and call free on all potentially
1772 allocated pointers. Add space after cast.
1774 * malloc/tst-pvalloc.c: Add comments.
1775 (do_test): Add comments and call free on all potentially
1776 allocated pointers. Remove duplicate check for NULL pointer.
1777 Add space after cast.
1779 * malloc/tst-valloc.c: Add comments.
1780 (do_test): Add comments and call free on all potentially
1781 allocated pointers. Remove duplicate check for NULL pointer.
1782 Add space after cast.
1784 2013-10-04 Alan Modra <amodra@gmail.com>
1786 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1787 Use stdint types in rather than __attribute__((mode())).
1788 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1790 2013-10-04 Alan Modra <amodra@gmail.com>
1792 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1793 Correct handling of unaligned relocs for little-endian.
1794 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1796 2013-10-04 Alan Modra <amodra@gmail.com>
1798 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1799 * configure: Regenerate.
1800 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1801 * shlib-versions: Likewise.
1803 2013-10-04 Alan Modra <amodra@gmail.com>
1805 * string/tester.c (test_memrchr): Increment reported test cycle.
1807 2013-10-04 Alan Modra <amodra@gmail.com>
1809 * string/test-memcpy.c (do_one_test): When reporting errors, print
1810 string address and don't overrun end of string.
1812 2013-10-04 Alan Modra <amodra@gmail.com>
1814 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1815 insrdi. Make better use of reg selection to speed exit slightly.
1816 Schedule entry path a little better. Remove useless "are we done"
1817 checks on entry to main loop. Handle wrapping around zero address.
1818 Correct main loop count. Handle single left-over word from main
1819 loop inline rather than by using loop_small. Remove extra word
1820 case in loop_small caused by wrong loop count. Add little-endian
1822 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1823 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1825 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1826 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1827 support. Avoid rlwimi.
1828 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1830 2013-10-04 Alan Modra <amodra@gmail.com>
1832 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1834 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1835 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1836 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1837 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1838 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1839 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1841 2013-10-04 Alan Modra <amodra@gmail.com>
1843 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1844 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1845 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1846 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1847 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1848 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1849 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1850 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1851 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1852 use of regs. Use power7 mtocrf. Tidy function tails.
1854 2013-10-04 Alan Modra <amodra@gmail.com>
1856 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1857 Formatting. Consistently use rXXX register defines or rN defines.
1858 Use early exit labels that avoid restoring unused non-volatile regs.
1859 Make cr field use more consistent with rWORDn compares. Rename
1860 regs used as shift registers for unaligned loop, using rN defines
1861 for short lifetime/multiple use regs.
1862 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1863 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1864 addi 1,1,64 to pop stack frame. Simplify return value code.
1865 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1867 2013-10-04 Alan Modra <amodra@gmail.com>
1869 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1870 support. Correct typos, formatting. Optimize tail. Use insrdi
1872 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1873 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1874 little-endian support. Correct typos.
1875 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1877 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1878 in loop and entry code to keep "and." results.
1879 (strchr): Add little-endian support. Comment. Move cntlzd
1881 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1883 2013-10-04 Alan Modra <amodra@gmail.com>
1885 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1886 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1887 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1888 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1890 2013-10-04 Alan Modra <amodra@gmail.com>
1892 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1893 (rTMP): Define as r11.
1894 (strcmp): Add little-endian support. Optimise tail.
1895 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1896 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1897 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1898 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1899 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1900 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1901 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1903 2013-10-04 Alan Modra <amodra@gmail.com>
1905 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1906 little-endian support. Remove unnecessary "are we done" tests.
1907 Handle "s" wrapping around zero and extremely large "size".
1908 Correct main loop count. Handle single left-over word from main
1909 loop inline rather than by using small_loop. Correct comments.
1910 Delete "zero" tail, use "end_max" instead.
1911 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1913 2013-10-04 Alan Modra <amodra@gmail.com>
1915 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1916 support. Don't branch over align.
1917 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1918 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1919 support. Rearrange tmp reg use to suit. Comment.
1920 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1922 2013-10-04 Alan Modra <amodra@gmail.com>
1924 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1926 2013-10-04 Alan Modra <amodra@gmail.com>
1928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1929 conditional form of branch and link when obtaining pc.
1930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1932 2013-10-04 Alan Modra <amodra@gmail.com>
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1939 2013-10-04 Alan Modra <amodra@gmail.com>
1941 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1942 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1943 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1944 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1945 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1946 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1947 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1948 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1949 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1950 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1952 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1953 Alistair Popple <alistair@ozlabs.au.ibm.com>
1954 Alan Modra <amodra@gmail.com>
1957 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1958 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1959 _dl_hwcap access for little-endian.
1960 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1961 destroy vmx regs when saving unaligned.
1962 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1963 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1964 destroy vmx regs when saving unaligned.
1966 2013-10-04 Alan Modra <amodra@gmail.com>
1968 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1969 Don't use a union to pack hi/low value.
1971 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1973 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1975 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1976 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1977 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1978 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1979 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1981 2013-10-04 Alan Modra <amodra@gmail.com>
1983 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1984 constants to usual value for .cst8 section, and remove redundant
1986 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1987 constant for 0x1p52. Load little-endian words of double from
1988 correct stack offsets.
1990 2013-10-04 Alan Modra <amodra@gmail.com>
1992 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1993 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1994 words of double from correct stack offsets.
1995 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1996 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1997 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1998 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1999 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2000 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2001 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2002 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2003 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2004 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2005 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2006 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2007 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2008 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2009 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2010 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2011 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2013 2013-10-04 Alan Modra <amodra@gmail.com>
2015 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2016 64-bit int/double union.
2017 (_FPU_SETCW): Likewise.
2018 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2019 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2021 2013-10-04 Alan Modra <amodra@gmail.com>
2023 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2024 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2026 2013-10-04 Alan Modra <amodra@gmail.com>
2028 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2029 use vector int constants.
2030 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2032 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2034 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2035 array with long long.
2036 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2037 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2038 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2039 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2040 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2041 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2042 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2043 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2044 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2045 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2046 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2047 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2048 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2050 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2052 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2053 (__signbit): Likewise. Correct for little-endian.
2054 (__signbitl): Call __signbit.
2055 (lrint): Correct for little-endian.
2056 (lrintf): Call lrint.
2058 2013-10-04 Alan Modra <amodra@gmail.com>
2060 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2061 union 32-bit int array member with 64-bit int array.
2062 (t515, tm256): Double rather than long double.
2063 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2065 2013-10-04 Alan Modra <amodra@gmail.com>
2067 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2069 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2071 version of math_ldbl.h.
2073 2013-10-04 Alan Modra <amodra@gmail.com>
2075 [BZ #15734], [BZ #15735]
2076 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2077 all uses of ieee875 long double macros and unions. Simplify test
2078 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2079 ldbl_extract_mantissa value for ix,iy exponents. Properly
2080 normalize after ldbl_extract_mantissa, and don't add hidden bit
2081 already handled. Don't treat low word of ieee854 mantissa like
2082 low word of IBM long double and mask off bit when testing for
2084 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2085 all uses of ieee875 long double macros and unions. Simplify tests
2086 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2087 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2088 two1022, instead use their values. Recognise that tests for large
2089 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2090 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2091 Rewrite all uses of ieee875 long double macros and unions. Simplify
2092 test for 0.0L and nan. Correct negation.
2093 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2094 ieee875 long double macros and unions. Correct output for large
2095 magnitude x. Correct absolute value calculation.
2096 (__erfcl): Likewise.
2097 * math/libm-test.inc: Add tests for errors discovered in IBM long
2098 double versions of fmodl, remainderl, erfl and erfcl.
2100 2013-10-04 Alan Modra <amodra@gmail.com>
2102 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2103 all uses of ieee854 long double macros and unions. Simplify tests
2104 for long doubles that are fully specified by the high double.
2105 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2107 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2108 Remove dead code too.
2109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2110 (__ieee754_ynl): Likewise.
2111 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2112 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2113 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2114 Remove dead code too.
2115 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2116 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2117 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2118 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2120 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2122 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2123 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2124 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2125 Comment on variable precision.
2126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2127 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2129 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2130 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2131 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2132 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2133 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2135 2013-10-04 Alan Modra <amodra@gmail.com>
2137 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2138 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2139 all uses of ieee854 long double macros and unions.
2140 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2142 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2144 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2145 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2147 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2148 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2149 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2150 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2151 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2152 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2153 Simplify sign and nan test too.
2154 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2155 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2156 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2157 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2159 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2160 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2163 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2164 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2165 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2166 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2167 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2169 2013-10-04 Alan Modra <amodra@gmail.com>
2171 * stdio-common/printf_size.c (__printf_size): Don't use
2172 union ieee854_long_double in fpnum union.
2173 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2174 signbit macro to retrieve sign from long double.
2175 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2176 retrieve sign from long double.
2177 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2178 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2179 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2180 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2181 * math/test-misc.c (main): Don't use union ieee854_long_double.
2183 2013-10-04 Alan Modra <amodra@gmail.com>
2186 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2187 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2188 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2189 calculation. Remove unnecessary test for denormal exponent.
2190 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2191 Correct handling of denormals. Avoid undefined shift behaviour.
2192 Correct normalisation of low mantissa when low double is denormal.
2193 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2194 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2195 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2196 Correct normalisation of low mantissa. Test for overflow of high
2197 mantissa and normalise.
2198 (ldbl_nearbyint): Use more readable constant for two52.
2199 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2200 (__mpn_construct_long_double): Fix test for overflow of high
2201 mantissa and correct normalisation. Avoid undefined shift.
2203 2013-10-04 Alan Modra <amodra@gmail.com>
2205 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2206 (union ibm_extended_long_double): Define as an array of ieee754_double.
2207 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2208 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2209 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2210 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2214 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2219 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2221 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2222 page size instead of calling getpagesize.
2224 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2225 (LOCFILE_ALIGN_MASK): Likewise.
2226 (LOCFILE_ALIGN_UP): Likewise.
2227 (LOCFILE_ALIGNED_P): Likewise.
2228 * locale/programs/ld-collate.c (collate_output): Use the new
2229 macros instead of __alignof__ (int32_t).
2230 * locale/weight.h (findidx): Likewise.
2232 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
2235 * manual/string.texi: Fix strncat and wcsncat.
2237 2013-10-03 Brooks Moses <bmoses@google.com>
2240 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2241 * Makerules: ...here, and adjust associated comments.
2243 2013-10-02 Will Newton <will.newton@linaro.org>
2245 * malloc/Makefile: Add tst-pvalloc.
2246 * malloc/tst-pvalloc.c: New file.
2248 2013-10-02 Will Newton <will.newton@linaro.org>
2250 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2251 improve test coverage.
2253 2013-10-02 Will Newton <will.newton@linaro.org>
2255 * malloc/Makefile: Add tst-posix_memalign.
2256 * malloc/tst-posix_memalign.c: New file.
2258 2013-10-01 Eric Blake <eblake@redhat.com>
2260 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2261 Use __THROWNL rather than __THROW on static functions.
2263 2013-09-30 Petr Machata <pmachata@redhat.com>
2265 * elf/elf.h (R_AARCH64_ABS16): New macro.
2266 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2267 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2268 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2269 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2270 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2271 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2272 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2273 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2274 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2275 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2276 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2277 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2278 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2279 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2280 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2281 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2282 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2283 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2284 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2285 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2286 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2287 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2288 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2289 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2290 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2291 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2292 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2293 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2294 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2295 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2296 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2297 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2298 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2299 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2300 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2301 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2302 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2303 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2304 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2305 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2306 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2307 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2308 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2309 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2310 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2311 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2312 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2313 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2314 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2315 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2316 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2317 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2318 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2319 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2320 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2321 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2322 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2323 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2324 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2325 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2326 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2327 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2328 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2329 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2330 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2331 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2332 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2333 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2334 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2335 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2336 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2337 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2338 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2339 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2340 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2341 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2342 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2343 (R_AARCH64_TLSDESC_LDR): Likewise.
2344 (R_AARCH64_TLSDESC_ADD): Likewise.
2345 (R_AARCH64_TLSDESC_CALL): Likewise.
2347 2013-09-30 Andreas Schwab <schwab@suse.de>
2350 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2351 the nss database lookup.
2352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2355 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2357 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2359 2013-09-28 P. J. McDermott <pj@pehjota.net>
2361 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2362 ${Bash-specific parameter/pattern/string} parameter expansion.
2363 * sysdeps/unix/make-syscalls.sh: Likewise.
2365 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2367 * sysdeps/sh/stackguard-macros.h: New file.
2369 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2372 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2373 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2374 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2375 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2376 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2378 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2380 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2381 Fix thread ID register.
2383 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2385 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2386 [POSIX || UNIX98]: Require rather than permitting all symbols from
2388 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2389 element of struct sched_param.
2390 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2391 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2392 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2393 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2396 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2398 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2399 argument calculation.
2401 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2403 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2405 [POSIX] (pthread_attr_t): Do not require type.
2406 [POSIX] (pthread_cond_t): Likewise.
2407 [POSIX] (pthread_condattr_t): Likewise.
2408 [POSIX] (pthread_key_t): Likewise.
2409 [POSIX] (pthread_mutex_t): Likewise.
2410 [POSIX] (pthread_mutexattr_t): Likewise.
2411 [POSIX] (pthread_once_t): Likewise.
2412 [POSIX] (pthread_t): Likewise.
2413 [POSIX-based standards] (pthread_atfork): Expect function.
2415 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2416 Richard Sandiford <richard@codesourcery.com>
2418 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2419 (swap_endianness_p): New extern variable.
2420 (set_big_endian): New inline function.
2421 (maybe_swap_uint32): Likewise.
2422 (maybe_swap_uint32_array): Likewise.
2423 (maybe_swap_uint32_obstack): Likewise.
2424 * locale/programs/locfile.c: Include <stdbool.h>.
2425 (swap_endianness_p): New variable.
2426 (add_locale_uint32): Call maybe_swap_uint32.
2427 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2428 (write_locale_data): Call maybe_swap_uint32_array.
2429 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2431 (obstack_int32_grow_fast): Likewise.
2432 (output_weightwc): Call maybe_swap_uint32_obstack.
2433 (collate_output): Likewise.
2434 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2435 (OPT_LITTLE_ENDIAN): Likewise.
2436 (options): Add --little-endian and --big-endian options.
2437 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2438 * locale/programs/locarchive.c: Include "locfile.h".
2442 (create_archive): Use the new macros to access fields of
2443 structures directly mapped from or written to locale archives.
2444 (oldlocrecentcmp): Likewise.
2445 (enlarge_archive): Likewise.
2446 (insert_name): Likewise.
2447 (add_alias): Likewise.
2448 (add_locale): Likewise.
2449 (delete_locales_from_archive): Likewise.
2450 (show_archive_content): Likewise.
2451 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2454 2013-09-24 Roland McGrath <roland@hack.frob.com>
2456 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2457 http://www.gnu.org/doc/freemanuals.texi.
2458 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2460 2013-09-24 Will Newton <will.newton@linaro.org>
2462 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2465 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2467 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2470 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2472 * manual/threads.texi (POSIX Threads): Fix a typo.
2474 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2477 * string/tst-strcoll-overflow.c: New test case.
2478 * string/Makefile (xtests): Add tst-strcoll-overflow.
2479 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2480 cache if string sizes may cause integer overflow.
2483 * string/strcoll_l.c (coll_seq): New members rule, idx,
2484 save_idx and back_us.
2485 (get_next_seq_nocache): New function.
2486 (do_compare_nocache): New function.
2487 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2490 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2493 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2494 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2495 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2498 * elf/Makefile (tests): Add tst-ptrguard1.
2499 (tests-static): Add tst-ptrguard1-static.
2500 (tst-ptrguard1-ARGS): Define.
2501 (tst-ptrguard1-static-ARGS): Define.
2502 * elf/tst-ptrguard1.c: New file.
2503 * elf/tst-ptrguard1-static.c: New file.
2504 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2505 * sysdeps/i386/stackguard-macros.h: Likewise.
2506 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2507 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2508 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2509 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2510 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2511 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2513 2013-09-23 Hector Marco <hecmargi@upv.es>
2514 Ismael Ripoll <iripoll@disca.upv.es>
2515 Carlos O'Donell <carlos@redhat.com>
2518 * sysdeps/generic/stackguard-macros.h: Define
2519 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2520 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2521 Define __pointer_chk_guard_local.
2522 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2523 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2525 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2528 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2530 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2532 * include/string.h (__ffs): Declare as hidden.
2533 * string/ffs.c (__ffs): Define as hidden.
2534 * sysdeps/i386/ffs.c (__ffs): Likewise.
2535 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2536 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2537 * sysdeps/s390/ffs.c (__ffs): Likewise.
2538 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2540 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2542 * NEWS: Mention malloc probes.
2544 * malloc/arena.c (new_heap): New memory_heap_new probe.
2545 (grow_heap): New memory_heap_more probe.
2546 (shrink_heap): New memory_heap_less probe.
2547 (heap_trim): New memory_heap_free probe.
2548 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2549 (systrim): New memory_sbrk_less probe.
2550 * manual/probes.texi: Document them.
2552 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2553 * manual/probes.texi: Document it.
2555 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2556 (__libc_realloc): Add memory_realloc_retry probe.
2557 (__libc_memalign): Add memory_memalign_retry probe.
2558 (__libc_valloc): Add memory_valloc_retry probe.
2559 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2560 (__libc_calloc): Add memory_calloc_retry probe.
2561 * manual/probes.texi: Document them.
2563 * malloc/arena.c (get_free_list): Add probe
2564 memory_arena_reuse_free_list.
2565 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2566 and memory_arena_reuse.
2567 (arena_get2) [!PER_THREAD]: Likewise.
2568 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2569 memory_arena_reuse_realloc.
2570 * manual/probes.texi: Document them.
2572 * malloc/malloc.c (__libc_free): Add
2573 memory_mallopt_free_dyn_thresholds probe.
2574 (__libc_mallopt): Add multiple memory_mallopt probes.
2575 * manual/probes.texi: Document them.
2577 * malloc/malloc.c: Include stap-probe.h.
2578 (__libc_mallopt): Add memory_mallopt probe.
2579 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2580 * manual/probes.texi: New.
2581 * manual/Makefile (chapters): Add probes.
2582 * manual/threads.texi: Set next node.
2584 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2587 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2588 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2589 Add `Chinese' to `nan' entry name.
2591 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2593 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2594 (POLYNOMIAL): Likewise.
2595 (TAYLOR_SINCOS): Likewise.
2596 (TAYLOR_SLOW): Likewise.
2597 (__sin): Use TAYLOR_SINCOS.
2599 (slow): Use TAYLOR_SLOW.
2604 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2606 * stdlib/strtod_l.c: Fix buffer overrun.
2608 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2610 * benchtests/Makefile (bench): Add sincos.
2611 * benchtests/bench-sincos.c: New file.
2613 * math/libm-test.inc (cos_test_data): New test inputs.
2614 (sin_test_data): Likewise.
2616 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2624 (bsloww1): Likewise.
2625 (bsloww2): Likewise.
2627 (csloww1): Likewise.
2628 (csloww2): Likewise.
2630 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2635 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2639 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2641 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2642 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2643 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2644 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2645 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2646 * elf/cache.c (print_entry): Handle the new cache flags.
2648 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2649 Aldy Hernandez <aldyh@redhat.com>
2651 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2652 Change condition to [_SOFT_FLOAT].
2653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2665 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2668 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2671 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2673 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2674 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2675 (__longjmp): Use LOAD_GP to load saved GPRs.
2676 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2677 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2678 (__sigsetjmp): Use SAVE_GP to save GPRs.
2680 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2681 Do not append -msoft-float.
2682 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2684 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2686 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2688 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2691 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2692 (_FPU_GETCW): Use initial "__" on variable and field names but not
2693 on macro parameter name.
2694 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2695 parentheses around reference to macro parameter.
2697 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2699 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2701 (ctype_startup): Use uint32_t in cast and sizeof for
2704 2013-09-11 Jia Liu <proljc@gmail.com>
2706 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2708 [__FreeBSD__]: Likewise.
2710 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2712 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2713 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2714 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2715 (strchr): Remove __strchr_sse42 ifunc selection.
2716 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2717 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2719 2013-09-11 Will Newton <will.newton@linaro.org>
2721 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2722 parameter to RES. Remove hardcoded 1000 value.
2723 * benchtests/bench-skeleton.c (main): Pass RES parameter
2724 to TIMING_INIT and multiply result by 1000.
2726 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2730 2013-09-11 Andreas Schwab <schwab@suse.de>
2732 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2734 (O_TMPFILE) [__USE_GNU]: Define.
2735 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2738 2013-09-11 Will Newton <will.newton@linaro.org>
2741 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2744 2013-09-11 Will Newton <will.newton@linaro.org>
2747 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2750 2013-09-11 Will Newton <will.newton@linaro.org>
2753 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2756 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2758 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2759 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2760 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2761 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2762 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2764 2013-09-10 Allan McRae <allan@archlinux.org>
2767 * manual/arith.texi (Parsing of Floats): Clarify
2771 * manual/install.texi (Running make install): Mention
2773 * INSTALL: Regenerated.
2775 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2777 * csu/init-first.c (_init): Remove the !SHARED condition around
2778 FPU control word initialization.
2779 * elf/dl-support.c (_dl_fpu_control): New variable.
2780 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2781 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2782 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2783 * math/test-fpucw-static.c: New file.
2784 * math/test-fpucw-ieee.c: New file.
2785 * math/test-fpucw-ieee-static.c: New file.
2786 * math/Makefile (tests): Add `test-fpucw-ieee' and
2788 (tests-static): New variable.
2789 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2791 [($(build-shared),yes)]
2792 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2794 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2797 2013-09-09 Allan McRae <allan@archlinux.org>
2800 * manual/string.texi (Collation Functions): Fix typo in
2802 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2805 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2808 * libio/memstream.c (open_memstream): Fix memory leak.
2809 * libio/wmemstream.c (open_wmemstream): Likewise.
2812 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2814 2013-09-09 Will Newton <will.newton@linaro.org>
2816 * malloc/Makefile: Add tst-realloc to tests.
2817 * malloc/tst-realloc.c: New file.
2819 2013-09-09 Allan McRae <allan@archlinux.org>
2822 * COPYING: Update from GNU website to fix FSF address.
2823 * COPYING.LIB: Likewise.
2825 2013-09-06 David S. Miller <davem@davemloft.net>
2827 * po/zh_TW.po: Update Chinese (traditional) translation from
2828 translation project.
2830 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2831 Joseph Myers <joseph@codesourcery.com>
2833 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2835 (obstack_chunk_alloc): New macro.
2836 (obstack_chunk_free): Likewise.
2837 (record_offset): New function.
2838 (init_locale_data): Likewise.
2839 (align_locale_data): Likewise.
2840 (add_locale_empty): Likewise.
2841 (add_locale_raw_data): Likewise.
2842 (add_locale_raw_obstack): Likewise.
2843 (add_locale_string): Likewise.
2844 (add_locale_wstring): Likewise.
2845 (add_locale_uint32): Likewise.
2846 (add_locale_uint32_array): Likewise.
2847 (add_locale_char): Likewise.
2848 (start_locale_structure): Likewise.
2849 (end_locale_structure): Likewise.
2850 (start_locale_prelude): Likewise.
2851 (end_locale_prelude): Likewise.
2852 (write_locale_data): Take locale_file structure rather than an
2854 * locale/programs/locfile.h: Include "obstack.h".
2855 (struct locale_file): Change to store locale file contents instead
2857 (init_locale_data): New prototype.
2858 (align_locale_data): Likewise.
2859 (add_locale_empty): Likewise.
2860 (add_locale_raw_data): Likewise.
2861 (add_locale_raw_obstack): Likewise.
2862 (add_locale_string): Likewise.
2863 (add_locale_wstring): Likewise.
2864 (add_locale_uint32): Likewise.
2865 (add_locale_uint32_array): Likewise.
2866 (add_locale_char): Likewise.
2867 (start_locale_structure): Likewise.
2868 (end_locale_structure): Likewise.
2869 (start_locale_prelude): Likewise.
2870 (end_locale_prelude): Likewise.
2871 (write_locale_data): Update prototype.
2872 * locale/programs/3level.h (struct TABLE): Remove result field.
2873 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2874 Use new locale_file interface.
2875 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2876 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2877 * locale/programs/ld-address.c (address_output): Use new
2878 locale_file interface.
2879 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2881 (collate_finish): Don't call collseq_table_finalize.
2882 (collate_output): Use new locale_file interface.
2883 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2885 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2886 (TABLE): Move defines earlier in file.
2887 (ELEMENT): Likewise.
2888 (DEFAULT): Likewise.
2889 (wctrans_table_add): Move macro and inline function earlier in
2891 (struct wctype_table): Move type earlier in file.
2892 (add_locale_wctype_table): New static prototype.
2893 (struct locale_ctype_t): Use logical types instead of struct iovec
2894 pointers for members.
2895 (ctype_output): Use new locale_file interface.
2896 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2897 new locale_file interface.
2898 (allocate_arrays): Update for use of new locale_file interface.
2899 * locale/programs/ld-identification.c (identification_output): Use
2900 new locale_file interface.
2901 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2902 * locale/programs/ld-messages.c (messages_output): Likewise.
2903 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2904 * locale/programs/ld-name.c (name_output): Likewise.
2905 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2906 * locale/programs/ld-paper.c (paper_output): Likewise.
2907 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2908 * locale/programs/ld-time.c (time_output): Likewise.
2910 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2912 * benchtests/Makefile: Add memrchr benchmark.
2913 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2914 benchmark as memrchr.
2915 * benchtests/bench-memrchr-ifunc.c: New file.
2916 * benchtests/bench-memrchr.c: New file.
2918 2013-09-06 Will Newton <will.newton@linaro.org>
2920 * benchtests/Makefile (string-bench): Add memcpy.
2922 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2923 Cong Wang <amwang@redhat.com>
2925 * sysdeps/unix/sysv/linux/bits/in.h
2926 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2927 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2928 before __USE_KERNEL_IPV6_DEFS uses.
2929 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2931 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2932 sockaddr_in6, or ipv6_mreq.
2934 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2936 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2937 memory access for final bytes in some large inputs.
2938 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2940 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2942 * string/test-memrchr.c: New file.
2943 * string/test-memrchr-ifunc.c: New file.
2944 * string/Makefile: Add new memrchr testcase.
2946 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2948 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2949 fanotify_init returns EPERM.
2951 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2953 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2955 (top level): Treat second token from macro or constant entries for
2956 allowed headers as allowed.
2957 * include/complex.h: Condition internal declarations on
2959 * include/fenv.h: Condition include of <stdbool.h> and internal
2960 declarations on [!_ISOMAC].
2962 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2965 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2967 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2969 * configure.in (--enable-versioning): Remove configure option.
2970 (libc_cv_asm_symver_directive): Remove configure test.
2971 (libc_cv_ld_version_script_option): Likewise.
2972 (VERSIONING): Remove variable and AC_SUBST.
2973 (DO_VERSIONING): Remove AC_DEFINE.
2974 * configure: Regenerated.
2975 * config.h.in (DO_VERSIONING): Remove macro.
2976 * Makerules [$(versioning) = yes]: Change conditionals to
2977 [$(build-shared) = yes].
2978 * config.make.in (versioning): Remove variable.
2979 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2980 [$(build-shared) = yes].
2981 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2982 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2983 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2984 [$(build-shared) = yes].
2985 * extra-lib.mk [$(versioning) = yes]: Likewise.
2986 * hurd/Makefile [$(versioning) = yes]: Likewise.
2987 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2989 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2991 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2992 [SHARED && !NO_HIDDEN].
2993 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2995 [SHARED && DO_VERSIONING]: Likewise..
2996 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2997 [$(build-shared) = yes].
2998 * manual/install.texi (--disable-versioning): Remove
3000 * INSTALL: Regenerated.
3001 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3003 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3004 [$(build-shared) = yes].
3005 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3006 * sysdeps/i386/i686/multiarch/strstr-c.c
3007 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3008 [SHARED && !NO_HIDDEN].
3009 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3010 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3011 * sysdeps/powerpc/powerpc32/dl-machine.c
3012 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3013 * sysdeps/powerpc/powerpc32/sysdep.h
3014 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3015 to [SHARED && PIC && !NO_HIDDEN].
3016 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3017 conditional to [SHARED].
3019 2013-09-04 Will Newton <will.newton@linaro.org>
3021 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3022 * benchtests/bench-string.h: Include bench-timing.h instead
3023 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3024 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3025 call to HP_TIMING_DIFF_INIT.
3026 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3027 instead of hp-timing.h macros.
3028 * benchtests/bench-memchr.c: Likewise.
3029 * benchtests/bench-memcmp.c: Likewise.
3030 * benchtests/bench-memcpy.c: Likewise.
3031 * benchtests/bench-memmem.c: Likewise.
3032 * benchtests/bench-memmove.c: Likewise.
3033 * benchtests/bench-memset.c: Likewise.
3034 * benchtests/bench-rawmemchr.c: Likewise.
3035 * benchtests/bench-strcasecmp.c: Likewise.
3036 * benchtests/bench-strcasestr.c: Likewise.
3037 * benchtests/bench-strcat.c: Likewise.
3038 * benchtests/bench-strchr.c: Likewise.
3039 * benchtests/bench-strcmp.c: Likewise.
3040 * benchtests/bench-strcpy.c: Likewise.
3041 * benchtests/bench-strcpy_chk.c: Likewise.
3042 * benchtests/bench-strlen.c: Likewise.
3043 * benchtests/bench-strncasecmp.c: Likewise.
3044 * benchtests/bench-strncat.c: Likewise.
3045 * benchtests/bench-strncmp.c: Likewise.
3046 * benchtests/bench-strncpy.c: Likewise.
3047 * benchtests/bench-strnlen.c: Likewise.
3048 * benchtests/bench-strpbrk.c: Likewise.
3049 * benchtests/bench-strrchr.c: Likewise.
3050 * benchtests/bench-strspn.c: Likewise.
3051 * benchtests/bench-strstr.c: Likewise.
3053 2013-09-04 Will Newton <will.newton@linaro.org>
3055 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3057 2013-09-03 Joseph Myers <joseph@codesourcery.com>
3060 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3061 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3062 * math/libm-test.inc (lgamma_test_data): Add more tests.
3063 * sysdeps/i386/fpu/libm-test-ulps: Update.
3064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3066 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3068 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3069 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3072 Add strcmp-sse2-unaligned
3073 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3075 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3077 * Versions.def (libc): Add GLIBC_2.19.
3079 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3081 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3082 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3084 2013-09-02 Joseph Myers <joseph@codesourcery.com>
3087 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3088 intermediate calculations in recurrence.
3089 (__ieee754_ynf): Likewise.
3090 * math/libm-test.inc (jn_test_data): Do not allow spurious
3091 underflow exception. Add more tests.
3092 (yn_test_data): Add more tests.
3093 * sysdeps/i386/fpu/libm-test-ulps: Update.
3094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3096 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
3098 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3100 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3102 * csu/init-first.c: Fix then/than typos.
3103 * locale/programs/ld-collate.c: Likewise.
3104 * locale/programs/linereader.h: Likewise.
3105 * manual/charset.texi: Likewise.
3106 * manual/filesys.texi: Likewise.
3107 * manual/stdio.texi: Likewise.
3108 * manual/string.texi: Likewise.
3109 * stdlib/fmtmsg.c: Likewise.
3110 * sysdeps/i386/stpncpy.S: Likewise.
3111 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3112 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3113 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3114 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3116 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3118 * elf/dl-open.c: Fix typos.
3119 * iconvdata/gbbig5.c: Likewise.
3120 * iconvdata/iso-2022-jp.c: Likewise.
3121 * iconv/gconv_int.h: Likewise.
3122 * iconv/loop.c: Likewise.
3123 * nis/rpcsvc/nis.h: Likewise.
3124 * resolv/ns_name.c: Likewise.
3125 * stdio-common/vfscanf.c: Likewise.
3126 * streams/stropts.h: Likewise.
3127 * sunrpc/rpc_thread.c: Likewise.
3128 * sysdeps/i386/strpbrk.S: Likewise.
3129 * sysdeps/ieee754/k_standard.c: Likewise.
3130 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3131 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3132 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3133 * sysdeps/mach/hurd/profil.c: Likewise.
3134 * sysdeps/s390/dl-procinfo.h: Likewise.
3135 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3136 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3137 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3138 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3139 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3141 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3143 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3144 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3146 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3148 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3150 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3151 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3152 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3154 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3155 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3156 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3157 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3159 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3160 Roland McGrath <roland@hack.frob.com>
3162 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3163 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3165 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3167 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3168 __executable_start symbol instead of _start.
3170 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3172 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3173 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3175 * sysdeps/gnu/ldsodefs.h: ... this new file.
3177 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3178 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3179 instead of ELFOSABI_LINUX.
3181 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3182 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3183 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3184 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3186 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3187 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3188 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3190 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3191 (ibm_extended_long_double): Add ieee_nan member.
3192 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3193 (do_test): New function.
3195 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3197 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3198 functions, renamed from truncdfsf_test, trunctfsf_test,
3200 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3202 (do_test): Run all these.
3204 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3206 * argp/argp-help.c: Fix typos.
3207 * argp/argp-parse.c: Likewise.
3208 * debug/backtracesyms.c: Likewise.
3209 * elf/elf.h: Likewise.
3210 * malloc/malloc.c: Likewise.
3211 * nis/nis_print.c: Likewise.
3212 * resolv/res_comp.c: Likewise.
3213 * stdlib/stdlib.h: Likewise.
3214 * sunrpc/clnt_tcp.c: Likewise.
3215 * sunrpc/clnt_udp.c: Likewise.
3216 * sunrpc/clnt_unix.c: Likewise.
3217 * sysdeps/unix/bsd/ptsname.c: Likewise.
3218 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3219 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3226 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3228 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3230 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3233 2013-08-27 Mike Frysinger <vapier@gentoo.org>
3236 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3237 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3238 ($(objpfx)bug-dl-leaf): New rule.
3239 ($(objpfx)bug-dl-leaf.so): Likewise.
3240 ($(objpfx)bug-dl-leaf.out): Likewise.
3241 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3242 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3243 * dlfcn/bug-dl-leaf.c: New test.
3244 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3245 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3246 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3247 (dlclose): Likewise.
3248 (dlmopen): Likewise.
3250 2013-08-27 Roland McGrath <roland@hack.frob.com>
3252 * include/netdb.h [!_ISOMAC]:
3253 Don't include <tls.h>.
3254 (h_errno, __libc_h_errno): Move declaration and macros out of
3257 * include/resolv.h [_RESOLV_H_]:
3258 Don't include <tls.h>.
3259 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3260 * resolv/res_libc.c: Don't include <tls.h>.
3261 (_res): Use __attribute__ ((nocommon)) in place of
3262 __attribute__ ((section (".bss"))).
3264 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3265 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3267 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3269 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3270 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3272 * resolv/res_mkquery.c: Include <sys/time.h>.
3274 * inet/ifreq.c: Moved to ...
3275 * sysdeps/unix/ifreq.c: ... here.
3276 * inet/ifreq.c: New file, true stub version.
3278 * socket/sa_len.c: New file.
3279 * socket/Makefile (aux): Add it.
3280 * sysdeps/unix/sysv/linux/Makefile
3281 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3282 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3283 and #include <socket/sa_len.c>.
3284 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3285 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3287 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3288 * bits/socket.h: ... here.
3290 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3291 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3292 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3294 2013-08-27 Andreas Schwab <schwab@suse.de>
3297 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3298 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3299 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3300 * string/test-strcasecmp.c (test_main): Run tests in several
3302 * string/test-strncasecmp.c (test_main): Likewise.
3304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3305 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3306 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3307 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3308 (__strncasecmp_ssse3) [PIC]: Likewise.
3310 2013-08-26 Roland McGrath <roland@hack.frob.com>
3312 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3314 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3315 instead of explicitly declaring xdecrypt.
3316 * nis/nss_nis/nis-publickey.c: Likewise.
3318 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3321 * nscd/aicache.c: Include res_hconf.h.
3322 (addhstaiX): Initialize res_hconf.
3324 2013-08-26 Andreas Schwab <schwab@suse.de>
3326 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3327 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3329 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3331 * nscd/aicache.c (addhstaiX): Fix indentation.
3333 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3335 * configure.ac: Quote $build_pt_chown test.
3336 * configure: Regenerated.
3338 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3341 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3342 * math/s_cexpf.c (__cexpf): Likewise.
3343 * math/s_cexpl.c (__cexpl): Likewise.
3344 * math/libm-test.inc (cexp_test_data): Correct expected return
3345 value for NaN + i0. Add another test.
3347 2013-08-22 David S. Miller <davem@davemloft.net>
3349 * po/ca.po: Update Catalan translation from translation project.
3350 * po/uk.po: Add Ukrainian translations from translation project.
3352 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3355 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3356 is infinite, not alongside NaN test.
3357 * math/s_fdimf.c (__fdimf): Likewise.
3358 * math/s_fdiml.c (__fdiml): Likewise.
3359 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3362 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3364 * argp/argp-help.c: Fix typos.
3365 * crypt/speeds.c: Likewise.
3366 * csu/check_fds.c: Likewise.
3367 * elf/dl-load.c: Likewise.
3368 * elf/dl-open.c: Likewise.
3369 * elf/reldep3.c: Likewise.
3370 * elf/reldep.c: Likewise.
3371 * elf/sprof.c: Likewise.
3372 * iconv/iconv_charmap.c: Likewise.
3373 * iconv/skeleton.c: Likewise.
3374 * iconv/strtab.c: Likewise.
3375 * io/lockf64.c: Likewise.
3376 * libio/libioP.h: Likewise.
3377 * resolv/gai_notify.c: Likewise.
3378 * resolv/ns_name.c: Likewise.
3379 * resolv/ns_samedomain.c: Likewise.
3380 * resolv/res_send.c: Likewise.
3381 * stdlib/random.c: Likewise.
3382 * sunrpc/rpc/xdr.h: Likewise.
3383 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3384 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3385 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3386 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3387 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3390 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3391 * sysdeps/mach/hurd/check_fds.c: Likewise.
3392 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3393 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3394 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3395 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3396 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3397 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3398 * sysdeps/pthread/aio_notify.c: Likewise.
3399 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3400 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3401 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3402 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3403 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3405 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3407 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3408 version if bit_Slow_SSE4_2 is set.
3409 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3410 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3412 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3415 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3416 trampoline stack frame information.
3417 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3418 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3419 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3420 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3421 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3422 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3423 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3424 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3426 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3427 interrupting a syscall and set with option SA_SIGINFO.
3429 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3432 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3433 argument is infinite.
3434 * math/s_cprojf.c (__cprojf): Likewise.
3435 * math/s_cprojl.c (__cprojl): Likewise.
3436 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3437 * math/libm-test.inc (cproj_test_data): Add more tests.
3439 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3441 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3442 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3443 size. Use __ffs to determine corresponding shift.
3445 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3446 Roland McGrath <roland@hack.frob.com>
3448 * Makefile (INSTALL): Remove trailing blank lines from output of
3451 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3453 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3454 Align 32 bit compat elf_greg to 8 bytes.
3456 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3458 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3460 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3462 * string/strcoll_l.c (coll_seq): New structure.
3463 (get_next_seq_cached): New function.
3464 (get_next_seq): New function.
3465 (do_compare): New function.
3466 (STRCOLL): Use GNU style definition. Simplify implementation
3467 by using get_next_seq, get_next_seq_cached and do_compare.
3469 2013-08-16 Florian Weimer <fweimer@redhat.com>
3473 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3475 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3477 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3478 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3479 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3481 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3482 GETDENTS_64BIT_ALIGNED.
3483 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3484 * manual/filesys.texi (Reading/Closing Directory): Document
3485 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3487 * manual/conf.texi (Limits for Files): Add portability note to
3489 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3491 2013-08-13 Andreas Schwab <schwab@suse.de>
3494 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3496 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3497 LDBL_MAX_EXP >= 16384]: Add tests for it.
3499 2013-08-12 David S. Miller <davem@davemloft.net>
3501 * version.h (RELEASE): Set to "development".
3502 (VERSION): Set to "2.18.90".
3503 * NEWS: Add 2.19 section.
3505 2013-08-03 David S. Miller <davem@davemloft.net>
3507 * po/ko.po: Update Korean translation from translation project.
3509 2013-08-01 David S. Miller <davem@davemloft.net>
3511 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3512 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3515 2013-07-30 David S. Miller <davem@davemloft.net>
3517 * po/fr.po: Update French translation from translation project.
3519 2013-07-28 David S. Miller <davem@davemloft.net>
3521 * po/cs.po: Update Czech translation from translation project.
3523 * po/sv.po: Update Swedish translation from translation project.
3525 2013-07-27 David S. Miller <davem@davemloft.net>
3527 * po/eo.po: Update Esperanto translation from translation project.
3529 * po/vi.po: Update Vietnamese translation from translation project.
3531 * po/de.po: Update German translation from translation project.
3533 2013-07-26 David S. Miller <davem@davemloft.net>
3535 * po/bg.po: Update Bulgarian translation from translation project.
3537 * po/nl.po: Update Dutch translation from translation project.
3538 * po/pl.po: Update Polish translation from translation project.
3539 * po/ru.po: Update Russian translation from translation project.
3541 2013-07-24 David S. Miller <davem@davemloft.net>
3543 * po/libc.pot: Update.
3545 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3547 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3549 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3550 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3551 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3553 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3555 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3557 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3558 Andreas Schwab <schwab@suse.de>
3559 Roland McGrath <roland@hack.frob.com>
3560 Joseph Myers <joseph@codesourcery.com>
3561 Carlos O'Donell <carlos@redhat.com>
3564 * config.h.in: Define HAVE_PT_CHOWN.
3565 * config.make.in (build-pt-chown): New variable.
3566 * configure.in (--enable-pt_chown): New configure option.
3567 * configure: Regenerate.
3568 * login/Makefile: Include Makeconfig. Build pt_chown only if
3569 build-pt-chown is enabled.
3570 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3571 pt_chown to fix pty ownership.
3572 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3574 * manual/install.texi (Configuring and compiling): Mention
3575 --enable-pt_chown. Add @findex for grantpt.
3576 * INSTALL: Regenerate.
3578 2013-07-20 David S. Miller <davem@davemloft.net>
3580 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3581 difference between 32-bit and 64-bit.
3583 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3586 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3587 Avoid system header dependency with -ffreestanding.
3588 ($(objpfx)bits/syscall%d): Likewise.
3590 2013-07-13 David S. Miller <davem@davemloft.net>
3592 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3593 underflows from atanl/atan2l due to bug 15319.
3594 (casinh_test_data): Likewise.
3596 2013-07-07 David S. Miller <davem@davemloft.net>
3598 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3600 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3602 * sysdeps/i386/fpu/libm-test-ulps: Update.
3603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3605 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3607 * configure.in (--enable-lock-elision): Fix message text.
3608 * INSTALL: Regenerate.
3609 * configure: Regenerate.
3611 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3615 2013-07-03 Andreas Jaeger <aj@suse.de>
3617 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3619 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3620 (ptrace_peeksiginfo_args): Add.
3621 (__ptrace_peeksiginfo_flags): Add.
3622 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3623 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3624 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3626 2013-07-03 Allan McRae <allan@archlinux.org>
3628 * sysdeps/i386/fpu/libm-test-ulps: Update.
3630 2013-07-02 David S. Miller <davem@davemloft.net>
3632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3634 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3638 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3640 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3643 2013-07-02 Andi Kleen <ak@linux.intel.com>
3645 * config.h.in (ENABLE_LOCK_ELISION): Add.
3646 * configure.in (--enable-lock-elision): Add option.
3647 * manual/install.texi: Document --enable lock elision.
3648 * configure: Regenerate
3649 * INSTALL: Regenerate.
3651 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3653 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3654 SSE4.2 strcasecmp for libc.a.
3655 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3657 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3660 * soft-fp/op-common.h (_FP_FMA): New macro.
3661 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3662 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3663 (_FP_MUL_MEAT_1_imm): ... here.
3664 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3665 (_FP_MUL_MEAT_1_wide): ... here.
3666 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3667 (_FP_MUL_MEAT_1_hard): ... here.
3668 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3669 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3670 (_FP_MUL_MEAT_2_wide): ... here.
3671 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3672 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3673 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3674 (_FP_MUL_MEAT_2_gmp): ... here.
3675 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3676 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3677 (_FP_MUL_MEAT_4_wide): ... here.
3678 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3679 (_FP_MUL_MEAT_4_gmp): ... here.
3680 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3681 (_FP_WFRACBITS_DW_S): Likewise.
3682 (_FP_WFRACXBITS_DW_S): Likewise.
3683 (_FP_HIGHBIT_DW_S): Likewise.
3684 (FP_FMA_S): Likewise.
3685 (_FP_FRAC_HIGH_DW_S): Likewise.
3686 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3687 (_FP_WFRACBITS_DW_D): Likewise.
3688 (_FP_WFRACXBITS_DW_D): Likewise.
3689 (_FP_HIGHBIT_DW_D): Likewise.
3690 (FP_FMA_D): Likewise.
3691 (_FP_FRAC_HIGH_DW_D): Likewise.
3692 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3693 (_FP_WFRACBITS_DW_E): Likewise.
3694 (_FP_WFRACXBITS_DW_E): Likewise.
3695 (_FP_HIGHBIT_DW_E): Likewise.
3696 (FP_FMA_E): Likewise.
3697 (_FP_FRAC_HIGH_DW_E): Likewise.
3698 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3699 (_FP_WFRACBITS_DW_Q): Likewise.
3700 (_FP_WFRACXBITS_DW_Q): Likewise.
3701 (_FP_HIGHBIT_DW_Q): Likewise.
3702 (FP_FMA_Q): Likewise.
3703 (_FP_FRAC_HIGH_DW_Q): Likewise.
3704 * soft-fp/fmasf4.c: New file.
3705 * soft-fp/fmadf4.c: Likewise.
3706 * soft-fp/fmatf4.c: Likewise.
3708 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3711 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3715 (index_Slow_SSE4_2): Likewise.
3716 (index_Prefer_PMINUB_for_stringop): Likewise.
3717 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3718 bit_Slow_SSE4_2 is set.
3719 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3720 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3722 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3724 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3725 rtld_global._dl_hwcap2.
3726 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3728 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3729 POWER8 feature descriptions defined in _dl_hwcap2.
3730 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3731 string handling for POWER8 feature bits.
3732 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3733 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3734 _dl_powerpc_cap_flags.
3735 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3736 * sysdeps/powerpc/rtld-global-offsets.sym
3737 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3738 _dl_hwcap2 in the rtld_global_ro structure.
3740 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3742 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3743 hardware capabilities in support of AT_HWCAP2.
3744 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3745 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3747 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3748 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3749 explicitly the unknown a_type display mechanism is used.
3750 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3751 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3753 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3754 to macro prototype for AT_HWCAP2 support.
3755 * sysdeps/i386/dl-procinfo.h: Likewise.
3756 * sysdeps/s390/dl-procinfo.h: Likewise.
3757 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3758 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3759 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3760 return -1 for unknown a_type display fallback.
3761 * sysdeps/sparc/dl-procinfo.h: Likewise.
3762 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3763 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3765 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3767 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3768 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3770 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3773 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3774 mprotect making __stack_prot writable.
3776 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3777 Joseph Myers <joseph@codesourcery.com>
3779 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3780 as being properly aligned.
3782 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3784 * dlfcn/modstatic5.c: New file.
3785 * dlfcn/tststatic5.c: New file.
3786 * dlfcn/Makefile (tests): Add tststatic5.
3787 (tests-static): Likewise.
3788 (modules-names): Add modstatic5.
3789 (tststatic5-ENV): New variable.
3790 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3793 * elf/dl-support.c (_dl_main_map): New variable.
3794 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3795 (_dl_nns, _dl_load_adds): Set to 1.
3796 (_dl_initial_searchlist): Refer to _dl_main_map.
3797 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3798 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3799 call to _dl_get_origin.
3800 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3802 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3803 * dlfcn/modstatic3.c: New file.
3804 * dlfcn/tststatic3.c: New file.
3805 * dlfcn/tststatic4.c: New file.
3806 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3807 (tests-static): Likewise.
3808 (modules-names): Add modstatic3.
3809 (tststatic3-ENV, tststatic4-ENV): New variables.
3810 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3811 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3813 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3815 * configure.in (CC): Require GCC version 4.4 or later.
3816 * configure: Regenerated.
3817 * manual/install.texi (Tools for Compilation): Update GCC version
3819 * INSTALL: Regenerated.
3821 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3824 * string/test-memcmp.c (check2): New.
3825 (main): Call check2.
3827 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3829 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3832 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3834 (dl_open_worker) [!SHARED]: ... here.
3836 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3838 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3840 2013-06-25 Richard Henderson <rth@redhat.com>
3842 * locale/programs/locarchive.c: Include <libc-internal.h>
3844 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3846 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3847 trailing whitespace removed.
3849 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3852 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3853 * locale/programs/locarchive.c: Include libc-mmap.h.
3854 (prepare_address_space): Take two new outputs (the mmap base and len).
3855 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3857 (create_archive): Declare new mmap base and len values for
3858 prepare_address_space, and store the result in ah.
3859 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3860 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3861 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3862 Declare new mmap base and len values for
3863 prepare_address_space, and store the result in new_ah.
3864 (open_archive): Declare new mmap base and len values for
3865 prepare_address_space, and store the result in ah.
3866 (close_archive): If ah->mmap_base is not NULL, use that and
3867 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3868 * sysdeps/generic/libc-mmap.h: New file.
3870 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3872 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3873 (ALIGN_UP): Likewise.
3874 (PTR_ALIGN_DOWN): Likewise.
3875 (PTR_ALIGN_UP): Likewise.
3877 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3879 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3880 entry mapped to PPC_PLATFORM_POWER8.
3881 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3883 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3884 (_dl_string_platform): Add case for exporting platform position for
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3887 search path to sysdeps/powerpc/powerpc32/power8 directory.
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3889 search path to sysdeps/powerpc/powerpc64/power8 directory.
3890 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3892 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3895 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3897 * INSTALL: Regenerate.
3899 * nscd/connections.c (nscd_init): Fix comment.
3901 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3903 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3906 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3907 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3909 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3911 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3913 (DL_DST_REQ_STATIC): Remove macro.
3915 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3918 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3919 with a shift of 0 bits.
3921 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3923 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3926 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3929 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3931 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3933 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3934 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3935 accepts -fno-tree-loop-distribute-patterns.
3936 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3937 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3939 * string/memset.c (memset): Likewise.
3940 * string/test-memmove.c (simple_memmove): Disable loop transformation
3942 * string/test-memset.c (simple_memset): Likewise.
3943 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3944 * benchtests/bench-memset.c (simple_memset): Likewise.
3945 * configure: Regenerated.
3947 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3949 * math/test-misc.c (main): Ignore fesetround failure when failures
3950 of subsequent rounding tests would be ignored.
3953 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3954 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3955 * math/fegetenv.c (__fegetenv): Return 0.
3956 * math/fegetexcept.c (fegetexcept): Return 0.
3957 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3959 * math/feholdexcpt.c (feholdexcept): Return 0.
3960 * math/fesetenv.c (__fesetenv): Return 0.
3961 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3962 argument FE_TONEAREST.
3963 * math/feupdateenv.c (__feupdateenv): Return 0.
3964 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3966 2013-06-18 Roland McGrath <roland@hack.frob.com>
3968 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3969 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3970 ($(objpfx)rtld-%.os rules): Use them.
3972 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3974 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3977 2013-06-17 Roland McGrath <roland@hack.frob.com>
3979 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3980 length of target pattern, then descending length of dependency pattern.
3981 * configure.in (AWK): Require gawk 3.1.2 or newer.
3982 * manual/install.texi (Tools for Compilation): Say that we do.
3983 * configure: Regenerated.
3985 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3986 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3987 * scripts/sysd-rules.awk: ... this new script.
3988 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3989 than a glob-style pattern.
3991 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3993 * math/test-misc.c (main): Do not treat incorrectly rounded
3994 conversions as failure unless ROUNDING_TESTS passes.
3996 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3999 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4000 restore exception state around main square root computation, then
4001 check for inexactness explicitly.
4003 * math/libm-test.inc (fma_test_data): Add another test.
4005 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4007 * manual/threads.texi (Non-POSIX Extensions): New document
4008 node. Document pthread_getattr_default_np and
4009 pthread_setattr_default_np.
4011 * Versions.def (libpthread): Add GLIBC_2.18.
4012 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4021 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4029 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4032 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4035 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4037 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4038 H.J. Lu <hjl.tools@gmail.com>
4041 * sysdeps/x86_64/rtld-memset.c: Remove file.
4042 * sysdeps/x86_64/rtld-memset.S: New file.
4044 2013-06-14 Joseph Myers <joseph@codesourcery.com>
4046 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4047 (test_in_one_mode): Take arguments for whether the rounding mode
4048 is supported for each floating-point type.
4049 (do_test): Pass new arguments to test_in_one_mode using
4052 2013-06-13 Roland McGrath <roland@hack.frob.com>
4054 * posix/tst-waitid.c (do_test): Distinguish different instances of
4055 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4056 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4057 before entering the kernel for waitpid.
4059 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4061 * NEWS: Fix note on clock function precision. Text by Roland
4064 2013-06-13 Roland McGrath <roland@hack.frob.com>
4066 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4067 it into place only when and if the sanity check passes.
4069 2013-06-13 Joseph Myers <joseph@codesourcery.com>
4071 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4072 output for whether conversion result is exact. Take argument
4073 indicating whether type is IBM long double.
4074 (round_for_all): Change need_exact field to ibm_ld.
4075 * stdlib/tst-strtod-round.c (struct exactness): New type.
4076 (struct test): Change bool ld_ok field to struct exactness exact.
4077 (TEST): Update all definitions for change to field.
4078 (tests): Regenerate array contents.
4079 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4080 field value. Check for IBM long double here.
4081 (do_test): Update calls to test_in_one_mode.
4083 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4086 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4087 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4089 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4092 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4093 generated by the compiler on loop optimizations.
4094 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4095 general definitions.
4097 2013-06-12 Joseph Myers <joseph@codesourcery.com>
4099 * math/bug-nextafter.c: Include <math-tests.h>.
4100 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4102 * math/bug-nexttoward.c: Include <math-tests.h>.
4103 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4105 * math/test-misc.c: Include <math-tests.h>.
4106 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4109 2013-06-12 Andreas Jaeger <aj@suse.de>
4111 * po/ia.po: Update Interlingua translation from translation
4114 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4116 * include/fenv.h: Include stdbool.h.
4117 (struct rm_ctx): New structure.
4118 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4120 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4121 (SET_RESTORE_ROUNDF): Likewise.
4122 (SET_RESTORE_ROUNDL): Likewise.
4123 (SET_RESTORE_ROUND_NOEX): Likewise.
4124 (SET_RESTORE_ROUND_NOEXF): Likewise.
4125 (SET_RESTORE_ROUND_NOEXL): Likewise.
4126 (SET_RESTORE_ROUND_53BIT): Likewise.
4127 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4128 (libc_feresetround_noexf_ctx): Likewise.
4129 (libc_feresetround_noexl_ctx): Likewise.
4130 (libc_feholdsetround_53bit_ctx): Likewise.
4131 (libc_feresetround_53bit_ctx): Likewise.
4132 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4133 (libc_feholdexcept_setround_sse_ctx): New function.
4134 (libc_fesetenv_sse_ctx): Likewise.
4135 (libc_feupdateenv_sse_ctx): Likewise.
4136 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4137 (libc_feholdexcept_setround_387_ctx): Likewise.
4138 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4139 (libc_feholdsetround_387_prec_ctx): Likewise.
4140 (libc_feholdsetround_387_ctx): Likewise.
4141 (libc_feholdsetround_387_53bit_ctx): Likewise.
4142 (libc_feholdsetround_sse_ctx): Likewise.
4143 (libc_feresetround_sse_ctx): Likewise.
4144 (libc_feresetround_387_ctx): Likewise.
4145 (libc_feupdateenv_387_ctx): Likewise.
4146 (libc_feholdexcept_setroundf_ctx): Define macro.
4147 (libc_fesetenvf_ctx): Likewise.
4148 (libc_feupdateenvf_ctx): Likewise.
4149 (libc_feholdsetroundf_ctx): Likewise.
4150 (libc_feresetroundf_ctx): Likewise.
4151 (libc_feholdexcept_setround_ctx): Likewise.
4152 (libc_fesetenv_ctx): Likewise.
4153 (libc_feupdateenv_ctx): Likewise.
4154 (libc_feholdsetround_ctx): Likewise.
4155 (libc_feresetround_ctx): Likewise.
4156 (libc_feholdexcept_setroundl_ctx): Likewise.
4157 (libc_feupdateenvl_ctx): Likewise.
4158 (libc_feholdsetroundl_ctx): Likewise.
4159 (libc_feresetroundl_ctx): Likewise.
4160 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4161 (libc_feresetround_53bit_ctx): Likewise.
4163 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4165 * locale/iso-639.def: Convert to UTF-8.
4167 2013-06-11 Joseph Myers <joseph@codesourcery.com>
4169 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4170 (EXCEPTION_TESTS_double): Likewise.
4171 (EXCEPTION_TESTS_long_double): Likewise.
4172 (EXCEPTION_TESTS): Likewise.
4173 * math/libm-test.inc (test_exceptions): Only test exceptions if
4174 EXCEPTION_TESTS (FLOAT).
4176 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4178 * benchtests/Makefile (string-bench): Add strcpy_chk and
4180 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4181 * benchtests/bench-stpcpy_chk.c: New file.
4182 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4183 * benchtests/bench-strcpy_chk.c: New file.
4184 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4186 (do_test): Likewise.
4188 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4190 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4191 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4192 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4193 with tabs where appropriate.
4194 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4196 [PPC_PLATFORM_PPC440]: Likewise.
4197 [PPC_PLATFORM_PPC464]: Likewise.
4198 [PPC_PLATFORM_PPC476]: Likewise.
4199 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4200 ppc464, and ppc476 platform strings merging from ports/
4203 2013-06-11 Andreas Schwab <schwab@suse.de>
4206 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4207 (from_ucs4_idx): Regenerate.
4208 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4209 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4210 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4211 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4212 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4213 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4214 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4215 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4216 from FROM_LOOP and TO_LOOP specific macros.
4217 (BODY): Handle combining characters.
4218 * iconvdata/BIG5HKSCS.irreversible: Update.
4219 * iconvdata/BIG5HKSCS.precomposed: New file.
4220 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4222 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4224 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4226 * include/sys/time.h: Fix indentation and add copyright header.
4228 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4229 (do_test): Likewise.
4230 * string/test-memchr.c (do_one_test): Likewise.
4231 (do_test): Likewise.
4232 * string/test-memcmp.c (do_one_test): Likewise.
4233 (do_test): Likewise.
4234 * string/test-memcpy.c (do_one_test): Likewise.
4235 (do_test): Likewise.
4236 * string/test-memmem.c (do_one_test): Likewise.
4237 (do_test): Likewise.
4238 (do_random_tests): Likewise.
4239 * string/test-memmove.c (do_one_test): Likewise.
4240 (do_test): Likewise.
4241 * string/test-memset.c (do_one_test): Likewise.
4242 (do_test): Likewise.
4243 * string/test-rawmemchr.c (do_one_test): Likewise.
4244 (do_test): Likewise.
4245 * string/test-strcasecmp.c (do_one_test): Likewise.
4246 (do_test): Likewise.
4247 * string/test-strcasestr.c (do_one_test): Likewise.
4248 (do_test): Likewise.
4249 * string/test-strcat.c (do_one_test): Likewise.
4250 (do_test): Likewise.
4251 * string/test-strchr.c (do_one_test): Likewise.
4252 (do_test): Likewise.
4253 * string/test-strcmp.c (do_one_test): Likewise.
4254 (do_test): Likewise.
4255 * string/test-strcpy.c (do_one_test): Likewise.
4256 (do_test): Likewise.
4257 * string/test-string.h: Likewise.
4258 (test_init): Likewise.
4259 * string/test-strlen.c (do_one_test): Likewise.
4260 (do_test): Likewise.
4261 * string/test-strncasecmp.c (do_one_test): Likewise.
4262 (do_test): Likewise.
4263 * string/test-strncat.c (do_one_test): Likewise.
4264 (do_test): Likewise.
4265 * string/test-strncmp.c (do_one_test): Likewise.
4266 (do_test_limit): Likewise.
4267 (do_test): Likewise.
4268 * string/test-strncpy.c (do_one_test): Likewise.
4269 (do_test): Likewise.
4270 * string/test-strnlen.c (do_one_test): Likewise.
4271 (do_test): Likewise.
4272 * string/test-strpbrk.c (do_one_test): Likewise.
4273 (do_test): Likewise.
4274 * string/test-strrchr.c (do_one_test): Likewise.
4275 (do_test): Likewise.
4276 * string/test-strspn.c (do_one_test): Likewise.
4277 (do_test): Likewise.
4278 * string/test-strstr.c (do_one_test): Likewise.
4279 (do_test): Likewise.
4281 * benchtests/Makefile (string-bench): Add string benchmarks.
4282 * benchtests/bench-bcopy-ifunc.c: New file.
4283 * benchtests/bench-bcopy.c: New file.
4284 * benchtests/bench-bzero-ifunc.c: New file.
4285 * benchtests/bench-bzero.c: New file.
4286 * benchtests/bench-memccpy-ifunc.c: New file.
4287 * benchtests/bench-memccpy.c: New file.
4288 * benchtests/bench-memchr-ifunc.c: New file.
4289 * benchtests/bench-memchr.c: New file.
4290 * benchtests/bench-memcmp-ifunc.c: New file.
4291 * benchtests/bench-memcmp.c: New file.
4292 * benchtests/bench-memmem-ifunc.c: New file.
4293 * benchtests/bench-memmem.c: New file.
4294 * benchtests/bench-memmove-ifunc.c: New file.
4295 * benchtests/bench-memmove.c: New file.
4296 * benchtests/bench-mempcpy-ifunc.c: New file.
4297 * benchtests/bench-mempcpy.c: New file.
4298 * benchtests/bench-memset-ifunc.c: New file.
4299 * benchtests/bench-memset.c: New file.
4300 * benchtests/bench-rawmemchr-ifunc.c: New file.
4301 * benchtests/bench-rawmemchr.c: New file.
4302 * benchtests/bench-stpcpy-ifunc.c: New file.
4303 * benchtests/bench-stpcpy.c: New file.
4304 * benchtests/bench-stpncpy-ifunc.c: New file.
4305 * benchtests/bench-stpncpy.c: New file.
4306 * benchtests/bench-strcasecmp-ifunc.c: New file.
4307 * benchtests/bench-strcasecmp.c: New file.
4308 * benchtests/bench-strcasestr-ifunc.c: New file.
4309 * benchtests/bench-strcasestr.c: New file.
4310 * benchtests/bench-strcat-ifunc.c: New file.
4311 * benchtests/bench-strcat.c: New file.
4312 * benchtests/bench-strchr-ifunc.c: New file.
4313 * benchtests/bench-strchr.c: New file.
4314 * benchtests/bench-strchrnul-ifunc.c: New file.
4315 * benchtests/bench-strchrnul.c: New file.
4316 * benchtests/bench-strcmp-ifunc.c: New file.
4317 * benchtests/bench-strcmp.c: New file.
4318 * benchtests/bench-strcpy-ifunc.c: New file.
4319 * benchtests/bench-strcpy.c: New file.
4320 * benchtests/bench-strcspn-ifunc.c: New file.
4321 * benchtests/bench-strcspn.c: New file.
4322 * benchtests/bench-strlen-ifunc.c: New file.
4323 * benchtests/bench-strlen.c: New file.
4324 * benchtests/bench-strncasecmp-ifunc.c: New file.
4325 * benchtests/bench-strncasecmp.c: New file.
4326 * benchtests/bench-strncat-ifunc.c: New file.
4327 * benchtests/bench-strncat.c: New file.
4328 * benchtests/bench-strncmp-ifunc.c: New file.
4329 * benchtests/bench-strncmp.c: New file.
4330 * benchtests/bench-strncpy-ifunc.c: New file.
4331 * benchtests/bench-strncpy.c: New file.
4332 * benchtests/bench-strnlen-ifunc.c: New file.
4333 * benchtests/bench-strnlen.c: New file.
4334 * benchtests/bench-strpbrk-ifunc.c: New file.
4335 * benchtests/bench-strpbrk.c: New file.
4336 * benchtests/bench-strrchr-ifunc.c: New file.
4337 * benchtests/bench-strrchr.c: New file.
4338 * benchtests/bench-strspn-ifunc.c: New file.
4339 * benchtests/bench-strspn.c: New file.
4340 * benchtests/bench-strstr-ifunc.c: New file.
4341 * benchtests/bench-strstr.c: New file.
4343 * benchtests/Makefile: Disable parallel execution of targets.
4344 (string-bench): Add memcpy.
4345 (benchset): New variable to store a list of benchmark sets.
4346 (bench-func): Renamed from bench.
4347 (bench-set): New target.
4348 (bench): Depend on bench-func and bench-set.
4349 * benchtests/README: Add section on benchmark sets.
4350 * benchtests/bench-memcpy-ifunc.c: New file.
4351 * benchtests/bench-memcpy.c: New file.
4352 * benchtests/bench-string.h: New file.
4354 2013-06-11 Andreas Schwab <schwab@suse.de>
4357 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4358 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4359 values in the triple.
4360 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4361 terminator in the group key.
4363 2013-06-11 Andreas Jaeger <aj@suse.de>
4365 * po/zh_TW.po: Update Chinese (traditional) translation from
4366 translation project.
4368 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4370 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4371 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4372 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4373 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4374 (clock_getcpuclockid): Likewise.
4375 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4376 Add weak_alias and libc_hidden_def.
4377 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4378 * rt/clock_gettime.c (clock_gettime): Rename to
4379 __clock_gettime. Add weak_alias and libc_hidden_def.
4380 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4381 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4382 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4383 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4384 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4386 * rt/clock_settime.c (clock_settime): Rename to
4387 __clock_settime. Add weak_alias and libc_hidden_def.
4388 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4390 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4392 * mach/err_boot.sub: Remove trailing whitespace.
4393 * mach/err_ipc.sub: Likewise.
4394 * mach/err_mach.sub: Likewise.
4396 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4397 (ROUNDING_TESTS_double): Likewise.
4398 (ROUNDING_TESTS_long_double): Likewise.
4399 (ROUNDING_TESTS): Likewise.
4400 * math/libm-test.inc: Include <math-tests.h>.
4401 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4402 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4403 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4404 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4406 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4408 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4411 2013-06-08 Joseph Myers <joseph@codesourcery.com>
4413 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4414 otherwise empty TRANS lines.
4415 * sysdeps/gnu/errlist.c: Regenerated.
4417 * catgets/gencat.c (error_print): Use (void) in function
4419 * crypt/crypt_util.c (__init_des): Likewise.
4420 * crypt/speeds.c (Stop): Likewise.
4422 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4423 * inet/ruserpass.c (token): Likewise.
4424 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4425 * intl/localealias.c (extend_alias_table): Likewise.
4426 * intl/plural-exp.c (init_germanic_plural): Likewise.
4427 * libio/fcloseall.c (__fcloseall): Likewise.
4428 * libio/genops.c (_IO_flush_all): Likewise.
4429 (_IO_flush_all_linebuffered): Likewise.
4430 (_IO_cleanup): Likewise.
4431 (_IO_iter_begin): Likewise.
4432 (_IO_iter_end): Likewise.
4433 (_IO_list_lock): Likewise.
4434 (_IO_list_unlock): Likewise.
4435 (_IO_list_resetlock): Likewise.
4436 * libio/getchar.c (getchar): Likewise.
4437 * libio/getchar_u.c (getchar_unlocked): Likewise.
4438 * libio/getwchar.c (getwchar): Likewise.
4439 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4440 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4441 * login/getpt.c (__getpt): Likewise.
4442 * login/tst-utmp.c (main): Likewise.
4443 * malloc/hooks.c (__malloc_check_init): Likewise.
4444 * malloc/malloc.c (__malloc_stats): Likewise.
4445 * malloc/mtrace.c (tr_break): Likewise.
4447 (muntrace): Likewise.
4448 * misc/fstab.c (endfsent): Likewise.
4449 * misc/getclktck.c (__getclktck): Likewise.
4450 * misc/getdtsz.c (__getdtablesize): Likewise.
4451 * misc/gethostid.c (gethostid): Likewise.
4452 * misc/getpagesize.c (__getpagesize): Likewise.
4453 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4454 (__get_nprocs): Likewise.
4455 (__get_phys_pages): Likewise.
4456 (__get_avphys_pages): Likewise.
4457 * misc/getttyent.c (getttyent): Likewise.
4458 (setttyent): Likewise.
4459 (endttyent): Likewise.
4460 * misc/getusershell.c (getusershell): Likewise.
4461 (endusershell): Likewise.
4462 (setusershell): Likewise.
4463 (initshells): Likewise.
4464 * misc/hsearch.c (__hdestroy): Likewise.
4465 * misc/sync.c (sync): Likewise.
4466 * misc/syslog.c (closelog_internal): Likewise.
4467 (closelog): Likewise.
4468 * misc/ttyslot.c (ttyslot): Likewise.
4469 * misc/vhangup.c (vhangup): Likewise.
4470 * posix/fork.c (__fork): Likewise.
4471 * posix/getegid.c (__getegid): Likewise.
4472 * posix/geteuid.c (__geteuid): Likewise.
4473 * posix/getgid.c (__getgid): Likewise.
4474 * posix/getpid.c (__getpid): Likewise.
4475 * posix/getppid.c (__getppid): Likewise.
4476 * posix/getuid.c (__getuid): Likewise.
4477 * posix/pause.c (pause): Likewise.
4478 * posix/setpgrp.c (setpgrp): Likewise.
4479 * posix/setsid.c (__setsid): Likewise.
4480 * posix/test-vfork.c (noop): Likewise.
4481 * resolv/gethnamaddr.c (_endhtent): Likewise.
4482 (_gethtent): Likewise.
4483 (ht_endhostent): Likewise.
4484 (gethostent): Likewise.
4485 (dns_service): Likewise.
4486 * stdlib/drand48.c (drand48): Likewise.
4487 * stdlib/lrand48.c (lrand48): Likewise.
4488 * stdlib/mrand48.c (mrand48): Likewise.
4489 * stdlib/rand.c (rand): Likewise.
4490 * stdlib/random.c (__random): Likewise.
4491 * stdlib/setenv.c (clearenv): Likewise.
4492 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4493 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4494 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4495 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4496 (__get_nprocs): Likewise.
4497 (__get_phys_pages): Likewise.
4498 (__get_avphys_pages): Likewise.
4499 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4500 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4501 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4502 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4503 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4504 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4505 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4506 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4507 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4508 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4509 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4510 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4511 * sysdeps/posix/clock.c (clock): Likewise.
4512 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4513 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4514 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4515 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4516 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4517 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4518 (__get_nprocs_conf): Likewise.
4519 (__get_phys_pages): Likewise.
4520 (__get_avphys_pages): Likewise.
4521 * time/clock.c (clock): Likewise.
4522 * time/tzset.c (__tzname_max): Likewise.
4524 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4526 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4527 (__bswap_32): Do not use "register".
4528 * crypt/crypt.c (_ufc_doit_r): Likewise.
4529 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4530 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4531 * gmon/gmon.c (__monstartup): Likewise.
4532 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4533 * hurd/hurdmalloc.c (more_memory): Likewise.
4536 (realloc): Likewise.
4537 (malloc_fork_prepare): Likewise.
4538 (malloc_fork_parent): Likewise.
4539 (malloc_fork_child): Likewise.
4540 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4541 (_svcauth_des): Likewise.
4542 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4543 * inet/inet_net.c (inet_network): Likewise.
4544 * inet/inet_netof.c (inet_netof): Likewise.
4545 * inet/rcmd.c (__validuser2_sa): Likewise.
4546 * io/fts.c (fts_open): Likewise.
4547 (fts_load): Likewise.
4548 (fts_close): Likewise.
4549 (fts_read): Likewise.
4550 (fts_children): Likewise.
4551 (fts_build): Likewise.
4552 (fts_stat): Likewise.
4553 (fts_sort): Likewise.
4554 (fts_alloc): Likewise.
4555 (fts_lfree): Likewise.
4556 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4557 (_IO_file_xsgetn): Likewise.
4558 (_IO_file_xsgetn_mmap): Likewise.
4559 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4560 (_IO_cookie_write): Likewise.
4561 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4562 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4563 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4564 * malloc/obstack.c (_obstack_begin): Likewise.
4565 (_obstack_begin_1): Likewise.
4566 (_obstack_newchunk): Likewise.
4567 (_obstack_allocated_p): Likewise.
4568 (obstack_free): Likewise.
4569 (_obstack_memory_used): Likewise.
4570 * misc/getttyent.c (getttynam): Likewise.
4571 (getttyent): Likewise.
4574 * misc/getusershell.c (initshells): Likewise.
4575 * misc/syslog.c (__vsyslog_chk): Likewise.
4576 * misc/ttyslot.c (ttyslot): Likewise.
4577 * nis/nis_hash.c (__nis_hash): Likewise.
4578 * posix/fnmatch_loop.c (FCT): Likewise.
4579 * posix/getconf.c (print_all): Likewise.
4581 * posix/getopt.c (exchange): Likewise.
4582 * posix/glob.c (globfree): Likewise.
4583 (prefix_array): Likewise.
4584 (__glob_pattern_type): Likewise.
4585 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4586 (NS_GET32): Likewise.
4587 (NS_PUT16): Likewise.
4588 (NS_PUT32): Likewise.
4589 * resolv/gethnamaddr.c (getanswer): Likewise.
4590 (gethostbyname2): Likewise.
4591 (gethostbyaddr): Likewise.
4592 (_gethtent): Likewise.
4593 (_gethtbyname2): Likewise.
4594 (_gethtbyaddr): Likewise.
4595 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4596 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4597 * resolv/res_init.c (__res_vinit): Likewise.
4598 (net_mask): Likewise.
4599 * resolv/res_mkquery.c (outchar): Likewise.
4601 * stdio-common/printf_fp.c (outchar): Likewise.
4603 * stdio-common/printf_fphex.c (outchar): Likewise.
4605 * stdio-common/printf_size.c (outchar): Likewise.
4607 * stdio-common/test_rdwr.c (main): Likewise.
4608 * stdio-common/tfformat.c (matches): Likewise.
4609 * stdio-common/vfprintf.c (outchar): Likewise.
4610 (printf_unknown): Likewise.
4611 (buffered_vfprintf): Likewise.
4612 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4613 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4614 (ReadFile): Likewise.
4615 * stdlib/qsort.c (SWAP): Likewise.
4616 (_quicksort): Likewise.
4617 * stdlib/setenv.c (__add_to_environ): Likewise.
4618 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4619 * stdlib/strtol_l.c (__strtol_l): Likewise.
4620 * stdlib/tst-strtod.c (main): Likewise.
4621 * stdlib/tst-strtol.c (main): Likewise.
4622 * stdlib/tst-strtoll.c (main): Likewise.
4623 * string/bits/string2.h (__strcmp_cc): Likewise.
4624 (__strcmp_cg): Likewise.
4625 (__strcspn_c1): Likewise.
4626 (__strcspn_c2): Likewise.
4627 (__strcspn_c3): Likewise.
4628 (__strspn_c1): Likewise.
4629 (__strspn_c2): Likewise.
4630 (__strspn_c3): Likewise.
4631 (__strsep_1c): Likewise.
4632 (__strsep_2c): Likewise.
4633 (__strsep_3c): Likewise.
4634 * string/memccpy.c (__memccpy): Likewise.
4635 * string/stpcpy.c (__stpcpy): Likewise.
4636 * string/strcmp.c (strcmp): Likewise.
4637 * string/strrchr.c (strrchr): Likewise.
4638 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4640 * sysdeps/mach/hurd/getcwd.c
4641 (_hurd_canonicalize_directory_name_internal): Likewise.
4642 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4643 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4644 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4645 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4646 Likewise, in both definitions.
4647 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4649 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4650 64] (__bswap_64): Likewise.
4651 * time/test_time.c (main): Likewise.
4652 * time/tzfile.c (__tzfile_read): Likewise.
4653 (__tzfile_compute): Likewise.
4654 * time/tzset.c (__tzset_parse_tz): Likewise.
4655 (tzset_internal): Likewise.
4656 (compute_change): Likewise.
4657 * wcsmbs/wcscat.c (__wcscat): Likewise.
4658 * wcsmbs/wcschr.c (wcschr): Likewise.
4659 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4660 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4661 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4662 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4663 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4664 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4665 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4666 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4667 * wcsmbs/wmemset.c (wmemset): Likewise.
4669 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4671 * scripts/config.guess: Update to version 2013-05-16.
4672 * scripts/config.sub: Update to version 2013-04-24.
4673 * scripts/install-sh: Update to version 2011-11-20.07.
4674 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4675 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4677 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4679 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4680 * elf/sln.c: Likewise.
4681 * hurd/hurd/ioctl.h: Likewise.
4682 * hurd/hurdmalloc.c: Likewise.
4683 * hurd/xattr.c: Likewise.
4684 * include/shlib-compat.h: Likewise.
4685 * inet/ruserpass.c: Likewise.
4686 * libio/iofgets_u.c: Likewise.
4687 * libio/iofgetws_u.c: Likewise.
4688 * locale/programs/ld-identification.c: Likewise.
4689 * locale/programs/ld-time.c: Likewise.
4690 * mach/msg-destroy.c: Likewise.
4691 * nss/nss_files/files-netgrp.c: Likewise.
4692 * resolv/res_data.c: Likewise.
4693 * soft-fp/op-1.h: Likewise.
4694 * soft-fp/op-2.h: Likewise.
4695 * soft-fp/op-4.h: Likewise.
4696 * soft-fp/op-common.h: Likewise.
4697 * stdio-common/printf_fphex.c: Likewise.
4698 * stdlib/strtod_l.c: Likewise.
4699 * sunrpc/rpc/clnt.h: Likewise.
4700 * sysdeps/generic/framestate.c: Likewise.
4701 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4702 * sysdeps/i386/bsd-setjmp.S: Likewise.
4703 * sysdeps/i386/__longjmp.S: Likewise.
4704 * sysdeps/i386/setjmp.S: Likewise.
4705 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4706 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4707 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4721 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4723 * sysdeps/ieee754/support.c: Likewise.
4724 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4725 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4726 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4727 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4728 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4729 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4730 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4731 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4732 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4733 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4734 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4735 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4736 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4737 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4738 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4739 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4740 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4743 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4745 * posix/transbug.c: Remove executable mode.
4747 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4749 * crypt/speeds.c: Remove trailing whitespace.
4750 * dlfcn/default.c: Likewise.
4751 * elf/ifuncdep2.c: Likewise.
4752 * elf/ifuncmain1.c: Likewise.
4753 * elf/ifuncmain1vis.c: Likewise.
4754 * elf/testobj.h: Likewise.
4755 * elf/tst-stackguard1.c: Likewise.
4756 * gmon/sys/gmon.h: Likewise.
4757 * hurd/hurdmsg.c: Likewise.
4758 * hurd/new-fd.c: Likewise.
4759 * hurd/ports-get.c: Likewise.
4760 * iconvdata/ibm1008_420.c: Likewise.
4761 * inet/tst-getni1.c: Likewise.
4762 * inet/tst-getni2.c: Likewise.
4763 * libio/ioungetc.c: Likewise.
4764 * libio/wfiledoalloc.c: Likewise.
4765 * manual/libm-err-tab.pl: Likewise.
4766 * math/w_dremf.c: Likewise.
4767 * misc/ftruncate.c: Likewise.
4768 * posix/bug-glob2.c: Likewise.
4769 * posix/tst-pcre.c: Likewise.
4770 * posix/wait4.c: Likewise.
4771 * resolv/README: Likewise.
4772 * resolv/res_debug.h: Likewise.
4773 * resolv/tst-inet_ntop.c: Likewise.
4774 * setjmp/bug269-setjmp.c: Likewise.
4775 * soft-fp/extended.h: Likewise.
4776 * soft-fp/op-1.h: Likewise.
4777 * soft-fp/op-2.h: Likewise.
4778 * soft-fp/op-4.h: Likewise.
4779 * soft-fp/op-8.h: Likewise.
4780 * soft-fp/testit.c: Likewise.
4781 * stdio-common/bug16.c: Likewise.
4782 * stdlib/random.c: Likewise.
4783 * sunrpc/rpcsvc/rquota.x: Likewise.
4784 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4785 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4786 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4787 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4788 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4789 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4790 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4791 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4792 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4793 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4794 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4795 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4796 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4797 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4799 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4800 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4802 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4803 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4804 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4805 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4809 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4811 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4812 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4813 * sysdeps/ieee754/s_lib_version.c: Likewise.
4814 * sysdeps/mach/hurd/check_fds.c: Likewise.
4815 * sysdeps/mach/hurd/getsockname.c: Likewise.
4816 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4817 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4818 * sysdeps/powerpc/bits/link.h: Likewise.
4819 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4820 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4821 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4822 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4823 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4824 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4825 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4826 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4827 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4828 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4829 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4830 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4831 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4832 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4833 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4834 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4835 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4836 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4837 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4838 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4839 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4840 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4841 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4842 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4843 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4844 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4845 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4846 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4847 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4848 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4849 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4850 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4851 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4852 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4853 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4854 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4855 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4856 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4857 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4858 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4859 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4860 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4861 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4862 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4863 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4864 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4865 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4866 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4867 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4868 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4869 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4870 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4871 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4872 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4873 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4874 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4875 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4876 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4877 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4878 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4879 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4880 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4881 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4882 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4883 * sysdeps/powerpc/sysdep.h: Likewise.
4884 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4885 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4886 * sysdeps/sh/dl-trampoline.S: Likewise.
4887 * sysdeps/sh/memset.S: Likewise.
4888 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4889 * sysdeps/sh/strlen.S: Likewise.
4890 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4891 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4892 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4893 * sysdeps/sparc/sparc32/rem.S: Likewise.
4894 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4895 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4896 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4897 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4898 * sysdeps/sparc/sparc32/urem.S: Likewise.
4899 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4900 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4901 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4902 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4903 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4904 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4905 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4906 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4907 * sysdeps/unix/bsd/times.c: Likewise.
4908 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4909 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4913 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4915 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4916 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4917 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4918 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4919 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4920 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4921 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4922 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4923 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4924 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4925 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4926 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4927 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4928 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4929 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4930 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4931 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4932 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4933 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4934 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4935 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4936 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4937 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4938 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4939 * sysdeps/x86_64/strcspn.S: Likewise.
4941 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4943 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4944 generated file. Regenerate properly from gen-translit.pl.
4945 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4946 locale/C-translit.h.
4948 2013-06-05 Andreas Schwab <schwab@suse.de>
4951 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4952 week as 6 instead of -1.
4953 * time/tst-strptime.c (day_tests): Add test case.
4955 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4957 * sysdeps/generic/math_private.h
4958 (libc_feholdexcept_setround_53bit): Replace with
4959 libc_feholdsetround_53bit.
4960 (libc_feupdateenv_53bit): Replace with
4961 libc_feresetround_53bit.
4962 (SET_RESTORE_ROUND_53BIT): Adjust.
4964 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4966 * string/test-strchrnul.c: Add copyright header.
4968 * posix/tst-getaddrinfo4.c: Increase test timeout.
4970 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4973 * math/libm-test.inc (MAX_EXP): Remove
4975 (ulp): Use MIN_EXP - MANT_DIG.
4976 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4978 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4980 * po/be.po: Revert last change.
4981 * po/zh_CN.po: Likewise.
4982 * po/header.pot: Likewise.
4984 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4986 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4987 link-libc-deps to empty as target-specific variable.
4988 * Makerules (link-libc-args): New variable.
4989 (libc-for-link): Likewise.
4990 (link-libc-deps): Likewise.
4991 (lib%.so): Depend on $(link-libc-deps). Link with
4993 (build-module): Link with $(link-libc-args).
4994 (build-module-asneeded): Likewise.
4995 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4997 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4998 target-specific variable.
4999 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5000 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5001 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5003 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5005 ($(objpfx)libpcprofile.so): Likewise.
5006 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5008 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5009 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5010 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5012 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5013 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5014 * login/Makefile ($(objpfx)libutil.so): Likewise.
5015 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5016 * math/Makefile ($(objpfx)libm.so): Likewise.
5017 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5018 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5019 variable instead of depending directly on libc.
5020 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5021 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5023 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5025 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5026 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5027 ($(objpfx)libanl.so): Likewise.
5028 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5030 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5032 * sysdeps/i386/fpu/Makefile: Remove file.
5033 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5034 ($(objpfx)libm.so): Remove dependency on ld.so.
5036 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
5039 * nis/yp_xdr.c (XDRMAXNAME): Define.
5040 (XDRMAXRECORD): Define.
5041 (xdr_domainname): Use XDRMAXNAME.
5042 (xdr_mapname): Likewise.
5043 (xdr_peername): Likewise.
5044 (xdr_keydat): Use XDRMAXRECORD.
5045 (xdr_valdat): Likewise.
5047 2013-05-30 Jeff Law <law@redhat.com>
5050 * manual/errno.texi (ESTALE): Update to account for more than
5051 just NFS file systems.
5052 * sysdeps/gnu/errlist.c: Regenerated.
5054 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5057 * elf/Makefile (tests): Add tst-null-argv.
5058 (modules-names): Add tst-null-argv-lib.
5059 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5060 (tst-null-argv-ENV): Set environment for tst-null-argv.
5061 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5062 (RTLD_PROGNAME): New macro.
5063 * elf/tst-null-argv.c: New test case.
5064 * elf/tst-null-argv-lib.c: Library for test case.
5065 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5066 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5067 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5068 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5069 * elf/dl-init.c (call_init): Likewise.
5070 (_dl_init): Likewise.
5071 * elf/dl-load.c (print_search_path): Likewise.
5072 (_dl_map_object): Likewise.
5073 * elf/dl-lookup.c (do_lookup_x): Likewise.
5074 (add_dependency): Likewise.
5075 (_dl_lookup_symbol_x): Likewise.
5076 (_dl_debug_bindings): Likewise.
5077 * elf/dl-open.c (_dl_show_scope): Likewise.
5078 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5079 * elf/dl-version.c (match_symbol): Likewise.
5080 (_dl_check_map_versions): Likewise.
5081 * elf/rtld.c (dl_main): Likewise.
5082 (print_unresolved): Use RTLD_PROGNAME.
5083 (print_missing_version): Likewise.
5084 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5085 (elf_machine_rela): Likewise.
5086 * sysdeps/powerpc/powerpc32/dl-machine.c
5087 (__process_machine_rela): Likewise.
5088 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5090 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5092 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5094 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5095 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5097 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5099 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5101 2013-05-28 Carlos O'Donell <carlos@redhat.com>
5103 * po/be.po: Add descriptive title.
5104 * po/zh_CN.po: Likewise.
5105 * po/header.pot: Likewise.
5107 2013-05-28 Mike Frysinger <vapier@gentoo.org>
5109 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5111 (enlarge_archive): Likewise.
5113 2013-05-28 Ben North <ben@redfrontdoor.org>
5115 * manual/arith.texi (frexp): It is the magnitude of the return
5116 value which lies in [0.5, 1), not the return value itself.
5118 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5122 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5124 * stdio-common/bug26.c (main): Correct fscanf template.
5126 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5127 declare _dl_skip_args.
5129 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5132 * manual/platform.texi: Add missing @end deftypefun.
5134 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5137 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5138 bit of mantissa of 2^16382.
5139 * math/libm-test.inc (hypot_test_data): Add more tests.
5141 * math/libm-test.inc: Add drem and pow10 to list of tested
5143 (pow10_test): New function.
5144 (drem_test): Likewise.
5145 (drem_test_tonearest): Likewise.
5146 (drem_test_towardzero): Likewise.
5147 (drem_test_downward): Likewise.
5148 (drem_test_upward): Likewise.
5149 (main): Call the new functions.
5151 * math/libm-test.inc (finite_test_data): Remove.
5152 (finite_test): Run tests from isfinite_test_data.
5153 (gamma_test_data): Remove.
5154 (gamma_test): Run tests from lgamma_test_data.
5155 * sysdeps/i386/fpu/libm-test-ulps: Update.
5156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5158 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5160 * manual/platform.texi: Add PowerPC PPR function set documentation.
5161 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5164 2013-05-24 Carlos O'Donell <carlos@redhat.com>
5166 * math/libm-test.inc (MAX_EXP): Define.
5168 (ulp): New function.
5169 (check_float_internal): Use ULPDIFF.
5170 (cpow_test): Disable failing test.
5171 (check_ulp): Test ulp() implemetnation.
5172 (main): Call check_ulp before starting tests.
5174 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5176 * math/gen-libm-test.pl (generate_testfile): Do not handle
5177 START_DATA and END_DATA.
5178 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5180 (acos_tonearest_test_data): Likewise.
5181 (acos_towardzero_test_data): Likewise.
5182 (acos_downward_test_data): Likewise.
5183 (acos_upward_test_data): Likewise.
5184 (acosh_test_data): Likewise.
5185 (asin_test_data): Likewise.
5186 (asin_tonearest_test_data): Likewise.
5187 (asin_towardzero_test_data): Likewise.
5188 (asin_downward_test_data): Likewise.
5189 (asin_upward_test_data): Likewise.
5190 (asinh_test_data): Likewise.
5191 (atan_test_data): Likewise.
5192 (atanh_test_data): Likewise.
5193 (atan2_test_data): Likewise.
5194 (cabs_test_data): Likewise.
5195 (cacos_test_data): Likewise.
5196 (cacosh_test_data): Likewise.
5197 (carg_test_data): Likewise.
5198 (casin_test_data): Likewise.
5199 (casinh_test_data): Likewise.
5200 (catan_test_data): Likewise.
5201 (catanh_test_data): Likewise.
5202 (cbrt_test_data): Likewise.
5203 (ccos_test_data): Likewise.
5204 (ccosh_test_data): Likewise.
5205 (ceil_test_data): Likewise.
5206 (cexp_test_data): Likewise.
5207 (cimag_test_data): Likewise.
5208 (clog_test_data): Likewise.
5209 (clog10_test_data): Likewise.
5210 (conj_test_data): Likewise.
5211 (copysign_test_data): Likewise.
5212 (cos_test_data): Likewise.
5213 (cos_tonearest_test_data): Likewise.
5214 (cos_towardzero_test_data): Likewise.
5215 (cos_downward_test_data): Likewise.
5216 (cos_upward_test_data): Likewise.
5217 (cosh_test_data): Likewise.
5218 (cosh_tonearest_test_data): Likewise.
5219 (cosh_towardzero_test_data): Likewise.
5220 (cosh_downward_test_data): Likewise.
5221 (cosh_upward_test_data): Likewise.
5222 (cpow_test_data): Likewise.
5223 (cproj_test_data): Likewise.
5224 (creal_test_data): Likewise.
5225 (csin_test_data): Likewise.
5226 (csinh_test_data): Likewise.
5227 (csqrt_test_data): Likewise.
5228 (ctan_test_data): Likewise.
5229 (ctan_tonearest_test_data): Likewise.
5230 (ctan_towardzero_test_data): Likewise.
5231 (ctan_downward_test_data): Likewise.
5232 (ctan_upward_test_data): Likewise.
5233 (ctanh_test_data): Likewise.
5234 (ctanh_tonearest_test_data): Likewise.
5235 (ctanh_towardzero_test_data): Likewise.
5236 (ctanh_downward_test_data): Likewise.
5237 (ctanh_upward_test_data): Likewise.
5238 (erf_test_data): Likewise.
5239 (erfc_test_data): Likewise.
5240 (exp_test_data): Likewise.
5241 (exp_tonearest_test_data): Likewise.
5242 (exp_towardzero_test_data): Likewise.
5243 (exp_downward_test_data): Likewise.
5244 (exp_upward_test_data): Likewise.
5245 (exp10_test_data): Likewise.
5246 (exp2_test_data): Likewise.
5247 (expm1_test_data): Likewise.
5248 (fabs_test_data): Likewise.
5249 (fdim_test_data): Likewise.
5250 (finite_test_data): Likewise.
5251 (floor_test_data): Likewise.
5252 (fma_test_data): Likewise.
5253 (fma_towardzero_test_data): Likewise.
5254 (fma_downward_test_data): Likewise.
5255 (fma_upward_test_data): Likewise.
5256 (fmax_test_data): Likewise.
5257 (fmin_test_data): Likewise.
5258 (fmod_test_data): Likewise.
5259 (fpclassify_test_data): Likewise.
5260 (frexp_test_data): Likewise.
5261 (gamma_test_data): Likewise.
5262 (hypot_test_data): Likewise.
5263 (ilogb_test_data): Likewise.
5264 (isfinite_test_data): Likewise.
5265 (isgreater_test_data): Likewise.
5266 (isgreaterequal_test_data): Likewise.
5267 (isinf_test_data): Likewise.
5268 (isless_test_data): Likewise.
5269 (islessequal_test_data): Likewise.
5270 (islessgreater_test_data): Likewise.
5271 (isnan_test_data): Likewise.
5272 (isnormal_test_data): Likewise.
5273 (issignaling_test_data): Likewise.
5274 (isunordered_test_data): Likewise.
5275 (j0_test_data): Likewise.
5276 (j1_test_data): Likewise.
5277 (jn_test_data): Likewise.
5278 (ldexp_test_data): Likewise.
5279 (lgamma_test_data): Likewise.
5280 (lrint_test_data): Likewise.
5281 (lrint_tonearest_test_data): Likewise.
5282 (lrint_towardzero_test_data): Likewise.
5283 (lrint_downward_test_data): Likewise.
5284 (lrint_upward_test_data): Likewise.
5285 (llrint_test_data): Likewise.
5286 (llrint_tonearest_test_data): Likewise.
5287 (llrint_towardzero_test_data): Likewise.
5288 (llrint_downward_test_data): Likewise.
5289 (llrint_upward_test_data): Likewise.
5290 (log_test_data): Likewise.
5291 (log10_test_data): Likewise.
5292 (log1p_test_data): Likewise.
5293 (log2_test_data): Likewise.
5294 (logb_test_data): Likewise.
5295 (logb_downward_test_data): Likewise.
5296 (lround_test_data): Likewise.
5297 (llround_test_data): Likewise.
5298 (modf_test_data): Likewise.
5299 (nearbyint_test_data): Likewise.
5300 (nextafter_test_data): Likewise.
5301 (nexttoward_test_data): Likewise.
5302 (pow_test_data): Likewise.
5303 (pow_tonearest_test_data): Likewise.
5304 (pow_towardzero_test_data): Likewise.
5305 (pow_downward_test_data): Likewise.
5306 (pow_upward_test_data): Likewise.
5307 (remainder_test_data): Likewise.
5308 (remainder_tonearest_test_data): Likewise.
5309 (remainder_towardzero_test_data): Likewise.
5310 (remainder_downward_test_data): Likewise.
5311 (remainder_upward_test_data): Likewise.
5312 (remquo_test_data): Likewise.
5313 (rint_test_data): Likewise.
5314 (rint_tonearest_test_data): Likewise.
5315 (rint_towardzero_test_data): Likewise.
5316 (rint_downward_test_data): Likewise.
5317 (rint_upward_test_data): Likewise.
5318 (round_test_data): Likewise.
5319 (scalb_test_data): Likewise.
5320 (scalbn_test_data): Likewise.
5321 (scalbln_test_data): Likewise.
5322 (signbit_test_data): Likewise.
5323 (sin_test_data): Likewise.
5324 (sin_tonearest_test_data): Likewise.
5325 (sin_towardzero_test_data): Likewise.
5326 (sin_downward_test_data): Likewise.
5327 (sin_upward_test_data): Likewise.
5328 (sincos_test_data): Likewise.
5329 (sinh_test_data): Likewise.
5330 (sinh_tonearest_test_data): Likewise.
5331 (sinh_towardzero_test_data): Likewise.
5332 (sinh_downward_test_data): Likewise.
5333 (sinh_upward_test_data): Likewise.
5334 (sqrt_test_data): Likewise.
5335 (tan_test_data): Likewise.
5336 (tan_tonearest_test_data): Likewise.
5337 (tan_towardzero_test_data): Likewise.
5338 (tan_downward_test_data): Likewise.
5339 (tan_upward_test_data): Likewise.
5340 (tanh_test_data): Likewise.
5341 (tgamma_test_data): Likewise.
5342 (trunc_test_data): Likewise.
5343 (y0_test_data): Likewise.
5344 (y1_test_data): Likewise.
5345 (yn_test_data): Likewise.
5346 (significand_test_data): Likewise.
5348 * math/gen-libm-test.pl (@functions): Remove variable.
5349 (generate_testfile): Don't handle START and END lines.
5350 * math/libm-test.inc (START): New macro.
5352 (END_COMPLEX): Likewise.
5353 (acos_test): Use END macro without arguments.
5354 (acos_test_tonearest): Likewise.
5355 (acos_test_towardzero): Likewise.
5356 (acos_test_downward): Likewise.
5357 (acos_test_upward): Likewise.
5358 (acosh_test): Likewise.
5359 (asin_test): Likewise.
5360 (asin_test_tonearest): Likewise.
5361 (asin_test_towardzero): Likewise.
5362 (asin_test_downward): Likewise.
5363 (asin_test_upward): Likewise.
5364 (asinh_test): Likewise.
5365 (atan_test): Likewise.
5366 (atanh_test): Likewise.
5367 (atan2_test): Likewise.
5368 (cabs_test): Likewise.
5369 (cacos_test): Use END_COMPLEX macro without arguments.
5370 (cacosh_test): Likewise.
5371 (carg_test): Use END macro without arguments.
5372 (casin_test): Use END_COMPLEX macro without arguments.
5373 (casinh_test): Likewise.
5374 (catan_test): Likewise.
5375 (catanh_test): Likewise.
5376 (cbrt_test): Use END macro without arguments.
5377 (ccos_test): Use END_COMPLEX macro without arguments.
5378 (ccosh_test): Likewise.
5379 (ceil_test): Use END macro without arguments.
5380 (cexp_test): Use END_COMPLEX macro without arguments.
5381 (cimag_test): Use END macro without arguments.
5382 (clog_test): Use END_COMPLEX macro without arguments.
5383 (clog10_test): Likewise.
5384 (conj_test): Likewise.
5385 (copysign_test): Use END macro without arguments.
5386 (cos_test): Likewise.
5387 (cos_test_tonearest): Likewise.
5388 (cos_test_towardzero): Likewise.
5389 (cos_test_downward): Likewise.
5390 (cos_test_upward): Likewise.
5391 (cosh_test): Likewise.
5392 (cosh_test_tonearest): Likewise.
5393 (cosh_test_towardzero): Likewise.
5394 (cosh_test_downward): Likewise.
5395 (cosh_test_upward): Likewise.
5396 (cpow_test): Use END_COMPLEX macro without arguments.
5397 (cproj_test): Likewise.
5398 (creal_test): Use END macro without arguments.
5399 (csin_test): Use END_COMPLEX macro without arguments.
5400 (csinh_test): Likewise.
5401 (csqrt_test): Likewise.
5402 (ctan_test): Likewise.
5403 (ctan_test_tonearest): Likewise.
5404 (ctan_test_towardzero): Likewise.
5405 (ctan_test_downward): Likewise.
5406 (ctan_test_upward): Likewise.
5407 (ctanh_test): Likewise.
5408 (ctanh_test_tonearest): Likewise.
5409 (ctanh_test_towardzero): Likewise.
5410 (ctanh_test_downward): Likewise.
5411 (ctanh_test_upward): Likewise.
5412 (erf_test): Use END macro without arguments.
5413 (erfc_test): Likewise.
5414 (exp_test): Likewise.
5415 (exp_test_tonearest): Likewise.
5416 (exp_test_towardzero): Likewise.
5417 (exp_test_downward): Likewise.
5418 (exp_test_upward): Likewise.
5419 (exp10_test): Likewise.
5420 (exp2_test): Likewise.
5421 (expm1_test): Likewise.
5422 (fabs_test): Likewise.
5423 (fdim_test): Likewise.
5424 (finite_test): Likewise.
5425 (floor_test): Likewise.
5426 (fma_test): Likewise.
5427 (fma_test_towardzero): Likewise.
5428 (fma_test_downward): Likewise.
5429 (fma_test_upward): Likewise.
5430 (fmax_test): Likewise.
5431 (fmin_test): Likewise.
5432 (fmod_test): Likewise.
5433 (fpclassify_test): Likewise.
5434 (frexp_test): Likewise.
5435 (gamma_test): Likewise.
5436 (hypot_test): Likewise.
5437 (ilogb_test): Likewise.
5438 (isfinite_test): Likewise.
5439 (isgreater_test): Likewise.
5440 (isgreaterequal_test): Likewise.
5441 (isinf_test): Likewise.
5442 (isless_test): Likewise.
5443 (islessequal_test): Likewise.
5444 (islessgreater_test): Likewise.
5445 (isnan_test): Likewise.
5446 (isnormal_test): Likewise.
5447 (issignaling_test): Likewise.
5448 (isunordered_test): Likewise.
5449 (j0_test): Likewise.
5450 (j1_test): Likewise.
5451 (jn_test): Likewise.
5452 (ldexp_test): Likewise.
5453 (lgamma_test): Likewise.
5454 (lrint_test): Likewise.
5455 (lrint_test_tonearest): Likewise.
5456 (lrint_test_towardzero): Likewise.
5457 (lrint_test_downward): Likewise.
5458 (lrint_test_upward): Likewise.
5459 (llrint_test): Likewise.
5460 (llrint_test_tonearest): Likewise.
5461 (llrint_test_towardzero): Likewise.
5462 (llrint_test_downward): Likewise.
5463 (llrint_test_upward): Likewise.
5464 (log_test): Likewise.
5465 (log10_test): Likewise.
5466 (log1p_test): Likewise.
5467 (log2_test): Likewise.
5468 (logb_test): Likewise.
5469 (logb_test_downward): Likewise.
5470 (lround_test): Likewise.
5471 (llround_test): Likewise.
5472 (modf_test): Likewise.
5473 (nearbyint_test): Likewise.
5474 (nextafter_test): Likewise.
5475 (nexttoward_test): Likewise.
5476 (pow_test): Likewise.
5477 (pow_test_tonearest): Likewise.
5478 (pow_test_towardzero): Likewise.
5479 (pow_test_downward): Likewise.
5480 (pow_test_upward): Likewise.
5481 (remainder_test): Likewise.
5482 (remainder_test_tonearest): Likewise.
5483 (remainder_test_towardzero): Likewise.
5484 (remainder_test_downward): Likewise.
5485 (remainder_test_upward): Likewise.
5486 (remquo_test): Likewise.
5487 (rint_test): Likewise.
5488 (rint_test_tonearest): Likewise.
5489 (rint_test_towardzero): Likewise.
5490 (rint_test_downward): Likewise.
5491 (rint_test_upward): Likewise.
5492 (round_test): Likewise.
5493 (scalb_test): Likewise.
5494 (scalbn_test): Likewise.
5495 (scalbln_test): Likewise.
5496 (signbit_test): Likewise.
5497 (sin_test): Likewise.
5498 (sin_test_tonearest): Likewise.
5499 (sin_test_towardzero): Likewise.
5500 (sin_test_downward): Likewise.
5501 (sin_test_upward): Likewise.
5502 (sincos_test): Likewise.
5503 (sinh_test): Likewise.
5504 (sinh_test_tonearest): Likewise.
5505 (sinh_test_towardzero): Likewise.
5506 (sinh_test_downward): Likewise.
5507 (sinh_test_upward): Likewise.
5508 (sqrt_test): Likewise.
5509 (tan_test): Likewise.
5510 (tan_test_tonearest): Likewise.
5511 (tan_test_towardzero): Likewise.
5512 (tan_test_downward): Likewise.
5513 (tan_test_upward): Likewise.
5514 (tanh_test): Likewise.
5515 (tgamma_test): Likewise.
5516 (trunc_test): Likewise.
5517 (y0_test): Likewise.
5518 (y1_test): Likewise.
5519 (yn_test): Likewise.
5520 (significand_test): Likewise.
5522 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5525 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5527 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5530 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5531 __ppc_mdoio and __ppc_mdoom.
5532 * manual/platform.texi: Document new functions __ppc_yield,
5533 __ppc_mdoio and __ppc_mdoom.
5535 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5537 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5538 (main): Mention "tls" pseudo-hwcap is legacy.
5539 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5541 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5543 * math/gen-libm-test.pl (parse_args): Output only string of
5544 arguments as text for test name, not full call or descriptions of
5545 tests for extra outputs.
5546 (generate_testfile): Do not pass function name to parse_args.
5547 Generate this_func variable from START.
5548 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5550 (struct test_ff_f_data): Likewise.
5551 (test_ff_f_data_nexttoward): Likewise.
5552 (struct test_fi_f_data): Likewise.
5553 (struct test_fl_f_data): Likewise.
5554 (struct test_if_f_data): Likewise.
5555 (struct test_fff_f_data): Likewise.
5556 (struct test_c_f_data): Likewise.
5557 (struct test_f_f1_data): Likewise. Remove field extra_name.
5558 (struct test_fF_f1_data): Likewise.
5559 (struct test_ffI_f1_data): Likewise.
5560 (struct test_c_c_data): Rename test_name field to arg_str.
5561 (struct test_cc_c_data): Likewise.
5562 (struct test_f_i_data): Likewise.
5563 (struct test_ff_i_data): Likewise.
5564 (struct test_f_l_data): Likewise.
5565 (struct test_f_L_data): Likewise.
5566 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5568 (COMMON_TEST_SETUP): New macro.
5569 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5570 (COMMON_TEST_CLEANUP): Likewise.
5571 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5572 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5574 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5575 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5577 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5578 (RUN_TEST_fff_f): Take argument string. Call new setup and
5580 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5581 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5583 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5584 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5586 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5587 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5589 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5590 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5592 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5593 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5595 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5596 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5598 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5599 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5601 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5602 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5604 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5605 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5607 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5608 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5610 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5611 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5613 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5614 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5616 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5617 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5619 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5620 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5622 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5623 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5625 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5627 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5629 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5630 to _sifields.sigfault.
5631 (si_addr_lsb): Define new macro.
5632 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5633 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5634 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5636 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5639 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5641 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5643 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5646 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5648 * math/gen-libm-test.pl (parse_args): Do not include expected
5649 result in test name.
5650 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5651 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5652 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5653 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5654 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5657 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5659 * benchtests/Makefile: Sort function entries.
5661 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5662 tanh, asinh, acosh, atanh.
5663 * benchtests/acos-inputs: New file.
5664 * benchtests/acosh-inputs: New file.
5665 * benchtests/asin-inputs: New file.
5666 * benchtests/asinh-inputs: New file.
5667 * benchtests/atanh-inputs: New file.
5668 * benchtests/cosh-inputs: New file.
5669 * benchtests/log-inputs: New file.
5670 * benchtests/sinh-inputs: New file.
5671 * benchtests/tanh-inputs: New file.
5673 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5676 * posix/tst-getaddrinfo4.c: New test.
5677 * posix/Makefile (tests): Add it.
5679 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5682 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5683 when no services were used.
5684 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5685 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5687 2013-05-21 Andreas Schwab <schwab@suse.de>
5690 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5691 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5693 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5694 redundant variable declarations and reallocation of buffer when
5695 parsing as IPv6 address. Always set NSS status when called from
5696 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5697 buffer too small. Correct computation of needed size.
5698 * nss/Makefile (tests): Add test-digits-dots.
5699 * nss/test-digits-dots.c: New test.
5701 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5703 * benchtests/Makefile: Remove instructions for adding
5705 * benchtests/README: New file to explain how to execute and
5706 enhance the benchmark tests.
5708 2013-05-21 Andreas Schwab <schwab@suse.de>
5711 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5712 * setjmp/tst-sigsetjmp.c: New test.
5714 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5716 * sysdeps/x86_64/memset.S (memset): New implementation.
5717 (__bzero): Likewise.
5718 (__memset_tail): New function.
5720 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5722 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5723 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5724 __memcpy_sse2_unaligned ifunc selection.
5725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5726 Add memcpy-sse2-unaligned.S.
5727 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5728 Add: __memcpy_sse2_unaligned.
5730 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5733 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5734 math_force_eval before restoring floating-point envrionment.
5735 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5736 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5738 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5740 (__nearbyintl): Use math_force_eval before restoring
5741 floating-point environment.
5742 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5744 * math/gen-libm-test.pl (special_functions): Remove.
5745 (parse_args): Don't handle TEST_extra. Handle functions with no
5747 * math/libm-test.inc (struct test_sincos_data): Replace with
5748 struct test_fFF_11_data.
5749 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5750 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5751 (sincos_test_data): Change element type to struct
5752 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5753 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5754 RUN_TEST_LOOP_sincos.
5755 * math/README.libm-test: Don't mention special handling of
5756 individual functions.
5757 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5758 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5759 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5760 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5761 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5764 * math/gen-libm-test.pl (get_variable): Remove function.
5765 (parse_args): Don't show pointer parameters to call in test
5766 names. Use "extra output N" in test names for extra outputs
5767 rather than naming variables.
5769 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5772 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5773 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5774 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5776 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5778 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5781 * math/gen-libm-test.pl (@tests): Remove variable.
5783 (new_test): Remove function.
5784 (show_exceptions): New function.
5785 (special_functions): Use show_exceptions instead of new_test.
5786 (parse_args): Likewise.
5787 (generate_testfile): Pass only function name in generated call to
5788 print_max_error or print_complex_max_error.
5789 (get_ulps): Do not handle complex tests specially.
5790 (output_test): Rename to ...
5791 (get_all_ulps_for_test): ... this. Return a string rather than
5792 printing to a file. Require ulps to be present.
5793 (output_ulps): Generate arrays rather than #defines.
5794 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5795 (struct ulp_data): New type.
5796 (BUILD_COMPLEX_ULP): Remove macro.
5797 (compare_ulp_data): New function.
5798 (find_ulps): Likewise.
5799 (find_test_ulps): Likewise.
5800 (find_function_ulps): Likewise.
5801 (find_complex_function_ulps): Likewise.
5802 (print_max_error): Determine allowed ulps using
5804 (print_complex_max_error): Determine allowed ulps using
5805 find_complex_function_ulps.
5806 (check_float_internal): Determine max ulps using find_test_ulps.
5807 (check_float): Do not take max_ulp parameter. Update call to
5808 check_float_internal.
5809 (check_complex): Likewise.
5810 (check_int): Do not take max_ulp parameter.
5811 (check_long): Likewise.
5812 (check_bool): Likewise.
5813 (check_longlong): Likewise.
5814 (struct test_f_f_data): Remove max_ulp field.
5815 (struct test_ff_f_data): Likewise.
5816 (struct test_ff_f_data_nexttoward): Likewise.
5817 (struct test_fi_f_data): Likewise.
5818 (struct test_fl_f_data): Likewise.
5819 (struct test_if_f_data): Likewise.
5820 (struct test_fff_f_data): Likewise.
5821 (struct test_c_f_data): Likewise.
5822 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5823 (struct test_fF_f1_data): Likewise.
5824 (struct test_ffI_f1_data): Likewise.
5825 (struct test_c_c_data): Remove max_ulp field.
5826 (struct test_cc_c_data): Likewise.
5827 (struct test_f_i_data): Likewise.
5828 (struct test_ff_i_data): Likewise.
5829 (struct test_f_l_data): Likewise.
5830 (struct test_f_L_data): Likewise.
5831 (struct test_sincos_data): Likewise.
5832 (RUN_TEST_f_f): Do not handle ulps.
5833 (RUN_TEST_LOOP_f_f): Likewise.
5834 (RUN_TEST_2_f): Likewise.
5835 (RUN_TEST_LOOP_2_f): Likewise.
5836 (RUN_TEST_fff_f): Likewise.
5837 (RUN_TEST_LOOP_fff_f): Likewise.
5838 (RUN_TEST_c_f): Likewise.
5839 (RUN_TEST_LOOP_c_f): Likewise.
5840 (RUN_TEST_f_f1): Likewise.
5841 (RUN_TEST_LOOP_f_f1): Likewise.
5842 (RUN_TEST_fF_f1): Likewise.
5843 (RUN_TEST_LOOP_fF_f1): Likewise.
5844 (RUN_TEST_fI_f1): Likewise.
5845 (RUN_TEST_LOOP_fI_f1): Likewise.
5846 (RUN_TEST_ffI_f1): Likewise.
5847 (RUN_TEST_LOOP_ffI_f1): Likewise.
5848 (RUN_TEST_c_c): Likewise.
5849 (RUN_TEST_LOOP_c_c): Likewise.
5850 (RUN_TEST_cc_c): Likewise.
5851 (RUN_TEST_LOOP_cc_c): Likewise.
5852 (RUN_TEST_f_i): Likewise.
5853 (RUN_TEST_LOOP_f_i): Likewise.
5854 (RUN_TEST_f_i_tg): Likewise.
5855 (RUN_TEST_LOOP_f_i_tg): Likewise.
5856 (RUN_TEST_ff_i_tg): Likewise.
5857 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5858 (RUN_TEST_f_b): Likewise.
5859 (RUN_TEST_LOOP_f_b): Likewise.
5860 (RUN_TEST_f_b_tg): Likewise.
5861 (RUN_TEST_LOOP_f_b_tg): Likewise.
5862 (RUN_TEST_f_l): Likewise.
5863 (RUN_TEST_LOOP_f_l): Likewise.
5864 (RUN_TEST_f_L): Likewise.
5865 (RUN_TEST_LOOP_f_L): Likewise.
5866 (RUN_TEST_sincos): Likewise.
5867 (RUN_TEST_LOOP_sincos): Likewise.
5869 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5873 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5874 main case of finite arguments, set rounding mode to FE_TONEAREST
5875 and discard exceptions.
5876 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5878 (remainder_tonearest_test_data): New variable.
5879 (remainder_test_tonearest): New function.
5880 (remainder_towardzero_test_data): New variable.
5881 (remainder_test_towardzero): New function.
5882 (remainder_downward_test_data): New variable.
5883 (remainder_test_downward): New function.
5884 (remainder_upward_test_data): New variable.
5885 (remainder_test_upward): New function.
5886 (main): Call the new test functions.
5888 * math/libm-test.inc (struct test_f_f1_data): Remove field
5890 (struct test_fF_f1_data): Likewise.
5891 (struct test_ffI_f1_data): Likewise.
5892 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5893 based on value of EXTRA_EXPECTED.
5894 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5895 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5896 EXTRA_VAR based on value of EXTRA_EXPECTED.
5897 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5898 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5899 EXTRA_VAR based on value of EXTRA_EXPECTED.
5900 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5901 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5902 EXTRA_VAR based on value of EXTRA_EXPECTED.
5903 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5904 * math/gen-libm-test.pl (parse_args): Don't output initializers
5905 for extra output values.
5907 * math/libm-test.inc (check_int): Expect result to be exactly
5908 equal to expected value and do not handle ulps.
5909 (check_long): Likewise.
5910 (check_longlong): Likewise.
5912 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5914 (cimag_test_data): Likewise.
5915 (conj_test_data): Likewise.
5916 (copysign_test_data): Likewise.
5917 (cproj_test_data): Likewise.
5918 (creal_test_data): Likewise.
5919 (fabs_test_data): Likewise.
5920 (fdim_test_data): Likewise.
5921 (finite_test_data): Likewise.
5922 (floor_test_data): Likewise.
5923 (fmax_test_data): Likewise.
5924 (fmin_test_data): Likewise.
5925 (fmod_test_data): Likewise.
5926 (fpclassify_test_data): Likewise.
5927 (frexp_test_data): Likewise.
5928 (ilogb_test_data): Likewise.
5929 (isfinite_test_data): Likewise.
5930 (isgreater_test_data): Likewise.
5931 (isgreaterequal_test_data): Likewise.
5932 (isinf_test_data): Likewise.
5933 (isless_test_data): Likewise.
5934 (islessequal_test_data): Likewise.
5935 (islessgreater_test_data): Likewise.
5936 (isnan_test_data): Likewise.
5937 (isnormal_test_data): Likewise.
5938 (issignaling_test_data): Likewise.
5939 (isunordered_test_data): Likewise.
5940 (ldexp_test_data): Likewise.
5941 (lrint_test_data): Likewise.
5942 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5943 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5944 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5945 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5946 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5947 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5949 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5950 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5951 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5952 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5954 (lrint_downward_test_data): Test for "inexact" exceptions.
5955 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5956 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5957 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5959 (lrint_upward_test_data): Test for "inexact" exceptions.
5960 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5962 (llrint_test_data): Test for "inexact" exceptions.
5963 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5964 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5965 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5966 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5967 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5968 (llrint_downward_test_data): Test for "inexact" exceptions.
5969 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5970 (llrint_upward_test_data): Test for "inexact" exceptions.
5971 (logb_test_data): Likewise.
5972 (logb_downward_test_data): Likewise.
5973 (nextafter_test_data): Likewise.
5974 (nexttoward_test_data): Likewise.
5975 (remainder_test_data): Likewise.
5976 (remquo_test_data): Likewise.
5977 (scalbn_test_data): Likewise.
5978 (scalbln_test_data): Likewise.
5979 (signbit_test_data): Likewise.
5980 (sqrt_test_data): Likewise.
5981 (significand_test_data): Likewise.
5983 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5986 * benchtests/bench-modf.c (struct args): Mark arg0 as
5988 * scripts/bench.pl: Mark members of struct args as volatile.
5990 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5993 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5994 negative infinity on POWER6 or lower.
5995 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5997 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6000 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6001 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6002 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6003 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6004 (_FP_SETQNAN): New macro.
6005 (_FP_SETQNAN_SEMIRAW): Likewise.
6006 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6007 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6008 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6009 (FP_EXTEND): Use _FP_FRAC_SNANP.
6010 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6011 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6013 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6015 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6018 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6020 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6021 with DIVIDE_BY_ZERO_EXCEPTION.
6022 (gamma_test_data): Likewise.
6023 (lgamma_test_data): Likewise.
6024 (log_test_data): Likewise.
6025 (log10_test_data): Likewise.
6026 (log2_test_data): Likewise.
6027 (tgamma_test_data): Likewise.
6029 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6030 (acos_test_tonearest): Likewise.
6031 (acos_test_towardzero): Likewise.
6032 (acos_test_downward): Likewise.
6033 (acos_test_upward): Likewise.
6034 (acosh_test): Likewise.
6035 (asin_test): Likewise.
6036 (asin_test_tonearest): Likewise.
6037 (asin_test_towardzero): Likewise.
6038 (asin_test_downward): Likewise.
6039 (asin_test_upward): Likewise.
6040 (asinh_test): Likewise.
6041 (atan_test): Likewise.
6042 (atanh_test): Likewise.
6043 (atan2_test): Likewise.
6044 (cabs_test): Likewise.
6045 (cacos_test): Likewise.
6046 (cacosh_test): Likewise.
6047 (casin_test): Likewise.
6048 (casinh_test): Likewise.
6049 (catan_test): Likewise.
6050 (catanh_test): Likewise.
6051 (cbrt_test): Likewise.
6052 (ccos_test): Likewise.
6053 (ccosh_test): Likewise.
6054 (cexp_test): Likewise.
6055 (clog_test): Likewise.
6056 (clog10_test): Likewise.
6057 (cos_test): Likewise.
6058 (cos_test_tonearest): Likewise.
6059 (cos_test_towardzero): Likewise.
6060 (cos_test_downward): Likewise.
6061 (cos_test_upward): Likewise.
6062 (cosh_test): Likewise.
6063 (cosh_test_tonearest): Likewise.
6064 (cosh_test_towardzero): Likewise.
6065 (cosh_test_downward): Likewise.
6066 (cosh_test_upward): Likewise.
6067 (cpow_test): Likewise.
6068 (csin_test): Likewise.
6069 (csinh_test): Likewise.
6070 (csqrt_test): Likewise.
6071 (ctan_test): Likewise.
6072 (ctan_test_tonearest): Likewise.
6073 (ctan_test_towardzero): Likewise.
6074 (ctan_test_downward): Likewise.
6075 (ctan_test_upward): Likewise.
6076 (ctanh_test): Likewise.
6077 (ctanh_test_tonearest): Likewise.
6078 (ctanh_test_towardzero): Likewise.
6079 (ctanh_test_downward): Likewise.
6080 (ctanh_test_upward): Likewise.
6081 (erf_test): Likewise.
6082 (erfc_test): Likewise.
6083 (exp_test): Likewise.
6084 (exp_test_tonearest): Likewise.
6085 (exp_test_towardzero): Likewise.
6086 (exp_test_downward): Likewise.
6087 (exp_test_upward): Likewise.
6088 (exp10_test): Likewise.
6089 (exp2_test): Likewise.
6090 (expm1_test): Likewise.
6091 (fmod_test): Likewise.
6092 (gamma_test): Likewise.
6093 (hypot_test): Likewise.
6094 (j0_test): Likewise.
6095 (j1_test): Likewise.
6096 (jn_test): Likewise.
6097 (lgamma_test): Likewise.
6098 (log_test): Likewise.
6099 (log10_test): Likewise.
6100 (log1p_test): Likewise.
6101 (log2_test): Likewise.
6102 (logb_test_downward): Likewise.
6103 (pow_test): Likewise.
6104 (pow_test_tonearest): Likewise.
6105 (pow_test_towardzero): Likewise.
6106 (pow_test_downward): Likewise.
6107 (pow_test_upward): Likewise.
6108 (remainder_test): Likewise.
6109 (remquo_test): Likewise.
6110 (sin_test): Likewise.
6111 (sin_test_tonearest): Likewise.
6112 (sin_test_towardzero): Likewise.
6113 (sin_test_downward): Likewise.
6114 (sin_test_upward): Likewise.
6115 (sincos_test): Likewise.
6116 (sinh_test): Likewise.
6117 (sinh_test_tonearest): Likewise.
6118 (sinh_test_towardzero): Likewise.
6119 (sinh_test_downward): Likewise.
6120 (sinh_test_upward): Likewise.
6121 (sqrt_test): Likewise.
6122 (tan_test): Likewise.
6123 (tan_test_tonearest): Likewise.
6124 (tan_test_towardzero): Likewise.
6125 (tan_test_downward): Likewise.
6126 (tan_test_upward): Likewise.
6127 (tanh_test): Likewise.
6128 (tgamma_test): Likewise.
6129 (y0_test): Likewise.
6130 (y1_test): Likewise.
6131 (yn_test): Likewise.
6133 * math/gen-libm-test.pl (adjust_arg): Remove function.
6134 (special_function): Remove argument $in_func. Only handle
6135 generating output for tables of tests, not inside functions.
6136 (parse_args): Likewise.
6137 (generate_testfile): Remove variable $in_func. Update call to
6139 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6140 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6141 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6142 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6143 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6144 (MAX_VALUE_INIT): Rename macro to max_value.
6145 (MIN_VALUE_INIT): Rename macro to min_value.
6146 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6147 (plus_zero): Remove variable.
6148 (minus_zero): Likewise.
6149 (plus_infty): Likewise.
6150 (minus_infty): Likewise.
6151 (qnan_value): Likewise.
6152 (max_value): Likewise.
6153 (min_value): Likewise.
6154 (min_subnorm_value): Likewise.
6156 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6158 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6159 uint64_t or uint32_t usage.
6160 * crypt/sha256-block.c: Likewise.
6161 * crypt/sha256-crypt.c: Likewise.
6162 * crypt/sha256.c: Likewise.
6163 * crypt/sha512-block.c: Likewise.
6164 * crypt/sha512-crypt.c: Likewise.
6165 * crypt/sha512.c: Likewise.
6166 * debug/backtrace-tst.c: Likewise.
6167 * debug/pcprofiledump.c: Likewise.
6168 * elf/cache.c: Likewise.
6169 * elf/dl-cache.c: Likewise.
6170 * elf/dl-misc.c: Likewise.
6171 * elf/dl-profile.c: Likewise.
6172 * elf/dl-support.c: Likewise.
6173 * elf/ldconfig.c: Likewise.
6174 * elf/sprof.c: Likewise.
6175 * iconv/dummy-repertoire.c: Likewise.
6176 * iconv/iconv_charmap.c: Likewise.
6177 * iconv/skeleton.c: Likewise.
6178 * iconvdata/8bit-generic.c: Likewise.
6179 * iconvdata/cp737.h: Likewise.
6180 * iconvdata/cp775.h: Likewise.
6181 * iconvdata/ibm1008.h: Likewise.
6182 * iconvdata/ibm1025.h: Likewise.
6183 * iconvdata/ibm1046.h: Likewise.
6184 * iconvdata/ibm1097.h: Likewise.
6185 * iconvdata/ibm1112.h: Likewise.
6186 * iconvdata/ibm1122.h: Likewise.
6187 * iconvdata/ibm1123.h: Likewise.
6188 * iconvdata/ibm1124.h: Likewise.
6189 * iconvdata/ibm1129.h: Likewise.
6190 * iconvdata/ibm1130.h: Likewise.
6191 * iconvdata/ibm1132.h: Likewise.
6192 * iconvdata/ibm1133.h: Likewise.
6193 * iconvdata/ibm1137.h: Likewise.
6194 * iconvdata/ibm1140.h: Likewise.
6195 * iconvdata/ibm1141.h: Likewise.
6196 * iconvdata/ibm1142.h: Likewise.
6197 * iconvdata/ibm1143.h: Likewise.
6198 * iconvdata/ibm1144.h: Likewise.
6199 * iconvdata/ibm1145.h: Likewise.
6200 * iconvdata/ibm1146.h: Likewise.
6201 * iconvdata/ibm1147.h: Likewise.
6202 * iconvdata/ibm1148.h: Likewise.
6203 * iconvdata/ibm1149.h: Likewise.
6204 * iconvdata/ibm1153.h: Likewise.
6205 * iconvdata/ibm1154.h: Likewise.
6206 * iconvdata/ibm1155.h: Likewise.
6207 * iconvdata/ibm1156.h: Likewise.
6208 * iconvdata/ibm1157.h: Likewise.
6209 * iconvdata/ibm1158.h: Likewise.
6210 * iconvdata/ibm1160.h: Likewise.
6211 * iconvdata/ibm1161.h: Likewise.
6212 * iconvdata/ibm1162.h: Likewise.
6213 * iconvdata/ibm1163.h: Likewise.
6214 * iconvdata/ibm1164.h: Likewise.
6215 * iconvdata/ibm1166.h: Likewise.
6216 * iconvdata/ibm1167.h: Likewise.
6217 * iconvdata/ibm12712.h: Likewise.
6218 * iconvdata/ibm1390.h: Likewise.
6219 * iconvdata/ibm1399.h: Likewise.
6220 * iconvdata/ibm16804.h: Likewise.
6221 * iconvdata/ibm4517.h: Likewise.
6222 * iconvdata/ibm4899.h: Likewise.
6223 * iconvdata/ibm4909.h: Likewise.
6224 * iconvdata/ibm4971.h: Likewise.
6225 * iconvdata/ibm5347.h: Likewise.
6226 * iconvdata/ibm803.h: Likewise.
6227 * iconvdata/ibm856.h: Likewise.
6228 * iconvdata/ibm901.h: Likewise.
6229 * iconvdata/ibm902.h: Likewise.
6230 * iconvdata/ibm9030.h: Likewise.
6231 * iconvdata/ibm9066.h: Likewise.
6232 * iconvdata/ibm921.h: Likewise.
6233 * iconvdata/ibm922.h: Likewise.
6234 * iconvdata/ibm9448.h: Likewise.
6235 * iconvdata/isiri-3342.h: Likewise.
6236 * iconvdata/jis0201.h: Likewise.
6237 * include/link.h: Likewise.
6238 * include/netdb.h: Likewise.
6239 * inet/check_native.c: Likewise.
6240 * inet/check_pf.c: Likewise.
6241 * inet/getipv4sourcefilter.c: Likewise.
6242 * inet/getnameinfo.c: Likewise.
6243 * inet/getsourcefilter.c: Likewise.
6244 * inet/htonl.c: Likewise.
6245 * inet/setipv4sourcefilter.c: Likewise.
6246 * inet/setsourcefilter.c: Likewise.
6247 * inet/test-inet6_opt.c: Likewise.
6248 * inet/tst-network.c: Likewise.
6249 * locale/C-collate.c: Likewise.
6250 * locale/C-ctype.c: Likewise.
6251 * locale/C-time.c: Likewise.
6252 * locale/C-translit.h: Likewise.
6253 * locale/loadarchive.c: Likewise.
6254 * locale/programs/3level.h: Likewise.
6255 * locale/programs/charmap.c: Likewise.
6256 * locale/programs/charmap.h: Likewise.
6257 * locale/programs/ld-address.c: Likewise.
6258 * locale/programs/ld-collate.c: Likewise.
6259 * locale/programs/ld-ctype.c: Likewise.
6260 * locale/programs/ld-identification.c: Likewise.
6261 * locale/programs/ld-measurement.c: Likewise.
6262 * locale/programs/ld-messages.c: Likewise.
6263 * locale/programs/ld-monetary.c: Likewise.
6264 * locale/programs/ld-name.c: Likewise.
6265 * locale/programs/ld-numeric.c: Likewise.
6266 * locale/programs/ld-paper.c: Likewise.
6267 * locale/programs/ld-telephone.c: Likewise.
6268 * locale/programs/ld-time.c: Likewise.
6269 * locale/programs/linereader.c: Likewise.
6270 * locale/programs/locale.c: Likewise.
6271 * locale/programs/locarchive.c: Likewise.
6272 * locale/programs/locfile.h: Likewise.
6273 * locale/programs/repertoire.c: Likewise.
6274 * locale/programs/simple-hash.c: Likewise.
6275 * locale/programs/simple-hash.h: Likewise.
6276 * malloc/memusage.c: Likewise.
6277 * malloc/memusagestat.c: Likewise.
6278 * nis/nis_defaults.c: Likewise.
6279 * nis/nis_hash.c: Likewise.
6280 * nis/nis_print.c: Likewise.
6281 * nis/nis_xdr.c: Likewise.
6282 * nscd/connections.c: Likewise.
6283 * nscd/hstcache.c: Likewise.
6284 * nscd/nscd_gethst_r.c: Likewise.
6285 * nscd/nscd_getserv_r.c: Likewise.
6286 * nscd/nscd_helper.c: Likewise.
6287 * nscd/servicescache.c: Likewise.
6288 * nss/makedb.c: Likewise.
6289 * nss/nss_db/db-XXX.c: Likewise.
6290 * nss/nss_db/db-initgroups.c: Likewise.
6291 * nss/nss_db/db-netgrp.c: Likewise.
6292 * nss/nss_files/files-network.c: Likewise.
6293 * nss/nss_files/files-parse.c: Likewise.
6294 * posix/bug-regex5.c: Likewise.
6295 * posix/fnmatch_loop.c: Likewise.
6296 * posix/regcomp.c: Likewise.
6297 * posix/regexec.c: Likewise.
6298 * posix/tst-rfc3484-2.c: Likewise.
6299 * posix/tst-rfc3484-3.c: Likewise.
6300 * posix/tst-rfc3484.c: Likewise.
6301 * resolv/nss_dns/dns-canon.c: Likewise.
6302 * resolv/nss_dns/dns-network.c: Likewise.
6303 * resolv/res_init.c: Likewise.
6304 * resolv/res_mkquery.c: Likewise.
6305 * resolv/tst-aton.c: Likewise.
6306 * stdlib/cxa_atexit.c: Likewise.
6307 * stdlib/cxa_finalize.c: Likewise.
6308 * stdlib/gen-fpioconst.c: Likewise.
6309 * stdlib/strtol_l.c: Likewise.
6310 * string/tst-endian.c: Likewise.
6311 * sunrpc/auth_des.c: Likewise.
6312 * sunrpc/clnt_udp.c: Likewise.
6313 * sunrpc/rtime.c: Likewise.
6314 * sunrpc/svcauth_des.c: Likewise.
6315 * sunrpc/xdr.c: Likewise.
6316 * sunrpc/xdr_intXX_t.c: Likewise.
6317 * sunrpc/xdr_rec.c: Likewise.
6318 * sysdeps/generic/ldconfig.h: Likewise.
6319 * sysdeps/generic/ldsodefs.h: Likewise.
6320 * sysdeps/generic/memusage.h: Likewise.
6321 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6322 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6323 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6324 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6325 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6326 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6327 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6328 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6331 * sysdeps/posix/getaddrinfo.c: Likewise.
6332 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6333 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6334 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6335 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6336 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6337 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6338 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6339 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6340 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6341 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6342 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6343 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6344 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6345 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6346 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6347 * sysdeps/x86_64/dl-tls.h: Likewise.
6348 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6349 * time/alt_digit.c: Likewise.
6350 * time/era.c: Likewise.
6351 * wcsmbs/tst-c16c32-1.c: Likewise.
6353 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6355 * math/libm-test.inc (struct test_sincos_data): New type.
6356 (RUN_TEST_LOOP_sincos): New macro.
6357 (sincos_test_data): New variable.
6358 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6360 2013-05-16 Richard Henderson <rth@redhat.com>
6362 * math/atest-exp2.c (LIMB64): New macro.
6363 (CONSTSZ): New macro.
6364 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6366 (print_mpn_fp): ... to function scope.
6367 (read_mpn_hex): Remove.
6369 (exp2_mpn): Use mp_log2.
6370 (main): Use mp_exp1.
6372 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6374 * math/libm-test.inc: Remove comment about not testing "inexact"
6376 (INEXACT_EXCEPTION): New macro.
6377 (NO_INEXACT_EXCEPTION): Likewise.
6378 (INVALID_EXCEPTION_OK): Update value.
6379 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6380 (OVERFLOW_EXCEPTION_OK): Likewise.
6381 (UNDERFLOW_EXCEPTION_OK): Likewise.
6382 (IGNORE_ZERO_INF_SIGN): Likewise.
6383 (ERRNO_UNCHANGED): Likewise.
6384 (ERRNO_EDOM): Likewise.
6385 (ERRNO_ERANGE): Likewise.
6386 (test_exceptions): Handle testing "inexact" exceptions.
6387 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6388 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6389 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6390 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6392 (rint_towardzero_test_data): Likewise.
6393 (rint_downward_test_data): Likewise.
6394 (rint_upward_test_data): Likewise.
6396 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6397 with OVERFLOW_EXCEPTION.
6398 (exp10_test_data): Likewise.
6399 (exp2_test_data): Likewise.
6400 (expm1_test_data): Likewise.
6401 (lgamma_test_data): Likewise.
6402 (pow_test_data): Likewise.
6403 (tgamma_test_data): Likewise.
6404 (yn_test_data): Remove duplicate test of overflow.
6406 * math/libm-test.inc (struct test_cc_c_data): New type.
6407 (RUN_TEST_LOOP_cc_c): New macro.
6408 (cpow_test_data): New variable.
6409 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6411 * math/libm-test.inc (struct test_f_L_data): New type.
6412 (RUN_TEST_LOOP_f_L): New macro.
6413 (llrint_test_data): New variable.
6414 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6415 (llrint_tonearest_test_data): New variable.
6416 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6417 (llrint_towardzero_test_data): New variable.
6418 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6419 (llrint_downward_test_data): New variable.
6420 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6421 (llrint_upward_test_data): New variable.
6422 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6423 (llround_test_data): New variable.
6424 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6426 2013-05-13 Peter Collingbourne <pcc@google.com>
6428 * math/atest-exp2.c (get_log2): Remove const attribute.
6430 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6432 * math/libm-test.inc (struct test_f_l_data): New type.
6433 (RUN_TEST_LOOP_f_l): New macro.
6434 (lrint_test_data): New variable.
6435 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6436 (lrint_tonearest_test_data): New variable.
6437 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6438 (lrint_towardzero_test_data): New variable.
6439 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6440 (lrint_downward_test_data): New variable.
6441 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6442 (lrint_upward_test_data): New variable.
6443 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6444 (lround_test_data): New variable.
6445 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6447 2013-05-15 Peter Collingbourne <pcc@google.com>
6449 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6450 (EXTRACT_WORDS64) Use where appropriate.
6451 (INSERT_WORDS64) Likewise.
6453 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6454 constraints with x constraints.
6455 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6457 * malloc/obstack.c (_obstack_compat): Add initializer.
6459 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6461 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6462 si_trapno and add si_addr_lsb to _sifields.sigfault.
6463 (si_trapno): Remove macro.
6464 (si_addr_lsb): Define new macro.
6465 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6467 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6469 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6470 instead of TEST_f_l.
6471 (llrint_test_tonearest): Likewise.
6472 (llrint_test_towardzero): Likewise.
6473 (llrint_test_downward): Likewise.
6474 (llrint_test_upward): Likewise.
6475 (llround_test): Likewise.
6477 * math/libm-test.inc (struct test_f_i_data): Add comment.
6478 (RUN_TEST_LOOP_f_b): New macro.
6479 (RUN_TEST_LOOP_f_b_tg): Likewise.
6480 (finite_test_data): New variable.
6481 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6482 (isfinite_test_data): New variable.
6483 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6484 (isinf_test_data): New variable.
6485 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6486 (isnan_test_data): New variable.
6487 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6488 (isnormal_test_data): New variable.
6489 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6490 (issignaling_test_data): New variable.
6491 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6492 (signbit_test_data): New variable.
6493 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6495 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6496 with INVALID_EXCEPTION.
6497 (acosh_test_data): Likewise.
6498 (asin_test_data): Likewise.
6499 (atanh_test_data): Likewise.
6500 (fmod_test_data): Likewise.
6501 (log_test_data): Likewise.
6502 (log10_test_data): Likewise.
6503 (log2_test_data): Likewise.
6504 (pow_test_data): Likewise.
6505 (sqrt_test_data): Likewise.
6506 (y0_test_data): Likewise.
6507 (y1_test_data): Likewise.
6508 (yn_test_data): Likewise.
6510 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6513 * math/libm-test.inc (struct test_ff_i_data): New type.
6514 (RUN_TEST_LOOP_ff_i_tg): New macro.
6515 (isgreater_test_data): New variable.
6516 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6517 (isgreaterequal_test_data): New variable.
6518 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6519 (isless_test_data): New variable.
6520 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6521 (islessequal_test_data): New variable.
6522 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6523 (islessgreater_test_data): New variable.
6524 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6525 (isunordered_test_data): New variable.
6526 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6528 2013-05-14 David S. Miller <davem@davemloft.net>
6530 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6532 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6534 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6536 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6538 (struct test_f_i_data): Change type of max_ulp to int.
6540 * math/libm-test.inc (test_ffI_f1_data): New type.
6541 (RUN_TEST_LOOP_ffI_f1): New macro.
6542 (remquo_test_data): New variable.
6543 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6545 * setjmp/tst-setjmp-fp.c: New file.
6546 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6547 (link-libm): New variable.
6548 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6550 * math/libm-test.inc (struct test_f_i_data): New type.
6551 (RUN_TEST_LOOP_f_i): New macro.
6552 (RUN_TEST_LOOP_f_i_tg): Likewise.
6553 (fpclassify_test_data): New variable.
6554 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6555 (ilogb_test_data): New variable.
6556 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6558 * math/libm-test.inc (scalbln_test): Correct function name in END
6561 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6562 (RUN_TEST_LOOP_fI_f1): New macro.
6563 (frexp_test_data): New variable.
6564 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6566 * math/libm-test.inc (struct test_fF_f1_data): New type.
6567 (RUN_TEST_LOOP_fF_f1): New macro.
6568 (modf_test_data): New variable.
6569 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6571 * math/libm-test.inc (struct test_f_f1_data): New type.
6572 (RUN_TEST_LOOP_f_f1): New macro.
6573 (gamma_test_data): New variable.
6574 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6575 (lgamma_test_data): New variable.
6576 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6578 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6580 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6581 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6582 (main): Comment "tls" pseudo-hwcap.
6584 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6586 * math/libm-test.inc (struct test_fl_f_data): New type.
6587 (RUN_TEST_LOOP_fl_f): New variable.
6588 (scalbln_test_data): New variable.
6589 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6591 * math/libm-test.inc (struct test_fi_f_data): New type.
6592 (RUN_TEST_LOOP_fi_f): New macro.
6593 (ldexp_test_data): New variable.
6594 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6595 (scalbn_test_data): New variable.
6596 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6598 * math/libm-test.inc (struct test_c_f_data): New type.
6599 (RUN_TEST_LOOP_c_f): New macro.
6600 (cabs_test_data): New variable.
6601 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6602 (carg_test_data): New variable.
6603 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6604 (cimag_test_data): New variable.
6605 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6606 (creal_test_data): New variable.
6607 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6609 * math/libm-test.inc (struct test_if_f_data): New type.
6610 (RUN_TEST_LOOP_if_f): New macro.
6611 (jn_test_data): New variable.
6612 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6613 (yn_test_data): New variable.
6614 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6616 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6618 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6620 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6621 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6623 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6625 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6626 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6627 (bench-deps): Add bench-timing.h.
6628 * benchtests-bench-skeleton.c: Include bench-timing.h.
6629 (main): Use TIMING_* macros instead of clock_gettime.
6630 * benchtests/bench-timing.h: New file.
6633 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6634 Renamed from _LIB_VERSION.
6635 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6637 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6639 * math/libm-test.inc (struct test_fff_f_data): New type.
6640 (RUN_TEST_LOOP_fff_f): New macro.
6641 (fma_test_data): New variable.
6642 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6643 (fma_towardzero_test_data): New variable.
6644 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6645 (fma_downward_test_data): New variable.
6646 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6647 (fma_upward_test_data): New variable.
6648 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6650 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6651 (struct test_c_c_data): New type.
6652 (RUN_TEST_LOOP_c_c): New macro.
6653 (cacos_test_data): New variable.
6654 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6655 (cacosh_test_data): New variable.
6656 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6657 (casin_test_data): New variable.
6658 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6659 (casinh_test_data): New variable.
6660 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6661 (catan_test_data): New variable.
6662 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6663 (catanh_test_data): New variable.
6664 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6665 (ccos_test_data): New variable.
6666 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6667 (ccosh_test_data): New variable.
6668 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6669 (cexp_test_data): New variable.
6670 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6671 (clog_test_data): New variable.
6672 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6673 (clog10_test_data): New variable.
6674 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6675 (conj_test_data): New variable.
6676 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6677 (cproj_test_data): New variable.
6678 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6679 (csin_test_data): New variable.
6680 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6681 (csinh_test_data): New variable.
6682 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6683 (csqrt_test_data): New variable.
6684 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6685 (ctan_test_data): New variable.
6686 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6687 (ctan_tonearest_test_data): New variable.
6688 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6689 (ctan_towardzero_test_data): New variable.
6690 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6691 (ctan_downward_test_data): New variable.
6692 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6693 (ctan_upward_test_data): New variable.
6694 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6695 (ctanh_test_data): New variable.
6696 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6697 (ctanh_tonearest_test_data): New variable.
6698 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6699 (ctanh_towardzero_test_data): New variable.
6700 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6701 (ctanh_downward_test_data): New variable.
6702 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6703 (ctanh_upward_test_data): New variable.
6704 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6705 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6708 * math/libm-test.inc (struct test_ff_f_data): New type.
6709 (struct test_ff_f_data_nexttoward): Likewise.
6710 (RUN_TEST_LOOP_2_f): New macro.
6711 (RUN_TEST_LOOP_ff_f): Likewise.
6712 (atan2_test_data): New variable.
6713 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6714 (copysign_test_data): New variable.
6715 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6716 (fdim_test_data): New variable.
6717 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6718 (fmax_test_data): New variable.
6719 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6720 (fmin_test_data): New variable.
6721 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6722 (fmod_test_data): New variable.
6723 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6724 (hypot_test_data): New variable.
6725 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6726 (nextafter_test_data): New variable.
6727 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6728 (nexttoward_test_data): New variable.
6729 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6730 (pow_test_data): New variable.
6731 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6732 (pow_tonearest_test_data): New variable.
6733 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6734 (pow_towardzero_test_data): New variable.
6735 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6736 (pow_downward_test_data): New variable.
6737 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6738 (pow_upward_test_data): New variable.
6739 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6740 (remainder_test_data): New variable.
6741 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6742 (scalb_test_data): New variable.
6743 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6744 * sysdeps/i386/fpu/libm-test-ulps: Update.
6746 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6748 * math/libm-test.inc (fma_test): Use max_value instead of local
6750 (nextafter_test): Likewise.
6752 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6753 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6754 (acos_downward_test_data): New variable.
6755 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6756 (acos_upward_test_data): New variable.
6757 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6758 (acosh_test_data): New variable.
6759 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6760 (asin_test_data): New variable.
6761 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6762 (asin_tonearest_test_data): New variable.
6763 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6764 (asin_towardzero_test_data): New variable.
6765 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6766 (asin_downward_test_data): New variable.
6767 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6768 (asin_upward_test_data): New variable.
6769 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6770 (asinh_test_data): New variable.
6771 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6772 (atan_test_data): New variable.
6773 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6774 (atanh_test_data): New variable.
6775 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6776 (cbrt_test_data): New variable.
6777 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6778 (ceil_test_data): New variable.
6779 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6780 (cos_test_data): New variable.
6781 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6782 (cos_tonearest_test_data): New variable.
6783 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6784 (cos_towardzero_test_data): New variable.
6785 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6786 (cos_downward_test_data): New variable.
6787 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6788 (cos_upward_test_data): New variable.
6789 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6790 (cosh_test_data): New variable.
6791 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6792 (cosh_tonearest_test_data): New variable.
6793 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6794 (cosh_towardzero_test_data): New variable.
6795 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6796 (cosh_downward_test_data): New variable.
6797 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6798 (cosh_upward_test_data): New variable.
6799 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6800 (erf_test_data): New variable.
6801 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6802 (erfc_test_data): New variable.
6803 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6804 (exp_test_data): New variable.
6805 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6806 (exp_tonearest_test_data): New variable.
6807 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6808 (exp_towardzero_test_data): New variable.
6809 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6810 (exp_downward_test_data): New variable.
6811 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6812 (exp_upward_test_data): New variable.
6813 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6814 (exp10_test_data): New variable.
6815 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6816 (exp2_test_data): New variable.
6817 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6818 (expm1_test_data): New variable.
6819 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6820 (fabs_test_data): New variable.
6821 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6822 (floor_test_data): New variable.
6823 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6824 (j0_test_data): New variable.
6825 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6826 (j1_test_data): New variable.
6827 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6828 (log_test_data): New variable.
6829 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6830 (log10_test_data): New variable.
6831 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6832 (log1p_test_data): New variable.
6833 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6834 (log2_test_data): New variable.
6835 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6836 (logb_test_data): New variable.
6837 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6838 (logb_downward_test_data): New variable.
6839 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6840 (nearbyint_test_data): New variable.
6841 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6842 (rint_test_data): New variable.
6843 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6844 (rint_tonearest_test_data): New variable.
6845 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6846 (rint_towardzero_test_data): New variable.
6847 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6848 (rint_downward_test_data): New variable.
6849 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6850 (rint_upward_test_data): New variable.
6851 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6852 (round_test_data): New variable.
6853 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6854 (sin_test_data): New variable.
6855 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6856 (sin_tonearest_test_data): New variable.
6857 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6858 (sin_towardzero_test_data): New variable.
6859 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6860 (sin_downward_test_data): New variable.
6861 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6862 (sin_upward_test_data): New variable.
6863 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6864 (sinh_test_data): New variable.
6865 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6866 (sinh_tonearest_test_data): New variable.
6867 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6868 (sinh_towardzero_test_data): New variable.
6869 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6870 (sinh_downward_test_data): New variable.
6871 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6872 (sinh_upward_test_data): New variable.
6873 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6874 (sqrt_test_data): New variable.
6875 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6876 (tan_test_data): New variable.
6877 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6878 (tan_tonearest_test_data): New variable.
6879 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6880 (tan_towardzero_test_data): New variable.
6881 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6882 (tan_downward_test_data): New variable.
6883 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6884 (tan_upward_test_data): New variable.
6885 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6886 (tanh_test_data): New variable.
6887 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6888 (tgamma_test_data): New variable.
6889 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6890 (trunc_test_data): New variable.
6891 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6892 (y0_test_data): New variable.
6893 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6894 (y1_test_data): New variable.
6895 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6896 (significand_test_data): New variable.
6897 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6899 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6902 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6904 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6906 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6908 2013-05-10 Andreas Jaeger <aj@suse.de>
6911 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6912 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6914 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6916 * math/gen-libm-test.pl (adjust_arg): New function.
6917 (special_functions): Handle generating output in both functions
6919 (parse_args): Likewise.
6920 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6921 $in_func argument to parse_args.
6922 * math/libm-test.inc (struct test_f_f_data): New type.
6923 (IF_ROUND_INIT_): New macro.
6924 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6925 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6926 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6927 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6928 (ROUND_RESTORE_): Likewise.
6929 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6930 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6931 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6932 (ROUND_RESTORE_FE_UPWARD): Likewise.
6933 (RUN_TEST_LOOP_f_f): New macro.
6934 (acos_test_data): New variable.
6935 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6936 (acos_tonearest_test_data): New variable.
6937 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6939 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6941 * benchtests/bench-skeleton.c (startup): Fix coding style.
6943 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6946 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6947 negative infinity argument.
6948 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6949 negative infinity argument.
6950 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6951 negative infinity argument.
6952 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6955 2013-05-10 Florian Weimer <fweimer@redhat.com>
6957 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6958 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6959 * iconv/iconv_prog.c (main): Likewise.
6960 * locale/programs/charmap-dir.c (charmap_readdir)
6961 (fopen_uncompressed): Likewise.
6962 * locale/programs/locfile.c (siblings_uncached)
6963 (write_locale_data): Use lstat64 instead of lstat.
6964 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6967 2013-05-10 Andreas Jaeger <aj@suse.de>
6970 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6974 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6976 * elf/dl-close.c (_dl_close_worker): Add comments.
6978 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6981 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6983 (__ieee754_rem_pio2l): Update comments.
6986 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6988 (__ieee754_rem_pio2l): Update comments.
6990 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6991 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6993 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6996 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6997 (M_PI_34_LOG10El): Likewise.
6998 (M_PI2_LOG10El): Likewise.
6999 (M_PI4_LOG10El): Likewise.
7000 (M_PI_LOG10El): Likewise.
7002 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7006 2013-05-08 Joseph Myers <joseph@codesourcery.com>
7008 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7009 (MINUS_ZERO_INIT): Likewise.
7010 (PLUS_INFTY_INIT): Likewise.
7011 (MINUS_INFTY_INIT): Likewise.
7012 (QNAN_VALUE_INIT): Likewise.
7013 (MAX_VALUE_INIT): Likewise.
7014 (MIN_VALUE_INIT): Likewise.
7015 (MIN_SUBNORM_VALUE_INIT): Likewise.
7016 (plus_zero): Initialize with PLUS_ZERO_INIT.
7017 (minus_zero): Initialize with MINUS_ZERO_INIT.
7018 (plus_infty): Initialize with PLUS_INFTY_INIT.
7019 (minus_infty): Initialize with MINUS_INFTY_INIT.
7020 (qnan_value): Initialize with QNAN_VALUE_INIT.
7021 (max_value): Initialize with MAX_VALUE_INIT.
7022 (min_value): Initialize with MIN_VALUE_INIT.
7023 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7025 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7026 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7027 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7028 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7030 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7031 (RUN_TEST_2_f): Likewise.
7032 (RUN_TEST_ff_f): Likewise.
7033 (RUN_TEST_fi_f): Likewise.
7034 (RUN_TEST_fl_f): Likewise.
7035 (RUN_TEST_fff_f): Likewise.
7036 (RUN_TEST_c_f): Likewise.
7037 (RUN_TEST_f_f1): Likewise.
7038 (RUN_TEST_fF_f1): Likewise.
7039 (RUN_TEST_fI_f1): Likewise.
7040 (RUN_TEST_ffI_f1): Likewise.
7041 (RUN_TEST_c_c): Likewise.
7042 (RUN_TEST_cc_c): Likewise.
7043 (RUN_TEST_f_i): Likewise.
7044 (RUN_TEST_f_i_tg): Likewise.
7045 (RUN_TEST_ff_i_tg): Likewise.
7046 (RUN_TEST_f_b): Likewise.
7047 (RUN_TEST_f_b_tg): Likewise.
7048 (RUN_TEST_f_l): Likewise.
7049 (RUN_TEST_f_L): Likewise.
7050 (RUN_TEST_sincos): Likewise.
7051 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7052 whether to show exceptions. Do not include ");\n" in return
7054 (special_functions): Output call to RUN_TEST_sincos instead of
7055 check_float calls. Update calls to new_test.
7056 (parse_args): Output call to single RUN_TEST_* macro instead of
7057 check_* calls and other assignments. Update calls to new_test.
7063 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7064 input to result for tgamma overflow.
7065 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7066 (gamma_coeff): New variable.
7067 (NCOEFF): New macro.
7068 (gamma_positive): New function.
7069 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7070 underflow here. Use gamma_positive instead of exp (lgamma) for
7072 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7073 (gamma_coeff): New variable.
7074 (NCOEFF): New macro.
7075 (gammaf_positive): New function.
7076 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7077 underflow here. Use gamma_positive instead of exp (lgamma) for
7079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7080 (gamma_coeff): New variable.
7081 (NCOEFF): New macro.
7082 (gammal_positive): New function.
7083 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7084 underflow here. Use gamma_positive instead of exp (lgamma) for
7086 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7087 (gamma_coeff): New variable.
7088 (NCOEFF): New macro.
7089 (gammal_positive): New function.
7090 (__ieee754_gammal_r): Handle positive infinity, overflow and
7091 underflow here. Handle NaN the same as positive infinity. Remove
7092 check x < 0xffffffff for negative integers. Use gamma_positive
7093 instead of exp (lgamma) for other arguments.
7094 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7095 (gamma_coeff): New variable.
7096 (NCOEFF): New macro.
7097 (gammal_positive): New function.
7098 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7099 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7100 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7101 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7102 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7103 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7104 * sysdeps/generic/math_private.h (__gamma_productf): New
7106 (__gamma_product): Likewise.
7107 (__gamma_productl): Likewise.
7108 * math/Makefile (libm-calls): Add gamma_product.
7109 * math/libm-test.inc (tgamma_test): Add more tests.
7110 * sysdeps/i386/fpu/libm-test-ulps: Update.
7111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7113 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
7115 * benchtests/bench-skeleton.c (main): Preheat CPU.
7117 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7119 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7121 2013-05-07 Roland McGrath <roland@hack.frob.com>
7123 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7124 and _dl_skip_args_internal.
7126 2013-05-07 Carlos O'Donell <carlos@redhat.com>
7128 * manual/message.texi (Message Translation): Talk about users.
7129 Message to key mapping impacts design.
7131 2013-05-06 Roland McGrath <roland@hack.frob.com>
7133 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7135 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7137 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7138 * sysdeps/wordsize-64/glob64.c: ... here.
7140 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7141 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7144 * debug/getlogin_r_chk.c: Moved to ...
7145 * login/getlogin_r_chk.c: ... here.
7146 * debug/Makefile (routines): Move getlogin_r_chk to ...
7147 * login/Makefile (routines): ... here.
7148 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7149 * login/Versions (libc: GLIBC_2.4): ... here.
7151 * io/poll.c (__poll): Renamed from poll.
7152 Add libc_hidden_def.
7153 (poll): Define as weak alias.
7155 * debug/ptsname_r_chk.c: Moved to ...
7156 * login/ptsname_r_chk.c: ... here.
7157 * debug/Makefile (routines): Move ptsname_r_chk to ...
7158 * login/Makefile (routines): ... here.
7159 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7160 * login/Versions (libc: GLIBC_2.4): ... here.
7162 * posix/getlogin.c: Moved to ...
7163 * login/getlogin.c: ... here.
7164 * posix/getlogin_r.c: Moved to ...
7165 * login/getlogin_r.c: ... here.
7166 * posix/getlogin_r.c: Moved to ...
7167 * login/getlogin_r.c: ... here.
7168 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7169 * login/Makefile (routines): ... here.
7170 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7171 * login/Versions (libc: GLIBC_2.0): ... here.
7173 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7174 (setrlimit): Define as weak alias.
7176 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7177 Call __ names for open, ftruncate, and close.
7178 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7179 (truncate): Define as weak alias.
7181 2013-05-06 Joseph Myers <joseph@codesourcery.com>
7183 * math/gen-libm-test.pl (parse_args): Initialize x before each
7184 test of frexp, modf and remquo.
7186 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7189 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7193 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7195 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7197 2013-05-06 Roland McGrath <roland@hack.frob.com>
7199 * elf/dl-writev.h: New file.
7200 * elf/dl-misc.c: Include it.
7201 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7202 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7204 2013-05-04 Joseph Myers <joseph@codesourcery.com>
7206 * math/libm-test.inc (noXFails): Remove variable.
7207 (noXPasses): Likewise.
7208 (BUILD_COMPLEX_INT): Remove macro.
7209 (print_screen): Remove xfail argument.
7210 (print_screen_max_error): Likewise.
7211 (update_stats): Likewise.
7212 (print_max_error): Likewise. Update calls to other affected
7214 (print_complex_max_error): Likewise.
7215 (test_single_exception): Update calls to print_screen.
7216 (test_single_errno): Likewise.
7217 (check_float_internal): Remove xfail argument. Update calls to
7218 other affected functions.
7219 (check_float): Likewise.
7220 (check_complex): Likewise.
7221 (check_int): Likewise.
7222 (check_long): Likewise.
7223 (check_bool): Likewise.
7224 (check_longlong): Likewise.
7225 (main): Don't print noXFails and noXPasses.
7226 * math/gen-libm-test.pl (top level): Don't mention expected
7227 failure handling in comment.
7228 (new_test): Don't handle expected failures.
7229 (parse_args): Don't mention expected failure handling in comment.
7230 (generate_testfile): Don't handle expected failures.
7231 (parse_ulps): Likewise.
7232 (print_ulps_file): Likewise.
7233 (get_failure): Remove function.
7234 (output_test): Don't handle expected failures.
7235 * make/README.libm-test: Don't mention expected failure handling.
7237 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7238 (minus_zero): Likewise.
7239 (plus_infty): Likewise.
7240 (minus_infty): Likewise.
7241 (qnan_value): Likewise.
7242 (max_value): Likewise.
7243 (min_value): Likewise.
7244 (min_subnorm_value): Likewise.
7245 (initialize): Do not initialize those variables dynamically.
7247 2013-05-03 Roland McGrath <roland@hack.frob.com>
7249 * io/open.c (__open_2): Moved to ...
7250 * io/open_2.c: ... this new file.
7251 * io/open64.c (__open64_2): Moved to ...
7252 * io/open64_2.c: ... this new file.
7253 * io/openat.c (__openat_2): Moved to ...
7254 * io/openat_2.c: ... this new file.
7255 * io/openat64.c (__openat64_2): Moved to ...
7256 * io/openat64_2.c: ... this new file.
7257 * io/Makefile (routines): Add them.
7258 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7259 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7260 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7261 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7262 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7263 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7264 (__openat64): Add hidden_ver.
7265 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7266 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7268 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7269 Separately conditionalize setting of GLRO(dl_sysinfo) so
7270 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7271 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7273 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7275 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7276 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7278 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7279 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7280 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7281 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7282 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7284 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7286 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7289 * math/libm-test.inc (hypot_test): Do not use
7290 IGNORE_ZERO_INF_SIGN.
7292 2013-05-03 Andreas Jaeger <aj@suse.de>
7294 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7296 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7297 (PF_MAX): Adjust for VSOCK change.
7299 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7303 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7306 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7307 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7308 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7310 2013-05-02 David S. Miller <davem@davemloft.net>
7312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7314 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7316 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7318 2013-05-01 Roland McGrath <roland@hack.frob.com>
7320 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7322 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7325 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7326 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7327 Use __attribute__ ((__gnu_inline__)).
7328 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7329 Don't use __attribute__ ((__gnu_inline__)).
7331 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7334 * math/s_catan.c (__catan): Handle small real or imaginary part of
7335 input specially to avoid spurious underflow.
7336 * math/s_catanf.c (__catanf): Likewise.
7337 * math/s_catanh.c (__catanh): Likewise.
7338 * math/s_catanhf.c (__catanhf): Likewise.
7339 * math/s_catanhl.c (__catanhl): Likewise.
7340 * math/s_catanl.c (__catanl): Likewise.
7341 * math/libm-test.inc (catan_test): Add more tests.
7342 (catanh_test): Likewise.
7343 * sysdeps/i386/fpu/libm-test-ulps: Update.
7344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7346 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7350 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7353 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7354 accurately for denominator in atan2.
7355 * math/s_catanf.c (__catanf): Likewise.
7356 * math/s_catanh.c (__catanh): Likewise.
7357 * math/s_catanhf.c (__catanhf): Likewise.
7358 * math/s_catanhl.c (__catanhl): Likewise.
7359 * math/s_catanl.c (__catanl): Likewise.
7360 * math/libm-test.inc (catan_test): Add more tests.
7361 (catanh_test): Likewise.
7362 * sysdeps/i386/fpu/libm-test-ulps: Update.
7363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7365 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7367 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7369 * benchtests/Makefile (bench): Remove slow benchmarks.
7370 * benchtests/atan-inputs: Add slow benchmark inputs.
7371 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7372 (BENCH_FUNC): Accept variant offset.
7374 * benchtests/bench-skeleton.c (main): Run benchmark for each
7376 * benchtests/cos-inputs: Add slow benchmark inputs.
7377 * benchtests/exp-inputs: Likewise.
7378 * benchtests/pow-inputs: Likewise.
7379 * benchtests/sin-inputs: Likewise.
7380 * benchtests/slowatan-inputs: Remove.
7381 * benchtests/slowatan.c: Remove.
7382 * benchtests/slowcos-inputs: Remove.
7383 * benchtests/slowcos.c: Remove.
7384 * benchtests/slowexp-inputs: Remove.
7385 * benchtests/slowexp.c: Remove.
7386 * benchtests/slowpow-inputs: Remove.
7387 * benchtests/slowpow.c: Remove.
7388 * benchtests/slowsin-inputs: Remove.
7389 * benchtests/slowsin.c: Remove.
7390 * benchtests/slowtan-inputs: Remove.
7391 * benchtests/slowtan.c: Remove.
7392 * benchtests/tan-inputs: Add slow benchmark inputs.
7393 * scripts/bench.pl: Parse comments and directives.
7395 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7397 ($(objpfx)bench-%.c): Remove *-ITER.
7398 * benchtests/bench-modf.c: Remove definition of ITER.
7399 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7400 (main): Loop for DURATION seconds instead of fixed number of
7402 * scripts/bench.pl: Don't expect iterations in parameters.
7404 2013-04-29 Roland McGrath <roland@hack.frob.com>
7406 * io/fchdir.c (__fchdir): Renamed from fchdir.
7407 (fchdir): Define as weak alias.
7409 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7411 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7412 (ERRNO_EDOM): Likewise.
7413 (ERRNO_ERANGE): Likewise.
7414 (noErrnoTests): New variable.
7415 (init_max_error): Set errno to 0.
7416 (test_single_errno): New function.
7417 (test_errno): Likewise.
7418 (check_float_internal): Call test_errno. Set errno to 0.
7419 (check_complex): Refer to errno tests in comment.
7420 (check_int): Call test_errno. Set errno to 0.
7421 (check_long): Likewise.
7422 (check_bool): Likewise.
7423 (check_longlong): Likewise.
7424 (cos_test): Use ERRNO_* flags for errno tests instead of
7426 (expm1_test): Likewise.
7427 (fmod_test): Likewise.
7428 (ilogb_test): Likewise.
7429 (lgamma_test): Likewise.
7430 (pow_test): Likewise.
7431 (remainder_test): Likewise.
7432 (sin_test): Likewise.
7433 (tan_test): Likewise.
7434 (yn_test): Likewise.
7435 (initialize): Set errno to 0.
7436 (main): Print number of errno tests.
7437 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7439 2013-04-29 Andreas Jaeger <aj@suse.de>
7442 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7446 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7447 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7451 * stdlib/random.c (__initstate): Return NULL if
7455 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7456 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7459 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7461 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7463 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7465 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7466 of individual tests.
7467 (casin_test): Likewise.
7468 (casinh_test): Likewise.
7470 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7473 * math/s_catan.c (__catan): Handle arguments with large real or
7474 imaginary part separately without squaring.
7475 * math/s_catanf.c (__catanf): Likewise.
7476 * math/s_catanh.c (__catanh): Likewise.
7477 * math/s_catanhf.c (__catanhf): Likewise.
7478 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7480 (__catanhl): Handle arguments with large real or imaginary part
7481 separately without squaring.
7482 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7484 (__catanl): Handle arguments with large real or imaginary part
7485 separately without squaring.
7486 * math/libm-test.inc (catan_test): Add more tests.
7487 (catanh_test): Likewise.
7488 * sysdeps/i386/fpu/libm-test-ulps: Update.
7489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7491 2013-04-27 Andreas Jaeger <aj@suse.de>
7494 * stdlib/stdlib.h: Update guards for qecvt.
7495 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7498 2013-04-27 Allan McRae <allan@archlinux.org>
7500 * sysdeps/i386/fpu/libm-test-ulps: Update.
7502 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7505 * math/s_catan.c: Include <float.h>.
7506 (__catan): Ensure underflow exception occurs for underflowed
7508 * math/s_catanf.c: Include <float.h>.
7509 (__catanf): Ensure underflow exception occurs for underflowed
7511 * math/s_catanh.c: Include <float.h>.
7512 (__catanh): Ensure underflow exception occurs for underflowed
7514 * math/s_catanhf.c: Include <float.h>.
7515 (__catanhf): Ensure underflow exception occurs for underflowed
7517 * math/s_catanhl.c: Include <float.h>.
7518 (__catanhl): Ensure underflow exception occurs for underflowed
7520 * math/s_catanl.c: Include <float.h>.
7521 (__catanl): Ensure underflow exception occurs for underflowed
7523 * math/libm-test.inc (catan_test): Add more tests.
7524 (catanh_test): Likewise.
7527 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7529 * math/s_ccoshf.c (__ccoshf): Likewise.
7530 * math/s_ccoshl.c (__ccoshl): Likewise.
7531 * math/s_csin.c (__csin): Likewise.
7532 * math/s_csinf.c (__csinf): Likewise.
7533 * math/s_csinh.c (__csinh): Likewise.
7534 * math/s_csinhf.c (__csinhf): Likewise.
7535 * math/s_csinhl.c (__csinhl): Likewise.
7536 * math/s_csinl.c (__csinl): Likewise.
7537 * math/libm-test.inc (ccos_test): Add more tests.
7538 (ccosh_test): Likewise.
7539 (csin_test): Likewise.
7540 (csinh_test): Likewise.
7542 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7544 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7545 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7546 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7547 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7548 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7549 powerpc/power5+/fpu folders.
7550 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7553 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7557 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7559 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7560 additions to variable.
7561 [$(config-machine) = x86_64] (modules-names): Likewise.
7562 ($(objpfx)tst-audit3): Remove dependency.
7563 ($(objpfx)tst-audit3.out): Likewise.
7564 ($(objpfx)tst-audit4): Likewise.
7565 ($(objpfx)tst-audit4.out): Likewise.
7566 ($(objpfx)tst-audit5): Likewise.
7567 ($(objpfx)tst-audit5.out): Likewise.
7568 ($(objpfx)tst-audit6): Likewise.
7569 ($(objpfx)tst-audit6.out): Likewise.
7570 ($(objpfx)tst-audit7): Likewise.
7571 ($(objpfx)tst-audit7.out): Likewise.
7572 (tst-audit3-ENV): Remove variable.
7573 (tst-audit4-ENV): Likewise.
7574 (tst-audit5-ENV): Likewise.
7575 (tst-audit6-ENV): Likewise.
7576 (tst-audit7-ENV): Likewise.
7577 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7578 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7579 addition to variable.
7580 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7581 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7582 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7583 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7584 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7585 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7586 tst-audit3, tst-audit4 and tst-audit5.
7587 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7588 tst-audit6 and tst-audit7.
7589 [$(subdir) = elf] (modules-names): Add audit modules for those
7591 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7592 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7593 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7594 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7595 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7596 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7597 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7598 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7599 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7600 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7601 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7602 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7603 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7604 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7605 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7606 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7608 [$(subdir) = elf && $(config-cflags-avx) = yes]
7609 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7610 [$(subdir) = elf && $(config-cflags-avx) = yes]
7611 (CFLAGS-tst-auditmod4a.c): Likewise.
7612 [$(subdir) = elf && $(config-cflags-avx) = yes]
7613 (CFLAGS-tst-auditmod4b.c): Likewise.
7614 [$(subdir) = elf && $(config-cflags-avx) = yes]
7615 (CFLAGS-tst-auditmod6b.c): Likewise.
7616 [$(subdir) = elf && $(config-cflags-avx) = yes]
7617 (CFLAGS-tst-auditmod6c.c): Likewise.
7618 [$(subdir) = elf && $(config-cflags-avx) = yes]
7619 (CFLAGS-tst-auditmod7b.c): Likewise.
7620 * elf/tst-audit3.c: Move to ...
7621 * sysdeps/x86_64/tst-audit3.c: ... here.
7622 * elf/tst-audit4.c: Move to ...
7623 * sysdeps/x86_64/tst-audit4.c: ... here.
7624 * elf/tst-audit5.c: Move to ...
7625 * sysdeps/x86_64/tst-audit5.c: ... here.
7626 * elf/tst-audit6.c: Move to ...
7627 * sysdeps/x86_64/tst-audit6.c: ... here.
7628 * elf/tst-audit7.c: Move to ...
7629 * sysdeps/x86_64/tst-audit7.c: ... here.
7630 * elf/tst-auditmod3a.c: Move to ...
7631 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7632 * elf/tst-auditmod3b.c: Move to ...
7633 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7634 * elf/tst-auditmod4a.c: Move to ...
7635 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7636 * elf/tst-auditmod4b.c: Move to ...
7637 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7638 * elf/tst-auditmod5a.c: Move to ...
7639 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7640 * elf/tst-auditmod5b.c: Move to ...
7641 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7642 * elf/tst-auditmod6a.c: Move to ...
7643 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7644 * elf/tst-auditmod6b.c: Move to ...
7645 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7646 * elf/tst-auditmod6c.c: Move to ...
7647 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7648 * elf/tst-auditmod7a.c: Move to ...
7649 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7650 * elf/tst-auditmod7b.c: Move to ...
7651 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7653 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7656 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7657 define unconditionally.
7658 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7659 define unconditionally.
7660 (INT8_C, INT16_C, etc.): Likewise.
7662 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7664 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7665 __ehdr_start with hidden visibility.
7667 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7669 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7671 * math/libm-test.inc (cos_test): Use accurate hex constants.
7672 (sincost_test): Likewise.
7674 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7676 * math/libm-test.inc (catan_test): Add more tests.
7677 (catanh_test): Likewise.
7679 * math/s_catanf.c (__catanf): Use suffixed floating-point
7681 * math/s_catanhf.c (__catanhf): Likewise.
7682 * math/s_catanhl.c (__catanhl): Likewise.
7683 * math/s_catanl.c (__catanl): Likewise.
7686 * math/s_catan.c (__catan): Calculate imaginary part of result
7687 with log1p not log unless computing log of number close to 0.
7688 * math/s_catanf.c (__catanf): Likewise.
7689 * math/s_catanl.c (__catanl): Likewise.
7690 * math/s_catanh.c (__catanh): Calculate real part of result with
7691 log1p not log unless computing log of number close to 0.
7692 * math/s_catanhf.c (__catanhf): Likewise.
7693 * math/s_catanhl.c (__catanhl): Likewise.
7694 * math/libm-test.inc (catan_test): Add more tests.
7695 (catanh_test): Likewise.
7696 * sysdeps/i386/fpu/libm-test-ulps: Update.
7697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7699 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7701 * benchtests/Makefile: Mention files in which fast and slow
7702 paths of math functions are implemented.
7704 2013-04-23 Roland McGrath <roland@hack.frob.com>
7706 * sysdeps/posix/timespec_get.c: New file.
7708 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7710 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7712 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7714 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7715 powerpc/power5/fpu folders.
7716 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7717 * benchtests/Makefile: Add modf testcase.
7718 * benchtests/bench-modf.c: New file: Benchmark test for mo
7720 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7723 * time/Makefile (tests): Add tst-strptime-whitespace.
7724 * time/strptime_l.c (get_number): Use ISSPACE.
7725 (__strptime_internal): Likewise.
7726 * time/tst-strptime-whitespace.c: New test case.
7728 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7730 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7732 (_nss_files_init): Set it here.
7734 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7736 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7737 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7740 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7742 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7744 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7746 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7749 2013-04-21 David S. Miller <davem@davemloft.net>
7751 * po/ru.po: Update Russion translation from translation project.
7753 2013-04-17 Adam Conrad <adconrad@0c3.net>
7755 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7758 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7760 * configure.in: Remove i386 configure warning. Remove i386 case.
7761 * configure: Regenerate.
7762 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7763 Add example to error message.
7764 * sysdeps/i386/configure: Regenerate.
7766 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7768 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7770 * benchtests/cos-inputs: New file.
7771 * benchtests/slowcos-inputs: New file.
7772 * benchtests/slowcos.c: New file.
7773 * benchtests/slowtan-inputs: New file.
7774 * benchtests/slowtan.c: New file.
7775 * benchtests/tan-inputs: New file.
7777 2013-04-16 Roland McGrath <roland@hack.frob.com>
7779 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7782 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7784 * benchtests/Makefile: Include cppflags-iterator.mk to add
7785 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7787 * Makefile.in (bench-clean): New target.
7788 * benchtests/Makefile (bench-clean): Likewise.
7790 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7792 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7794 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7796 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7798 2013-04-15 Andreas Schwab <schwab@suse.de>
7800 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7801 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7802 * nscd/pwdcache.c (cache_addpw): Likewise.
7803 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7806 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7808 * benchtests/Makefile (bench): Write all output to
7809 bench-out.tmp together.
7811 2013-04-15 Andreas Schwab <schwab@suse.de>
7813 * nscd/nscd.c (main): Don't fork again after closing files.
7815 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7817 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7819 * benchtests/Rules (bench-deps): Collect dependencies into a
7820 single variable. Add Makefile to dependencies.
7821 ($(objpfx)bench-%.c): Depend on bench-deps.
7823 2013-04-12 Roland McGrath <roland@hack.frob.com>
7824 Xavier Roche <roche+kml2@exalead.com>
7827 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7828 just that it's a file descriptor.
7829 * manual/llio.texi (Synchronizing AIO Operations): Update description
7830 for EBADF error from aio_fsync.
7832 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7834 * Rules (bench): Move target definition...
7835 * benchtests/Makefile: ... here.
7837 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7839 * math/libm-test.inc (cos_test): Fix PI/2 test.
7840 (sincos_test): Likewise.
7841 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7842 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7844 2013-04-11 Andreas Schwab <schwab@suse.de>
7847 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7848 accept exponent character only when digits were seen.
7849 * stdio-common/Makefile (tests): Add bug26.
7850 * stdio-common/bug26.c: New file.
7853 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7856 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7858 * Makeconfig (rtld-prefix): Define built linker prefix.
7859 * Rules (run-bench): Use it.
7860 * math/Makefile (run-regen-ulps): Likewise.
7862 * Rules (bench): Remove eval.
7864 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7865 Roland McGrath <roland@hack.frob.com>
7866 Ondrej Bilka <neleai@seznam.cz>
7869 * time/getdate.c: Include ctype.h and alloca.h.
7870 (__getdate_r): Trim leading and trailing spaces of input.
7871 * time/tst-getdate.c (tests): Add tests with leading and
7874 2013-04-08 Roland McGrath <roland@hack.frob.com>
7877 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7878 when computing value.
7880 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7882 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7883 Use testrun.sh to run libm tests.
7886 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7888 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7891 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7893 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7895 * Makefile.in (regen-ulps): New target.
7896 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7897 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7898 [ifneq (no,$(PERL)] (regen-ulps): New target.
7899 [ifeq (no,$(PERL)] (regen-ulps): New target.
7900 * math/libm-test.inc (ulps_file_name): Define.
7901 (output_dir): New variable.
7902 (options): Add "output-dir" option.
7903 (parse_opt): Handle 'o' case.
7904 (main): If output_dir is non-NULL use it as a prefix
7906 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7908 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7911 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7912 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7913 fail configure if __sync_val_compare_and_swap is not inlined.
7914 * sysdeps/i386/configure: Regenerate.
7915 * configure.in: Build for i686 when configured for i386.
7916 * configure: Regenerate.
7917 * README: Remove i386 reference.
7919 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7921 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7922 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7924 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7926 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7927 (lmsnanval): New variables.
7928 (F): Add conversion tests.
7929 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7930 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7932 * stdio-common/tstdiomisc.c (F): Properly collect individual
7936 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7937 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7938 Instead, use input NaN values or generate a qNaN by arithmetic
7939 operation. Also fix bugs to comply with the standard.
7940 * math/libm-test.inc (remainder_test): Add more tests.
7943 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7945 input NaN values or generate a qNaN by arithmetic operation.
7947 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7950 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7953 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7956 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7958 * math/s_cexpf.c (__cexpf): Likewise.
7959 * math/s_cexpl.c (__cexpl): Likewise.
7960 * math/libm-test.inc (cexp_test): Add more tests.
7962 2013-04-03 Andreas Schwab <schwab@suse.de>
7965 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7966 order arrays from heap if bigger than alloca cutoff.
7968 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7970 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7971 (SNAN_TESTS_double): Refer to GCC PR56831.
7972 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7975 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7977 * Rules (bench): Move bench.out after the run is complete.
7979 * Rules (bench): Echo currently running benchmark.
7981 * benchtests/Makefile (bench): Add atan and slowatan.
7982 * benchtests/atan-inputs: New file.
7983 * benchtests/slowatan-inputs: New file.
7984 * benchtests/slowatan.c: New file.
7986 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7987 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7991 * sysdeps/unix/sysv/linux/kernel-features.h
7992 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7993 __ASSUME_XFS_RESTRICTED_CHOWN.
7994 * sysdeps/unix/sysv/linux/pathconf.c
7995 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7996 Save and restore errno.
7998 2013-04-02 Joseph Myers <joseph@codesourcery.com>
8001 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8002 arguments using __kernel_casinh.
8003 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8004 arguments using __kernel_casinhf.
8005 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8006 arguments using __kernel_casinhl.
8007 * math/libm-test.inc (cacosh_test): Add more tests.
8008 * sysdeps/i386/fpu/libm-test-ulps: Update.
8009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8011 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8013 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8016 * bench/Makefile (bench): Add sin and slowsin.
8017 * benchtests/sin-inputs: New file.
8018 * benchtests/slowsin-inputs: New file.
8019 * benchtests/slowsin.c: New file.
8021 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8022 (bench): Add slowexp and slowpow.
8023 (exp-ITER): Increase iterations.
8024 (pow-ITER): Likewise.
8025 * benchtests/exp-inputs: Change input.
8026 * benchtests/pow-inputs: Likewise.
8027 * benchtests/slowexp-inputs: New file.
8028 * benchtests/slowexp.c: New file.
8029 * benchtests/slowpow-inputs: New file.
8030 * benchtests/slowpow.c: New file.
8032 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8034 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8036 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8037 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8038 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8039 * benchtests/Makefile: Add rint benchtest.
8040 * benchtests/rint-inputs: Input for rint benchtest.
8042 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8044 * Versions.def (libm): Add GLIBC_2.18.
8045 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8046 hidden libm prototypes.
8047 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8048 * math/Makefile (libm-calls): Add s_issignaling.
8049 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8050 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8051 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8053 * math/math.h [__USE_GNU] (issignaling): New macro.
8054 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8055 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8056 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8057 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8058 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8059 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8060 * manual/arith.texi (issignaling): New section.
8061 * manual/libm-err-tab.pl (@all_functions): Update comment.
8062 * math/gen-libm-test.pl (parse_args): Apply special handling for
8064 * math/libm-test.inc (print_float, issignaling_test): New
8066 (check_float_internal): Add issignaling checks.
8067 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8069 * sysdeps/powerpc/math-tests.h: New file.
8070 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8072 * math/test-snan.c (TEST_FUNC): Likewise.
8074 2013-03-30 David S. Miller <davem@davemloft.net>
8076 * po/de.po: Update from translation team.
8078 2013-03-30 Joseph Myers <joseph@codesourcery.com>
8081 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8082 imaginary part less than 1.0 and real part less than 0.5
8084 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8085 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8086 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8087 (cacos_test): Add more tests.
8088 (casin_test): Likewise.
8089 (casinh_test): Likewise.
8090 * sysdeps/i386/fpu/libm-test-ulps: Update.
8091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8093 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8095 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8098 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8099 (__pow_mp): Replace ONE and MONE with their values.
8100 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8101 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8102 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8103 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8104 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8105 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8107 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8109 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8110 (__pow_mp): Replace ZERO and MZERO with their values.
8111 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8112 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8113 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8114 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8115 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8116 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8119 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8121 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8123 2013-03-28 Roland McGrath <roland@hack.frob.com>
8125 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8126 Declare with __attribute__ ((weak)).
8127 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8128 Call __call_tls_dtors only if it's not NULL.
8130 2013-03-28 Roland McGrath <roland@hack.frob.com>
8132 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8133 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8134 magic __ehdr_start linker symbol if it's defined.
8135 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8136 them up here if it was already done.
8138 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8139 (_dl_aux_init): Use const in cast when setting it.
8140 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8141 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8142 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8144 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8146 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8147 * csu/libc-tls.c: Nor here.
8148 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8150 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8151 (__libc_message): Never call vsyslog.
8153 2013-03-28 Alan Modra <amodra@gmail.com>
8155 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8157 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8160 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8163 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8167 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8170 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8171 Don't add gid passed as argument.
8173 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8175 2013-03-27 Joseph Myers <joseph@codesourcery.com>
8178 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8179 imaginary part between 1.0 and 1.5 and real part less than 0.5
8181 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8182 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8183 * math/libm-test.inc (cacos_test): Add more tests.
8184 (casin_test): Likewise.
8185 (casinh_test): Likewise.
8186 * sysdeps/i386/fpu/libm-test-ulps: Update.
8187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8189 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8191 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8195 (__dbl_mp): Likewise.
8196 (add_magnitudes): Likewise.
8197 (sub_magnitudes): Likewise.
8205 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8207 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8208 (__dubcos): Likewise.
8209 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8210 (__ieee754_acos): Likewise.
8211 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8212 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8214 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8215 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8217 (my_log2): Likewise.
8218 (checkint): Likewise.
8219 * sysdeps/ieee754/dbl-64/e_remainder.c
8220 (__ieee754_remainder): Likewise.
8221 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8222 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8224 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8226 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8227 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8228 MANTISSA_STORE_T to store computations on mantissa. Use
8229 macros for rounding and division.
8231 (__dbl_mp): Likewise.
8232 (add_magnitudes): Likewise.
8233 (sub_magnitudes): Likewise.
8236 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8237 powers of two in terms of TWOPOW macro.
8238 (mp_no): Make type of mantissa as MANTISSA_T.
8239 [!RADIXI]: Define RADIXI.
8240 [!TWO52]: Define TWO52.
8241 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8243 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8245 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8246 llroundl symbol when building for PPC32.
8248 2013-03-24 Mark H Weaver <mhw@netris.org>
8250 * manual/arith.texi (Normalization Functions): Fix prototypes for
8251 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8253 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8256 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8257 high value to check if expl overflow.
8258 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8259 to check for underflow and overflow.
8260 * math/libm-test.inc: Add exp test.
8262 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8265 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8268 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8270 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8273 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8275 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8276 wrap blocks consisting of several statements.
8278 * sysdeps/generic/math-tests.h: New file.
8279 * sysdeps/i386/fpu/math-tests.h: Likewise.
8280 * math/test-snan.c: Include it.
8281 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8283 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8286 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8287 (__ieee754_j0l): Do not improve calculations using cos of twice
8288 input for inputs above LDBL_MAX / 2.0L.
8289 (__ieee754_y0l): Likewise.
8290 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8291 (__ieee754_j1l): Do not improve calculations using cos of twice
8292 input for inputs above LDBL_MAX / 2.0L.
8293 (__ieee754_y1l): Likewise.
8294 * math/libm-test.inc (j0_test): Add another test.
8295 (j1_test): Likewise.
8296 (y0_test): Likewise.
8297 (y1_test): Likewise.
8298 * sysdeps/i386/fpu/libm-test-ulps: Update.
8300 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8302 * Rules ($(objpfx)bench-%.c): Include code from a C source
8305 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8308 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8309 imaginary part 1.0 and real part less than 0.5 specially.
8310 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8311 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8312 * math/libm-test.inc (cacos_test): Add more tests.
8313 (casin_test): Likewise.
8314 (casinh_test): Likewise.
8315 * sysdeps/i386/fpu/libm-test-ulps: Update.
8316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8318 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8320 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8321 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8323 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8325 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8326 * config.make.in (config-cflags-sse4): Remove variable.
8327 (config-cflags-avx): Likewise.
8328 (config-cflags-sse2avx): Likewise.
8329 (config-cflags-novzeroupper): Likewise.
8330 (config-asflags-i686): Likewise.
8331 (have-mfma4): Likewise.
8332 (have-as-vis3): Likewise.
8334 * configure.in (MIG): Do not AC_SUBST.
8335 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8336 (libc_cv_cc_sse4): Do not AC_SUBST.
8337 (libc_cv_cc_avx): Likewise.
8338 (libc_cv_cc_sse2avx): Likewise.
8339 (libc_cv_cc_novzeroupper): Likewise.
8340 (libc_cv_cc_fma4): Likewise.
8341 (libc_cv_as_i686): Likewise.
8342 (libc_cv_sparc_as_vis3): Likewise.
8343 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8345 (config-asflags-i686): Likewise.
8346 (config-cflags-avx): Likewise.
8347 (config-cflags-sse2avx): Likewise.
8348 (have-mfma4): Likewise.
8349 (config-cflags-novzeroupper): Likewise.
8350 * sysdeps/mach/configure.in (MIG): Likewise.
8351 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8352 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8354 (config-cflags-avx): Likewise.
8355 (config-cflags-sse2avx): Likewise.
8356 (have-mfma4): Likewise.
8357 (config-cflags-novzeroupper): Likewise.
8358 * configure: Regenerated.
8359 * sysdeps/i386/configure: Likewise.
8360 * sysdeps/mach/configure: Likewise.
8361 * sysdeps/sparc/configure: Likewise.
8362 * sysdeps/x86_64/configure: Likewise.
8364 2013-03-20 Roland McGrath <roland@hack.frob.com>
8367 * locale/programs/localedef.c (options): Put N_ translation marker
8368 on argument names, not just descriptions.
8370 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8372 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8374 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8377 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8379 2013-03-19 Roland McGrath <roland@hack.frob.com>
8381 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8382 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8383 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8384 [!BEFORE_ABORT] (before_abort): New function.
8385 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8386 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8387 (writev_for_fatal): New function.
8388 (WRITEV_FOR_FATAL): New macro; call that.
8389 (backtrace_and_maps): New function.
8390 (BEFORE_ABORT): New macro; call that.
8391 (struct str_list): Type removed.
8392 (__libc_message, __libc_fatal): Functions removed.
8393 Include <sysdeps/posix/libc_fatal.c> instead.
8395 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8397 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8399 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8402 2013-03-19 Andreas Schwab <schwab@suse.de>
8404 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8405 * sysdeps/gnu/configure: Regenerate.
8407 * configure.in: Substitute libc_cv_rtlddir.
8408 * configure: Regenerate.
8409 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8410 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8411 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8412 * elf/Makefile (install-others, CFLAGS-interp.c)
8413 (ldso_install, common-ldd-rewrite): Likewise.
8414 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8415 $(inst_slibdir)/$(rtld-installed-name).
8416 * scripts/rellns-sh: Add -p option.
8417 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8420 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8422 * manual/nptl.texi: Renamed to ...
8423 * manual/threads.texi: ... this.
8424 * manual/Makefile (chapters): Update.
8426 2013-03-18 Roland McGrath <roland@hack.frob.com>
8429 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8430 on argument names, not just descriptions.
8431 * malloc/memusagestat.c (options): Likewise.
8432 * nss/getent.c (options): Likewise.
8434 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
8437 * iconv/iconv_prog.c (options): Put N_ translation marker
8438 on argument names, not just descriptions.
8439 * iconv/iconvconfig.c (options): Likewise.
8441 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8443 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8444 implementation which is faster on all x86_64 architectures.
8445 Tested on AMD, Intel Nehalem, SNB, IVB.
8446 * sysdeps/x86_64/strnlen.S: Likewise.
8448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8449 Remove all multiarch strlen and strnlen versions.
8450 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8451 Remove strlen and strnlen related parts.
8453 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8455 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8457 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8458 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8459 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8460 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8461 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8462 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8464 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8466 * manual/memory.texi (Malloc Tunable Parameters):
8467 Sort parameters alphabetically. Add comments for missing entries.
8469 2013-03-17 David S. Miller <davem@davemloft.net>
8471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8473 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8476 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8477 for arguments at most half maximum finite value.
8478 * math/libm-test.inc (j0_test): Add more tests.
8479 (j1_test): Likewise.
8480 (y0_test): Likewise.
8481 (y1_test): Likewise.
8482 * sysdeps/i386/fpu/libm-test-ulps: Update.
8483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8486 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8487 1 / x and functions P and Q for arguments above 0x1p256L.
8488 (__ieee754_y0l): Likewise.
8489 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8490 (__ieee754_y1l): Likewise.
8491 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8492 (j1_test): Likewise.
8493 (y0_test): Likewise.
8494 (y1_test): Likewise.
8496 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8498 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8501 2013-03-15 Roland McGrath <roland@hack.frob.com>
8503 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8504 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8505 zero since it's initialized to EXEC_PAGESIZE.
8507 * sysdeps/unix/sysv/linux/ldsodefs.h
8508 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8509 * sysdeps/generic/ldsodefs.h: ... here.
8511 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8513 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8515 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8517 * math/test-snan.c: Renamed from
8518 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8519 * math/Makefile (tests): Add test-snan.
8520 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8523 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8524 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8526 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8527 __builtin_nan family of functions.
8528 * math/libm-test.inc (initialize): Initialize qnan_value with
8529 __builtin_nan family of functions.
8530 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8532 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8534 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8535 storage class. Initialize qNaN_var and sNaN_var with
8536 __builtin_nan and __builtin_nans families of functions,
8539 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8540 (sqrt_test): Remove duplicate test with qNaN input.
8541 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8542 (round_test, signbit_test, significand_test): Note missing +/-Inf
8543 as well as qNaN tests.
8545 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8546 qNaN_var. Fix a few strings, too.
8547 * math/libm-test.inc (nan_value): Rename to qnan_value.
8548 * math/gen-libm-test.pl (%beautify): Adjust to that.
8549 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8550 * math/test-misc.c (main): Likewise.
8551 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8552 to __qnan_bytes, and __qnan_union, respectively.
8553 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8555 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8556 and lqnanval, respectively.
8557 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8558 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8559 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8560 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8562 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8563 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8566 * math/test-misc.c (main): Fix copy'n'pastos.
8567 * misc/tst-efgcvt.c (special): Likewise.
8569 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8570 Remove declarations.
8572 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8574 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8575 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8576 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8577 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8579 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8581 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8582 macro to return vdso values correctly in IFUNC implementations.
8583 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8584 Optimization by using IFUNC.
8586 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8587 Richard Henderson <rth@redhat.com>
8588 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8590 * Makefile.in (bench): New target.
8591 * NEWS: Mention the benchmark framework.
8592 * Rules (bench): Likewise.
8593 (binaries-bench): Generate binaries for functions to
8595 * benchtests/Makefile: New makefile for benchmark tests.
8596 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8598 * benchtests/exp-inputs: New input file for EXP function.
8599 * benchtests/pow-inputs: New input file for POW function.
8600 * scripts/bench.pl: New script to generate source files for
8603 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8605 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8606 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8607 computations on mantissa. Use macros for rounding and
8610 (__dbl_mp): Likewise.
8611 (add_magnitudes): Likewise.
8612 (sub_magnitudes): Likewise.
8615 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8616 powers of two in terms of TWOPOW macro.
8617 (mp_no): Make type of mantissa as MANTISSA_T.
8618 [!RADIXI]: Define RADIXI.
8619 [!TWO52]: Define TWO52.
8620 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8622 * manual/nptl.texi (cindex): Modify threads to pthreads.
8624 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8626 * sysdeps/x86_64/preconfigure: Regenerated.
8628 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8631 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8633 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8634 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8636 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8637 * math/libm-test.inc (j0_test): Do not allow one spurious
8638 underflow exception.
8639 (y1_test): Likewise.
8641 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8643 * manual/Makefile (chapters): Add nptl.
8644 * manual/debug.texi (Debugging Support): Add link to Threads
8646 * manual/nptl.texi: New file.
8648 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8650 2013-03-14 Petr Baudis <pasky@ucw.cz>
8652 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8653 for non-NULL pointer before the memory validity test. Pointed
8654 out by Holger Brunck <holger.brunck@keymile.com>.
8656 2013-03-13 Andreas Schwab <schwab@suse.de>
8658 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8661 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8663 * timezone/zic.c: Update from tzcode 2013b.
8665 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8667 * manual/install.texi (Configuring and compiling):
8668 Mention i686 and i586.
8669 * INSTALL: Regenerate.
8671 2013-03-12 Roland McGrath <roland@hack.frob.com>
8673 * sysdeps/init_array/elf-init.c: New file.
8675 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8676 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8678 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8679 __gmon_start__ as global, but as static with a .preinit_array pointer.
8680 * sysdeps/init_array/gmon-start.c: New file. Use that.
8681 * sysdeps/init_array/crti.S: New file, empty except for comments.
8682 * sysdeps/init_array/crtn.S: Likewise.
8684 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8686 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8689 Remove Prefer_SSE_for_memop.
8690 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8691 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8692 HAS_PREFER_SSE_FOR_MEMOP.
8693 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8696 Remove bzero, memset ifunc support.
8697 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8698 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8699 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8700 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8702 2013-03-11 Andreas Schwab <schwab@suse.de>
8705 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8708 (GLIBC_2.16): Remove pthread_atfork.
8710 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8712 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8713 (ptestcases.h): Likewise.
8715 2013-03-08 Roland McGrath <roland@hack.frob.com>
8717 * Makeconfig ($(common-objpfx)config.status): Depend on
8718 sysdeps/*/preconfigure{,.in} too.
8720 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8722 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8723 (__free_hook): Use void * instead of __malloc_ptr_t.
8724 (__malloc_hook): Likewise.
8725 (__realloc_hook): Likewise.
8726 (__memalign_hook): Likewise.
8727 (__after_morecore_hook): Likewise.
8728 * malloc/arena.c (save_malloc_hook): Likewise.
8729 (save_free_hook): Likewise.
8730 * malloc/hooks.c (malloc_hook_ini): Likewise.
8731 (realloc_hook_ini): Likewise.
8732 (memalign_hook_ini): Likewise.
8733 * malloc/malloc.c (malloc_hook_ini): Likewise.
8734 (realloc_hook_ini): Likewise.
8735 (memalign_hook_ini): Likewise.
8736 (__free_hook): Likewise.
8737 (__malloc_hook): Likewise.
8738 (__realloc_hook): Likewise.
8739 (__memalign_hook): Likewise.
8740 (__libc_malloc): Likewise.
8741 (__libc_free): Likewise.
8742 (__libc_realloc): Likewise.
8743 (__libc_memalign): Likewise.
8744 (__libc_valloc): Likewise.
8745 (__libc_pvalloc): Likewise.
8746 (__libc_calloc): Likewise.
8747 (__posix_memalign): Likewise.
8748 * malloc/morecore.c (__sbrk): Likewise.
8749 (__default_morecore): Likewise.
8751 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8753 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8754 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8757 * malloc/malloc.h (__malloc_size_t): Remove macro.
8758 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8760 (old_memalign_hook): Likewise.
8761 (old_realloc_hook): Likewise.
8762 (struct hdr): Likewise.
8764 (mallochook): Likewise.
8765 (memalignhook): Likewise.
8766 (reallochook): Likewise.
8767 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8768 (tr_old_realloc_hook): Likewise.
8769 (tr_old_memalign_hook): Likewise.
8770 (tr_mallochook): Likewise.
8771 (tr_reallochook): Likewise.
8772 (tr_memalignhook): Likewise.
8774 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8776 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8777 default_ldbl_pack and using as default implementation.
8778 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8780 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8781 redundant definition.
8782 (ldbl_insert_mantissa): Likewise.
8783 (ldbl_canonicalize): Likewise.
8784 (ldbl_nearbyint): Likewise.
8785 (ldbl_pack): Rename to ldbl_pack_ppc.
8786 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8787 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8788 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8790 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8793 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8794 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8795 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8797 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8798 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8799 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8801 2013-03-07 Andreas Jaeger <aj@suse.de>
8803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8806 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8808 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8809 Include mpa.h and declare __MPEXP.
8810 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8811 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8812 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8813 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8814 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8815 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8816 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8818 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8819 (__slowpow): Use long double EXPL and LOGL functions to
8821 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8822 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8823 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8824 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8825 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8826 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8829 intermediate variable to calculate exponent.
8831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8835 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8836 [!NO__SQR]: Define __sqr.
8837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8838 and NO__SQR. Remove all code except __mul and __sqr. Include
8839 sysdeps/ieee754/dbl-64/mpa.c.
8840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8843 * posix/Makefile (tests): Add tst-pathconf.
8844 * posix/tst-pathconf.c: New test case.
8845 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8847 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8849 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8851 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8853 2013-03-06 Andreas Jaeger <aj@suse.de>
8855 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8856 definition via __MAP_ANONYMOUS.
8858 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8859 it's not part of Linux headers.
8861 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8862 (MAP_HUGE_MASK): Define.
8864 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8866 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8867 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8869 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8870 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8872 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8873 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8875 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8877 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8878 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8879 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8880 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8881 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8882 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8888 Handle f2fs and efivarfs.
8890 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8893 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8894 (EFIVARFS_MAGIC): Add.
8895 (F2FS_LINK_MAX): Add.
8897 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8899 * stdio-common/vfprintf.c: Replace __builtin_expect with
8902 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8905 * sysdeps/generic/bp-sym.h: Remove file.
8906 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8907 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8908 <bp-sym.h> and <bp-asm.h>.
8909 (__longjmp): Don't use BP_SYM.
8910 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8912 (memcpy): Don't use BP_SYM.
8913 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8914 <bp-sym.h> and <bp-asm.h>.
8915 (memcpy): Don't use BP_SYM.
8916 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8918 (memcpy): Don't use BP_SYM.
8919 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8921 (memset): Don't use BP_SYM.
8922 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8923 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8924 (__bzero): Don't use BP_SYM.
8925 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8926 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8927 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8928 <bp-sym.h> and <bp-asm.h>.
8929 (memcmp): Don't use BP_SYM. Remove comment about bounded
8931 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8932 <bp-sym.h> and <bp-asm.h>.
8933 (memcpy): Don't use BP_SYM.
8934 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8935 <bp-sym.h> and <bp-asm.h>.
8936 (memset): Don't use BP_SYM.
8937 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8938 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8939 (__bzero): Don't use BP_SYM.
8940 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8941 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8942 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8943 <bp-sym.h> and <bp-asm.h>.
8944 (strncmp): Don't use BP_SYM. Remove comment about bounded
8946 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8947 <bp-sym.h> and <bp-asm.h>.
8948 (memcpy): Don't use BP_SYM.
8949 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8950 <bp-sym.h> and <bp-asm.h>.
8951 (memset): Don't use BP_SYM.
8952 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8953 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8954 (__bzero): Don't use BP_SYM.
8955 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8956 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8957 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8958 <bp-sym.h> and <bp-asm.h>.
8959 (__memchr): Don't use BP_SYM.
8960 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8961 <bp-sym.h> and <bp-asm.h>.
8962 (memcmp): Don't use BP_SYM. Remove comment about bounded
8964 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8965 <bp-sym.h> and <bp-asm.h>.
8966 (memcpy): Don't use BP_SYM.
8967 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8968 <bp-sym.h> and <bp-asm.h>.
8969 (__mempcpy): Don't use BP_SYM.
8970 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8971 <bp-sym.h> and <bp-asm.h>.
8972 (__memrchr): Don't use BP_SYM.
8973 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8974 <bp-sym.h> and <bp-asm.h>.
8975 (memset): Don't use BP_SYM.
8976 (__bzero): Likewise.
8977 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8978 <bp-sym.h> and <bp-asm.h>.
8979 (__rawmemchr): Don't use BP_SYM.
8980 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8981 <bp-sym.h> and <bp-asm.h>.
8982 (__STRCMP): Don't use BP_SYM.
8983 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8984 <bp-sym.h> and <bp-asm.h>.
8985 (strchr): Don't use BP_SYM.
8986 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8987 <bp-sym.h> and <bp-asm.h>.
8988 (__strchrnul): Don't use BP_SYM.
8989 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8990 <bp-sym.h> and <bp-asm.h>.
8991 (strlen): Don't use BP_SYM.
8992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8993 <bp-sym.h> and <bp-asm.h>.
8994 (strncmp): Don't use BP_SYM. Remove comment about bounded
8996 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8997 <bp-sym.h> and <bp-asm.h>.
8998 (__strnlen): Don't use BP_SYM.
8999 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9000 <bp-sym.h> and <bp-asm.h>.
9001 (__GI__setjmp): Don't use BP_SYM.
9002 (_setjmp): Likewise.
9003 (__sigsetjmp): Likewise.
9004 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9005 (L(start_addresses)): Don't use BP_SYM.
9007 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9009 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9010 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9011 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9012 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9013 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9015 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9016 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9017 about bounded pointers.
9018 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9019 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9020 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9022 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9023 about bounded pointers. Remove GKM FIXME comments.
9024 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9025 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9027 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9028 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9029 Remove GKM FIXME comments.
9030 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9031 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9032 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9034 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9035 about bounded pointers. Remove GKM FIXME comment.
9036 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9038 (strncmp): Don't use BP_SYM. Remove comment about bounded
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9041 <bp-sym.h> and <bp-asm.h>.
9042 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9044 <bp-sym.h> and <bp-asm.h>.
9045 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9048 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9050 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9053 2013-03-05 David S. Miller <davem@davemloft.net>
9055 * po/es.po: Update from translation team.
9057 2013-03-05 Andreas Jaeger <aj@suse.de>
9059 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9060 <bits/mman-linux.h>.
9061 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9063 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9064 <bits/mman-linux.h> to end of file.
9065 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9067 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9068 <bits/mman-linux.h> to end of file.
9069 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9071 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9072 <bits/mman-linux.h> to end of file.
9074 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9075 (MCL_CURRENT, MCL_FUTURE): Define here.
9077 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9080 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9082 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9084 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9086 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9087 fourth parameter needed for rt_sigprocmask syscall.
9088 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9089 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9090 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9091 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9092 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9093 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9095 2013-03-04 Joseph Myers <joseph@codesourcery.com>
9098 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9099 comment about bounded pointers.
9100 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9101 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9103 2013-03-04 Andreas Jaeger <aj@suse.de>
9105 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9108 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9109 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9110 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9111 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9112 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9113 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9115 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9119 __ieee754_sqrl instead of __sqrl.
9121 2013-03-01 Joseph Myers <joseph@codesourcery.com>
9123 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9124 * sysdeps/powerpc/fpu_control.h: ... here.
9125 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9126 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9127 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9128 * sysdeps/powerpc/bits/mathinline.h: ... here.
9130 2013-03-01 Roland McGrath <roland@hack.frob.com>
9132 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9133 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9134 to just [NEED_DL_SYSINFO_DSO].
9135 * elf/dl-support.c: Likewise.
9136 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9137 * elf/rtld.c (dl_main): Likewise.
9138 * elf/setup-vdso.h (setup_vdso): Likewise.
9139 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9140 * sysdeps/unix/sysv/linux/dl-sysdep.c
9141 (_dl_discover_osversion): Likewise.
9143 2013-03-01 Carlos O'Donell <carlos@redhat.com>
9145 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9146 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9148 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9150 * NEWS: Mention libm performance improvements and non-x86 PI
9153 * csu/libc-start.c (__pthread_initialize_minimal): Change
9155 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9157 2013-02-28 Joseph Myers <joseph@codesourcery.com>
9160 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9161 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9162 <bp-sym.h> and <bp-asm.h>.
9163 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9164 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9166 (memcpy): Don't use BP_SYM.
9167 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9169 (__mpn_add_n): Don't use BP_SYM.
9170 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9171 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9173 (__mpn_addmul_1): Don't use BP_SYM.
9174 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9175 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9177 (_setjmp): Don't use BP_SYM.
9178 (__novmx_setjmp): Likewise.
9179 (__GI__setjmp): Likewise.
9180 (__vmx_setjmp): Likewise.
9181 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9183 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9184 (__bzero): Don't use BP_SYM.
9185 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9186 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9187 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9188 <bp-sym.h> and <bp-asm.h>.
9189 (memcpy): Don't use BP_SYM.
9190 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9191 <bp-sym.h> and <bp-asm.h>.
9192 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9193 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9194 <bp-sym.h> and <bp-asm.h>.
9195 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9196 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9198 (__mpn_lshift): Don't use BP_SYM.
9199 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9200 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9202 (memset): Don't use BP_SYM.
9203 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9204 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9205 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9207 (__mpn_mul_1): Don't use BP_SYM.
9208 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9209 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9210 <bp-sym.h> and <bp-asm.h>.
9211 (memcmp): Don't use BP_SYM.
9212 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9213 <bp-sym.h> and <bp-asm.h>.
9214 (memcpy): Don't use BP_SYM.
9215 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9216 <bp-sym.h> and <bp-asm.h>.
9217 (memset): Don't use BP_SYM.
9218 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9219 <bp-sym.h> and <bp-asm.h>.
9220 (strncmp): Don't use BP_SYM.
9221 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9222 <bp-sym.h> and <bp-asm.h>.
9223 (memcpy): Don't use BP_SYM.
9224 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9225 <bp-sym.h> and <bp-asm.h>.
9226 (memset): Don't use BP_SYM.
9227 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9228 <bp-sym.h> and <bp-asm.h>.
9229 (__memchr): Don't use BP_SYM.
9230 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9231 <bp-sym.h> and <bp-asm.h>.
9232 (memcmp): Don't use BP_SYM.
9233 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9234 <bp-sym.h> and <bp-asm.h>.
9235 (memcpy): Don't use BP_SYM.
9236 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9237 <bp-sym.h> and <bp-asm.h>.
9238 (__mempcpy): Don't use BP_SYM.
9239 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9240 <bp-sym.h> and <bp-asm.h>.
9241 (__memrchr): Don't use BP_SYM.
9242 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9243 <bp-sym.h> and <bp-asm.h>.
9244 (memset): Don't use BP_SYM.
9245 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9246 <bp-sym.h> and <bp-asm.h>.
9247 (__rawmemchr): Don't use BP_SYM.
9248 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9249 <bp-sym.h> and <bp-asm.h>.
9250 (__STRCMP): Don't use BP_SYM.
9251 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9252 <bp-sym.h> and <bp-asm.h>.
9253 (strchr): Don't use BP_SYM.
9254 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9255 <bp-sym.h> and <bp-asm.h>.
9256 (__strchrnul): Don't use BP_SYM.
9257 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9258 <bp-sym.h> and <bp-asm.h>.
9259 (strlen): Don't use BP_SYM.
9260 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9261 <bp-sym.h> and <bp-asm.h>.
9262 (strncmp): Don't use BP_SYM.
9263 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9264 <bp-sym.h> and <bp-asm.h>.
9265 (__strnlen): Don't use BP_SYM.
9266 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9268 (__mpn_rshift): Don't use BP_SYM.
9269 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9270 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9271 <bp-sym.h> and <bp-asm.h>.
9272 (__sigsetjmp): Don't use BP_SYM.
9273 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9274 (L(start_addresses)): Don't use BP_SYM.
9276 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9278 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9279 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9280 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9281 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9283 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9284 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9285 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9286 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9288 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9290 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9291 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9293 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9295 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9296 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9297 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9299 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9301 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9303 (strncmp): Don't use BP_SYM,
9304 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9306 (__mpn_sub_n): Don't use BP_SYM.
9307 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9308 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9310 (__mpn_submul_1): Don't use BP_SYM.
9311 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9313 <bp-sym.h> and <bp-asm.h>.
9314 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9316 <bp-sym.h> and <bp-asm.h>.
9317 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9320 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9323 Use ZK to minimize writes to Z.
9324 (sub_magnitudes): Simplify code a bit.
9325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9326 Use ZK to minimize writes to Z.
9327 (sub_magnitudes): Simplify code a bit.
9329 2013-02-27 Roland McGrath <roland@hack.frob.com>
9331 * csu/gmon-start.c: Add special exception to license text.
9333 2013-02-27 Richard Henderson <rth@redhat.com>
9335 * scripts/config.guess: Update from config.git.
9336 * scripts/config.sub: Likewise.
9338 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9340 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9342 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9344 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9346 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9348 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9350 2013-02-26 Roland McGrath <roland@hack.frob.com>
9352 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9353 [$(build-shared = yes].
9355 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9357 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9358 (__mul): Reduce iterations for calculating mantissa.
9360 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9362 (__mpranred): Likewise.
9365 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9366 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9368 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9370 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9371 Define __attribute__.
9373 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9375 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9377 * posix/regex_internal.h (__attribute): Remove.
9378 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9379 (re_string_context_at): Likewise.
9380 (bitset_not): Use __attribute__ and mark function as possibly
9382 (bitset_merge): Likewise.
9383 (bitset_mask): Likewise.
9384 (re_string_char_size_at): Likewise.
9385 (re_string_wchar_at): Likewise.
9386 (re_string_elem_size_at): Likewise.
9388 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9390 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9394 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9399 (__dbl_mp): Likewise.
9400 (add_magnitudes): Likewise.
9401 (sub_magnitudes): Likewise.
9405 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9408 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9411 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9415 up changes with default code.
9416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9419 2013-02-24 Allan McRae <allan@archlinux.org>
9421 * manual/socket.texi (The Internet Namespace): Order menu items
9422 to match that in the file.
9424 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9425 node listing of the info page menu.
9427 2013-02-21 Joseph Myers <joseph@codesourcery.com>
9430 * sysdeps/i386/bp-asm.h: Remove file.
9431 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9432 (PARMS): Do not use macros from bp-asm.h.
9436 (__mpn_add_n): Do not use BP_SYM
9437 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9439 (PARMS): Do not use macros from bp-asm.h.
9442 (__mpn_addmul_1): Do not use BP_SYM
9443 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9445 (PARMS): Do not use macros from bp-asm.h.
9447 (_setjmp): Likewise. Do not use BP_SYM.
9448 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9450 (PARMS): Do not use macros from bp-asm.h.
9452 (setjmp): Likewise. Do not use BP_SYM.
9453 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9455 (PARMS): Do not use macros from bp-asm.h.
9456 (__frexp): Do not use BP_SYM.
9458 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9460 (PARMS): Do not use macros from bp-asm.h.
9461 (__frexpf): Do not use BP_SYM.
9463 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9465 (PARMS): Do not use macros from bp-asm.h.
9466 (__frexpl): Do not use BP_SYM.
9468 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9470 (PARMS): Do not use macros from bp-asm.h.
9471 (__remquo): Do not use BP_SYM.
9473 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9475 (PARMS): Do not use macros from bp-asm.h.
9476 (__remquof): Do not use BP_SYM.
9477 (remquof): Likewise.
9478 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9480 (PARMS): Do not use macros from bp-asm.h.
9481 (__remquol): Do not use BP_SYM.
9482 (remquol): Likewise.
9483 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9485 (PARMS): Do not use macros from bp-asm.h.
9488 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9489 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9491 (PARMS): Do not use macros from bp-asm.h.
9492 (strlen): Do not use BP_SYM.
9493 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9495 (PARMS): Do not use macros from bp-asm.h.
9499 (__mpn_add_n): Do not use BP_SYM.
9500 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9502 (PARMS): Do not use macros from bp-asm.h.
9505 (__mpn_addmul_1): Do not use BP_SYM.
9506 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9509 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9511 (PARMS): Do not use macros from bp-asm.h.
9514 (__mpn_lshift): Do not use BP_SYM.
9515 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9517 (PARMS): Do not use macros from bp-asm.h.
9521 (memcpy): Likewise. Do not use BP_SYM.
9522 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9523 libc_hidden_def and weak_alias.
9524 (mempcpy): Do not use BP_SYM in weak_alias.
9525 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9527 (PARMS): Do not use macros from bp-asm.h.
9530 [!BZERO_P] (CHR): Likewise.
9531 (memset): Likewise. Do not use BP_SYM.
9532 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9534 (PARMS): Do not use macros from bp-asm.h.
9537 (__mpn_mul_1): Do not use BP_SYM.
9538 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9540 (PARMS): Do not use macros from bp-asm.h.
9543 (__mpn_rshift): Do not use BP_SYM.
9544 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9546 (PARMS): Do not use macros from bp-asm.h.
9549 (strchr): Likewise. Do not use BP_SYM.
9550 (index): Do not use BP_SYM in weak_alias.
9551 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9553 (PARMS): Do not use macros from bp-asm.h.
9556 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9557 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9559 (PARMS): Do not use macros from bp-asm.h.
9560 (strlen): Do not use BP_SYM.
9561 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9563 (PARMS): Do not use macros from bp-asm.h.
9567 (__mpn_sub_n): Do not use BP_SYM.
9568 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9570 (PARMS): Do not use macros from bp-asm.h.
9573 (__mpn_submul_1): Do not use BP_SYM.
9574 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9576 (PARMS): Do not use macros from bp-asm.h.
9580 (__mpn_add_n): Do not use BP_SYM.
9581 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9584 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9586 (PARMS): Do not use macros from bp-asm.h.
9589 (memcmp): Do not use BP_SYM.
9590 (bcmp): Do not use BP_SYM in weak_alias.
9591 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9593 (PARMS): Do not use macros from bp-asm.h.
9597 (memcpy): Likewise. Do not use BP_SYM.
9598 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9600 (PARMS): Do not use macros from bp-asm.h.
9604 (memmove): Likewise. Do not use BP_SYM.
9605 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9607 (PARMS): Do not use macros from bp-asm.h.
9611 (__mempcpy): Likewise. Do not use BP_SYM.
9612 (mempcpy): Do not use BP_SYM in weak_alias.
9613 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9615 (PARMS): Do not use macros from bp-asm.h.
9618 [!BZERO_P] (CHR): Likewise.
9619 (memset): Likewise. Do not use BP_SYM.
9620 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9622 (PARMS): Do not use macros from bp-asm.h.
9624 (strcmp): Do not use BP_SYM.
9625 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9627 (PARMS): Do not use macros from bp-asm.h.
9630 [USE_AS_STRTOK_R] (SAVE): Likewise.
9631 (FUNCTION): Likewise. Do not use BP_SYM.
9632 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9634 (strtok_r): Likewise.
9635 (__GI___strtok_r): Likewise.
9636 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9637 (PARMS): Do not use macros from bp-asm.h.
9640 (__mpn_lshift): Do not use BP_SYM.
9641 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9642 (PARMS): Do not use macros from bp-asm.h.
9645 (__memchr): Do not use BP_SYM.
9646 (memchr): Do not use BP_SYM in weak_alias.
9647 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9648 (PARMS): Do not use macros from bp-asm.h.
9651 (memcmp): Do not use BP_SYM.
9652 (bcmp): Do not use BP_SYM in weak_alias.
9653 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9654 (PARMS): Do not use macros from bp-asm.h.
9657 (__mpn_mul_1): Do not use BP_SYM.
9658 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9660 (PARMS): Do not use macros from bp-asm.h.
9663 (__rawmemchr): Do not use BP_SYM.
9664 (rawmemchr): Do not use BP_SYM in weak_alias.
9665 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9666 (PARMS): Do not use macros from bp-asm.h.
9669 (__mpn_rshift): Do not use BP_SYM.
9670 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9671 (PARMS): Do not use macros from bp-asm.h.
9673 (__sigsetjmp): Likewise. Do not use BP_SYM.
9674 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9675 (_start): Do not use BP_SYM.
9676 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9677 (PARMS): Do not use macros from bp-asm.h.
9680 (__stpcpy): Likewise. Do not use BP_SYM.
9681 (stpcpy): Do not use BP_SYM in weak_alias.
9682 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9684 (PARMS): Do not use macros from bp-asm.h.
9688 (__stpncpy): Likewise. Do not use BP_SYM.
9689 (stpncpy): Do not use BP_SYM in weak_alias.
9690 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9691 (PARMS): Do not use macros from bp-asm.h.
9694 (strchr): Likewise. Do not use BP_SYM.
9695 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9697 (PARMS): Do not use macros from bp-asm.h.
9700 (__strchrnul): Likewise. Do not use BP_SYM.
9701 (strchrnul): Do not use BP_SYM in weak_alias.
9702 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9704 (PARMS): Do not use macros from bp-asm.h.
9706 (strcspn): Do not use BP_SYM.
9707 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9709 (PARMS): Do not use macros from bp-asm.h.
9712 (strpbrk): Likewise. Do not use BP_SYM.
9713 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9715 (PARMS): Do not use macros from bp-asm.h.
9718 (strrchr): Likewise. Do not use BP_SYM.
9719 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9720 (PARMS): Do not use macros from bp-asm.h.
9722 (strspn): Do not use BP_SYM.
9723 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9724 (PARMS): Do not use macros from bp-asm.h.
9728 (FUNCTION): Likewise. Do not use BP_SYM.
9729 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9731 (strtok_r): Likewise.
9732 (__GI___strtok_r): Likewise.
9733 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9734 (PARMS): Do not use macros from bp-asm.h.
9738 (__mpn_sub_n): Do not use BP_SYM.
9739 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9741 (PARMS): Do not use macros from bp-asm.h.
9744 (__mpn_submul_1): Do not use BP_SYM.
9745 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9747 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9749 (PARMS): Do not use macros from bp-asm.h.
9754 (__clone): Do not use BP_SYM.
9755 (clone): Do not use BP_SYM in weak_alias.
9756 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9758 (PARMS): Do not use macros from bp-asm.h.
9760 (__mmap64): Do not use BP_SYM.
9761 (mmap64): Do not use BP_SYM in weak_alias.
9762 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9763 <bp-sym.h> and <bp-asm.h>.
9764 (PARMS): Do not use macros from bp-asm.h.
9765 (__posix_fadvise64_l64): Do not use BP_SYM.
9766 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9767 (PARMS): Do not use macros from bp-asm.h.
9769 (semtimedop): Do not use BP_SYM.
9770 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9773 2013-02-21 Allan McRae <allan@archlinux.org>
9775 * manual/message.texi (Charset conversion in gettext):
9776 Move @end statement to beginning of line.
9778 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9785 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9787 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9788 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9790 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9792 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9793 tail-call to the resolved function if pltexit isn't needed.
9795 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9798 or Y being zero as being unlikely.
9799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9802 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9804 * manual/nss.texi (System Databases and Name Service Switch):
9805 Remove frobnicate @pxref.
9807 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9809 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9810 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9812 2013-02-20 Petr Machata <pmachata@redhat.com>
9814 * elf/elf.h (R_ARM_TARGET1): New macro.
9815 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9816 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9817 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9818 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9819 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9820 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9821 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9822 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9823 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9824 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9825 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9826 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9827 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9828 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9829 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9830 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9831 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9832 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9833 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9834 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9835 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9836 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9837 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9838 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9839 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9840 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9841 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9842 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9843 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9844 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9845 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9846 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9847 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9848 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9849 (R_ARM_THM_GOT_BREL12): Likewise.
9850 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9851 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9852 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9853 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9854 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9855 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9856 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9857 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9858 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9860 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9862 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9863 __attribute_used__ to __attribute__ ((unused)).
9865 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9867 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9873 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9876 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9878 (ENTER): Remove both macro definitions.
9880 (CHECK_BOUNDS_LOW): Likewise.
9881 (CHECK_BOUNDS_HIGH): Likewise.
9882 (CHECK_BOUNDS_BOTH): Likewise.
9883 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9884 (RETURN_BOUNDED_POINTER): Likewise.
9885 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9886 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9887 (POP_ERRNO_LOCATION_RETURN): Likewise.
9888 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9889 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9890 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9892 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9893 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9894 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9895 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9896 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9897 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9898 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9899 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9900 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9901 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9902 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9903 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9904 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9905 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9907 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9908 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9910 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9911 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9912 * sysdeps/i386/i586/memset.S (memset): Likewise.
9913 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9914 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9915 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9917 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9918 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9919 Change uses of L(2) to L(out).
9920 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9921 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9922 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9923 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9924 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9926 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9927 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9929 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9930 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9931 (RETURN): Do not use macro LEAVE.
9932 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9933 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9934 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9935 * sysdeps/i386/i686/memset.S (memset): Likewise.
9936 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9937 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9938 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9939 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9941 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9942 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9943 L(1_2) and L(1_3) into L(1).
9944 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9945 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9946 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9947 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9948 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9949 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9950 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9951 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9952 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9954 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9955 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9956 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9957 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9958 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9959 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9960 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9961 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9962 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9963 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9964 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9965 * sysdeps/i386/strspn.S (strspn): Likewise.
9966 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9968 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9969 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9970 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9971 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9973 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9974 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9975 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9977 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9979 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9981 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9984 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9986 * math/atest-exp.c (exp_mpn): Remove ROUND.
9987 * math/atest-exp2.c (exp_mpn): Likewise.
9988 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9990 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9991 * stdlib/tst-tls-atexit-lib.c: Likewise.
9992 * stdlib/tst-tls-atexit.c: Likewise.
9994 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9996 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9997 and __attribute_alloc_size__.
9999 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10001 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10002 __attribute_alloc_size__.
10003 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10004 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10006 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10008 * include/programs/xmalloc.h: New file.
10009 * catgets/gencat.c: Include it.
10010 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10011 * elf/pldd.c: Likewise.
10012 * iconv/iconv_charmap.c: Likewise.
10013 * iconv/iconvconfig.c: Likewise.
10014 * iconv/strtab.c: Likewise.
10015 * locale/programs/locale.c: Likewise.
10016 * locale/programs/localedef.h: Likewise.
10017 * locale/programs/simple-hash.c: Likewise.
10018 * nscd/nscd.h: Likewise.
10019 * nss/makedb.c: Likewise.
10020 * sysdeps/generic/ldconfig.h: Likewise.
10022 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10024 * Versions.def: Add GLIBC_2.18.
10025 * include/link.h (struct link_map): New member l_tls_dtor_count.
10026 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10027 (__call_tls_dtors): Likewise.
10028 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10029 __cxa_thread_atexit_impl.
10030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10038 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10044 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10046 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10047 (tests): Add test case tst-tls-atexit.
10048 (modules-names): Add shared library for tst-tls-atexit.
10049 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10050 (GLIBC_PRIVATE): Add __call_tls_dtors.
10051 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10053 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10054 * stdlib/tst-tls-atexit.c: New test case.
10055 * stdlib/tst-tls-atexit-lib.c: New test case.
10057 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10059 * elf/Versions (ld): Add _dl_find_dso_for_object.
10060 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10061 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10062 (dl_open_worker): Use _dl_find_dso_for_object.
10063 * elf/dl-sym.c (do_sym): Likewise.
10064 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10066 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10068 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10069 Syntactic changes only.
10070 (_dl_runtime_profile): Do a tail-call to the resolved function.
10072 2013-02-17 Joseph Myers <joseph@codesourcery.com>
10075 * sysdeps/x86_64/bp-asm.h: Remove file.
10076 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10077 <bp-sym.h> and <bp-asm.h>.
10078 (__clone): Do not use BP_SYM.
10079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10080 <bp-sym.h> and <bp-asm.h>.
10081 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10082 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10084 (_setjmp): Do not use BP_SYM.
10085 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10087 (setjmp): Do not use BP_SYM.
10088 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10090 (mempcpy): Do not use BP_SYM in weak_alias.
10091 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10093 (strchr): Do not use BP_SYM.
10094 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10096 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10097 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10098 (_start): Do not use BP_SYM.
10099 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10101 (strcat): Do not use BP_SYM.
10102 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10104 (STRCMP): Do not use BP_SYM.
10105 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10107 (STRCPY): Do not use BP_SYM.
10108 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10110 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10112 (FUNCTION): Do not use BP_SYM.
10113 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10115 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10117 2013-02-17 Andreas Jaeger <aj@suse.de>
10119 * time/Versions: Sort entries.
10120 * string/Versions: Likewise.
10121 * resolv/Versions: Likewise.
10122 * posix/Versions: Likewise.
10123 * iconv/Versions: Likewise.
10124 * elf/Versions: Likewise.
10125 * wcsmbs/Versions: Likewise.
10127 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10129 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10130 loop termination condition.
10132 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10133 variable to calculate EZ.
10136 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10137 the lower precision input.
10139 2013-02-15 Joseph Myers <joseph@codesourcery.com>
10142 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10143 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10144 (run-via-rtld-prefix): Do not handle %-bp tests.
10145 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10146 (all-object-suffixes): Remove .ob.
10147 (bppfx): Remove variable.
10148 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10149 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10150 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10151 [$(build-bounded) = yes] (libtype.ob): Likewise.
10152 * Makerules (elide-routines.ob): Remove variable.
10153 (do-tests-clean): Do not handle *-bp.out.
10154 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10155 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10156 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10157 (tests): Do not include $(tests-bp.out).
10158 (xtests): Do not include $(xtests-bp.out).
10159 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10160 [$(build-bounded) = yes] ($(addprefix
10161 $(objpfx),$(binaries-bounded))): Remove rule.
10162 ($(objpfx)%-bp.out): Remove rule.
10163 * config.make.in (build-bounded): Remove variable.
10164 * crypt/Makefile [$(build-bounded) = yes]
10165 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10166 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10167 append to variable.
10168 [$(build-bounded) = yes] (install-lib): Likewise.
10169 [$(build-bounded) = yes] (generated): Likewise.
10170 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10172 * intl/Makefile [$(build-bounded) = yes]
10173 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10174 * math/Makefile [$(build-bounded) = yes]
10175 ($(tests:%=$(objpfx)%-bp): Likewise.
10176 * misc/Makefile [$(build-bounded) = yes]
10177 ($(objpfx)tst-tsearch-bp): Likewise.
10178 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10179 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10181 * string/Makefile (o-objects.ob): Remove variable.
10182 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10183 (CFLAGS-.ob): Remove variable.
10184 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10185 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10186 both definitions of variable.
10187 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10188 (ASFLAGS-.ob): Remove variable.
10190 2013-02-14 Joseph Myers <joseph@codesourcery.com>
10193 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10194 Remove __BOUNDED_POINTERS__ from condition.
10195 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10196 * string/bits/string2.h [!__NO_STRING_INLINES &&
10197 !__BOUNDED_POINTERS__]: Likewise.
10198 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10200 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10201 Remove conditional code.
10202 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10203 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10204 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10208 * csu/libc-start.c: Do not include <bp-sym.h>.
10209 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10210 * elf/dl-open.c: Do not include <bp-sym.h>.
10211 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10212 * math/fegetenv.c: Do not include <bp-sym.h>.
10213 (fegetenv): Do not use BP_SYM in versioned symbols.
10214 * nptl/sysdeps/pthread/bits/libc-lockP.h
10215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10218 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10220 (__pthread_mutex_destroy): Likewise.
10221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10222 (__pthread_mutex_lock): Likewise.
10223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10224 (__pthread_mutex_trylock): Likewise.
10225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10226 (__pthread_mutex_unlock): Likewise.
10227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10228 (__pthread_mutexattr_init): Likewise.
10229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10230 (__pthread_mutexattr_destroy): Likewise.
10231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10232 (__pthread_mutexattr_settype): Likewise.
10233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10234 (__pthread_rwlock_init): Likewise.
10235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10236 (__pthread_rwlock_destroy): Likewise.
10237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10238 (__pthread_rwlock_rdlock): Likewise.
10239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10240 (__pthread_rwlock_tryrdlock): Likewise.
10241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10242 (__pthread_rwlock_wrlock): Likewise.
10243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10244 (__pthread_rwlock_trywrlock): Likewise.
10245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10246 (__pthread_rwlock_unlock): Likewise.
10247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10248 (__pthread_key_create): Likewise.
10249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10250 (__pthread_setspecific): Likewise.
10251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10252 (__pthread_getspecific): Likewise.
10253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10256 (_pthread_cleanup_push_defer): Likewise.
10257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10258 (_pthread_cleanup_pop_restore): Likewise.
10259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10260 (pthread_setcancelstate): Likewise.
10261 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10263 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10264 (memchr): Do not use BP_SYM in weak_alias.
10265 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10266 (fegetenv): Do not use BP_SYM in versioned symbols.
10267 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10268 (fesetenv): Do not use BP_SYM in versioned symbols.
10269 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10270 (feupdateenv): Do not use BP_SYM in versioned symbols.
10271 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10272 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10273 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10274 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10275 (open64): Do not use BP_SYM in weak_alias.
10276 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10277 (fegetenv): Do not use BP_SYM in versioned symbols.
10278 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10279 (fesetenv): Do not use BP_SYM in versioned symbols.
10280 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10281 (feupdateenv): Do not use BP_SYM in versioned symbols.
10282 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10283 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10284 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10285 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10286 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10287 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10288 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10290 (__libc_start_main): Do not use BP_SYM.
10292 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10295 redundant return line.
10297 (denorm): Likewise.
10298 (dbl_mp): Likewise.
10299 (sub_magnitudes): Likewise.
10305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10307 (denorm): Likewise.
10308 (dbl_mp): Likewise.
10309 (sub_magnitudes): Likewise.
10316 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10318 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10319 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10322 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10323 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10324 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10325 of __mul for squares.
10326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10330 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10331 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10333 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10336 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10338 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10339 prototype or function definition. Rename ubp_* variables and
10340 parameters. Remove argv definitions conditional on
10341 [__BOUNDED_POINTERS__].
10342 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10343 * elf/dl-runtime.c (_dl_fixup): Likewise.
10344 * include/set-hooks.h (RUN_HOOK): Likewise.
10345 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10347 * string/strcpy.c (strcpy): Do not use __unbounded.
10348 * sysdeps/generic/frame.h (struct layout): Likewise.
10349 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10350 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10351 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10352 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10353 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10354 (__backtrace): Likewise.
10355 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10357 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10358 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10359 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10361 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10362 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10363 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10364 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10365 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10366 Do not use __unbounded.
10367 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10368 Rename __unboundedrlimits parameter to rlimits in prototype.
10369 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10370 Do not use __unbounded.
10371 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10372 not use __ptrvalue.
10373 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10374 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10375 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10376 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10377 __ptrvalue or __unbounded.
10378 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10379 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10381 (__new_msgctl): Do not use __ptrvalue.
10382 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10384 (__libc_msgrcv): Do not use __ptrvalue.
10385 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10386 startup_info): Do not use __unbounded.
10387 (__libc_start_main): Likewise. Rename ubp_* variables and
10388 parameters. Remove argv definitions conditional on
10389 [__BOUNDED_POINTERS__].
10390 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10392 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10394 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10396 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10398 (__new_shmctl): Do not use __ptrvalue.
10399 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10400 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10402 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10403 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10404 (__libc_sigaction): Likewise.
10405 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10406 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10408 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10410 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
10412 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10414 * string/mempcpy.c: Implement by calling memcpy.
10416 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10418 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10423 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10424 values in the mantissa.
10426 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10427 minimize writes to Z.
10428 (sub_magnitudes): Simplify code a bit.
10430 2013-02-12 Roland McGrath <roland@hack.frob.com>
10432 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10433 from the message. The linker prefixes all warnings with that already.
10435 2013-02-12 Andreas Schwab <schwab@suse.de>
10438 * posix/regexec.c (extend_buffers): Add parameter min_len.
10439 (check_matching): Pass minimum needed length.
10440 (clean_state_log_if_needed): Likewise.
10441 (get_subexp): Likewise.
10442 * posix/Makefile (tests): Add bug-regex34.
10443 (bug-regex34-ENV): Define.
10444 * posix/bug-regex34.c: New file.
10447 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10448 elements compare against the byte sequence of it, not its name.
10449 * posix/Makefile (tests): Add bug-regex35.
10450 (bug-regex35-ENV): Define.
10451 * posix/bug-regex35.c: New file.
10453 2013-02-11 Tom de Vries <tom@codesourcery.com>
10455 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10457 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10458 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10459 (CHECK_EOL): Add undef.
10461 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10463 * bits/stdlib-bsearch.h: New file.
10464 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10465 * stdlib/stdlib.h: Likewise.
10467 2013-02-11 Roland McGrath <roland@hack.frob.com>
10469 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10470 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10472 * manual/search.texi (Array Search Function): Add missing const in
10474 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10475 declaration to use rlim_t.
10476 (Basic Scheduling Functions): Remove erroneous const from
10477 sched_getparam prototype. Remove erroneous * from
10478 sched_get_priority_max and sched_get_priority_min prototypes.
10479 (Resource Usage): Fix summary @comment on vtimes to refer to
10480 sys/vtimes.h rather than vtimes.h.
10481 Add missing *s in vtimes prototype.
10482 (Limits on Resources): Fix ulimit prototype to return long int.
10483 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10484 prototypes to use long int rather than double.
10485 (BSD Random): Fix initstate and setstate to use char *, not void *.
10486 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10487 prototype to make second argument 'struct aiocb64 *const[]'.
10488 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10489 (Status of AIO Operations): Remove erroneous const in aio_return and
10490 aio_return64 prototypes.
10491 (Synchronizing I/O): Fix sync prototype to return void.
10492 * manual/startup.texi (Suboptions): Remove an erroneous const in
10493 getsubopt prototype.
10494 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10495 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10496 use size_t rather than int.
10497 (Scanning All Users): Likewise for getpwent_r.
10498 (Setting Groups): Add missing const to setgroups prototype.
10499 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10500 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10501 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10502 'const void *' rather than 'const char *'.
10503 (Host Address Functions): Likewise for inet_ntop.
10504 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10505 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10506 ssize_t for return value.
10507 (Sending Data): Likewise for send, sendto, sendmsg.
10508 (Socket Option Functions): Add a missing const in setsockopt prototype.
10509 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10510 use wchar_t for the argument.
10511 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10512 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10514 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10515 double/float/long double for second argument.
10516 Fix return types of significand, significandf, significandl.
10517 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10518 argument in fchmod prototype.
10519 (File Owner): Use uid_t and gid_t in fchown prototype.
10520 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10521 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10522 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10523 use 'const struct dirent **' as argument types to CMP function pointer
10525 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10526 (File Times): Fix summary magic @comment for struct utimbuf and utime
10527 to refer to utime.h, not time.h.
10528 * manual/string.texi (Argz Functions): Add missing const in
10529 argz_extract and argz_next prototypes.
10530 (Finding Tokens in a String): Likewise for basename.
10531 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10532 (Copying and Concatenation): Fix typo in wmemmove prototype.
10533 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10534 (Signal Stack): Remove erroneous const in sigstack prototype.
10535 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10537 (Simple Calendar Time): Likewise for stime.
10538 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10540 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10541 say sys/sysctl.h instead.
10542 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10543 and vsyslog prototypes.
10545 2013-02-11 Tom de Vries <tom@codesourcery.com>
10547 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10550 2013-02-11 Roland McGrath <roland@hack.frob.com>
10552 * misc/sys/mman.h: Fix typo in mremap comment.
10554 2013-02-08 Roland McGrath <roland@hack.frob.com>
10556 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10557 the '\0' terminator.
10559 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10562 * debug/segfault.c: Don't include <bp-checks.h>.
10563 * sysdeps/generic/bp-checks.h: Remove file.
10564 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10565 (__GETDENTS): Don't use CHECK_N.
10566 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10567 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10568 (__getgroups): Don't use CHECK_N.
10569 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10570 (setgroups): Don't use CHECK_N.
10571 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10572 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10573 (__libc_msgrcv): Don't use CHECK_N.
10574 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10575 (__libc_msgsnd): Don't use CHECK_N.
10576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10578 (__libc_pread): Don't use CHECK_N.
10579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10580 include <bp-checks.h>.
10581 (__libc_pread64): Don't use CHECK_N.
10582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10583 include <bp-checks.h>.
10584 (__libc_pwrite): Don't use CHECK_N.
10585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10586 include <bp-checks.h>.
10587 (__libc_pwrite64): Don't use CHECK_N.
10588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10590 (__libc_pread): Don't use CHECK_N.
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10592 include <bp-checks.h>.
10593 (__libc_pread64): Don't use CHECK_N.
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10595 include <bp-checks.h>.
10596 (__libc_pwrite): Don't use CHECK_N.
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10598 include <bp-checks.h>.
10599 (__libc_pwrite64): Don't use CHECK_N.
10600 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10601 (do_pread): Don't use CHECK_N.
10602 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10603 (do_pread64): Don't use CHECK_N.
10604 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10605 (do_pwrite): Don't use CHECK_N.
10606 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10607 (do_pwrite64): Don't use CHECK_N.
10608 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10609 (__libc_readv): Don't use CHECK_N.
10610 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10611 (semop): Don't use CHECK_N.
10612 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10614 (semtimedop): Don't use CHECK_N.
10615 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10616 (__libc_pread): Don't use CHECK_N.
10617 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10619 (__libc_pread64): Don't use CHECK_N.
10620 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10622 (__libc_pwrite): Don't use CHECK_N.
10623 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10625 (__libc_pwrite64): Don't use CHECK_N.
10626 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10628 (__libc_msgrcv): Don't use CHECK_N.
10629 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10630 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10631 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10632 (__libc_writev): Don't use CHECK_N.
10634 2013-02-08 Roland McGrath <roland@hack.frob.com>
10636 * string/strcpy.c: Removed unused variable.
10638 * Makeconfig (+sysdep-includes): Define with := rather than =.
10639 Use an existing include/ subdir of each sysdeps dir before it.
10641 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10643 * nscd/connection.c (register_traced_file): Comment function.
10644 [HAVE_INOTIFY] (union __inev): Define.
10645 [HAVE_INOTIFY] (inotify_check_files): New function.
10646 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10647 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10649 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10651 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10653 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10654 loaded if not already and that a failure is permanent.
10656 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10659 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10660 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10662 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10665 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10666 (CHECK_1_NULL_OK): Likewise.
10667 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10668 (__fxstat): Do not use CHECK_1.
10669 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10671 (___fxstat64): Do not use CHECK_1.
10672 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10674 (__fxstatat): Do not use CHECK_1.
10675 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10677 (__fxstatat64): Do not use CHECK_1.
10678 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10680 (__fxstat): Do not use CHECK_1.
10681 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10683 (__fxstatat): Do not use CHECK_1.
10684 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10686 (__getresgid): Do not use CHECK_1.
10687 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10689 (__getresuid): Do not use CHECK_1.
10690 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10692 (__lxstat): Do not use CHECK_1.
10693 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10695 (__old_msgctl): Do not use CHECK_1.
10696 (__new_msgctl): Likewise.
10697 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10699 (__new_setrlimit): Do not use CHECK_1.
10700 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10702 (__old_shmctl): Do not use CHECK_1.
10703 (__new_shmctl): Likewise.
10704 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10706 (__xstat): Do not use CHECK_1.
10707 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10708 (__lxstat): Do not use CHECK_1.
10709 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10711 (___lxstat64): Do not use CHECK_1.
10712 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10713 (__old_msgctl): Do not use CHECK_1.
10714 (__new_msgctl): Likewise.
10715 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10717 (__gettimeofday): Do not use CHECK_1.
10718 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10719 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10720 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10722 (__gettimeofday): Do not use CHECK_1.
10723 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10724 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10725 (__new_shmctl): Do not use CHECK_1.
10726 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10728 (do_sigtimedwait): Do not use CHECK_1.
10729 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10731 (do_sigwaitinfo): Do not use CHECK_1.
10732 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10734 (msgctl): Do not use CHECK_1.
10735 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10737 (shmctl): Do not use CHECK_1.
10738 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10739 (ustat): Do not use CHECK_1.
10740 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10742 (__fxstat): Do not use CHECK_1.
10743 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10745 (__fxstatat): Do not use CHECK_1.
10746 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10748 (__lxstat): Do not use CHECK_1.
10749 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10751 (__xstat): Do not use CHECK_1.
10752 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10753 (__xstat): Do not use CHECK_1.
10754 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10755 (___xstat64): Do not use CHECK_1.
10758 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10760 (CHECK_BOUNDS_HIGH): Likewise.
10761 * string/strcpy.c: Do not include <bp-checks.h>.
10762 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10764 2013-02-07 Roland McGrath <roland@hack.frob.com>
10766 * nscd/nscd-client.h (__nscd_drop_map_ref):
10767 Add __attribute__ ((unused)).
10768 * nis/nss-nisplus.h (niserr2nss): Likewise.
10770 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10771 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10773 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10774 Remove inline keyword.
10775 * include/rounding-mode.h (round_away): Likewise.
10776 * libio/wfileops.c (adjust_wide_data): Likewise.
10777 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10778 (__m128i_strloadu_tolower): Likewise.
10779 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10780 (__m128i_strloadu_tolower): Likewise.
10781 * time/mktime.c (ydhms_diff): Likewise.
10782 * locale/elem-hash.h (elem_hash): Likewise.
10783 * locale/setlocale.c (setdata): Likewise.
10784 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10785 (re_string_wchar_at): Likewise.
10786 (bitset_not, bitset_merge, bitset_mask): Likewise.
10787 [!(__GNUC__ > 3)] (inline): Remove macro.
10788 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10789 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10790 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10791 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10792 * string/memcmp.c (memcmp_bytes): Likewise.
10793 * locale/programs/locarchive.c (compute_hashval): Likewise.
10794 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10795 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10796 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10797 * nss/getent.c (print_rpc, print_protocols): Likewise.
10798 (print_passwd, print_group, print_aliases): Likewise.
10799 * nis/nss-nisplus.h (niserr2nss): Likewise.
10800 * nscd/connections.c (restart_p): Likewise.
10801 Change return type to bool.
10803 2013-02-05 Roland McGrath <roland@hack.frob.com>
10805 * Makeconfig (all-Depend-files): Add existing
10806 $(sorted-subdirs:=/Depend) files.
10807 (all-subdirs): Remove nss.
10808 * sysdeps/unix/inet/Subdirs: Add it here instead.
10809 * hesiod/Depend: New file.
10811 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10812 instead of calling alloca.
10814 * io/lseek.c (__lseek): Rename to __libc_lseek.
10815 Define __lseek as an alias.
10817 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10819 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10821 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10822 else clause and remove check for non-standard endianness.
10824 2013-02-04 David S. Miller <davem@davemloft.net>
10826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10828 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10831 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10832 (__ubp_memchr): Remove prototype.
10833 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10834 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10835 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10836 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10837 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10839 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10840 (__ubp_memchr): Likewise.
10841 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10842 (__ubp_memchr): Likewise.
10843 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10844 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10845 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10846 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10848 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10849 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10850 (__getcwd): Do not use CHECK_STRING.
10851 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10853 (__real_chown): Do not use CHECK_STRING.
10854 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10856 (fchownat): Do not use CHECK_STRING.
10857 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10859 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10861 (__lchown): Do not use CHECK_STRING.
10862 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10863 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10864 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10865 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10867 include <bp-checks.h>.
10868 (truncate64): Do not use CHECK_STRING.
10869 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10871 (__real_chown): Do not use CHECK_STRING.
10872 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10874 (__lchown): Do not use CHECK_STRING.
10875 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10877 (__chown): Do not use CHECK_STRING.
10878 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10880 (truncate64): Do not use CHECK_STRING.
10881 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10883 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10884 (__xmknod): Do not use CHECK_STRING.
10885 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10887 (__xmknodat): Do not use CHECK_STRING.
10888 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10889 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10891 2013-02-04 Andreas Schwab <schwab@suse.de>
10894 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10895 * include/netdb.h: Likewise for h_errno.
10896 * elf/tst-stackguard1.c: Include <tls.h>.
10898 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10900 * elf/link.h (struct link_map): Extend the l_addr comment.
10901 * include/link.h (struct link_map): Likewise.
10903 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10906 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10907 (BOUNDED_1): Remove macro.
10908 * debug/backtrace.c: Don't include <bp-checks.h>.
10909 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10910 (__backtrace): Likewise.
10911 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10913 (__backtrace): Don't use BOUNDED_1.
10914 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10916 (__backtrace): Don't use BOUNDED_1.
10917 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10918 (__backtrace): Don't use BOUNDED_1.
10919 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10920 (shmat): Don't use BOUNDED_N.
10922 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10925 * sysdeps/generic/bp-start.h: Remove file.
10926 * csu/libc-start.c: Don't include <bp-start.h>.
10927 (LIBC_START_MAIN): Set up __environ directly instead of using
10928 INIT_ARGV_and_ENVIRON.
10929 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10933 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10935 (CHECK_FCNTL): Likewise.
10936 (CHECK_N_PAGES): Likewise.
10939 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10941 (CHECK_SIGSET_NULL_OK): Likewise.
10942 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10944 (sigpending): Don't use CHECK_SIGSET.
10945 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10947 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10948 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10950 (do_sigsuspend): Don't use CHECK_SIGSET.
10951 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10953 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10954 (do_sigwait): Don't use CHECK_SIGSET.
10955 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10957 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10958 include <bp-checks.h>.
10959 (sigpending): Don't use CHECK_SIGSET.
10960 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10961 include <bp-checks.h>.
10962 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10963 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10965 (sigpending): Don't use CHECK_SIGSET.
10966 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10968 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10971 * sysdeps/generic/bp-semctl.h: Remove file.
10972 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10973 <bp-checks.h> and <bp-semctl.h>.
10974 (__old_semctl): Don't use CHECK_SEMCTL.
10975 (__new_semctl): Likewise.
10976 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10978 (__old_semctl): Don't use CHECK_SEMCTL.
10979 (__new_semctl): Likewise.
10980 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10981 <bp-checks.h> and <bp-semctl.h>.
10982 (__old_semctl): Don't use CHECK_SEMCTL.
10983 (__new_semctl): Likewise.
10984 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10985 <bp-checks.h> and <bp-semctl.h>.
10986 (semctl): Don't use CHECK_SEMCTL.
10989 * Makerules (elide-bp-thunks): Remove variable.
10990 (elide-routines.oS): Don't use $(elide-bp-thunks).
10991 (elide-routines.os): Likewise.
10992 (elide-routines.o): Likewise.
10993 (elide-routines.op): Likewise.
10994 (elide-routines.og): Likewise.
10995 (objects): Don't use $(bp-thunks).
10996 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10998 (common-generated): Do not add s-proto-bp.d.
10999 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11002 Do not generate makefile rules for bounded-pointer thunks.
11003 * sysdeps/generic/bp-thunks.h: Remove file.
11004 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11005 * sysdeps/unix/s-proto-bp.S: Likewise.
11008 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11009 parts of result separately when argument is not close to line from
11010 -i to i and one part of argument is small.
11011 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11012 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11013 * math/libm-test.inc (cacos_test): Add more tests.
11014 (casin_test): Likewise.
11015 (casinh_test): Likewise.
11016 * sysdeps/i386/fpu/libm-test-ulps: Update.
11017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11019 2013-01-31 David S. Miller <davem@davemloft.net>
11021 * po/de.po: Update from translation team.
11023 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11025 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11027 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11029 * configure.in (_AC_PROG_CC_C89): New definition.
11030 * configure: Regenerate.
11032 * configure.in (AC_PROG_CPP): New definition.
11033 * configure: Regenerate.
11035 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11037 * debug/tst-backtrace.h: New file.
11038 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11039 (ret): Remove variable.
11041 (FAIL): Remove macro.
11042 (NO_INLINE): Likewise.
11043 (fn1): Use match function instead of strstr.
11044 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11045 (ret): Remove variable.
11047 (FAIL): Remove macro.
11048 (NO_INLINE): Likewise.
11049 (fn): Use match function instead of strstr.
11050 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11051 (ret): Remove variable.
11053 (FAIL): Remove macro.
11054 (NO_INLINE): Likewise.
11055 (handle_signal): Use match function instead of strstr.
11056 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11057 (ret): Remove variable.
11059 (FAIL): Remove macro.
11060 (NO_INLINE): Likewise.
11061 (handle_signal): Use match function instead of strstr.
11063 2013-01-23 Roland McGrath <roland@hack.frob.com>
11065 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11067 2013-01-23 David S. Miller <davem@davemloft.net>
11069 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11070 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11071 argument of CAS if possible.
11072 * sysdeps/sparc/sparc64/bits/atomic.h
11073 (__arch_compare_and_exchange_val_32_acq): Likewise.
11074 (__arch_compare_and_exchange_val_64_acq): Likewise.
11076 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11078 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11079 * sysdeps/posix/ulimit.c: ... this.
11080 Include <limits.h>.
11081 * sysdeps/unix/bsd/ulimit.c: Remove file.
11083 2013-01-23 Adam Conrad <adconrad@0c3.net>
11085 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11086 (LDFLAGS-tst-array5): Likewise.
11088 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11091 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11092 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11093 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11094 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11096 2013-01-21 David S. Miller <davem@davemloft.net>
11098 * sysdeps/sparc/backtrace.c: New file.
11099 * sysdeps/sparc/sparc32/backtrace.h: New file.
11100 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11101 * sysdeps/sparc/sparc64/backtrace.h: New file.
11102 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11103 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11106 2013-01-21 Andreas Schwab <schwab@suse.de>
11109 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11112 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11114 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11116 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11118 2013-01-18 Joseph Myers <joseph@codesourcery.com>
11119 Mark Mitchell <mark@codesourcery.com>
11120 Tom de Vries <tom@codesourcery.com>
11121 Paul Pluzhnikov <ppluzhnikov@google.com>
11123 * debug/tst-backtrace2.c: New file.
11124 * debug/tst-backtrace3.c: Likewise.
11125 * debug/tst-backtrace4.c: Likewise.
11126 * debug/tst-backtrace5.c: Likewise.
11127 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11128 (CFLAGS-tst-backtrace3.c): Likewise.
11129 (CFLAGS-tst-backtrace4.c): Likewise.
11130 (CFLAGS-tst-backtrace5.c): Likewise.
11131 (LDFLAGS-tst-backtrace2): Likewise.
11132 (LDFLAGS-tst-backtrace3): Likewise.
11133 (LDFLAGS-tst-backtrace4): Likewise.
11134 (LDFLAGS-tst-backtrace5): Likewise.
11135 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11136 tst-backtrace4 and tst-backtrace5.
11138 2013-01-18 Anton Blanchard <anton@samba.org>
11139 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11141 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11142 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11143 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11144 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11146 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11147 "+r" and remove output regs list as redundant. Add explicit inline
11148 asm to specify register of return val to work around compiler codegen
11149 bug. Remove (int) cast on return value. Add return type parameter to
11150 use in macro so that this macro does not truncate return value for
11152 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11153 pass to INTERNAL_VSYSCALL_NCS.
11154 (INLINE_VSYSCALL): Add 'long int' as return type to
11155 INTERNAL_VSYSCALL_NCS macro invocation.
11156 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11157 INTERNAL_VSYSCALL_NCS macro invocation.
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11160 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11163 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11164 Fix application of SIMD FP exception mask.
11166 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11167 mp_no from a power of two.
11168 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11169 __mpexp_twomm1. Use __pow_mp.
11171 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11174 2013-01-17 David S. Miller <davem@davemloft.net>
11176 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11178 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11181 * include/complex.h: Condition contents on [!_COMPLEX_H].
11182 (__kernel_casinhf): New prototype.
11183 (__kernel_casinh): Likewise.
11184 (__kernel_casinhl): Likewise.
11185 * math/Makefile (libm_calls): Add k_casinh.
11186 * math/k_casinh.c: New file.
11187 * math/k_casinhf.c: Likewise.
11188 * math/k_casinhl.c: Likewise.
11189 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11190 finite nonzero arguments.
11191 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11192 finite nonzero arguments.
11193 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11194 finite nonzero arguments.
11195 * math/s_casinh.c: Do not include <float.h>.
11196 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11197 * math/s_casinhf.c: Do not include <float.h>.
11198 (__casinhf): Move code for finite nonzero arguments to
11200 * math/s_casinhl.c: Do not include <float.h>.
11201 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11203 (__casinhl): Move code for finite nonzero arguments to
11205 * math/libm-test.inc (cacos_test): Add more tests.
11206 * sysdeps/i386/fpu/libm-test-ulps: Update.
11207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11209 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11211 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11212 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11213 [!HAVE_MREMAP]: Remove [defined linux] case.
11214 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11216 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11218 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11220 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
11222 * elf/elf.h (R_386_SIZE32): New relocation.
11223 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11225 (elf_machine_rela): Likewise.
11226 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11227 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11229 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11231 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11232 (FP_FAST_FMA): Do not define.
11233 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11234 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11235 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11236 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11237 !_SOFT_FLOAT]: Likewise.
11238 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11239 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11241 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11242 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11243 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11244 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11245 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11246 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11249 2013-01-16 Andreas Schwab <schwab@suse.de>
11252 * include/stdlib.h (__mktemp): Add declaration.
11253 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11254 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11256 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11258 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11260 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11261 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11262 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11264 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11265 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11267 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11269 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11270 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11271 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11273 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11274 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11276 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11278 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11280 2013-01-15 David S. Miller <davem@davemloft.net>
11282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11283 trunc{,f} to libm-sysdep_routes.
11284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11294 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11295 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11296 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11297 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11298 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11299 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11302 nearbyint{,f} to libm-sysdep_routes.
11303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11314 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11316 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11317 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11319 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11320 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11321 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11323 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11324 libc_feholdexcept and libc_fesetenv.
11326 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11328 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11330 2013-01-14 David S. Miller <davem@davemloft.net>
11332 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11333 (SPARC_ASM_VIS2_IFUNC): Likewise.
11334 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11336 use of 'siam' instruction.
11337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11343 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11344 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11345 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11368 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11370 routines to libm-sysdep_routines.
11371 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11374 fdim/fdimf to libm-sysdep_routines.
11375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11382 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11383 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11384 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11385 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11386 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11388 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11390 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11391 to optimize copies.
11393 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11398 local variable MPTWO.
11399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11402 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11404 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11407 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11409 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11411 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11413 * manual/pattern.texi (glob_t): Document gl_flags.
11414 (glob64_t): Likewise.
11416 2013-01-11 David S. Miller <davem@davemloft.net>
11418 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11419 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11420 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
11421 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11422 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11423 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11424 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11425 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11426 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11427 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11428 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11429 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11430 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11432 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11433 sparc V9 rather than using V8 code.
11434 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11435 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11437 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11439 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11442 2013-01-11 Roland McGrath <roland@hack.frob.com>
11444 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11445 not in the main loop.
11446 * configure: Regenerated.
11448 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11450 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11451 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11453 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11454 [!__GLIBC_HAVE_LONG_LONG] case.
11455 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11456 condition to just #else.
11457 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11458 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11459 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11460 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11462 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11463 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11464 #elif condition to just #else.
11465 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11466 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11467 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11468 #elif condition to just #else.
11470 2013-01-11 Steve Ellcey <sellcey@mips.com>
11472 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11473 (EF_MIPS_ARCH_64): Fix value.
11474 (EF_MIPS_ARCH_32R2): New.
11475 (EF_MIPS_ARCH_64R2): New.
11477 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11479 * Makeconfig (+link-pie-before-libc): New.
11480 (+link-pie-after-libc): Likewise.
11481 (+link-pie-tests): Likewise.
11482 (+link-pie): Rewritten.
11483 (link-before-libc): Remove $(config-LDFLAGS).
11484 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11485 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11486 (config-LDFLAGS): Renamed to ...
11487 (rtld-LDFLAGS): This.
11488 (rtld-tests-LDFLAGS): New macro.
11489 (link-libc-rpath-link): Likewise.
11490 (link-libc-tests-rpath-link): Likewise.
11491 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11492 (link-libc): Prepand $(link-libc-rpath-link).
11493 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11494 (test-program-prefix): New macro.
11495 (test-via-rtld-prefix): Likewise.
11496 (test-program-cmd): Likewise.
11497 (host-test-program-cmd): Likewise.
11498 * Makefile ($(common-objpfx)testrun.sh): Replace
11499 $(run-program-prefix) with $(test-program-prefix).
11500 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11502 ($(common-objpfx)shlib.lds): Likewise.
11503 (build-module-helper): Likewise.
11504 ($(common-objpfx)format.lds): Likewise.
11505 * Rules (binaries-pie-tests): New.
11506 (binaries-pie-notests): Likewise.
11507 (binaries-pie): Rewritten.
11508 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11509 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11510 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11511 (make-test-out): Replace $(host-built-program-cmd) with
11512 $(host-test-program-cmd).
11513 * config.make.in (build-hardcoded-path-in-tests): New variable.
11514 * configure.in (--enable-hardcoded-path-in-tests): New configure
11516 (hardcoded_path_in_tests): New AC_SUBST.
11517 * configure: Regenerated.
11518 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11519 $(built-program-cmd) with $(test-program-cmd).
11520 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11521 (test_program_cmd): This.
11522 * elf/Makefile ($(objpfx)order.out): Run test with
11523 $(test-program-prefix).
11524 ($(objpfx)order2.out): Likewise.
11525 ($(objpfx)tst-initorder.out): Likewise.
11526 ($(objpfx)tst-initorder2.out): Likewise.
11527 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11528 $(test-program-cmd).
11529 ($(objpfx)tst-array1-static.out): Likewise.
11530 ($(objpfx)tst-array2.out): Likewise.
11531 ($(objpfx)tst-array3.out): Likewise.
11532 ($(objpfx)tst-array4.out): Likewise.
11533 ($(objpfx)tst-array5.out): Likewise.
11534 ($(objpfx)tst-array5-static.out): Likewise.
11535 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11536 $(test-program-cmd).
11537 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11538 $(run-program-prefix) with $(test-program-prefix).
11539 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11540 (test_program_prefix): This.
11541 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11542 $(run-program-prefix) with $(test-program-prefix).
11543 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11544 (test_program_prefix): This.
11545 * iconvdata/tst-tables.sh: Likewise.
11546 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11547 $(run-program-prefix) with $(test-program-prefix).
11548 ($(objpfx)tst-translit.out): Likewise.
11549 ($(objpfx)tst-gettext2.out): Likewise.
11550 ($(objpfx)tst-gettext4.out): Likewise.
11551 ($(objpfx)tst-gettext6.out): Likewise.
11552 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11553 (test_program_prefix): This.
11554 * intl/tst-gettext2.sh: Likewise.
11555 * intl/tst-gettext4.sh Likewise.
11556 * intl/tst-gettext6.sh: Likewise.
11557 * intl/tst-translit.sh: Likewise.
11558 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11559 with $(test-program-cmd).
11560 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11561 $(run-program-prefix) with $(test-program-prefix).
11562 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11563 (test_program_prefix): This.
11564 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11565 $(run-program-prefix) with $(test-program-prefix).
11566 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11567 (test_program_prefix): This.
11568 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11569 * posix/Makefile ($(objpfx)globtest.out): Replace
11570 $(run-via-rtld-prefix) and $(test-wrapper) with
11571 $(test-program-prefix) and $(test-via-rtld-prefix).
11572 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11573 $(test-program-prefix).
11574 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11575 $(host-test-program-cmd).
11576 (tst-spawn-ARGS): Likewise.
11577 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11578 $(test-program-prefix).
11579 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11580 (test_via_rtld_prefix): This.
11581 (test_wrapper): Renamed to ...
11582 (test_program_prefix): This.
11583 (run_program_prefix): Replaced by test_program_prefix.
11584 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11585 (test_program_prefix): This.
11586 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11587 with $(host-test-program-cmd).
11588 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11589 $(run-program-prefix) with $(test-program-prefix).
11590 ($(objpfx)tst-printf.out): Likewise.
11591 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11592 $(test-program-cmd).
11593 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11594 (test_program_prefix): This.
11595 * stdio-common/tst-unbputc.sh: Likewise.
11596 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11597 $(run-program-prefix) with $(test-program-prefix).
11598 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11599 (test_program_prefix): This.
11600 * string/Makefile ($(objpfx)tst-svc.out): Replace
11601 $(built-program-cmd) with $(test-program-cmd).
11603 2013-01-11 Andreas Jaeger <aj@suse.de>
11606 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11607 value. Sync with Linux 3.7.
11609 2013-01-10 David S. Miller <davem@davemloft.net>
11611 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11612 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11613 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11615 2013-01-10 Roland McGrath <roland@hack.frob.com>
11617 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11619 * configure: Regenerated.
11621 2013-01-10 David S. Miller <davem@davemloft.net>
11623 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11624 sparc V9 rather than using V8 code.
11625 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11626 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11628 2013-01-10 Roland McGrath <roland@hack.frob.com>
11630 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11631 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11632 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11633 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11634 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11635 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11636 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11637 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11638 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11639 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11640 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11641 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11642 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11643 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11644 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11645 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11646 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11647 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11648 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11649 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11650 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11651 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11652 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11653 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11654 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11655 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11656 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11658 2013-01-10 David S. Miller <davem@davemloft.net>
11660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11662 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11664 * posix/Makefile (tests-static): New variable.
11665 (tests): Add $(tests-static).
11666 (tst-exec-static-ARGS): New variable.
11667 (tst-spawn-static-ARGS): Likewise.
11668 * posix/tst-exec-static.c: New file.
11669 * posix/tst-spawn-static.c: Likewise.
11670 * posix/tst-exec.c: Support run directly.
11671 * posix/tst-spawn.c: Likewise.
11673 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11675 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11677 * math/bits/mathcalls.h (llrint): Likewise.
11678 (llround): Likewise.
11679 * stdlib/stdlib.h (struct drand48_data): Likewise.
11680 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11681 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11682 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11684 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11686 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11687 (elf_greg_t): Likewise.
11688 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11689 (__jmp_buf): Likewise.
11690 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11692 (llrint): Likewise, for all definitions.
11693 (llrintl): Likewise.
11695 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11696 Remove [__GNUC__] condition.
11697 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11698 condition to just [__USE_ISOC99].
11699 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11701 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11704 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11705 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11707 (_POSIX_V6_ILP32_OFF32): Likewise.
11708 (_XBS5_ILP32_OFF32): Likewise.
11709 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11710 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11712 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11714 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11717 doubles __mpexp_twomm1. Adjust usage.
11718 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11721 2013-01-10 Andreas Schwab <schwab@suse.de>
11724 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11725 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11727 2013-01-09 David S. Miller <davem@davemloft.net>
11730 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11731 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11732 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11733 TCP_FASTOPEN): Define.
11734 (tcp_repair_opt): New structure.
11735 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11737 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11738 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11739 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11740 (tcp_cookie_transactions): New structure.
11742 2013-01-09 Anton Blanchard <anton@samba.org>
11744 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11745 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11746 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11747 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11749 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11751 * include/features.h (__USE_ANSI): Remove.
11753 2013-01-09 Roland McGrath <roland@hack.frob.com>
11755 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11757 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11759 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11761 * sysdeps/s390/fpu/libm-test-ulps: Update.
11763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11765 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11769 (denorm): Likewise.
11770 (__mp_dbl): Likewise.
11771 (__dbl_mp): Likewise.
11772 (add_magnitudes): Likewise.
11773 (sub_magnitudes): Likewise.
11779 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11783 (denorm): Likewise.
11784 (__mp_dbl): Likewise.
11785 (__dbl_mp): Likewise.
11786 (add_magnitudes): Likewise.
11787 (sub_magnitudes): Likewise.
11793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11797 (denorm): Likewise.
11798 (__mp_dbl): Likewise.
11799 (__dbl_mp): Likewise.
11800 (add_magnitudes): Likewise.
11801 (sub_magnitudes): Likewise.
11808 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11810 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11811 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11812 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11813 2 && __USE_EXTERN_INLINES]: Likewise.
11815 2013-01-08 Andreas Jaeger <aj@suse.de>
11818 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11820 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11821 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11823 2013-01-07 Anton Blanchard <anton@samba.org>
11825 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11826 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11827 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11828 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11829 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11830 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11831 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11832 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11833 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11834 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11835 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11836 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11837 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11838 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11839 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11840 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11841 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11842 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11843 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11844 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11845 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11846 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11847 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11848 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11849 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11850 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11851 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11852 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11853 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11854 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11855 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11857 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11858 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11859 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11860 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11861 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11862 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11863 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11864 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11865 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11866 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11867 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11869 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11871 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11872 (__MALLOC_PMT): Likewise.
11873 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11874 [__GNUC__], only on [_LIBC].
11875 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11876 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11877 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11878 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11879 forward declaration.
11880 (realloc_hook_ini): Likewise.
11881 (memalign_hook_ini): Likewise.
11882 (__libc_memalign): Do not use __MALLOC_PMT in variable
11884 (__libc_valloc): Likewise.
11885 (__libc_pvalloc): Likewise.
11886 (__libc_calloc): Likewise.
11887 (__posix_memalign): Likewise.
11890 * math/s_casinh.c: Include <float.h>.
11891 (__casinh): Do not do computation with squaring and square root
11892 for large arguments.
11893 * math/s_casinhf.c: Include <float.h>.
11894 (__casinhf): Do not do computation with squaring and square root
11895 for large arguments.
11896 * math/s_casinhl.c: Include <float.h>.
11897 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11898 (__casinhl): Do not do computation with squaring and square root
11899 for large arguments.
11900 * math/libm-test.inc (casin_test): Add more tests.
11901 (casinh_test): Likewise.
11902 * sysdeps/i386/fpu/libm-test-ulps: Update.
11903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11905 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11907 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11908 (__x86_64_raw_data_cache_size): Likewise.
11909 (__x86_64_data_cache_size_half): Likewise.
11910 (__x86_64_raw_data_cache_size_half): Likewise.
11911 (__x86_64_shared_cache_size): Likewise.
11912 (__x86_64_raw_shared_cache_size): Likewise.
11913 (__x86_64_shared_cache_size_half): Likewise.
11914 (__x86_64_raw_shared_cache_size_half): Likewise.
11915 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11917 (__x86_data_cache_size): This.
11918 (__x86_64_raw_data_cache_size): Renamed to ...
11919 (__x86_raw_data_cache_size): This.
11920 (__x86_64_data_cache_size_half): Renamed to ...
11921 (__x86_data_cache_size_half): This.
11922 (__x86_64_raw_data_cache_size_half): Renamed to ...
11923 (__x86_raw_data_cache_size_half): This.
11924 (__x86_64_shared_cache_size): Renamed to ...
11925 (__x86_shared_cache_size): This.
11926 (__x86_64_raw_shared_cache_size): Renamed to ...
11927 (__x86_raw_shared_cache_size): This.
11928 (__x86_64_shared_cache_size_half): Renamed to ...
11929 (__x86_shared_cache_size_half): This.
11930 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11931 (__x86_raw_shared_cache_size_half): This.
11932 * sysdeps/x86_64/memcpy.S: Updated.
11933 * sysdeps/x86_64/memset.S: Likewise.
11934 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11935 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11936 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11938 2013-01-04 David S. Miller <davem@davemloft.net>
11940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11942 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11944 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11945 1 to avoid redefinition warning.
11946 (__USE_GNU): Don't define.
11947 (init_signaling_nan): Protoize.
11949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11951 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11953 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11955 (__cpymn): Likewise.
11956 (norm): Remove commented code.
11957 (denorm): Likewise.
11958 (__mp_dbl): Likewise.
11960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11961 (__cpymn): Likewise.
11962 (norm): Remove commented code.
11963 (denorm): Likewise.
11964 (__mp_dbl): Likewise.
11967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11968 mp_no value for 1.0 and 2.0.
11969 (norm): Use RADIXI instead of radixi.d.
11970 (denorm): Likewise.
11971 (__mul): Use 0.0 instead of zero.d.
11972 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11973 mp_no value for 1.0 and 2.0.
11974 (norm): Use RADIXI instead of radixi.d.
11975 (denorm): Likewise.
11976 (__mul): Use 0.0 instead of zero.d.
11978 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11981 * math/s_casinh.c (__casinh): Reduce finite argument to first
11982 quadrant then set signs of results at the end.
11983 * math/s_casinhf.c (__casinhf): Likewise.
11984 * math/s_casinhl.c (__casinhl): Likewise.
11985 * math/libm-test.inc (casin_test): Add more tests.
11986 (casinh_test): Likewise.
11987 * sysdeps/i386/fpu/libm-test-ulps: Update.
11988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11990 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11992 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11994 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11996 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11998 (denorm): Likewise.
11999 (__mp_dbl): Likewise.
12002 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12003 and adjust the header comment.
12005 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12006 variable name from declaration.
12008 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12011 Initialize COMMON_CPUID_INDEX_7 element.
12012 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12013 (CPUID_RTM): Likewise.
12014 (HAS_RTM): Likewise.
12015 (COMMON_CPUID_INDEX_7): New enum.
12017 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12020 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12021 size is zero, record memory as freed.
12023 2013-01-03 Andreas Jaeger <aj@suse.de>
12025 * po/ia.po: Add new Interlingua translation.
12027 2012-01-03 Allan McRae <allan@archlinux.org>
12029 * locale/programs/localedef.c: Fix description of '--posix' flag.
12031 2013-01-02 Joseph Myers <joseph@codesourcery.com>
12033 * NEWS: Update dates in second copyright notice.
12034 * README: Update copyright dates in example.
12035 * manual/libc.texinfo: Update copyright dates.
12036 * scripts/test-installation.pl: Update copyright date in --version
12039 * hurd/ctty-input.c: Fix copyright notice formatting.
12040 * hurd/ctty-output.c: Likewise.
12041 * hurd/dtable.c: Likewise.
12042 * hurd/hurd-raise.c: Likewise.
12043 * hurd/hurdprio.c: Likewise.
12044 * hurd/msgportdemux.c: Likewise.
12045 * misc/sys/file.h: Likewise.
12046 * misc/sys/ioctl.h: Likewise.
12047 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12048 * sysdeps/mach/hurd/chdir.c: Likewise.
12049 * sysdeps/mach/hurd/fchdir.c: Likewise.
12050 * sysdeps/mach/hurd/rename.c: Likewise.
12051 * sysdeps/mach/hurd/rmdir.c: Likewise.
12052 * sysdeps/mach/hurd/seekdir.c: Likewise.
12053 * sysdeps/mach/hurd/setsid.c: Likewise.
12054 * sysdeps/posix/wait3.c: Likewise.
12056 * All files with FSF copyright notices: Update copyright dates
12057 using scripts/update-copyrights.
12058 * intl/plural.c: Regenerated.
12059 * locale/programs/charmap-kw.h: Likewise.
12060 * locale/programs/locfile-kw.h: Likewise.
12062 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12064 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12067 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12068 calculation loop and add branch prediction.
12070 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12071 check access beyond bounds of m1np.
12073 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12075 (__inv): Remove local variable MPTWO to use the global
12077 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12078 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12080 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12081 MP3HALFS static const.
12083 2013-01-01 David S. Miller <davem@davemloft.net>
12085 * po/ca.po: Update from translation team.
12087 2013-01-01 Joseph Myers <joseph@codesourcery.com>
12089 * scripts/update-copyrights: New file.
12090 * Makeconfig: Reformat copyright notice.
12091 * ctype/ctype.h: Likewise.
12092 * debug/swprintf_chk.c: Likewise.
12093 * elf/dl-cache.c: Likewise.
12094 * elf/dl-debug.c: Likewise.
12095 * elf/dl-object.c: Likewise.
12096 * grp/initgroups.c: Likewise.
12097 * hurd/Makefile: Likewise.
12098 * hurd/hurd/signal.h: Likewise.
12099 * hurd/hurdfault.c: Likewise.
12100 * hurd/hurdioctl.c: Likewise.
12101 * hurd/hurdlookup.c: Likewise.
12102 * hurd/intr-msg.c: Likewise.
12103 * iconv/gconv_open.c: Likewise.
12104 * libio/swprintf.c: Likewise.
12105 * locale/lc-ctype.c: Likewise.
12106 * locale/nl_langinfo.c: Likewise.
12107 * mach/Machrules: Likewise.
12108 * mach/Makefile: Likewise.
12109 * malloc/obstack.h: Likewise.
12110 * manual/Makefile: Likewise.
12111 * manual/tsort.awk: Likewise.
12112 * misc/bits/stab.def: Likewise.
12113 * nis/nis_print_group_entry.c: Likewise.
12114 * nis/nis_table.c: Likewise.
12115 * nis/nss_compat/compat-pwd.c: Likewise.
12116 * nis/nss_compat/compat-spwd.c: Likewise.
12117 * po/Makefile: Likewise.
12118 * posix/fnmatch.c: Likewise.
12119 * posix/regex.h: Likewise.
12120 * resolv/Makefile: Likewise.
12121 * resolv/nss_dns/dns-network.c: Likewise.
12122 * resolv/res_hconf.c: Likewise.
12123 * scripts/gen-sorted.awk: Likewise.
12124 * soft-fp/soft-fp.h: Likewise.
12125 * stdio-common/printf.h: Likewise.
12126 * stdlib/monetary.h: Likewise.
12127 * stdlib/random.c: Likewise.
12128 * stdlib/random_r.c: Likewise.
12129 * sysdeps/generic/Makefile: Likewise.
12130 * sysdeps/gnu/Makefile: Likewise.
12131 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12133 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12135 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12139 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12141 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12142 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12143 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12144 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12145 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12146 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12147 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12148 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12149 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12151 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12152 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12153 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12154 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12155 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12157 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12158 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12159 * sysdeps/mach/hurd/errnos.awk: Likewise.
12160 * sysdeps/mach/hurd/fork.c: Likewise.
12161 * sysdeps/mach/hurd/getcwd.c: Likewise.
12162 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12163 * sysdeps/mach/hurd/mmap.c: Likewise.
12164 * sysdeps/mach/hurd/utimes.c: Likewise.
12165 * sysdeps/mach/hurd/xmknod.c: Likewise.
12166 * sysdeps/posix/profil.c: Likewise.
12167 * sysdeps/posix/readdir_r.c: Likewise.
12168 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12169 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12170 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12171 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12173 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12174 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12175 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12177 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12178 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12179 * sysdeps/pthread/lio_listio.c: Likewise.
12180 * sysdeps/sparc/dl-procinfo.h: Likewise.
12181 * sysdeps/unix/i386/sysdep.S: Likewise.
12182 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12183 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12184 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12185 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12187 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12188 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12189 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12190 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12191 * sysdeps/wordsize-32/divdi3.c: Likewise.
12192 * time/sys/time.h: Likewise.
12193 * wcsmbs/Makefile: Likewise.
12195 2013-01-01 David S. Miller <davem@davemloft.net>
12197 * po/fr.po: Update from translation team.
12199 * catgets/gencat.c: Update copyright year.
12200 * csu/version.c: Likewise.
12201 * debug/catchsegv.sh: Likewise.
12202 * debug/pcprofiledump.c: Likewise.
12203 * debug/xtrace.sh: Likewise.
12204 * elf/ldconfig.c: Likewise.
12205 * elf/ldd.bash.in: Likewise.
12206 * elf/pldd.c: Likewise.
12207 * elf/sotruss.ksh: Likewise.
12208 * elf/sprof.c: Likewise.
12209 * iconv/iconv_prog.c: Likewise.
12210 * iconv/iconvconfig.c: Likewise.
12211 * locale/programs/locale.c: Likewise.
12212 * locale/programs/localedef.c: Likewise.
12213 * login/programs/pt_chown.c: Likewise.
12214 * malloc/memusage.sh: Likewise.
12215 * malloc/memusagestat.c: Likewise.
12216 * malloc/mtrace.pl: Likewise.
12217 * nscd/nscd.c: Likewise.
12218 * nss/getent.c: Likewise.
12219 * nss/makedb.c: Likewise.
12220 * posix/getconf.c: Likewise.
12222 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12224 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12227 2012-12-30 Mike Frysinger <vapier@gentoo.org>
12229 * math/bits/mathcalls.h (modf): Use __nonnull.
12231 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12233 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12234 (split): Use macro CN instead of the bare value.
12235 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12237 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12238 instead of the bare value.
12239 (power1): Likewise.
12241 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12243 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12245 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12247 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12249 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12250 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12251 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12252 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12254 2012-12-28 Andreas Jaeger <aj@suse.de>
12256 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12257 values are from Linux 3.7.
12259 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12260 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12262 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12264 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12267 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12269 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12270 variables with preprocessor constants.
12271 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12272 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12273 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12275 2012-12-27 Bruno Haible <bruno@clisp.org>
12278 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12281 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12283 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12284 and use variable directly.
12285 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12287 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12289 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12290 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12292 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12293 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12294 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12295 include directive. Remove local variable MPONE.
12296 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12297 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12298 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12300 2012-12-25 David S. Miller <davem@davemloft.net>
12302 * version.h (RELEASE): Set to "development".
12303 (VERSION): Set to "2.17.90".
12304 * NEWS: Add 2.18 section.
12306 2012-12-21 David S. Miller <davem@davemloft.net>
12308 * po/hr.po: Update from translation team.
12310 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12312 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12314 2012-12-19 Steve Ellcey <sellcey@mips.com>
12316 * NEWS: Mention new memcpy for MIPS.
12318 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12320 * manual/contrib.texi (Contributors): Spelling correction.
12322 2012-12-15 David S. Miller <davem@davemloft.net>
12324 * po/ru.po: Update from translation team.
12326 2012-12-13 David S. Miller <davem@davemloft.net>
12328 * NEWS: Mention IFUNC testsuite enhancements.
12330 * po/pl.po: Update from translation team.
12331 * po/bg.po: Likewise.
12333 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12334 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12336 2012-12-11 David S. Miller <davem@davemloft.net>
12338 * po/sv.po: Update from translation team.
12340 * po/vi.po: Update from translation team.
12342 * po/cs.po: Update from translation team.
12344 * po/de.po: Update from translation team.
12345 * po/eo.po: Likewise.
12346 * po/nl.po: Likewise.
12348 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12351 * manual/argp.texi (Argp Helper Functions): Move node to follow
12352 Argp Parsing State.
12355 * manual/conf.texi (Limits on File System Capacity): Mention if
12356 terminating null is included in the max size.
12358 2012-12-10 Andreas Jaeger <aj@suse.de>
12360 * po/cs.po: Update from translation team.
12362 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12364 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12365 void pointer and cast to uintptr_t.
12366 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12368 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12369 * sysdeps/s390/s390-64/memset.S: Likewise.
12371 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12374 * menual/message.texi (Message Translation): Fix typos.
12375 (Helper programs for gettext): Likewise.
12377 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12380 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12383 2012-12-07 David S. Miller <davem@davemloft.net>
12385 * po/libc.pot: Update.
12387 2012-12-07 Richard Henderson <rth@redhat.com>
12390 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12391 normal/normal case to before the switch.
12392 (_FP_DIV): Likewise.
12394 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12395 Mike Frysinger <vapier@gentoo.org>
12397 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12398 check for __NR_fadvise64_64.
12400 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12402 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12403 0, not just to plain "0" as a statement.
12404 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12407 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12409 * NEWS: Use sourceware.org in Bugzilla URL.
12411 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12414 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12416 * stdio-common/tst-put-error.c (do_test): Add newline to the
12417 padded test to ensure flush.
12419 2012-12-05 Jeff Law <law@redhat.com>
12421 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12423 2012-12-05 Joseph Myers <joseph@codesourcery.com>
12425 * README: Don't refer to ports add-on as distributed separately.
12426 Mention AArch64 in list of systems supported in the ports add-on.
12428 * LICENSES: Add more non-FSF copyright and license notices.
12430 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12433 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12435 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12436 10000 as width of padded output.
12438 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12440 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12442 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12443 variable LX with __attribute__ ((unused)).
12444 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12446 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12448 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12449 with __attribute__ ((unused)).
12451 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12453 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12455 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12457 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12458 (CFLAGS-nldbl-acos.c): New variable.
12459 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12460 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12461 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12462 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12463 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12464 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12465 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12466 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12467 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12468 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12469 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12470 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12471 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12472 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12473 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12474 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12475 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12476 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12477 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12478 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12479 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12480 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12481 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12482 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12483 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12484 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12485 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12486 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12487 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12488 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12489 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12490 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12491 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12492 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12493 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12494 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12495 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12496 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12497 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12498 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12499 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12500 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12501 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12502 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12503 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12504 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12505 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12506 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12507 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12508 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12509 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12510 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12511 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12512 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12513 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12514 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12515 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12516 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12517 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12518 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12519 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12520 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12521 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12522 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12523 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12524 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12525 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12526 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12527 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12528 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12529 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12530 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12531 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12532 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12533 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12534 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12535 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12536 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12537 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12538 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12539 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12540 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12541 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12542 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12543 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12544 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12545 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12546 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12547 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12548 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12549 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12550 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12551 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12552 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12553 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12554 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12555 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12558 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12561 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12562 whole low double instead of just low 47 bits when splitting values
12565 2012-12-03 Allan McRae <allan@archlinux.org>
12567 * manual/stdio.texi (Predefined Printf Handlers): Remove
12568 @hsep and @vsep usage.
12570 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12572 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12573 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12575 2012-12-03 Jeff Law <law@redhat.com>
12577 * time/sys/time.h (settimeofday): Do not mark TV argument
12580 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12582 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12583 when currently writing and seek to current position when not.
12584 * libio/Makefile (tests): Remove bug-fclose1.
12585 * libio/bug-fclose1.c: Delete.
12587 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12589 * manual/arith.texi (feenableexcept): Fix typo.
12590 (fedisableexcept): Likewise.
12592 2012-11-30 Roland McGrath <roland@hack.frob.com>
12594 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12595 second, differently-typed declaration, rather than a cast.
12597 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12599 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12600 * include/rpc/svc.h: ... here.
12602 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12605 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12606 depending n and resplen2 to catch cases where answer
12609 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12611 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12612 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12614 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12616 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12618 2012-11-29 Roland McGrath <roland@hack.frob.com>
12620 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12622 2012-11-28 Jeff Law <law@redhat.com>
12625 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12626 dataset_temporary. Track alloca usage into alloca_used.
12627 If dataset is large allocate and release it via malloc/free.
12629 2012-06-04 Florian Weimer <fweimer@redhat.com>
12632 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12634 2012-11-28 David S. Miller <davem@davemloft.net>
12636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12638 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12641 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12642 of pi/2 rounded to nearest to 64 bits.
12643 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12644 nearest to 64 bits.
12645 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12648 2012-11-28 Jeff Law <law@redhat.com>
12649 Martin Osvald <mosvald@redhat.com>
12652 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12653 * sunrpc/svc.c: Include time.h.
12654 (__svc_accept_failed): New function.
12655 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12656 any reason other than EINTR, call __svc_accept_failed.
12657 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12658 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12660 2012-11-28 Andreas Schwab <schwab@suse.de>
12662 * scripts/abilist.awk: Also handle indirect functions in .opd
12665 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12668 * sysdeps/x86/fpu/powl_helper.c: New file.
12669 * sysdeps/x86/fpu/Makefile: Likewise.
12670 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12672 (__ieee754_powl): Use __powl_helper for finite arguments except
12673 integer exponents below 8.
12674 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12676 (__ieee754_powl): Use __powl_helper for finite arguments except
12677 integer exponents below 8.
12678 * math/libm-test.inc (pow_test): Add more tests and enable some
12679 previously disabled tests.
12680 * sysdeps/i386/fpu/libm-test-ulps: Update.
12681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12683 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12684 Carlos O'Donell <carlos_odonell@mentor.com>
12686 * nss/makedb.c (is_prime): Assert that input is odd and greater
12687 than 4. Note that fact in a comment too.
12688 (next_prime): Add 4 to input.
12690 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12693 * libio/Makefile (tests): Add test case tst-fwrite-error.
12694 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12695 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12696 * libio/tst-fwrite-error.c: New test case.
12698 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12700 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12701 before casting to void *.
12702 * include/libc-internal.h (__pointer_type): New macro.
12703 (__integer_if_pointer_type_sub): Likewise.
12704 (__integer_if_pointer_type): Likewise.
12705 (cast_to_integer): Likewise.
12706 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12707 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12708 before casting to atomic64_t.
12709 (atomic_exchange_acq): Likewise.
12710 (__arch_exchange_and_add_body): Likewise.
12711 (__arch_add_body): Likewise.
12712 (atomic_add_negative): Likewise.
12713 (atomic_add_zero): Likewise.
12715 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12717 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12718 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12719 (add_fdes): Likewise.
12720 (linear_search_fdes): Likewise.
12721 (binary_search_unencoded_fdes): Likewise.
12723 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12725 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12727 2012-11-24 Adam Conrad <adconrad@0c3.net>
12729 * configure.in: Autodetect C++ header directories.
12730 * configure: Regenerated.
12732 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12734 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12736 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12740 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12742 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12743 LDBL_MANT_DIG == 106]: Disable some tests.
12744 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12746 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12750 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12751 input for small inputs. Return +/- pi/2 for large inputs.
12752 * math/libm-test.inc (atan_test): Add more tests.
12754 * sysdeps/generic/unwind-dw2-fde-glibc.c
12755 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12756 __attribute__ ((unused)).
12759 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12760 x * y if x and y are nonzero and z is zero.
12763 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12764 nonzero exponents with absolute value below 0x1p-117 to +/-
12768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12769 up arguments below 2**-450, not just those below 2**-500.
12770 * math/libm-test.inc (hypot_test): Add another test.
12773 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12774 Return a+b for ratio over 2**120, not 2**60.
12775 * math/libm-test.inc (hypot_test): Add another test.
12777 * math/libm-test.inc (clog_test): Use
12778 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12779 (clog10_test): Likewise.
12782 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12784 2012-11-22 Andreas Schwab <schwab@suse.de>
12786 * sysdeps/i386/fpu/libm-test-ulps: Update.
12788 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12790 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12791 printf output with newline.
12793 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12796 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12797 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12798 -z nodlopen, -z initfirst and -z execstack support.
12799 * configure: Regenerated.
12801 * elf/elf.h (DF_1_NODIRECT): New macro.
12802 (DF_1_IGNMULDEF): Likewise.
12803 (DF_1_NOKSYMS): Likewise.
12804 (DF_1_NOHDR): Likewise.
12805 (DF_1_EDITED): Likewise.
12806 (DF_1_NORELOC): Likewise.
12807 (DF_1_SYMINTPOSE): Likewise.
12808 (DF_1_GLOBAUDIT): Likewise.
12809 (DF_1_SINGLETON): Likewise.
12810 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12811 DT_1_SUPPORTED_MASK bits.
12812 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12814 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12816 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12818 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12820 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12823 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12824 (sendmmsg): Move declarations...
12825 * socket/sys/socket.h: ... here.
12826 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12827 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12829 * socket/recvmmsg.c: ... this new file.
12830 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12831 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12832 definition of __sendmmsg hidden.
12833 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12834 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12835 Move ENOSYS stub into and include it from...
12836 * socket/sendmmsg.c: ... this new file.
12837 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12838 (sysdep_routines): Move recvmmsg and sendmmsg...
12839 * socket/Makefile (routines): ... here.
12840 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12841 (GLIBC_PRIVATE): Add __sendmmsg.
12842 * include/sys/socket.h (__sendmmsg): Add declarations.
12843 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12846 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12848 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12849 variable I1 with __attribute__ ((unused)).
12850 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12852 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12854 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12855 DUMMY variables with __attribute__ ((unused)).
12857 * bits/byteswap.h: Include <bits/types.h>.
12858 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12860 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12862 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12863 string_t. Do not manually set errno.
12864 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12865 length with __strnlen. Make sure to both set errno and return it on
12868 2012-11-19 David S. Miller <davem@davemloft.net>
12870 With help from Joseph Myers.
12871 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12872 very large arguments properly.
12873 * math/libm-test.inc (atan_test): New tests.
12874 (atan2_test): New tests.
12875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12878 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12881 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12884 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12885 [POSIX] (EADDRNOTAVAIL): Likewise.
12886 [POSIX] (EAFNOSUPPORT): Likewise.
12887 [POSIX] (EALREADY): Likewise.
12888 [POSIX] (ECONNABORTED): Likewise.
12889 [POSIX] (ECONNREFUSED): Likewise.
12890 [POSIX] (ECONNRESET): Likewise.
12891 [POSIX] (EDESTADDRREQ): Likewise.
12892 [POSIX] (EDQUOT): Likewise.
12893 [POSIX] (EHOSTUNREACH): Likewise.
12894 [POSIX] (EIDRM): Likewise.
12895 [POSIX] (EISCONN): Likewise.
12896 [POSIX] (ELOOP): Likewise.
12897 [POSIX] (EMULTIHOP): Likewise.
12898 [POSIX] (ENETDOWN): Likewise.
12899 [POSIX] (ENETUNREACH): Likewise.
12900 [POSIX] (ENOBUFS): Likewise.
12901 [POSIX] (ENODATA): Likewise.
12902 [POSIX] (ENOLINK): Likewise.
12903 [POSIX] (ENOMSG): Likewise.
12904 [POSIX] (ENOPROTOOPT): Likewise.
12905 [POSIX] (ENOSR): Likewise.
12906 [POSIX] (ENOSTR): Likewise.
12907 [POSIX] (ENOTCONN): Likewise.
12908 [POSIX] (ENOTSOCK): Likewise.
12909 [POSIX] (EOPNOTSUPP): Likewise.
12910 [POSIX] (EOVERFLOW): Likewise.
12911 [POSIX] (EPROTO): Likewise.
12912 [POSIX] (EPROTONOSUPPORT): Likewise.
12913 [POSIX] (EPROTOTYPE): Likewise.
12914 [POSIX] (ESTALE): Likewise.
12915 [POSIX] (ETIME): Likewise.
12916 [POSIX] (ETXTBSY): Likewise.
12917 [POSIX] (EWOULDBLOCK): Likewise.
12918 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12919 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12920 [POSIX] (SEEK_CUR): Likewise.
12921 [POSIX] (SEEK_END): Likewise.
12922 [POSIX || UNIX98] (mode_t): Do not require.
12923 [POSIX] (off_t): Likewise.
12924 [POSIX] (pid_t): Likewise.
12925 [POSIX] (sys/stat.h): Do not allow header.
12926 [POSIX] (unistd.h): Likewise.
12927 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12928 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12929 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12930 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12932 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12933 sigevent): Specify elements.
12934 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12936 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12937 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12939 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12940 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12941 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12942 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12943 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12944 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12945 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12946 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12947 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12948 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12949 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12950 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12951 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12952 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12954 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12956 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12958 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12960 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12961 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12962 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12963 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12964 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12965 Specify lower bound on value.
12966 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12967 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12968 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12969 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12970 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12971 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12972 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12973 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12975 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12977 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12978 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12979 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12980 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12981 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12982 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12983 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12984 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12985 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12986 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12987 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12988 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12989 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12990 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12991 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12992 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12994 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12996 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12997 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12998 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12999 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13000 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13001 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13003 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13004 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13005 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13006 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13007 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13008 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13009 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13011 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13012 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13013 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13014 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13015 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13016 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13017 specify as optional.
13018 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13019 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13020 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13021 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13022 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13023 [XPG3] (NL_LANGMAX): Likewise.
13024 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13025 [POSIX || XPG3] (NL_NMAX): Likewise.
13026 [POSIX || XPG3] (NL_SETMAX): Likewise.
13027 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13028 [XPG3] (NZERO): Likewise.
13029 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13030 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13031 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13032 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13033 (REG_ERANGE): Expect.
13034 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13036 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13037 Use (void) in prototype.
13038 [POSIX] (*_t): Allow.
13039 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13040 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13041 (WRDE_BADVAL): Expect.
13043 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13045 [XPG3 || XPG4] (O_RSYNC): Likewise.
13046 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13048 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13049 [XPG3 || XPG4] (sigqueue): Likewise.
13050 [XPG3 || XPG4] (sigtimedwait): Likewise.
13051 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13052 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13053 [XPG3 || XPG4] (vsnprintf): Likewise.
13054 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13056 [XPG3 || XPG4] (blksize_t): Likewise.
13057 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13059 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13060 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13061 [XPG3 || XPG4] (struct itimerspec): Likewise.
13062 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13063 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13064 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13065 [XPG3 || XPG4] (clockid_t): Likewise.
13066 [XPG3 || XPG4] (timer_t): Likewise.
13067 [XPG3 || XPG4] (clock_getres): Likewise.
13068 [XPG3 || XPG4] (clock_gettime): Likewise.
13069 [XPG3 || XPG4] (clock_settime): Likewise.
13070 [XPG3 || XPG4] (nanosleep): Likewise.
13071 [XPG3 || XPG4] (timer_create): Likewise.
13072 [XPG3 || XPG4] (timer_delete): Likewise.
13073 [XPG3 || XPG4] (timer_gettime): Likewise.
13074 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13075 [XPG3 || XPG4] (timer_settime): Likewise.
13076 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13077 [XPG3 || XPG4] (getlogin_r): Likewise.
13078 [XPG3 || XPG4] (pread): Likewise.
13079 [XPG3 || XPG4] (pthread_atfork): Likewise.
13080 [XPG3 || XPG4] (pwrite): Likewise.
13083 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13086 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13088 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13089 finalizing MALLSTREAM.
13091 * sysdeps/mach/hurd/syncfs.c: New file.
13093 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13096 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13097 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13098 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13099 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13100 (_nss_dns_gethostbyname4_r): Likewise.
13101 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13102 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13104 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13107 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13109 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13111 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13112 * elf/cache.c (print_entry): Print ",AArch64" for
13115 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13116 * elf/cache.c (print_entry): Print ",hard-float" for
13119 2012-11-18 David S. Miller <davem@davemloft.net>
13121 With help from Joseph Myers.
13122 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13124 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13126 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13127 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13129 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13130 * math/libm-test.inc (y0_test): New tests.
13131 (y1_test): New tests.
13132 * sysdeps/i386/fpu/libm-test-ulps: Update.
13133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13136 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13138 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13140 * configure: Regenerated.
13142 2012-11-17 David S. Miller <davem@davemloft.net>
13145 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13146 nonzero exponents with absolute value below 0x1p-128 to +/-
13149 2012-11-17 Joseph Myers <joseph@codesourcery.com>
13151 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13153 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13155 * posix/getconf-speclist.c: New file.
13156 * posix/posix-envs.def: Likewise.
13157 * posix/confstr.c (START_ENV_GROUP): New macro.
13158 (END_ENV_GROUP): Likewise.
13159 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13160 (KNOWN_PRESENT_ENV_STRING): Likewise.
13161 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13162 (UNKNOWN_ENVIRONMENT): Likewise.
13163 (confstr): Include posix-envs.def instead of handling
13164 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13165 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13166 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13167 (END_ENV_GROUP): Likewise.
13168 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13169 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13170 (UNKNOWN_ENVIRONMENT): Likewise.
13171 (__sysconf): Include posix-envs.def instead of handling associated
13172 cases directly here.
13173 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13174 preprocessing getconf-speclist.c rather than running getconf or
13175 generating empty file.
13177 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13179 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13181 2012-11-16 Andrej Lajovic <natrij@gmail.com>
13184 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13186 2012-11-16 David S. Miller <davem@davemloft.net>
13188 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13189 smaller than LDBL_EPSILON/2.0L, just return xm1.
13191 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13193 * elf/tst-array1.c (init): Set constructor priority to 1000.
13194 (fini): Set destructor priority to 1000.
13195 * elf/tst-array2dep.c: Likewise.
13197 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13200 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13201 (_IO_new_file_xsputn): Also return EOF if none of the input
13202 data was written when overflow failed.
13203 * libio/iopadn.c (_IO_padn): Likewise.
13204 * libio/iowpadn.c (_IO_wpadn): Likewise.
13205 * stdio-common/tst-put-error.c: Add copyright notice.
13206 (do_test): Add case for printing padded string.
13207 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13208 _IO_padn returned error.
13209 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13210 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13213 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13215 * libio/libioP.h: Add comment note that the references to C++
13216 bits are now obsolete.
13218 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13220 * math/libm-test.inc (check_complex): Use asprintf.
13222 2012-11-14 Joseph Myers <joseph@codesourcery.com>
13224 * debug/pcprofiledump.c (print_version): Update copyright year.
13225 * malloc/memusagestat.c (print_version): Likewise.
13227 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13230 * elf/Makefile (tests): Add tst-audit8.
13231 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13232 ($(objpfx)tst-audit8.out): New target.
13233 (tst-audit8-ENV): New variable.
13234 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13235 audit if l_reloc_result is NULL.
13236 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13237 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13238 * elf/tst-audit8.c: New file.
13240 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13242 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13243 * misc/Makefile (CFLAGS-select.c): Define.
13244 * posix/Makefile (CFLAGS-pause.c): Define.
13246 2012-11-13 David S. Miller <davem@davemloft.net>
13248 * crypt/Makefile: Move test targets after toplevel Rules
13249 inclusion. Grab any necessary sysdep routines when linking.
13250 * crypt/md5.c (md5_process_block): Remove define, we will always
13251 name it __md5_process_block.
13252 (md5_finish_ctx): Update md5_process_block call.
13253 (md5_stream): Likewise.
13254 (md5_process_bytes): Likewise.
13255 (md5_process_block): Rename to __md5_process_block and move to ...
13256 * crypt/md5-block.c: ... here.
13257 * crypt/sha256.c (sha256_process_block): Move to ...
13258 * crypt/sha256-block.c: ... here.
13259 * crypt/sha512.c (sha512_process_block): Move to ...
13260 * crypt/sha512-block.c: ... here.
13261 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13263 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13264 * sysdeps/sparc/sparc64/multiarch/Makefile
13265 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13267 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13268 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13270 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13271 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13272 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13273 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13274 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13275 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13276 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13277 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13278 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13280 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13281 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13283 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13285 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13287 * timezone/tzselect.ksh: Update from tzcode git revision
13288 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13289 * timezone/zdump.c: Likewise.
13290 * timezone/zic.c: Likewise.
13291 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13292 in TZVERSION setting, not $(PKGVERSION).
13293 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13294 REPORT_BUGS_TO settings.
13297 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13300 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13302 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13303 detection to immediately after _FP_ROUND().
13304 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13307 2012-11-11 David S. Miller <davem@davemloft.net>
13309 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13311 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13312 __close rather than their public counterparts.
13314 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13316 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13318 [UNIX98] (sem_timedwait): Do not expect.
13319 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13320 [XPG4 || UNIX98] (sockatmark): Do not expect.
13321 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13322 (clock_getcpuclockid): Do not expect.
13323 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13324 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13326 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13327 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13328 [UNIX98] (vwscanf): Likewise.
13329 [UNIX98] (vswscanf): Likewise.
13331 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13333 * timezone/version.h: Remove file.
13334 * timezone/README: Do not refer to version.h.
13335 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13336 $(objpfx)version.h.
13337 ($(objpfx)zdump.o): Likewise.
13338 ($(objpfx)version.h): New target.
13340 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13342 * timezone/README: Don't mention modification to tzselect.ksh.
13343 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13344 work on unmodified tzselect.ksh. Substitute version numbers in
13347 * Makefile (format-me): Remove.
13348 (INSTALL): Adjust indentation. Use commands directly instead of
13349 using $(format-me).
13351 * aclocal.m4 (ACX_PKGVERSION): New macro.
13352 (ACX_BUGURL): Likewise.
13353 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13354 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13355 (REPORT_BUGS_TO): Likewise.
13356 * configure: Regenerated.
13357 * config.h.in (PKGVERSION): New macro.
13358 (REPORT_BUGS_TO): Likewise.
13359 * config.make.in (PKGVERSION): New variable.
13360 (PKGVERSION_TEXI): Likewise.
13361 (REPORT_BUGS_TO): Likewise.
13362 (REPORT_BUGS_TEXI): Likewise.
13363 * Makefile (format-me): Use -I$(common-objpfx)manual.
13364 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13365 ($(common-objpfx)manual/%): New target.
13366 (manual/%): Remove target.
13367 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13368 (print_version): Use PKGVERSION.
13369 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13370 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13371 and REPORT_BUGS_TO.
13372 ($(objpfx)xtrace): Likewise.
13373 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13374 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13375 (print_version): Use PKGVERSION.
13376 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13377 (do_version): Use PKGVERSION.
13378 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13380 (common-ldd-rewrite): Likewise.
13381 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13382 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13383 (print_version): Use PKGVERSION.
13384 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13385 * elf/pldd.c (argp_program_bug_address): Remove variable.
13386 (more_help): New function.
13387 (argp): Use more_help.
13388 (print_version): Use PKGVERSION.
13389 * elf/sln.c (main): Use PKGVERSION.
13390 (usage): Use REPORT_BUGS_TO.
13391 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13392 (top level): Use PKGVERSION.
13393 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13394 (print_version): Use PKGVERSION.
13395 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13396 (print_version): Use PKGVERSION.
13397 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13398 (print_version): Use PKGVERSION.
13399 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13400 (print_version): Use PKGVERSION.
13401 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13402 (print_version): Use PKGVERSION.
13403 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13404 (print_version): Use PKGVERSION.
13405 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13407 ($(objpfx)memusage): Likewise.
13408 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13409 (do_version): Use PKGVERSION.
13410 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13411 (print_version): Use PKGVERSION.
13412 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13413 ($PKGVERSION): New variable.
13414 ($REPORT_BUGS_TO): Likewise.
13415 (usage): Use $REPORT_BUGS_TO.
13416 (top level): Use $PKGVERSION.
13417 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13418 ($(objpfx)pkgvers.texi): New rule.
13419 ($(objpfx)stamp-pkgvers): Likewise.
13420 * manual/install.texi: Include pkgvers.texi.
13421 (--with-pkgversion): Document new configure option.
13422 (--with-bugurl): Likewise.
13423 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13424 than necessarily for this particular distribution. Use
13425 REPORT_BUGS_TO for where to report bugs.
13426 * INSTALL: Regenerated.
13427 * manual/libc.texinfo: Include pkgvers.texi.
13428 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13429 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13430 (print_version): Use PKGVERSION.
13431 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13432 (print_version): Use PKGVERSION.
13433 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13434 (print_version): Use PKGVERSION.
13435 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13436 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13438 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13439 (print_version): Use PKGVERSION.
13440 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13441 (print_version): Use PKGVERSION.
13442 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13445 * timezone/checktab.awk: Update from tzcode 2012i.
13446 * timezone/ialloc.c: Likewise.
13447 * timezone/private.h: Likewise.
13448 * timezone/scheck.c: Likewise.
13449 * timezone/tzfile.h: Likewise.
13450 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13451 (TZVERSION): Hardcode tzcode version number.
13452 * timezone/zdump.c: Update from tzcode 2012i.
13453 * timezone/zic.c: Likewise.
13454 * timezone/version.h: New file.
13455 * timezone/README: Describe version.h. Update upstream location.
13458 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13459 (mktemp): Enable declaration.
13460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13461 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13462 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13463 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13465 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13467 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13469 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13471 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13473 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13477 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13478 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13479 for copies of such integer values.
13480 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13481 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13483 2012-11-09 Andreas Jaeger <aj@suse.de>
13485 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13486 definitions and declarations that are provided by
13487 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13489 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13491 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13492 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13493 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13496 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13498 * elf/elf.h: Update comment before AArch64 relocations.
13500 2012-11-07 David S. Miller <davem@davemloft.net>
13502 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13503 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13504 (__start_context): Declare.
13505 (__makecontext_ret): Delete.
13506 (__makecontext): Hook up __start_context instead of
13508 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13509 (sysdep_routines): Add __start_context when in stdlib.
13511 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13513 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13514 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13515 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13517 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13518 (READELF): New variable. Use it instead of hardcoded "readelf".
13520 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13522 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13523 * sysdeps/x86/Makefile: Here.
13524 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13525 * sysdeps/x86/tst-xmmymm.sh: This.
13527 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13529 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13531 [UNIX98] (pthread_barrier_t): Do not expect.
13532 [UNIX98] (pthread_barrierattr_t): Likewise.
13533 [UNIX98] (pthread_spinlock_t): Likewise.
13534 [UNIX98] (pthread_barrier_destroy): Likewise.
13535 [UNIX98] (pthread_barrier_init): Likewise.
13536 [UNIX98] (pthread_barrier_wait): Likewise.
13537 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13538 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13539 [UNIX98] (pthread_barrierattr_init): Likewise.
13540 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13541 [UNIX98] (pthread_getcpuclockid): Likewise.
13542 [UNIX98] (pthread_mutex_timedlock): Likewise.
13543 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13544 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13545 [UNIX98] (pthread_sigmask): Likewise.
13546 [UNIX98] (pthread_spin_destroy): Likewise.
13547 [UNIX98] (pthread_spin_init): Likewise.
13548 [UNIX98] (pthread_spin_lock): Likewise.
13549 [UNIX98] (pthread_spin_trylock): Likewise.
13550 [UNIX98] (pthread_spin_unlock): Likewise.
13551 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13553 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13554 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13555 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13556 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13557 [XPG3 || XPG4] (pthread_key_t): Likewise.
13558 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13559 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13560 [XPG3 || XPG4] (pthread_once_t): Likewise.
13561 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13562 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13563 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13564 [XPG3 || XPG4] (pthread_t): Likewise.
13566 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13568 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13570 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13571 Change function return type to int.
13573 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13574 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13575 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13576 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13577 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13578 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13579 [!POSIX] (posix_madvise): Likewise.
13580 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13582 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13583 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13584 (mode_t): Likewise.
13585 (posix_mem_offset): Likewise.
13586 (posix_typed_mem_get_info): Likewise.
13587 (posix_typed_mem_open): Likewise.
13589 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13590 Change condition to [XOPEN2K8].
13592 * conform/conformtest.pl: Preprocess allow-header data with -x c
13593 instead of from stdin.
13594 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13595 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13596 [C99-based standards] (cerfc): Likewise.
13597 [C99-based standards] (cexp2): Likewise.
13598 [C99-based standards] (cexpm1): Likewise.
13599 [C99-based standards] (clog10): Likewise.
13600 [C99-based standards] (clog1p): Likewise.
13601 [C99-based standards] (clog2): Likewise.
13602 [C99-based standards] (clgamma): Likewise.
13603 [C99-based standards] (ctgamma): Likewise.
13604 [C99-based standards] (cerff): Likewise.
13605 [C99-based standards] (cerfcf): Likewise.
13606 [C99-based standards] (cexp2f): Likewise.
13607 [C99-based standards] (cexpm1f): Likewise.
13608 [C99-based standards] (clog10f): Likewise.
13609 [C99-based standards] (clog1pf): Likewise.
13610 [C99-based standards] (clog2f): Likewise.
13611 [C99-based standards] (clgammaf): Likewise.
13612 [C99-based standards] (ctgammaf): Likewise.
13613 [C99-based standards] (cerfl): Likewise.
13614 [C99-based standards] (cerfcl): Likewise.
13615 [C99-based standards] (cexp2l): Likewise.
13616 [C99-based standards] (cexpm1l): Likewise.
13617 [C99-based standards] (clog10l): Likewise.
13618 [C99-based standards] (clog1pl): Likewise.
13619 [C99-based standards] (clog2l): Likewise.
13620 [C99-based standards] (clgammal): Likewise.
13621 [C99-based standards] (ctgammal): Likewise.
13622 * conform/data/inttypes.h-data [C99-based standards]: Include
13623 stdint.h-data. Remove all expectations for stdint.h contents.
13624 [C99-based standards] (PRI*): Do not allow.
13625 [C99-based standards] (SCN*): Likewise.
13626 [C99-based standards] (*_t): Likewise.
13627 [C99-based-standards] (PRId8): Expect macro.
13628 [C99-based-standards] (PRIi8): Likewise.
13629 [C99-based-standards] (PRIo8): Likewise.
13630 [C99-based-standards] (PRIu8): Likewise.
13631 [C99-based-standards] (PRIx8): Likewise.
13632 [C99-based-standards] (PRIX8): Likewise.
13633 [C99-based-standards] (SCNd8): Likewise.
13634 [C99-based-standards] (SCNi8): Likewise.
13635 [C99-based-standards] (SCNo8): Likewise.
13636 [C99-based-standards] (SCNu8): Likewise.
13637 [C99-based-standards] (SCNx8): Likewise.
13638 [C99-based-standards] (PRIdLEAST8): Likewise.
13639 [C99-based-standards] (PRIiLEAST8): Likewise.
13640 [C99-based-standards] (PRIoLEAST8): Likewise.
13641 [C99-based-standards] (PRIuLEAST8): Likewise.
13642 [C99-based-standards] (PRIxLEAST8): Likewise.
13643 [C99-based-standards] (PRIXLEAST8): Likewise.
13644 [C99-based-standards] (SCNdLEAST8): Likewise.
13645 [C99-based-standards] (SCNiLEAST8): Likewise.
13646 [C99-based-standards] (SCNoLEAST8): Likewise.
13647 [C99-based-standards] (SCNuLEAST8): Likewise.
13648 [C99-based-standards] (SCNxLEAST8): Likewise.
13649 [C99-based-standards] (PRIdFAST8): Likewise.
13650 [C99-based-standards] (PRIiFAST8): Likewise.
13651 [C99-based-standards] (PRIoFAST8): Likewise.
13652 [C99-based-standards] (PRIuFAST8): Likewise.
13653 [C99-based-standards] (PRIxFAST8): Likewise.
13654 [C99-based-standards] (PRIXFAST8): Likewise.
13655 [C99-based-standards] (SCNdFAST8): Likewise.
13656 [C99-based-standards] (SCNiFAST8): Likewise.
13657 [C99-based-standards] (SCNoFAST8): Likewise.
13658 [C99-based-standards] (SCNuFAST8): Likewise.
13659 [C99-based-standards] (SCNxFAST8): Likewise.
13660 [C99-based-standards] (PRId16): Likewise.
13661 [C99-based-standards] (PRIi16): Likewise.
13662 [C99-based-standards] (PRIo16): Likewise.
13663 [C99-based-standards] (PRIu16): Likewise.
13664 [C99-based-standards] (PRIx16): Likewise.
13665 [C99-based-standards] (PRIX16): Likewise.
13666 [C99-based-standards] (SCNd16): Likewise.
13667 [C99-based-standards] (SCNi16): Likewise.
13668 [C99-based-standards] (SCNo16): Likewise.
13669 [C99-based-standards] (SCNu16): Likewise.
13670 [C99-based-standards] (SCNx16): Likewise.
13671 [C99-based-standards] (PRIdLEAST16): Likewise.
13672 [C99-based-standards] (PRIiLEAST16): Likewise.
13673 [C99-based-standards] (PRIoLEAST16): Likewise.
13674 [C99-based-standards] (PRIuLEAST16): Likewise.
13675 [C99-based-standards] (PRIxLEAST16): Likewise.
13676 [C99-based-standards] (PRIXLEAST16): Likewise.
13677 [C99-based-standards] (SCNdLEAST16): Likewise.
13678 [C99-based-standards] (SCNiLEAST16): Likewise.
13679 [C99-based-standards] (SCNoLEAST16): Likewise.
13680 [C99-based-standards] (SCNuLEAST16): Likewise.
13681 [C99-based-standards] (SCNxLEAST16): Likewise.
13682 [C99-based-standards] (PRIdFAST16): Likewise.
13683 [C99-based-standards] (PRIiFAST16): Likewise.
13684 [C99-based-standards] (PRIoFAST16): Likewise.
13685 [C99-based-standards] (PRIuFAST16): Likewise.
13686 [C99-based-standards] (PRIxFAST16): Likewise.
13687 [C99-based-standards] (PRIXFAST16): Likewise.
13688 [C99-based-standards] (SCNdFAST16): Likewise.
13689 [C99-based-standards] (SCNiFAST16): Likewise.
13690 [C99-based-standards] (SCNoFAST16): Likewise.
13691 [C99-based-standards] (SCNuFAST16): Likewise.
13692 [C99-based-standards] (SCNxFAST16): Likewise.
13693 [C99-based-standards] (PRId32): Likewise.
13694 [C99-based-standards] (PRIi32): Likewise.
13695 [C99-based-standards] (PRIo32): Likewise.
13696 [C99-based-standards] (PRIu32): Likewise.
13697 [C99-based-standards] (PRIx32): Likewise.
13698 [C99-based-standards] (PRIX32): Likewise.
13699 [C99-based-standards] (SCNd32): Likewise.
13700 [C99-based-standards] (SCNi32): Likewise.
13701 [C99-based-standards] (SCNo32): Likewise.
13702 [C99-based-standards] (SCNu32): Likewise.
13703 [C99-based-standards] (SCNx32): Likewise.
13704 [C99-based-standards] (PRIdLEAST32): Likewise.
13705 [C99-based-standards] (PRIiLEAST32): Likewise.
13706 [C99-based-standards] (PRIoLEAST32): Likewise.
13707 [C99-based-standards] (PRIuLEAST32): Likewise.
13708 [C99-based-standards] (PRIxLEAST32): Likewise.
13709 [C99-based-standards] (PRIXLEAST32): Likewise.
13710 [C99-based-standards] (SCNdLEAST32): Likewise.
13711 [C99-based-standards] (SCNiLEAST32): Likewise.
13712 [C99-based-standards] (SCNoLEAST32): Likewise.
13713 [C99-based-standards] (SCNuLEAST32): Likewise.
13714 [C99-based-standards] (SCNxLEAST32): Likewise.
13715 [C99-based-standards] (PRIdFAST32): Likewise.
13716 [C99-based-standards] (PRIiFAST32): Likewise.
13717 [C99-based-standards] (PRIoFAST32): Likewise.
13718 [C99-based-standards] (PRIuFAST32): Likewise.
13719 [C99-based-standards] (PRIxFAST32): Likewise.
13720 [C99-based-standards] (PRIXFAST32): Likewise.
13721 [C99-based-standards] (SCNdFAST32): Likewise.
13722 [C99-based-standards] (SCNiFAST32): Likewise.
13723 [C99-based-standards] (SCNoFAST32): Likewise.
13724 [C99-based-standards] (SCNuFAST32): Likewise.
13725 [C99-based-standards] (SCNxFAST32): Likewise.
13726 [C99-based-standards] (PRId64): Likewise.
13727 [C99-based-standards] (PRIi64): Likewise.
13728 [C99-based-standards] (PRIo64): Likewise.
13729 [C99-based-standards] (PRIu64): Likewise.
13730 [C99-based-standards] (PRIx64): Likewise.
13731 [C99-based-standards] (PRIX64): Likewise.
13732 [C99-based-standards] (SCNd64): Likewise.
13733 [C99-based-standards] (SCNi64): Likewise.
13734 [C99-based-standards] (SCNo64): Likewise.
13735 [C99-based-standards] (SCNu64): Likewise.
13736 [C99-based-standards] (SCNx64): Likewise.
13737 [C99-based-standards] (PRIdLEAST64): Likewise.
13738 [C99-based-standards] (PRIiLEAST64): Likewise.
13739 [C99-based-standards] (PRIoLEAST64): Likewise.
13740 [C99-based-standards] (PRIuLEAST64): Likewise.
13741 [C99-based-standards] (PRIxLEAST64): Likewise.
13742 [C99-based-standards] (PRIXLEAST64): Likewise.
13743 [C99-based-standards] (SCNdLEAST64): Likewise.
13744 [C99-based-standards] (SCNiLEAST64): Likewise.
13745 [C99-based-standards] (SCNoLEAST64): Likewise.
13746 [C99-based-standards] (SCNuLEAST64): Likewise.
13747 [C99-based-standards] (SCNxLEAST64): Likewise.
13748 [C99-based-standards] (PRIdFAST64): Likewise.
13749 [C99-based-standards] (PRIiFAST64): Likewise.
13750 [C99-based-standards] (PRIoFAST64): Likewise.
13751 [C99-based-standards] (PRIuFAST64): Likewise.
13752 [C99-based-standards] (PRIxFAST64): Likewise.
13753 [C99-based-standards] (PRIXFAST64): Likewise.
13754 [C99-based-standards] (SCNdFAST64): Likewise.
13755 [C99-based-standards] (SCNiFAST64): Likewise.
13756 [C99-based-standards] (SCNoFAST64): Likewise.
13757 [C99-based-standards] (SCNuFAST64): Likewise.
13758 [C99-based-standards] (SCNxFAST64): Likewise.
13759 [C99-based-standards] (PRIdMAX): Likewise.
13760 [C99-based-standards] (PRIiMAX): Likewise.
13761 [C99-based-standards] (PRIoMAX): Likewise.
13762 [C99-based-standards] (PRIuMAX): Likewise.
13763 [C99-based-standards] (PRIxMAX): Likewise.
13764 [C99-based-standards] (PRIXMAX): Likewise.
13765 [C99-based-standards] (SCNdMAX): Likewise.
13766 [C99-based-standards] (SCNiMAX): Likewise.
13767 [C99-based-standards] (SCNoMAX): Likewise.
13768 [C99-based-standards] (SCNuMAX): Likewise.
13769 [C99-based-standards] (SCNxMAX): Likewise.
13770 [C99-based-standards] (PRIdPTR): Likewise.
13771 [C99-based-standards] (PRIiPTR): Likewise.
13772 [C99-based-standards] (PRIoPTR): Likewise.
13773 [C99-based-standards] (PRIuPTR): Likewise.
13774 [C99-based-standards] (PRIxPTR): Likewise.
13775 [C99-based-standards] (PRIXPTR): Likewise.
13776 [C99-based-standards] (SCNdPTR): Likewise.
13777 [C99-based-standards] (SCNiPTR): Likewise.
13778 [C99-based-standards] (SCNoPTR): Likewise.
13779 [C99-based-standards] (SCNuPTR): Likewise.
13780 [C99-based-standards] (SCNxPTR): Likewise.
13781 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13783 * conform/data/stdint.h-data: Update comments to clarify
13785 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13787 [C99-based standards] (INT8_MAX): Likewise.
13788 [C99-based standards] (INT16_MIN): Likewise.
13789 [C99-based standards] (INT16_MAX): Likewise.
13790 [C99-based standards] (INT32_MIN): Likewise.
13791 [C99-based standards] (INT32_MAX): Likewise.
13792 [C99-based standards] (INT64_MIN): Likewise.
13793 [C99-based standards] (INT64_MAX): Likewise.
13794 [C99-based standards] (UINT8_MAX): Likewise.
13795 [C99-based standards] (UINT16_MAX): Likewise.
13796 [C99-based standards] (UINT32_MAX): Likewise.
13797 [C99-based standards] (UINT64_MAX): Likewise.
13798 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13799 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13800 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13801 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13802 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13803 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13804 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13805 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13806 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13807 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13808 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13809 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13810 [C99-based standards] (INT_FAST8_MIN): Likewise.
13811 [C99-based standards] (INT_FAST8_MAX): Likewise.
13812 [C99-based standards] (INT_FAST16_MIN): Likewise.
13813 [C99-based standards] (INT_FAST16_MAX): Likewise.
13814 [C99-based standards] (INT_FAST32_MIN): Likewise.
13815 [C99-based standards] (INT_FAST32_MAX): Likewise.
13816 [C99-based standards] (INT_FAST64_MIN): Likewise.
13817 [C99-based standards] (INT_FAST64_MAX): Likewise.
13818 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13819 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13820 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13821 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13822 [C99-based standards] (INTPTR_MIN): Likewise.
13823 [C99-based standards] (INTPTR_MAX): Likewise.
13824 [C99-based standards] (UINTPTR_MAX): Likewise.
13825 [C99-based standards] (INTMAX_MIN): Likewise.
13826 [C99-based standards] (INTMAX_MAX): Likewise.
13827 [C99-based standards] (UINTMAX_MAX): Likewise.
13828 [C99-based standards] (PTRDIFF_MIN): Likewise.
13829 [C99-based standards] (PTRDIFF_MAX): Likewise.
13830 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13831 [C99-based standards] (SIZE_MAX): Likewise.
13832 [C99-based standards] (WCHAR_MAX): Likewise.
13833 [C99-based standards] (WINT_MAX): Likewise.
13834 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13835 constraint on value.
13836 [C99-based standards] (WCHAR_MIN): Likewise.
13837 [C99-based standards] (WINT_MIN): Likewise.
13838 [C99-based standards] (*_t): Allow.
13839 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13840 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13841 Include math.h-data and complex.h-data. Remove all expectations
13842 of math.h and complex.h contents.
13843 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13845 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13846 (struct tm): Expect tag.
13847 [C99-based-standards] (wcstof): Expect function.
13848 [C99-based-standards] (wcstold): Likewise.
13849 [C99-based-standards] (wcstoll): Likewise.
13850 [C99-based-standards] (wcstoull): Likewise.
13851 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13852 macro-int-constant. Specify type.
13853 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13854 constraint on value.
13855 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13857 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13859 [ISO C standards]: Do not allow headers.
13860 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13861 wcs[abcdefghijklmnopqrstuvwxyz]*.
13862 [ISO C standards] (*_t): Do not allow.
13863 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13865 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13866 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13868 [ISO C standards]: Do not allow headers.
13869 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13870 is[abcdefghijklmnopqrstuvwxyz]*.
13871 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13872 to[abcdefghijklmnopqrstuvwxyz]*.
13873 [ISO C standards] (*_t): Do not allow.
13874 * conform/data/stdalign.h-data: New file.
13875 * conform/data/stdbool.h-data: Likewise.
13876 * conform/data/stdnoreturn.h-data: Likewise.
13878 2012-11-07 Roland McGrath <roland@hack.frob.com>
13881 * manual/filesys.texi (Directory Entries): Typo fix.
13882 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13884 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13886 * elf/elf.h (EM_AARCH64): New macro.
13887 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13888 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13889 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13890 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13891 (R_AARCH64_TLSDESC): Likewise.
13892 (NT_ARM_TLS): Likewise.
13893 (NT_ARM_HW_BREAK): Likewise.
13894 (NT_ARM_HW_WATCH): Likewise.
13896 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13899 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13900 (__ieee754_powl): Saturate nonzero exponents with absolute value
13901 below 0x1p-79 to +/- 0x1p-79.
13902 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13903 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13904 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13905 nonzero exponents with absolute value below 0x1p-32 to +/-
13907 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13908 (__ieee754_powl): Saturate nonzero exponents with absolute value
13909 below 0x1p-79 to +/- 0x1p-79.
13910 * math/libm-test.inc (pow_test): Add more tests.
13912 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13914 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13915 _dl_s390_cap_flags with kernel. Increase string length.
13916 (_dl_s390_platforms): Add z196 and zEC12.
13918 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13920 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13921 Change XOPEN21K to XOPEN2K.
13923 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13925 * string/memmove.c: Use memcpy when possible.
13927 2012-11-06 Andreas Jaeger <aj@suse.de>
13929 * po/eo.po: Update from translation team.
13931 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13935 exponent and small x and y exponents, scale x or y up. Increase
13936 by 2 the exponent used in scaling up.
13937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13938 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13939 * math/libm-test.inc (fma_test): Add more tests.
13940 (fma_test_towardzero): Likewise.
13941 (fma_test_downward): Likewise.
13942 (fma_test_upward): Likewise.
13944 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13947 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13951 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13952 namespace for names of struct fields.
13953 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13955 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13956 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13958 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13961 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13963 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13965 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13969 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13972 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13976 definitely overflow as x * y not x * y + z.
13977 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13978 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13979 * math/libm-test.inc (fma_test): Add more tests.
13980 (fma_test_towardzero): Likewise.
13981 (fma_test_downward): Likewise.
13982 (fma_test_upward): Likewise.
13984 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13988 * include/stub-tag.h: Remove file.
13989 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13991 * manual/maint.texi (Porting): Don't reference it.
13992 * Makerules ($(objpfx)stubs): Likewise.
13993 * dirent/closedir.c: Don't include <stub-tag.h>.
13994 * dirent/dirfd.c: Likewise.
13995 * dirent/fdopendir.c: Likewise.
13996 * dirent/getdents.c: Likewise.
13997 * dirent/getdents64.c: Likewise.
13998 * dirent/opendir.c: Likewise.
13999 * dirent/readdir.c: Likewise.
14000 * dirent/readdir64.c: Likewise.
14001 * dirent/readdir64_r.c: Likewise.
14002 * dirent/readdir_r.c: Likewise.
14003 * dirent/rewinddir.c: Likewise.
14004 * dirent/seekdir.c: Likewise.
14005 * dirent/telldir.c: Likewise.
14006 * gmon/profil.c: Likewise.
14007 * grp/setgroups.c: Likewise.
14008 * inet/if_index.c: Likewise.
14009 * io/access.c: Likewise.
14010 * io/chdir.c: Likewise.
14011 * io/chmod.c: Likewise.
14012 * io/chown.c: Likewise.
14013 * io/close.c: Likewise.
14014 * io/dup.c: Likewise.
14015 * io/dup2.c: Likewise.
14016 * io/dup3.c: Likewise.
14017 * io/euidaccess.c: Likewise.
14018 * io/faccessat.c: Likewise.
14019 * io/fchdir.c: Likewise.
14020 * io/fchmod.c: Likewise.
14021 * io/fchmodat.c: Likewise.
14022 * io/fchown.c: Likewise.
14023 * io/fchownat.c: Likewise.
14024 * io/fcntl.c: Likewise.
14025 * io/flock.c: Likewise.
14026 * io/fstatfs.c: Likewise.
14027 * io/fstatfs64.c: Likewise.
14028 * io/fstatvfs.c: Likewise.
14029 * io/fstatvfs64.c: Likewise.
14030 * io/futimens.c: Likewise.
14031 * io/fxstat.c: Likewise.
14032 * io/fxstat64.c: Likewise.
14033 * io/fxstatat.c: Likewise.
14034 * io/fxstatat64.c: Likewise.
14035 * io/getcwd.c: Likewise.
14036 * io/isatty.c: Likewise.
14037 * io/lchmod.c: Likewise.
14038 * io/lchown.c: Likewise.
14039 * io/link.c: Likewise.
14040 * io/linkat.c: Likewise.
14041 * io/lseek.c: Likewise.
14042 * io/lseek64.c: Likewise.
14043 * io/lxstat64.c: Likewise.
14044 * io/mkdir.c: Likewise.
14045 * io/mkdirat.c: Likewise.
14046 * io/mkfifo.c: Likewise.
14047 * io/mkfifoat.c: Likewise.
14048 * io/open.c: Likewise.
14049 * io/open64.c: Likewise.
14050 * io/openat.c: Likewise.
14051 * io/openat64.c: Likewise.
14052 * io/pipe.c: Likewise.
14053 * io/pipe2.c: Likewise.
14054 * io/poll.c: Likewise.
14055 * io/posix_fadvise.c: Likewise.
14056 * io/posix_fadvise64.c: Likewise.
14057 * io/posix_fallocate.c: Likewise.
14058 * io/posix_fallocate64.c: Likewise.
14059 * io/read.c: Likewise.
14060 * io/readlink.c: Likewise.
14061 * io/readlinkat.c: Likewise.
14062 * io/rmdir.c: Likewise.
14063 * io/sendfile.c: Likewise.
14064 * io/sendfile64.c: Likewise.
14065 * io/statfs.c: Likewise.
14066 * io/statfs64.c: Likewise.
14067 * io/statvfs.c: Likewise.
14068 * io/statvfs64.c: Likewise.
14069 * io/symlink.c: Likewise.
14070 * io/symlinkat.c: Likewise.
14071 * io/ttyname.c: Likewise.
14072 * io/ttyname_r.c: Likewise.
14073 * io/umask.c: Likewise.
14074 * io/unlink.c: Likewise.
14075 * io/unlinkat.c: Likewise.
14076 * io/utime.c: Likewise.
14077 * io/utimensat.c: Likewise.
14078 * io/write.c: Likewise.
14079 * io/xmknod.c: Likewise.
14080 * io/xmknodat.c: Likewise.
14081 * io/xstat.c: Likewise.
14082 * io/xstat64.c: Likewise.
14083 * login/getpt.c: Likewise.
14084 * login/grantpt.c: Likewise.
14085 * login/unlockpt.c: Likewise.
14086 * math/e_acoshl.c: Likewise.
14087 * math/e_acosl.c: Likewise.
14088 * math/e_asinl.c: Likewise.
14089 * math/e_atan2l.c: Likewise.
14090 * math/e_atanhl.c: Likewise.
14091 * math/e_coshl.c: Likewise.
14092 * math/e_expl.c: Likewise.
14093 * math/e_fmodl.c: Likewise.
14094 * math/e_gammal_r.c: Likewise.
14095 * math/e_hypotl.c: Likewise.
14096 * math/e_j0l.c: Likewise.
14097 * math/e_j1l.c: Likewise.
14098 * math/e_jnl.c: Likewise.
14099 * math/e_lgammal_r.c: Likewise.
14100 * math/e_log10l.c: Likewise.
14101 * math/e_log2l.c: Likewise.
14102 * math/e_logl.c: Likewise.
14103 * math/e_powl.c: Likewise.
14104 * math/e_rem_pio2l.c: Likewise.
14105 * math/e_sinhl.c: Likewise.
14106 * math/e_sqrtl.c: Likewise.
14107 * math/fclrexcpt.c: Likewise.
14108 * math/fedisblxcpt.c: Likewise.
14109 * math/feenablxcpt.c: Likewise.
14110 * math/fegetenv.c: Likewise.
14111 * math/fegetexcept.c: Likewise.
14112 * math/fegetround.c: Likewise.
14113 * math/feholdexcpt.c: Likewise.
14114 * math/fesetenv.c: Likewise.
14115 * math/fesetround.c: Likewise.
14116 * math/feupdateenv.c: Likewise.
14117 * math/fgetexcptflg.c: Likewise.
14118 * math/fraiseexcpt.c: Likewise.
14119 * math/fsetexcptflg.c: Likewise.
14120 * math/ftestexcept.c: Likewise.
14121 * math/k_cosl.c: Likewise.
14122 * math/k_rem_pio2l.c: Likewise.
14123 * math/k_sinl.c: Likewise.
14124 * math/k_tanl.c: Likewise.
14125 * math/s_asinhl.c: Likewise.
14126 * math/s_atanl.c: Likewise.
14127 * math/s_cbrtl.c: Likewise.
14128 * math/s_erfl.c: Likewise.
14129 * math/s_expm1l.c: Likewise.
14130 * math/s_log1pl.c: Likewise.
14131 * math/s_tanhl.c: Likewise.
14132 * misc/acct.c: Likewise.
14133 * misc/brk.c: Likewise.
14134 * misc/chflags.c: Likewise.
14135 * misc/chroot.c: Likewise.
14136 * misc/fchflags.c: Likewise.
14137 * misc/fgetxattr.c: Likewise.
14138 * misc/flistxattr.c: Likewise.
14139 * misc/fremovexattr.c: Likewise.
14140 * misc/fsetxattr.c: Likewise.
14141 * misc/fsync.c: Likewise.
14142 * misc/ftruncate.c: Likewise.
14143 * misc/futimes.c: Likewise.
14144 * misc/futimesat.c: Likewise.
14145 * misc/getdomain.c: Likewise.
14146 * misc/getdtsz.c: Likewise.
14147 * misc/gethostid.c: Likewise.
14148 * misc/gethostname.c: Likewise.
14149 * misc/getloadavg.c: Likewise.
14150 * misc/getpagesize.c: Likewise.
14151 * misc/getsysstats.c: Likewise.
14152 * misc/getxattr.c: Likewise.
14153 * misc/gtty.c: Likewise.
14154 * misc/ioctl.c: Likewise.
14155 * misc/lgetxattr.c: Likewise.
14156 * misc/listxattr.c: Likewise.
14157 * misc/llistxattr.c: Likewise.
14158 * misc/lremovexattr.c: Likewise.
14159 * misc/lsetxattr.c: Likewise.
14160 * misc/lutimes.c: Likewise.
14161 * misc/madvise.c: Likewise.
14162 * misc/mincore.c: Likewise.
14163 * misc/mlock.c: Likewise.
14164 * misc/mlockall.c: Likewise.
14165 * misc/mmap.c: Likewise.
14166 * misc/mprotect.c: Likewise.
14167 * misc/msync.c: Likewise.
14168 * misc/munlock.c: Likewise.
14169 * misc/munlockall.c: Likewise.
14170 * misc/munmap.c: Likewise.
14171 * misc/preadv.c: Likewise.
14172 * misc/preadv64.c: Likewise.
14173 * misc/ptrace.c: Likewise.
14174 * misc/pwritev.c: Likewise.
14175 * misc/pwritev64.c: Likewise.
14176 * misc/readv.c: Likewise.
14177 * misc/reboot.c: Likewise.
14178 * misc/remap_file_pages.c: Likewise.
14179 * misc/removexattr.c: Likewise.
14180 * misc/revoke.c: Likewise.
14181 * misc/select.c: Likewise.
14182 * misc/setdomain.c: Likewise.
14183 * misc/setegid.c: Likewise.
14184 * misc/seteuid.c: Likewise.
14185 * misc/sethostid.c: Likewise.
14186 * misc/sethostname.c: Likewise.
14187 * misc/setregid.c: Likewise.
14188 * misc/setreuid.c: Likewise.
14189 * misc/setxattr.c: Likewise.
14190 * misc/sstk.c: Likewise.
14191 * misc/stty.c: Likewise.
14192 * misc/swapoff.c: Likewise.
14193 * misc/swapon.c: Likewise.
14194 * misc/sync.c: Likewise.
14195 * misc/syncfs.c: Likewise.
14196 * misc/syscall.c: Likewise.
14197 * misc/truncate.c: Likewise.
14198 * misc/ualarm.c: Likewise.
14199 * misc/usleep.c: Likewise.
14200 * misc/ustat.c: Likewise.
14201 * misc/utimes.c: Likewise.
14202 * misc/vhangup.c: Likewise.
14203 * misc/writev.c: Likewise.
14204 * posix/_exit.c: Likewise.
14205 * posix/alarm.c: Likewise.
14206 * posix/execve.c: Likewise.
14207 * posix/fexecve.c: Likewise.
14208 * posix/fork.c: Likewise.
14209 * posix/fpathconf.c: Likewise.
14210 * posix/getaddrinfo.c: Likewise.
14211 * posix/getegid.c: Likewise.
14212 * posix/geteuid.c: Likewise.
14213 * posix/getgid.c: Likewise.
14214 * posix/getgroups.c: Likewise.
14215 * posix/getlogin.c: Likewise.
14216 * posix/getlogin_r.c: Likewise.
14217 * posix/getpgid.c: Likewise.
14218 * posix/getpid.c: Likewise.
14219 * posix/getppid.c: Likewise.
14220 * posix/getresgid.c: Likewise.
14221 * posix/getresuid.c: Likewise.
14222 * posix/getsid.c: Likewise.
14223 * posix/getuid.c: Likewise.
14224 * posix/glob64.c: Likewise.
14225 * posix/nanosleep.c: Likewise.
14226 * posix/pathconf.c: Likewise.
14227 * posix/pause.c: Likewise.
14228 * posix/posix_madvise.c: Likewise.
14229 * posix/pread.c: Likewise.
14230 * posix/pread64.c: Likewise.
14231 * posix/pwrite.c: Likewise.
14232 * posix/pwrite64.c: Likewise.
14233 * posix/sched_getaffinity.c: Likewise.
14234 * posix/sched_getp.c: Likewise.
14235 * posix/sched_gets.c: Likewise.
14236 * posix/sched_primax.c: Likewise.
14237 * posix/sched_primin.c: Likewise.
14238 * posix/sched_rr_gi.c: Likewise.
14239 * posix/sched_setaffinity.c: Likewise.
14240 * posix/sched_setp.c: Likewise.
14241 * posix/sched_sets.c: Likewise.
14242 * posix/sched_yield.c: Likewise.
14243 * posix/setgid.c: Likewise.
14244 * posix/setlogin.c: Likewise.
14245 * posix/setpgid.c: Likewise.
14246 * posix/setresgid.c: Likewise.
14247 * posix/setresuid.c: Likewise.
14248 * posix/setsid.c: Likewise.
14249 * posix/setuid.c: Likewise.
14250 * posix/sleep.c: Likewise.
14251 * posix/spawni.c: Likewise.
14252 * posix/sysconf.c: Likewise.
14253 * posix/times.c: Likewise.
14254 * posix/wait.c: Likewise.
14255 * posix/wait3.c: Likewise.
14256 * posix/wait4.c: Likewise.
14257 * posix/waitpid.c: Likewise.
14258 * resolv/gai_sigqueue.c: Likewise.
14259 * resource/getpriority.c: Likewise.
14260 * resource/getrlimit.c: Likewise.
14261 * resource/getrusage.c: Likewise.
14262 * resource/nice.c: Likewise.
14263 * resource/setpriority.c: Likewise.
14264 * resource/setrlimit.c: Likewise.
14265 * resource/ulimit.c: Likewise.
14266 * rt/aio_cancel.c: Likewise.
14267 * rt/aio_fsync.c: Likewise.
14268 * rt/aio_read.c: Likewise.
14269 * rt/aio_sigqueue.c: Likewise.
14270 * rt/aio_suspend.c: Likewise.
14271 * rt/aio_write.c: Likewise.
14272 * rt/clock_getres.c: Likewise.
14273 * rt/clock_gettime.c: Likewise.
14274 * rt/clock_nanosleep.c: Likewise.
14275 * rt/clock_settime.c: Likewise.
14276 * rt/lio_listio.c: Likewise.
14277 * rt/mq_close.c: Likewise.
14278 * rt/mq_getattr.c: Likewise.
14279 * rt/mq_notify.c: Likewise.
14280 * rt/mq_open.c: Likewise.
14281 * rt/mq_receive.c: Likewise.
14282 * rt/mq_send.c: Likewise.
14283 * rt/mq_setattr.c: Likewise.
14284 * rt/mq_timedreceive.c: Likewise.
14285 * rt/mq_timedsend.c: Likewise.
14286 * rt/mq_unlink.c: Likewise.
14287 * rt/shm_open.c: Likewise.
14288 * rt/shm_unlink.c: Likewise.
14289 * rt/timer_create.c: Likewise.
14290 * rt/timer_delete.c: Likewise.
14291 * rt/timer_getoverr.c: Likewise.
14292 * rt/timer_gettime.c: Likewise.
14293 * rt/timer_settime.c: Likewise.
14294 * setjmp/__longjmp.c: Likewise.
14295 * setjmp/setjmp.c: Likewise.
14296 * signal/kill.c: Likewise.
14297 * signal/killpg.c: Likewise.
14298 * signal/raise.c: Likewise.
14299 * signal/sigaction.c: Likewise.
14300 * signal/sigaltstack.c: Likewise.
14301 * signal/sigblock.c: Likewise.
14302 * signal/sigignore.c: Likewise.
14303 * signal/sigintr.c: Likewise.
14304 * signal/signal.c: Likewise.
14305 * signal/sigpause.c: Likewise.
14306 * signal/sigpending.c: Likewise.
14307 * signal/sigqueue.c: Likewise.
14308 * signal/sigreturn.c: Likewise.
14309 * signal/sigset.c: Likewise.
14310 * signal/sigsetmask.c: Likewise.
14311 * signal/sigstack.c: Likewise.
14312 * signal/sigsuspend.c: Likewise.
14313 * signal/sigtimedwait.c: Likewise.
14314 * signal/sigvec.c: Likewise.
14315 * signal/sigwait.c: Likewise.
14316 * signal/sigwaitinfo.c: Likewise.
14317 * signal/sysv_signal.c: Likewise.
14318 * socket/accept.c: Likewise.
14319 * socket/accept4.c: Likewise.
14320 * socket/bind.c: Likewise.
14321 * socket/connect.c: Likewise.
14322 * socket/getpeername.c: Likewise.
14323 * socket/getsockname.c: Likewise.
14324 * socket/getsockopt.c: Likewise.
14325 * socket/isfdtype.c: Likewise.
14326 * socket/listen.c: Likewise.
14327 * socket/recv.c: Likewise.
14328 * socket/recvfrom.c: Likewise.
14329 * socket/recvmsg.c: Likewise.
14330 * socket/send.c: Likewise.
14331 * socket/sendmsg.c: Likewise.
14332 * socket/sendto.c: Likewise.
14333 * socket/setsockopt.c: Likewise.
14334 * socket/shutdown.c: Likewise.
14335 * socket/sockatmark.c: Likewise.
14336 * socket/socket.c: Likewise.
14337 * socket/socketpair.c: Likewise.
14338 * stdio-common/ctermid.c: Likewise.
14339 * stdio-common/cuserid.c: Likewise.
14340 * stdio-common/remove.c: Likewise.
14341 * stdio-common/rename.c: Likewise.
14342 * stdio-common/renameat.c: Likewise.
14343 * stdio-common/tempname.c: Likewise.
14344 * stdlib/getcontext.c: Likewise.
14345 * stdlib/makecontext.c: Likewise.
14346 * stdlib/setcontext.c: Likewise.
14347 * stdlib/swapcontext.c: Likewise.
14348 * stdlib/system.c: Likewise.
14349 * streams/fattach.c: Likewise.
14350 * streams/fdetach.c: Likewise.
14351 * streams/getmsg.c: Likewise.
14352 * streams/getpmsg.c: Likewise.
14353 * streams/putmsg.c: Likewise.
14354 * streams/putpmsg.c: Likewise.
14355 * sysdeps/unix/bsd/getpt.c: Likewise.
14356 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14357 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14358 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14361 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14362 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14363 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14364 * sysvipc/msgctl.c: Likewise.
14365 * sysvipc/msgget.c: Likewise.
14366 * sysvipc/msgrcv.c: Likewise.
14367 * sysvipc/msgsnd.c: Likewise.
14368 * sysvipc/semctl.c: Likewise.
14369 * sysvipc/semget.c: Likewise.
14370 * sysvipc/semop.c: Likewise.
14371 * sysvipc/semtimedop.c: Likewise.
14372 * sysvipc/shmat.c: Likewise.
14373 * sysvipc/shmctl.c: Likewise.
14374 * sysvipc/shmdt.c: Likewise.
14375 * sysvipc/shmget.c: Likewise.
14376 * termios/tcdrain.c: Likewise.
14377 * termios/tcflow.c: Likewise.
14378 * termios/tcflush.c: Likewise.
14379 * termios/tcgetattr.c: Likewise.
14380 * termios/tcgetpgrp.c: Likewise.
14381 * termios/tcsendbrk.c: Likewise.
14382 * termios/tcsetattr.c: Likewise.
14383 * termios/tcsetpgrp.c: Likewise.
14384 * time/adjtime.c: Likewise.
14385 * time/clock.c: Likewise.
14386 * time/getitimer.c: Likewise.
14387 * time/gettimeofday.c: Likewise.
14388 * time/setitimer.c: Likewise.
14389 * time/settimeofday.c: Likewise.
14390 * time/stime.c: Likewise.
14391 * time/time.c: Likewise.
14393 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14395 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14398 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14400 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14402 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14406 FE_TONEAREST before applying Dekker multiplication and Knuth
14407 addition. Clear inexact exceptions and check for exact zero
14408 results afterwards.
14409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14410 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14411 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14412 * math/libm-test.inc (fma_test): Add more tests.
14413 (fma_test_towardzero): Likewise.
14414 (fma_test_downward): Likewise.
14415 (fma_test_upward): Likewise.
14416 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14418 (libc_fesetround): New macro.
14419 (libc_fesetroundf): Likewise.
14420 (libc_fesetroundl): Likewise.
14421 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14423 (libc_fesetround_387): Likewise.
14424 (libc_fesetroundf): New macro.
14425 (libc_fesetround): Likewise.
14426 (libc_fesetroundl): Likewise.
14427 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14429 (libc_fesetroundf): New macro.
14430 (libc_fesetround): Likewise.
14431 (libc_fesetroundl): Likewise.
14432 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14433 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14434 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14436 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14437 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14439 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14440 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14442 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14446 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14447 integer constant usable in #if and use that to give value to enum
14449 (FE_DIVBYZERO): Likewise.
14450 (FE_UNDERFLOW): Likewise.
14451 (FE_OVERFLOW): Likewise.
14452 (FE_INVALID): Likewise.
14453 (FE_INVALID_SNAN): Likewise.
14454 (FE_INVALID_ISI): Likewise.
14455 (FE_INVALID_IDI): Likewise.
14456 (FE_INVALID_ZDZ): Likewise.
14457 (FE_INVALID_IMZ): Likewise.
14458 (FE_INVALID_COMPARE): Likewise.
14459 (FE_INVALID_SOFTWARE): Likewise.
14460 (FE_INVALID_SQRT): Likewise.
14461 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14462 (FE_TONEAREST): Likewise.
14463 (FE_TOWARDZERO): Likewise.
14464 (FE_UPWARD): Likewise.
14465 (FE_DOWNWARD): Likewise.
14466 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14467 (FE_DIVBYZERO): Likewise.
14468 (FE_OVERFLOW): Likewise.
14469 (FE_UNDERFLOW): Likewise.
14470 (FE_INEXACT): Likewise.
14471 (FE_TONEAREST): Likewise.
14472 (FE_DOWNWARD): Likewise.
14473 (FE_UPWARD): Likewise.
14474 (FE_TOWARDZERO): Likewise.
14475 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14476 (FE_UNDERFLOW): Likewise.
14477 (FE_OVERFLOW): Likewise.
14478 (FE_DIVBYZERO): Likewise.
14479 (FE_INVALID): Likewise.
14480 (FE_TONEAREST): Likewise.
14481 (FE_TOWARDZERO): Likewise.
14482 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14483 (FE_OVERFLOW): Likewise.
14484 (FE_UNDERFLOW): Likewise.
14485 (FE_DIVBYZERO): Likewise.
14486 (FE_INEXACT): Likewise.
14487 (FE_TONEAREST): Likewise.
14488 (FE_TOWARDZERO): Likewise.
14489 (FE_UPWARD): Likewise.
14490 (FE_DOWNWARD): Likewise.
14491 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14492 (FE_DIVBYZERO): Likewise.
14493 (FE_OVERFLOW): Likewise.
14494 (FE_UNDERFLOW): Likewise.
14495 (FE_INEXACT): Likewise.
14496 (FE_TONEAREST): Likewise.
14497 (FE_DOWNWARD): Likewise.
14498 (FE_UPWARD): Likewise.
14499 (FE_TOWARDZERO): Likewise.
14501 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14503 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14505 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14507 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14508 commands. Quote $PWD.
14509 (blacklist_exports): Don't use remove_newlines. Replace "declare
14511 (remove_newlines): Remove.
14513 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14515 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14516 * stdlib/stdlib.h (atof): Moved to ...
14517 * include/bits/stdlib-float.h: Here. New file.
14518 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14519 * stdlib/bits/stdlib-float.h: New file.
14520 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14522 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14525 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14527 * conform/conformtest.pl (@headers): Add fenv.h.
14528 * conform/data/fenv.h-data: New file.
14529 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14530 include of <math/fenv.h>.
14532 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14533 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14534 && !UNIX98]. Enables tests for XOPEN2K8.
14535 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14536 POSIX2008]: Likewise.
14538 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14539 (struct rusage): Do not expect type or its members.
14542 * math/math.h (FP_NAN): Define macro to integer constant usable in
14543 #if and use that to give value to enum constant.
14544 (FP_INFINITE): Likewise.
14545 (FP_ZERO): Likewise.
14546 (FP_SUBNORMAL): Likewise.
14547 (FP_NORMAL): Likewise.
14549 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14551 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14552 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14555 2012-11-02 Roland McGrath <roland@hack.frob.com>
14557 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14558 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14559 autoconf-time if not.
14560 * configure.in: Remove AC_PREREQ.
14562 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14564 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14565 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14566 of the internal implementation.
14568 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14570 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14571 except include of <misc/sys/syslog.h>.
14573 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14576 function returns with a NULL context exit with zero.
14578 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14580 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14582 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14584 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14585 (run_program_cmd): This.
14586 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14587 (tst_langinfo): New variable. Use it.
14589 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14591 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14592 floating point opcodes.
14594 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14596 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14599 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14601 * sysdeps/mach/hurd/powerpc: Remove directory.
14602 * sysdeps/mach/powerpc: Likewise.
14604 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14606 * scripts/check-local-headers.sh: Ignore c++ headers.
14608 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14610 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14611 __libc_cleanup_region_start argument.
14613 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14617 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14618 x * y using scaling, not as x * y + z.
14619 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14620 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14621 * math/libm-test.inc (fma_test): Add more tests.
14622 (fma_test_towardzero): Likewise.
14623 (fma_test_downward): Likewise.
14624 (fma_test_upward): Likewise.
14626 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14628 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14630 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14632 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14635 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14637 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14639 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14646 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14649 Fix the order of the list for glibc 2.17.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14653 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14655 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14657 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14660 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14661 for low part of x being zero before using __atanl (y).
14662 * math/libm-test.inc (atan2_test): Add another test.
14664 * manual/install.texi (Configuring and compiling): Document
14665 general use of test-wrapper and test-wrapper-env.
14666 * INSTALL: Regenerated.
14668 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14669 (__fma): Do not extract and scale down low bits on after-rounding
14670 systems when result rounded to normal precision would have normal
14672 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14673 (__fmal): Do not extract and scale down low bits on after-rounding
14674 systems when result rounded to normal precision would have normal
14676 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14677 (__fmal): Do not extract and scale down low bits on after-rounding
14678 systems when result rounded to normal precision would have normal
14680 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14682 (fma_test): Add more tests.
14683 (fma_test_towardzero): Likewise.
14684 (fma_test_downward): Likewise.
14685 (fma_test_upward): Likewise.
14687 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14689 * sysdeps/i386/tininess.h: Renamed to ...
14690 * sysdeps/x86/tininess.h: This.
14691 * sysdeps/x86_64/tininess.h: Removed.
14693 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14695 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14696 input. Use $(build-program-cmd).
14697 ($(objpfx)tst-array1-static.out): Likewise.
14698 ($(objpfx)tst-array2.out): Likewise.
14699 ($(objpfx)tst-array3.out): Likewise.
14700 ($(objpfx)tst-array4.out): Likewise.
14701 ($(objpfx)tst-array5.out): Likewise.
14702 ($(objpfx)tst-array5-static.out): Likewise.
14704 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14706 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14709 * nss/nsswitch.h (nss_interface_function): Provide new
14710 macro for use with NSS functions.
14711 * grp/initgroups.c: Use new macro.
14712 * nss/getXXbyYY.c: Likewise.
14713 * nss/getXXbyYY_r.c: Likewise.
14714 * nss/getXXent.c: Likewise.
14715 * nss/getXXent_r.c: Likewise.
14716 * sysdeps/posix/getaddrinfo.c: Likewise.
14718 2012-10-30 Andreas Jaeger <aj@suse.de>
14720 * po/ru.po: Update Russion translation from translation project.
14722 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14726 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14727 result and shift together with sticky bit instead of replicating
14728 round-to-nearest rounding.
14729 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14730 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14731 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14732 missing underflow exceptions.
14733 (fma_test_towardzero): Add more tests.
14734 (fma_test_downward): Likewise.
14735 (fma_test_upward): Likewise.
14738 * sysdeps/generic/tininess.h: New file.
14739 * sysdeps/i386/tininess.h: Likewise.
14740 * sysdeps/sh/tininess.h: Likewise.
14741 * sysdeps/x86_64/tininess.h: Likewise.
14742 * stdlib/tst-strtod-underflow.c: Likewise.
14743 * stdlib/tst-tininess.c: Likewise.
14744 * stdlib/strtod_l.c: Include <tininess.h>.
14745 (round_and_return): Do not set errno for exact underflow cases.
14746 Force an underflow exception when setting errno for underflow.
14747 Determine underflow based on rounding to normal precision if
14748 TININESS_AFTER_ROUNDING.
14749 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14750 ERANGE for exact underflow cases.
14751 * stdlib/Makefile (tests): Add tst-tininess and
14752 tst-strtod-underflow.
14753 ($(objpfx)tst-tininess): Use $(link-libm).
14754 ($(objpfx)tst-strtod-underflow): Likewise.
14756 2012-10-30 Andreas Jaeger <aj@suse.de>
14759 * elf/Makefile (tests): Remove conditional for have-initfini-array
14760 since this is now always required and the variable does not exist
14762 (tests-static): Likewise.
14763 (modules-names): Likewise.
14765 * po/eo.po: Add Esperanto translation from translation project.
14767 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14768 merged with constructor/destructor.
14769 (init_array): Likewise.
14770 * elf/tst-array2dep.c (fini_array): Likewise.
14771 (init_array): Likewise.
14773 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14775 * manual/message.texi: Delete @cartouche tags.
14777 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14779 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14781 * sysdeps/mach/hurd/fsync.c: Likewise.
14783 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14784 [_POSIX_REALTIME_SIGNALS]: Change condition to
14785 [_POSIX_REALTIME_SIGNALS > 0].
14787 2012-10-27 Andreas Jaeger <aj@suse.de>
14789 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14790 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14791 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14792 [__WORDSIZE != 64]: Likewise.
14794 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14796 * iconvdata/tst-table.sh: Remove ${SHELL}.
14797 * iconvdata/tst-tables.sh: Likewise.
14799 2012-10-25 David S. Miller <davem@davemloft.net>
14801 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14802 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14805 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14807 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14808 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14809 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14812 2012-10-25 Roland McGrath <roland@hack.frob.com>
14814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14815 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14818 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14819 Jim Blandy <jimb@codesourcery.com>
14821 * scripts/cross-test-ssh.sh: New file.
14822 * manual/install.texi (Configuring and compiling): Document use of
14824 * INSTALL: Regenerated.
14826 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14828 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14831 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14833 * Makeconfig (run-program-prefix): Fix comment.
14835 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14836 Jim Blandy <jimb@codesourcery.com>
14838 * Makeconfig (test-wrapper): New variable,
14839 (test-wrapper-env): Likewise.
14840 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14841 (run-built-tests): Define to yes.
14842 (run-program-prefix): Use $(test-wrapper).
14843 (built-program-cmd): Likewise.
14844 * Rules (make-test-out): Use $(test-wrapper-env) and
14845 $(host-built-program-cmd).
14846 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14847 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14849 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14850 $(test-wrapper-env) to tst-rtld-load-self.sh.
14851 ($(objpfx)order2.out): Use $(test-wrapper).
14852 ($(objpfx)tst-initorder.out): Likewise.
14853 ($(objpfx)tst-initorder2.out): Likewise.
14854 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14855 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14856 (test_wrapper_env): New variable. Use it to run ld.so.
14857 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14858 Use it to run ld.so.
14859 (test_wrapper_env): Likewise.
14860 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14861 $(test-wrapper) to run-iconv-test.sh.
14862 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14863 (ICONV): Use $test_wrapper.
14864 * posix/Makefile ($(objpfx)globtest.out): Pass
14865 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14866 globtest.sh, not $(run-program-prefix).
14867 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14868 (test_wrapper): Likewise.
14869 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14870 set together with run_via_rtld_prefix.
14871 (run_program_prefix): Define in terms of test_wrapper and
14872 run_via_rtld_prefix.
14874 2012-10-24 Roland McGrath <roland@hack.frob.com>
14876 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14877 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14881 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14882 Declare __clock_getres, __clock_gettime, __clock_settime,
14883 __clock_nanosleep, and __clock_getcpuclockid.
14884 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14885 Remove librt_hidden_def (clock_gettime).
14886 * sysdeps/unix/clock_gettime.c: Likewise.
14887 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14888 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14889 * rt/clock_getres.c: Define __clock_getres as an alias.
14890 * sysdeps/posix/clock_getres.c: Likewise.
14891 * rt/clock_settime.c: Define __clock_settime as an alias.
14892 * sysdeps/unix/clock_settime.c: Likewise.
14893 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14894 * sysdeps/unix/clock_nanosleep.c: Likewise.
14895 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14896 * rt/clock-compat.c: New file.
14897 * rt/Makefile (librt-routines): Add clock-compat and move
14898 $(clock-routines) to ...
14899 (routines): ... here, new variable.
14900 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14901 Don't add get_clockfreq here.
14902 * rt/Versions (libc: GLIBC_2.17): New version set.
14903 Add clock_* symbols here.
14904 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14905 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14906 (GLIBC_2.17): Add clock_* symbols.
14907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14908 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14918 * NEWS: Mention the move.
14920 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14921 Use __open, __read, __close rather than their public counterparts.
14922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14923 (__get_clockfreq_via_cpuinfo): Likewise.
14924 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14925 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14927 * config.h.in (HAVE_IFUNC): New #undef.
14928 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14930 * configure: Regenerated.
14932 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14934 * configure.in: Move READELF check to start of file.
14935 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14936 libc_cv_asm_gnu_indirect_function in the process.
14937 * configure: Regenerated.
14939 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14941 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14942 send the output to /dev/null.
14943 (libc_cv_cc_with_libunwind): Likewise.
14944 (libc_cv_as_noexecstack): Likewise.
14945 * configure: Regenerate.
14947 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14949 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14951 * posix/globtest.sh (TMPDIR): Do not set.
14952 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14953 (testout): Likewise.
14955 2012-10-24 Andreas Jaeger <aj@suse.de>
14957 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14958 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14959 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14960 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14961 posix_fadvise64, posix_fallocate64.
14963 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14964 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14965 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14967 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14969 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14971 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14972 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14973 <bits/fcntl-linux.h>.
14974 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14977 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14978 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14979 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14980 [__WORDSIZE != 64]: Likewise.
14982 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14984 * Makeconfig (run-built-tests): New variable.
14985 * Rules [$(cross-compiling) = yes]: Change condition to
14986 [$(run-built-tests) = no].
14987 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14988 to [$(run-built-tests) = yes].
14989 * elf/Makefile [$(cross-compiling) = no]: Likewise
14990 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14991 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14992 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14993 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14994 * io/Makefile [$(cross-compiling) = no]: Likewise.
14995 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14996 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14997 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14998 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14999 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15000 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15001 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15002 * string/Makefile [$(cross-compiling) = no]: Likewise.
15004 * posix/Makefile ($(objpfx)globtest.out): Pass
15005 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15006 $(rtld-installed-name).
15007 * posix/globtest.sh (elf_objpfx): Remove variable.
15008 (rtld_installed_name): Likewise.
15009 (library_path): Likewise.
15010 (run_program_prefix): New variable. Use for running globtest
15013 2012-10-23 Jim Blandy <jimb@codesourcery.com>
15014 Joseph Myers <joseph@codesourcery.com>
15016 * Makeconfig (host-built-program-cmd): New variable.
15017 * elf/Makefile (tst-stackguard1-ARGS): Use
15018 $(host-built-program-cmd).
15019 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15020 (tst-spawn-ARGS): Likewise.
15021 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15023 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15024 Jim Blandy <jimb@codesourcery.com>
15026 * Makeconfig (run-via-rtld-prefix): New variable.
15027 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15028 (built-program-cmd): Likewise.
15030 2012-10-22 Andreas Jaeger <aj@suse.de>
15032 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15033 __O_RSYNC if it exists, otherwise to O_SYNC.
15035 2012-10-22 Jim Blandy <jimb@codesourcery.com>
15036 Joseph Myers <joseph@codesourcery.com>
15038 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15040 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15042 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15045 2012-10-22 Andreas Jaeger <aj@suse.de>
15047 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15051 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15052 bits/fcntl-linux.h.
15054 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15055 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15057 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15059 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15062 2012-10-21 Jim Blandy <jimb@codesourcery.com>
15063 Joseph Myers <joseph@codesourcery.com>
15065 * config.make.in (NM): New variable.
15067 2012-10-21 Andreas Jaeger <aj@suse.de>
15069 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15070 definitions and declarations that are provided by
15071 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15073 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15076 * elf/Makefile (tests-static): Add tst-leaks1-static.
15077 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15078 ($(objpfx)tst-leaks1-static): New rule.
15079 ($(objpfx)tst-leaks1-static-mem): Likewise.
15080 (tst-leaks1-static-ENV): New macro.
15081 * elf/dl-open.c (dl_open_worker): Check the main application
15082 only if SHARED is defined.
15083 * elf/tst-leaks1-static.c: New file.
15085 2012-10-20 Andreas Jaeger <aj@suse.de>
15087 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15088 generic values for Linux.
15089 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15090 and declarations that are provided by <bits/fcntl-linux.h> and
15091 include <bits/fcntl-linux.h>.
15092 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15095 2012-10-20 Roland McGrath <roland@hack.frob.com>
15097 * io/fcntl.h: Move include of <bits/types.h> to the top and
15098 include it unconditionally.
15100 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15102 * wcsmbs/Makefile (tests-ifunc): New variable.
15103 (tests): Add $(tests-ifunc).
15104 * wcsmbs/test-wcschr-ifunc.c: New file.
15105 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15106 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15107 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15108 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15109 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15111 * string/Makefile (tests-ifunc): New variable.
15112 (tests): Add $(tests-ifunc).
15113 * string/test-memccpy.c (TEST_NAME): New macro.
15114 * string/test-memchr.c (TEST_NAME): Likewise.
15115 * string/test-memcmp.c (TEST_NAME): Likewise.
15116 * string/test-memcpy.c (TEST_NAME): Likewise.
15117 * string/test-memmem.c (TEST_NAME): Likewise.
15118 * string/test-memmove.c (TEST_NAME): Likewise.
15119 * string/test-memset.c (TEST_NAME): Likewise.
15120 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15121 * string/test-stpcpy.c (TEST_NAME): Likewise.
15122 * string/test-stpncpy.c (TEST_NAME): Likewise.
15123 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15124 * string/test-strcasestr.c (TEST_NAME): Likewise.
15125 * string/test-strcat.c (TEST_NAME): Likewise.
15126 * string/test-strchr.c (TEST_NAME): Likewise.
15127 * string/test-strcmp.c(TEST_NAME): Likewise.
15128 * string/test-strcpy.c (TEST_NAME): Likewise.
15129 * string/test-strcspn.c (TEST_NAME): Likewise.
15130 * string/test-strlen.c (TEST_NAME): Likewise.
15131 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15132 * string/test-strncmp.c (TEST_NAME): Likewise.
15133 * string/test-strncpy.c (TEST_NAME): Likewise.
15134 * string/test-strnlen.c (TEST_NAME): Likewise.
15135 * string/test-strpbrk.c (TEST_NAME): Likewise.
15136 * string/test-strrchr.c (TEST_NAME): Likewise.
15137 * string/test-strspn.c (TEST_NAME): Likewise.
15138 * string/test-strstr.c (TEST_NAME): Likewise.
15139 * string/test-bcopy-ifunc.c: New file.
15140 * string/test-bzero-ifunc.c: Likewise.
15141 * string/test-memccpy-ifunc.c: Likewise.
15142 * string/test-memchr-ifunc.c: Likewise.
15143 * string/test-memcmp-ifunc.c: Likewise.
15144 * string/test-memcpy-ifunc.c: Likewise.
15145 * string/test-memmem-ifunc.c: Likewise.
15146 * string/test-memmove-ifunc.c: Likewise.
15147 * string/test-mempcpy-ifunc.c: Likewise.
15148 * string/test-memset-ifunc.c: Likewise.
15149 * string/test-rawmemchr-ifunc.c: Likewise.
15150 * string/test-stpcpy-ifunc.c: Likewise.
15151 * string/test-stpncpy-ifunc.c: Likewise.
15152 * string/test-strcasecmp-ifunc.c: Likewise.
15153 * string/test-strcasestr-ifunc.c: Likewise.
15154 * string/test-strcat-ifunc.c: Likewise.
15155 * string/test-strchr-ifunc.c: Likewise.
15156 * string/test-strchrnul-ifunc.c: Likewise.
15157 * string/test-strcmp-ifunc.c: Likewise.
15158 * string/test-strcpy-ifunc.c: Likewise.
15159 * string/test-strcspn-ifunc.c: Likewise.
15160 * string/test-strlen-ifunc.c: Likewise.
15161 * string/test-strncasecmp-ifunc.c: Likewise.
15162 * string/test-strncat-ifunc.c: Likewise.
15163 * string/test-strncmp-ifunc.c: Likewise.
15164 * string/test-strncpy-ifunc.c: Likewise.
15165 * string/test-strnlen-ifunc.c: Likewise.
15166 * string/test-strpbrk-ifunc.c: Likewise.
15167 * string/test-strrchr-ifunc.c: Likewise.
15168 * string/test-strspn-ifunc.c: Likewise.
15169 * string/test-strstr-ifunc.c: Likewise.
15171 * debug/Makefile (tests-ifunc): New variable.
15172 (tests): Add $(tests-ifunc).
15173 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15174 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15175 * debug/test-stpcpy_chk-ifunc.c: New file.
15176 * debug/test-strcpy_chk-ifunc.c: Likewise.
15178 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15181 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15182 header is not read in.
15184 2012-10-19 Joseph Myers <joseph@codesourcery.com>
15186 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15187 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15188 directly. Pass built executable to script as
15189 $(built-program-cmd).
15190 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15191 $testprogram without using LD_LIBRARY_PATH and $ldso.
15193 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15194 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15195 $(rtld-installed-name).
15196 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15197 (rtld_installed_name): Likewise.
15198 (library_path): Likewise.
15199 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15200 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15201 $(run-program-prefix) to tst-tables.sh.
15202 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15203 it to run tst-table-from and tst-table-to.
15204 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15205 Pass it to tst-table.sh.
15206 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15207 $(run-program-prefix) to tst-gettext.sh.
15208 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15210 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15212 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15213 to run tst-gettext.
15214 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15215 to run tst-gettext2.
15216 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15217 to run tst-translit.
15218 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15219 $(run-program-prefix) to tst-mtrace.sh.
15220 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15222 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15223 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15224 $(rtld-installed-name).
15225 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15226 (rtld_installed_name): Likewise.
15227 (run_program_prefix): New variable. Use it to run wordexp-test.
15229 * Makeconfig (ARCH): Remove all definitions.
15230 (machine): Likewise.
15231 [ARCH]: Remove conditional code.
15232 [!objdir]: Give error.
15233 [!objdir] (objpfx): Remove.
15234 [!objdir] (common-objpfx): Likewise.
15235 [!objdir] (common-objdir): Likewise.
15236 * configure.in (config_makefile): Remove. Hardcode Makefile in
15237 AC_CONFIG_FILES call.
15238 * configure: Regenerated.
15241 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15243 (testout): Likewise.
15245 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15246 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15247 $(rtld-installed-name).
15248 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15249 (rtld_installed_name): Likwise.
15250 (runit): Remove function.
15251 (run_getconf): New variable, Use it for running getconf binary.
15253 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15256 * string/test-memmem.c (check_result): New function.
15257 (do_one_test): Use it.
15258 (check1): New function.
15259 (test_main): Use it.
15261 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15263 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15265 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15267 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15268 (_G_LSEEK64): Likewise.
15269 (_G_MMAP64): Likewise.
15270 (_G_FSTAT64): Likewise.
15271 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15272 (_G_LSEEK64): Likewise.
15273 (_G_MMAP64): Likewise.
15274 (_G_FSTAT64): Likewise.
15275 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15276 unconditional. Call __mmap64 directly.
15277 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15278 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15279 __lseek64 directly.
15280 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15281 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15283 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15284 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15285 __lseek64 directly.
15286 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15287 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15288 __lseek64 directly.
15289 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15290 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15291 __lseek64 directly.
15292 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15293 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15294 __fxstat64 directly.
15295 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15296 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15298 (freopen64) [!_G_OPEN64]: Remove conditional code.
15299 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15301 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15302 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15304 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15305 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15307 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15308 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15310 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15311 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15313 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15314 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15316 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15317 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15319 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15321 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15324 * manual/memory.texi (Malloc Tunable Parameters): Add note
15325 about free list pointers overwriting some perturb bytes.
15326 Wording suggested by Roland McGrath.
15328 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15330 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15331 (lgamma_test): Likewise.
15332 (tgamma_test): Likewise.
15334 2012-10-16 Florian Weimer <fweimer@redhat.com>
15337 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15338 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15340 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15342 * NEWS: Mention BZ #14716.
15343 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15344 when removing AVAILABLE1_USES_J macro.
15346 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15348 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15349 (__bswap_64): __uint64_t for unsigned 64-bit int.
15351 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15353 * include/string.h (memmem): Declare libc hidden alias.
15354 * string/memmem.c (memmem): Define libc hidden alias.
15355 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15356 __read, __close instead of open, read, close.
15358 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15360 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15361 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15363 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15364 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15365 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15367 (__rawmemchr_sse2): Likewise.
15368 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15369 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15370 (__strchr_sse2): Likewise.
15371 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15372 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15373 (__strcasecmp_sse2): Likewise.
15374 (__strncasecmp_sse2): Likewise.
15375 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15376 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15377 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15378 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15379 (__strrchr_sse2): Likewise.
15380 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15382 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15383 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15384 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15385 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15386 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15387 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15388 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15389 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15390 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15391 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15392 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15393 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15394 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15395 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15396 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15397 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15398 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15399 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15400 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15401 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15402 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15403 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15404 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15405 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15406 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15407 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15408 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15409 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15410 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15411 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15413 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15415 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15416 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15417 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15418 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15420 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15422 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15423 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15424 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15425 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15427 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15428 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15429 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15430 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15431 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15432 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15433 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15434 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15435 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15436 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15437 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15438 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15439 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15440 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15441 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15442 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15443 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15444 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15445 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15446 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15447 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15448 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15449 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15450 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15451 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15452 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15453 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15454 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15455 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15456 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15457 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15458 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15459 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15460 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15461 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15462 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15463 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15464 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15465 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15466 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15467 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15469 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15470 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15471 * include/ifunc-impl-list.h: New file.
15472 * misc/ifunc-impl-list.c: Likewise.
15473 * misc/Makefile (routines): Add ifunc-impl-list.
15474 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15475 * string/test-string.h: Include <ifunc-impl-list.h>.
15476 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15477 impl_array): New variables.
15478 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15480 (test_init): Call __libc_ifunc_impl_list to initialize
15481 func_list if TEST_IFUNC and TEST_NAME are defined.
15483 * string/Makefile (strop-tests): Add bcopy and bzero.
15484 * string/test-bcopy.c: New file.
15485 * string/test-bzero.c: Likewise.
15486 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15488 * string/test-memset.c: Support bzero test if TEST_BZERO is
15490 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15492 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15494 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15497 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15499 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15500 * configure: Regenerated.
15502 * Makeconfig (+link-static-before-libc): Don't include
15503 $(link-static-libc).
15505 * libio/libio.h (_IO_pos_t): Remove.
15507 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15509 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15512 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15514 * crypt/crypt-entry.c: Include fips-private.h.
15515 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15516 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15517 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15518 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15520 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15522 * crypt/crypt-private.h: Include stdbool.h.
15523 (_ufc_setup_salt_r): Return bool.
15524 * crypt/crypt-entry.c: Include errno.h.
15525 (__crypt_r): Return NULL with EINVAL for bad salt.
15526 * crypt/crypt_util.c (bad_for_salt): New.
15527 (_ufc_setup_salt_r): Check that salt is long enough and within
15528 the specified alphabet.
15529 * crypt/badsalttest.c: New file.
15530 * crypt/Makefile (tests): Add it.
15531 ($(objpfx)badsalttest): New.
15533 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15535 * NEWS: Add entry for BZ #14602.
15537 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15539 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15541 * math/libm-test.inc: Update comment listing what functions and
15543 (isgreater_test): New function.
15544 (isgreaterequal_test): Likewise.
15545 (isless_test): Likewise.
15546 (islessequal_test): Likewise.
15547 (islessgreater_test): Likewise.
15548 (isunordered_test): Likewise.
15549 (main): Call the new functions.
15551 2012-10-09 Roland McGrath <roland@hack.frob.com>
15553 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15554 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15555 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15556 * sysdeps/i386/configure: Regenerated.
15557 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15558 * sysdeps/mach/configure: Regenerated.
15559 * sysdeps/mach/hurd/configure: Regenerated.
15560 * sysdeps/powerpc/configure: Regenerated.
15561 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15562 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15563 * sysdeps/s390/s390-32/configure: Regenerated.
15564 * sysdeps/s390/s390-64/configure: Regenerated.
15565 * sysdeps/sh/configure: Regenerated.
15566 * sysdeps/sparc/configure: Regenerated.
15567 * sysdeps/unix/sysv/linux/configure: Regenerated.
15568 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15569 * sysdeps/x86_64/configure: Regenerated.
15571 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15572 defined. Don't check if MAP is NULL.
15574 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15576 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15577 (_G_stat64): Likewise.
15578 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15579 (_G_stat64): Likewise.
15580 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15581 instead of struct _G_stat64.
15582 * libio/fileops.c (mmap_remap_check): Likewise.
15583 (decide_maybe_mmap): Likewise.
15584 (_IO_new_file_seekoff): Likewise.
15585 (_IO_file_stat): Likewise.
15586 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15588 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15589 instead of struct _G_stat64.
15590 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15592 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15595 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15597 (CHECK_EOL): New macro.
15598 (two_way_short_needle): Check beginning of haystack for EOL. Use
15600 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15601 Replace with CHECK_EOL.
15602 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15603 Replace with CHECK_EOL.
15605 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15607 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15609 * math/libm-test.inc: Update comment listing what functions and
15611 (finite_test): New function.
15612 (isinf_test): Likewise.
15613 (isnan_test): Likewise.
15614 (fpclassify_test): Test subnormal input.
15615 (isfinite_test): Likewise.
15616 (isnormal_test): Likewise.
15617 (main): Call the new functions.
15619 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15622 * Makerules (%.dynsym): Force C locale when running
15623 $(OBJDUMP) --dynamic-syms.
15625 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15627 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15630 2012-10-06 David S. Miller <davem@davemloft.net>
15632 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15633 upper 32-bits of the length value in %o2 since we use branch-on-register
15634 tests which consider the entire 64-bit register.
15636 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15638 * string/test-strstr.c (check2): Add a test for page boundary.
15640 2012-10-05 David S. Miller <davem@davemloft.net>
15642 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15643 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15645 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15647 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15648 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15649 and bzero when HWCAP_SPARC_CRYPTO is present.
15651 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15654 * string/test-strstr.c (check2): New function.
15655 (test_main): Call check2.
15657 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15659 * string/bug-strcasestr1.c (do_test): Moved to ...
15660 * string/test-strcasestr.c (check1): Here. New function.
15661 (do_one_test): Break out result checking code into ...
15662 (check_result): This. New function.
15663 (do_one_test): Call check_result.
15664 (test_main): Call check1.
15665 * string/bug-strchr1.c (do_test): Moved to ...
15666 * string/test-strchr.c (check1): Here. New function.
15667 (do_one_test): Break out result checking code into ...
15668 (check_result): This. New function.
15669 (do_one_test): Call check_result.
15670 (test_main): Call check1.
15671 * string/bug-strstr1.c (main): Moved to ...
15672 * string/test-strstr.c (check1): Here. New function.
15673 (do_one_test): Break out result checking code into ...
15674 (check_result): This. New function.
15675 (do_one_test): Call check_result.
15676 (test_main): Call check1.
15677 * string/bug-strcasestr1.c: Removed.
15678 * string/bug-strchr1.c: Likewise.
15679 * string/bug-strstr1.c: Likewise.
15681 * elf/Makefile (dl-routines): Add hwcaps.
15682 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15683 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15684 (_dl_important_hwcaps): Moved to ...
15685 * elf/dl-hwcaps.c: Here. New file.
15686 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15689 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15690 if IS_IN_rtld isn't defined.
15692 * elf/dl-support.c (_dl_sysinfo_map): New.
15693 Include "get-dynamic-info.h" and "setup-vdso.h".
15694 (_dl_non_dynamic_init): Call setup_vdso.
15695 * elf/dynamic-link.h: Don't include <assert.h>.
15696 (elf_get_dynamic_info): Moved to ...
15697 * elf/get-dynamic-info.h: Here. New file.
15698 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15699 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15700 * elf/setup-vdso.h: Here. New file.
15701 * elf/rtld.c: Include "setup-vdso.h".
15702 (dl_main): Call setup_vdso.
15704 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15706 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15707 creal in comment listing functions tested. List finite, isinf,
15708 isnan, isless, islessequal, isgreater, isgreaterequal,
15709 islessgreater, isunordered, lgamma_r and pow10 as functions and
15710 macros not tested. Mention which functions not tested are aliases
15711 for other functions. Fix typo. Note that signs of NaNs are not
15714 * scripts/config.guess: Update from config.git.
15715 * scripts/config.sub: Likewise.
15717 2012-10-04 Roland McGrath <roland@hack.frob.com>
15719 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15720 * misc/madvise.c (madvise): Renamed to __madvise.
15721 Make madvise a weak alias.
15722 * include/sys/mman.h: Declare __madvise.
15723 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15724 * sysdeps/unix/syscalls.list
15725 (madvise): Make __madvise the strong name, and madvise a weak alias.
15726 * sysdeps/unix/sysv/linux/syscalls.list
15727 (madvise, mmap): Remove redundant entries.
15728 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15729 * malloc/malloc.c (mtrim): Likewise.
15730 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15732 2012-10-03 Roland McGrath <roland@hack.frob.com>
15734 * sysdeps/mach/hurd/dl-cache.c: File removed.
15735 * config.h.in (USE_LDCONFIG): New #undef.
15736 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15737 * configure: Regenerated.
15738 * elf/Makefile (dl-routines): Add dl-cache only under
15739 [$(use-ldconfig) = yes].
15740 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15741 cache on [USE_LDCONFIG].
15742 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15744 * elf/rtld.c (dl_main): Likewise.
15746 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15748 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15749 _SC_LEVEL4_CACHE_LINESIZE.
15751 2012-10-03 Roland McGrath <roland@hack.frob.com>
15753 * sysdeps/unix/bsd/confstr.h: File removed.
15755 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15757 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15760 2012-10-02 Roland McGrath <roland@hack.frob.com>
15762 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15763 Make 'mapoff' field ElfW(Off) rather than off_t.
15765 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15767 * nscd/Makefile: Remove nscd-cflags and all its users.
15768 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15769 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15772 * malloc.c (malloc_printerr): Clarify error message.
15774 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15777 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15778 Set bit_FMA_Usable if FMA is supported.
15779 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15781 (bit_FMA4_Usable): Updated.
15782 (index_FMA_Usable): New macro.
15783 (CPUID_FMA): Likewise
15784 (HAS_FMA): Defined with bit_FMA_Usable.
15786 2012-10-01 Roland McGrath <roland@hack.frob.com>
15788 * bits/types.h (__swblk_t): Type removed.
15789 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15790 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15791 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15792 (__SWBLK_T_TYPE): Likewise.
15793 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15794 (__SWBLK_T_TYPE): Likewise.
15795 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15796 (__SWBLK_T_TYPE): Likewise.
15797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15798 (__SWBLK_T_TYPE): Likewise.
15800 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15801 Honza Horak <hhorak@redhat.com>
15803 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15804 (xdr_mapname): Use YPMAXMAP as maxsize.
15805 (xdr_peername): Use YPMAXPEER as maxsize.
15806 (xdr_keydat): Use YPAXRECORD as maxsize.
15807 (xdr_valdat): Use YPMAXRECORD as maxsize.
15809 2012-10-01 Roland McGrath <roland@hack.frob.com>
15811 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15813 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15814 * csu/init-first.c: ... here.
15815 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15816 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15817 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15818 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15819 * sysdeps/i386/init-first.c: File removed.
15820 * sysdeps/sh/init-first.c: File removed.
15822 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15826 if x * y might underflow to zero and z is zero.
15827 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15828 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15829 * math/libm-test.inc (min_subnorm_value): New variable.
15830 (fma_test): Add more tests.
15831 (fma_test_towardzero): Likewise.
15832 (fma_test_downward): Likewise
15833 (fma_test_upward): Likewise.
15834 (initialize): Set min_subnorm_value.
15836 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15841 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15842 mode for addition resulting in exact zero.
15843 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15844 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15846 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15847 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15848 * math/libm-test.inc (fma_test): Add more tests.
15849 (fma_test_towardzero): New function.
15850 (fma_test_downward): Likewise.
15851 (fma_test_upward): Likewise.
15852 (main): Call the new functions.
15854 2012-09-28 David S. Miller <davem@davemloft.net>
15856 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15858 2012-09-28 Roland McGrath <roland@hack.frob.com>
15860 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15861 instead of SIGALRM.
15863 * sysdeps/gnu/_G_config.h: Moved to ...
15864 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15865 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15866 * sysdeps/generic/_G_config.h: ... here.
15868 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15870 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15872 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15873 Conditionalize target on [libnss_test1.so-version].
15875 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15877 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15878 (elfobjdir): Move out of conditionals.
15880 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15881 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15882 (__nss_lookup_function): Conditionalize label remove_from_tree on
15883 [!DO_STATIC_NSS || SHARED], matching its only use.
15885 2012-09-28 David S. Miller <davem@davemloft.net>
15887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15888 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15890 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15892 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15894 when HWCAP_SPARC_CRYPTO is present.
15896 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15898 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15900 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15903 * stdio-common/vfprintf.c (process_string_arg): Revert
15906 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15908 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15910 * stdio-common/tst-sprintf.c: Include <locale.h>
15911 (main): Test sprintf's handling of incomplete multibyte
15914 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15916 * elf/dl-runtime.c (VERSYMIDX): Removed.
15917 * elf/dl-version.c (VERSYMIDX): Likewise.
15918 * elf/do-rel.h (VERSYMIDX): Likewise.
15919 (VALIDX): Likewise.
15920 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15921 * elf/rtld.c (VALIDX): Likewise.
15922 (ADDRIDX): Likewise.
15923 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15924 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15925 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15926 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15927 (VALIDX): Likewise.
15928 (ADDRIDX): Likewise.
15930 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15932 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15934 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15937 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15939 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15940 addresses are in the same scope as 192.0.2/24.
15941 * posix/gai.conf: Document new scope table defaults.
15943 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15946 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15947 for ftell. Compute offsets from write pointers instead.
15948 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15950 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15953 * libio/Makefile (tests): New test case tst-fseek.
15954 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15955 combination works in wide mode.
15956 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15957 state when the external buffer state changes.
15959 2012-09-27 David S. Miller <davem@davemloft.net>
15962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15963 pass reloc->r_addend in as the 'high' argument to
15964 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15968 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15970 * rt/tst-aio2.c: Include <pthread.h>.
15971 * rt/tst-aio3.c: Likewise.
15973 2012-09-27 Steve Ellcey <sellcey@mips.com>
15975 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15977 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15979 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15980 contents on [SHARED].
15982 2012-09-26 Marek Polacek <polacek@redhat.com>
15986 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15987 for C++ and GCC <4.3 as well as for non GCC compilers.
15989 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15993 2012-09-25 Roland McGrath <roland@hack.frob.com>
15995 * Makefile.in (all, install): Declare with .PHONY.
15996 Reported by Michael Hope <michael.hope@linaro.org>.
15998 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16000 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16001 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16003 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16005 (sydep_routines): Add the new and the internal functions.
16006 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16007 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16009 (GLIBC_2.17): Add the new function.
16010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16011 (GLIBC_2.17): Likewise.
16012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16013 (GLIBC_2.17): Likewise.
16014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16015 (GLIBC_2.17): Likewise.
16016 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16018 2012-09-25 Alan Modra <amodra@gmail.com>
16020 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16021 Add release barrier before setting once_control to say
16022 initialisation is done. Add hints on lwarx. Use macro in
16024 (clear_once_control): Add release barrier.
16026 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16029 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16031 * math/s_clog10.c (__clog10): Likewise.
16032 * math/s_clog10f.c (__clog10f): Likewise.
16033 * math/s_clog10l.c (__clog10l): Likewise.
16034 * math/s_clogf.c (__clogf): Likewise.
16035 * math/s_clogl.c (__clogl): Likewise.
16036 * math/Makefile (libm-calls): Add x2y2m1.
16037 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16038 (__x2y2m1): Likewise.
16039 (__x2y2m1l): Likewise.
16040 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16041 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16042 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16043 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16044 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16045 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16046 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16047 * sysdeps/i386/fpu/libm-test-ulps: Update.
16048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16051 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16052 int as type of variable DEPTH.
16053 (glob): Use size_t instead of int as type of variables NEWCOUNT
16056 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16058 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16059 Add s_sincosf-sse2.
16060 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16061 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16062 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16063 macros for using routine as __sincosf_ia32.
16064 Use macro for function declaration and weak_alias.
16065 * sysdeps/i386/fpu/libm-test-ulps: Update.
16067 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16070 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16071 subnormal argument.
16072 * math/s_cexpf.c (__cexpf): Likewise.
16073 * math/s_csinf.c (__csinf): Likewise.
16074 * math/s_csinhf.c (__csinhf): Likewise.
16075 * math/s_ctanf.c (__ctanf): Likewise.
16076 * math/s_ctanhf.c (__ctanhf): Likewise.
16077 * math/s_ccosh.c (__ccoshf): Likewise.
16078 * math/s_cexp.c (__cexpl): Likewise.
16079 * math/s_csin.c (__csin): Likewise.
16080 * math/s_csinh.c (__csinh): Likewise.
16081 * math/s_ctan.c (__ctan): Likewise.
16082 * math/s_ctanh.c (ctanh): Likewise.
16083 * math/s_ccoshl.c (__ccoshl): Likewise.
16084 * math/s_cexpl.c (__cexpl): Likewise.
16085 * math/s_csinl.c (__csinl): Likewise.
16086 * math/s_csinhl.c (__csinhl): Likewise.
16087 * math/s_ctanl.c (__ctanl): Likewise.
16088 * math/s_ctanhl.c (__ctanhl): Likewise.
16090 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16092 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16093 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16094 (_IO_off_t): Define to __off_t, not _G_off_t.
16095 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16096 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16097 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16098 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16099 type of __dummy and __dummy2 fields.
16100 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16101 (_G_ssize_t): Likewise.
16102 (_G_off_t): Likewise.
16103 (_G_pid_t): Likewise.
16104 (_G_uid_t): Likewise.
16105 (_G_wchar_t): Likewise.
16106 (_G_wint_t): Likewise.
16107 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16108 (_G_ssize_t): Likewise.
16109 (_G_off_t): Likewise.
16110 (_G_pid_t): Likewise.
16111 (_G_uid_t): Likewise.
16112 (_G_wchar_t): Likewise.
16113 (_G_wint_t): Likewise.
16114 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16115 (_G_ssize_t): Likewise.
16116 (_G_off_t): Likewise.
16117 (_G_pid_t): Likewise.
16118 (_G_uid_t): Likewise.
16119 (_G_wchar_t): Likewise.
16120 (_G_wint_t): Likewise.
16122 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16124 * malloc/arena.c: Include malloc-sysdep.h.
16125 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16126 is sufficient to shrink the heap or an unmap is needed.
16127 * sysdeps/generic/malloc-sysdep.h: New file. Define
16128 new function check_may_shrink_heap.
16129 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16130 new function check_may_shrink_heap.
16132 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16134 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16137 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16139 * catgets/test-gencat.sh: Add "set -e".
16140 * elf/tst-pathopt.sh: Likewise.
16141 * grp/tst_fgetgrent.sh: Likewise.
16142 * iconvdata/run-iconv-test.sh: Likewise.
16143 * intl/tst-gettext.sh: Likewise.
16144 * intl/tst-gettext2.sh: Likewise.
16145 * intl/tst-gettext4.sh: Likewise.
16146 * intl/tst-gettext6.sh: Likewise.
16147 * intl/tst-translit.sh: Likewise.
16148 * io/ftwtest-sh: Likewise.
16149 * libio/test-freopen.sh: Likewise.
16150 * malloc/tst-mtrace.sh: Likewise.
16151 * posix/globtest.sh: Likewise.
16152 * posix/tst-getconf.sh: Likewise.
16153 * posix/wordexp-tst.sh: Likewise.
16154 * stdio-common/tst-printf.sh: Likewise.
16155 * stdio-common/tst-unbputc.sh: Likewise.
16156 * stdlib/tst-fmtmsg.sh: Likewise.
16157 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16158 * catgets/Makefile: Do not specify -e option when running
16159 testsuite shell scripts.
16160 * elf/Makefile: Likewise.
16161 * grp/Makefile: Likewise.
16162 * iconvdata/Makefile: Likewise.
16163 * intl/Makefile: Likewise.
16164 * io/Makefile: Likewise.
16165 * libio/Makefile: Likewise.
16166 * malloc/Makefile: Likewise.
16167 * posix/Makefile: Likewise.
16168 * stdio-common/Makefile: Likewise.
16169 * stdlib/Makefile: Likewise.
16170 * sysdeps/x86_64/Makefile: Likewise.
16172 * io/ftwtest-sh: Add copyright header.
16173 * posix/globtest.sh: Likewise.
16174 * posix/tst-getconf.sh: Likewise.
16175 * posix/wordexp-tst.sh: Likewise.
16176 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16178 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16181 * Makeconfig (+link): Defined as $(+link-static) if
16182 $(build-shared) isn't yes.
16183 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16185 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16187 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16190 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16191 new chunk size with MALLOC_ALIGN_MASK.
16193 2012-09-24 Joseph Myers <joseph@codesourcery.com>
16196 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16198 (__printf_fphex): Determine rounding using get_rounding_mode and
16200 * stdio-common/tst-printf-round.c (struct hex_test): New
16202 (hex_tests): New variable.
16203 (test_hex_in_one_mode): New function.
16204 (do_test): Also run tests for hex float output.
16206 2012-09-21 Joseph Myers <joseph@codesourcery.com>
16208 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16209 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16210 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16211 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16212 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16213 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16214 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16215 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16217 2012-09-20 Joseph Myers <joseph@codesourcery.com>
16219 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16220 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16221 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16222 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16224 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16227 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16229 * elf/tst-rtld-load-self.sh: New test.
16230 * elf/Makefile: Run it.
16232 2012-09-18 Joseph Myers <joseph@codesourcery.com>
16234 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16235 (tst-writev-ENV): Remove.
16236 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16238 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16240 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16242 2012-09-17 Joseph Myers <joseph@codesourcery.com>
16244 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16246 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16248 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16249 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16250 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16253 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16256 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16257 * config.make.in (have-cpp-asm-debuginfo): Removed.
16258 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16259 * configure: Regenerated.
16261 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16264 * stdio-common/printf_fp.c: Include <stdbool.h> and
16266 (___printf_fp): Determine rounding using get_rounding_mode and
16268 * stdio-common/tst-printf-round.c: New file.
16269 * stdio-common/Makefile (tests): Add tst-printf-round.
16270 (link-libm): New variable.
16271 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16273 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16276 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16277 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16279 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16282 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16284 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16285 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16286 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16287 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16289 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16292 * include/rounding-mode.h: New file.
16293 * sysdeps/generic/get-rounding-mode.h: Likewise.
16294 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16295 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16296 (MAX_VALUE): New macro.
16297 (MIN_VALUE): Likewise.
16298 (overflow_value): New function.
16299 (underflow_value): Likewise.
16300 (round_and_return): Use overflow_value and underflow_value to
16301 determine return values in overflow and underflow cases. Use
16302 round_away to determine rounding depending on rounding mode.
16303 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16304 determine return values in overflow and underflow cases.
16305 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16306 (struct test_results): New structure.
16307 (struct test): Use struct test_results to store expected results
16308 for all rounding modes.
16309 (TEST): Include expected results for all rounding modes.
16310 (test_in_one_mode): New function.
16311 (do_test): Use test_in_one_mode to compute and check results.
16312 Check results for all rounding modes.
16313 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16316 2012-12-09 Allan McRae <allan@archlinux.org>
16318 * sysdeps/i386/fpu/libm-test-ulps: Update
16320 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16322 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16323 (_G_int32_t): Likewise.
16324 (_G_uint16_t): Likewise.
16325 (_G_uint32_t): Likewise.
16326 (_G_HAVE_BOOL): Likewise.
16327 (_G_HAVE_ATEXIT): Likewise.
16328 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16329 (_G_HAVE_IO_FILE_OPEN): Likewise.
16330 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16331 (_G_int32_t): Likewise.
16332 (_G_uint16_t): Likewise.
16333 (_G_uint32_t): Likewise.
16334 (_G_HAVE_BOOL): Likewise.
16335 (_G_HAVE_ATEXIT): Likewise.
16336 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16337 (_G_HAVE_IO_FILE_OPEN): Likewise.
16338 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16339 (_G_int32_t): Likewise.
16340 (_G_uint16_t): Likewise.
16341 (_G_uint32_t): Likewise.
16342 (_G_HAVE_BOOL): Likewise.
16343 (_G_HAVE_ATEXIT): Likewise.
16344 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16345 (_G_HAVE_IO_FILE_OPEN): Likewise.
16347 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16349 * csu/libc-tls.c: Update copyright years.
16351 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16353 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16354 [!_G_USING_THUNKS]: Remove conditional code.
16355 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16356 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16358 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16359 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16360 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16361 (_G_VTABLE_LABEL_PREFIX): Likewise.
16362 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16363 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16364 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16365 (_G_VTABLE_LABEL_PREFIX): Likewise.
16366 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16367 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16368 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16369 (_G_VTABLE_LABEL_PREFIX): Likewise.
16370 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16372 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16374 * libio/Makefile: Include ../Makeconfig before tests.
16375 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16376 only if $(build-shared) is yes.
16378 * iconv/gconv_db.c: Update copyright years.
16380 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16382 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16383 unwind info if defined PIC. Fix special cases description.
16384 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16386 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16388 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16390 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16392 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16394 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16397 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16398 (LDLIBS-tst-chk4): This.
16399 (LDFLAGS-tst-chk5): Renamed to ...
16400 (LDLIBS-tst-chk5): This.
16401 (LDFLAGS-tst-chk6): Renamed to ...
16402 (LDLIBS-tst-chk6): This.
16403 (LDFLAGS-tst-lfschk4): Renamed to ...
16404 (LDLIBS-tst-lfschk4): This.
16405 (LDFLAGS-tst-lfschk5): Renamed to ...
16406 (LDLIBS-tst-lfschk5): This.
16407 (LDFLAGS-tst-lfschk6): Renamed to ...
16408 (LDLIBS-tst-lfschk6): This.
16410 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16411 on $(common-objpfx)soversions.mk.
16413 2012-09-07 Joseph Myers <joseph@codesourcery.com>
16416 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16419 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16421 * malloc/arena.c (arena_get_retry): New function that gets
16422 another arena for the caller to try its request on.
16423 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16424 current arena cannot fulfill the request.
16425 (__libc_memalign): Likewise.
16426 (__libc_memalign): Likewise.
16427 (__libc_pvalloc): Likewise.
16428 (__libc_calloc): Likewise.
16430 2012-09-05 John Tobey <john.tobey@gmail.com>
16433 * manual/arith.texi (Operations on Complex): Fix description
16434 of carg branch cut.
16436 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16439 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16443 * manual/memory.texi (Memory): Make order of menu items match
16446 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16448 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16449 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16450 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16452 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16454 * csu/libc-tls.c (static_dtv): Renamed to ...
16455 (_dl_static_dtv): This. Make it global.
16456 (_dl_initial_dtv): Removed.
16457 (__libc_setup_tls): Updated.
16458 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16459 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16462 2012-09-06 Petr Machata <pmachata@redhat.com>
16464 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16465 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16466 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16467 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16469 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16472 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16473 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16476 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16479 * Makeconfig (link-static-before-libc): Replace $(+prector)
16481 (link-static-after-libc): Replace $(+postctor) with
16483 (link-bounded): Replace $(+prector)/$(+postctor) with
16484 $(+prectorT)/$(+postctorT).
16485 (+prectorT): New macro.
16486 (+postctorT): Likewise.
16488 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16490 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16491 (round_str): Handle values above the maximum for IBM long double
16493 * stdlib/tst-strtod-round.c (tests): Regenerated.
16495 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16497 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16499 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16500 zarch_nohighgprs around the zarch optimized routines.
16501 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16502 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16503 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16506 2012-09-05 David S. Miller <davem@davemloft.net>
16508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16510 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16511 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16512 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16513 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16516 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16518 * malloc/arena.c: Fold copyright years.
16519 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16521 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16523 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16525 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16527 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16529 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16531 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16532 change internal state upon failure.
16534 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16536 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16537 * malloc/memusage.c (mmap): Likewise.
16538 (mmap64, mremap): Likewise. Adjust name in comment.
16540 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16542 * libio/fileops.c: Fix typos in comments.
16543 * libio/oldfileops.c: Likewise.
16544 * libio/wfileops.c: Likewise.
16546 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16549 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16550 (tst-malloc-usable-ENV): Set environment for test case.
16551 * malloc/hooks.c (malloc_check_get_size): New function to get
16553 * malloc/malloc.c (musable): Use malloc_check_get_size.
16554 * malloc/tst-malloc-usable.c: New test case.
16556 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16558 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16560 2012-09-05 Allan McRae <allan@archlinux.org>
16563 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16564 determine header location.
16565 * configure: Regenerated.
16567 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16569 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16571 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16572 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16574 (test): Regenerate.
16576 2012-09-04 David S. Miller <davem@davemloft.net>
16578 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16579 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16580 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16582 2012-09-04 Florian Weimer <fweimer@redhat.com>
16584 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16587 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16589 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16592 * libio/iogetdelim.c: Include <limits.h>.
16593 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16594 + len + 1 would overflow.
16596 2012-09-03 Andreas Jaeger <aj@suse.de>
16598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16599 * sysdeps/i386/fpu/libm-test-ulps: Update.
16601 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16603 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16604 Add s_sinf-sse2, s_conf-sse2.
16606 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16607 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16608 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16609 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16611 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16612 for using routine as __sinf_ia32.
16613 Use macro for function declaration and weak_alias.
16614 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16615 for using routine as __cosf_ia32.
16616 Use macro for function declaration and weak_alias.
16618 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16619 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16621 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16622 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16625 * math/libm-test.inc (cos_test): Add more test cases.
16626 (sin_test): Likewise.
16627 (sincos_test): Likewise.
16629 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16631 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16632 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16634 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16636 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16639 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16640 first element of the GOT.
16641 (elf_machine_load_address): Return the difference between
16642 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16644 2012-09-01 Allan McRae <allan@archlinux.org>
16647 * configure.in (AWK): Require gawk version 3.0 or later.
16648 * configure: Regenerated.
16650 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16652 * sysdeps/unix/sysv/linux/kernel-features.h
16653 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16654 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16655 [__NR_clock_getres]: Make code unconditional.
16656 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16657 (clock_getcpuclockid): Remove code left unreachable by removal of
16659 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16660 code unconditional.
16661 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16662 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16663 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16664 Make code unconditional.
16665 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16666 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16667 * sysdeps/unix/sysv/linux/clock_settime.c
16668 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16670 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16671 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16673 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16676 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16677 scripts/test-installation.pl.
16679 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16680 and $ld_so_version if it is set.
16682 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16685 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16686 failure if reading from procfs failed.
16687 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16689 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16691 * sysdeps/unix/sysv/linux/kernel-features.h
16692 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16693 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16694 Remove conditional code.
16695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16696 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16697 Remove conditional code.
16698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16699 * sysdeps/unix/sysv/linux/i386/fxstat.c
16700 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16701 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16702 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16703 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16705 * sysdeps/unix/sysv/linux/i386/lxstat.c
16706 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16707 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16708 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16709 Remove conditional code.
16710 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16711 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16712 Remove conditional code.
16713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16714 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16715 <kernel-features.h>.
16716 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16718 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16719 Remove conditional code.
16720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16721 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16722 Remove conditional.
16724 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16727 * NEWS: Add fixed bug number.
16729 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16732 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16733 underflowing exponent in case of negative sign.
16734 * stdlib/tst-strtod-round-data: Add more tests.
16735 * stdlib/tst-strtod-round.c (tests): Regenerated.
16738 * stdlib/strtod_l.c (NDIG): Remove.
16739 (HEXNDIG): Likewise.
16740 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16741 smallest representable value.
16742 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16743 lie within an exact representation of 1/2 ulp of the result.
16744 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16746 (TENS_P9_IDX): Define unconditionally.
16747 (TENS_P9_SIZE): Likewise.
16748 (TENS_P10_IDX): Likewise.
16749 (TENS_P10_SIZE): Likewise.
16750 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16751 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16752 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16753 entries for 10^2^13 and 10^2^14.
16754 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16755 (TENS_P13_IDX): Define.
16756 (TENS_P13_SIZE): Likewise.
16757 (TENS_P14_IDX): Likewise.
16758 (TENS_P14_SIZE): Likewise.
16759 (_fpioconst_pow10): Change array size to
16760 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16762 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16763 1024]: Add entries for 10^2^13 and 10^2^14.
16764 [LAST_POW10 > _LAST_POW10]: Remove #error.
16765 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16766 (_fpioconst_pow10): Change array size to
16767 FPIOCONST_POW10_ARRAY_SIZE.
16768 * stdlib/gen-fpioconst.c: New file.
16769 * stdlib/gen-tst-strtod-round.c: Likewise.
16770 * stdlib/tst-strtod-round-data: Likewise.
16771 * stdlib/tst-strtod-round.c: Likewise.
16772 * stdlib/Makefile (tests): Add tst-strtod-round.
16775 * stdlib/strtod_l.c: Include <stdint.h>.
16776 (NDEBUG): Do not define.
16777 (round_and_return): Change EXPONENT parameter to type intmax_t.
16778 Rearrange calculations to avoid internal overflow possibilities.
16779 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16780 Rearrange calculations to avoid internal overflow possibilities.
16781 Assert that number fits inside MPNSIZE limbs.
16782 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16783 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16784 calculations and add assertions to avoid internal overflow
16785 possibilities. Add casts to avoid signed/unsigned operations.
16786 * stdlib/tst-strtod-overflow.c: New file.
16787 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16789 2012-08-25 Marek Polacek <polacek@redhat.com>
16791 * time/time.h: Fix some typos in comments.
16793 2012-08-23 Roland McGrath <roland@hack.frob.com>
16795 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16796 * posix/tst-rfc3484-2.c: Likewise.
16797 * posix/tst-rfc3484-3.c: Likewise.
16799 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16801 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16802 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16804 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16806 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16807 #include of fxstatat64.c.
16809 2012-08-22 Roland McGrath <roland@hack.frob.com>
16811 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16812 * shadow/getspent_r.c: Likewise.
16813 * shadow/getspnam.c: Likewise.
16814 * shadow/getspnam_r.c: Likewise.
16815 * gshadow/getsgent.c: Likewise.
16816 * gshadow/getsgent_r.c: Likewise.
16817 * gshadow/getsgnam.c: Likewise.
16818 * gshadow/getsgnam_r.c: Likewise.
16819 * inet/getnetbyad.c: Likewise.
16820 * inet/getnetbyad_r.c: Likewise.
16821 * inet/getnetbynm.c: Likewise.
16822 * inet/getnetbynm_r.c: Likewise.
16823 * inet/getnetent.c: Likewise.
16824 * inet/getnetent_r.c: Likewise.
16825 * inet/getproto.c: Likewise.
16826 * inet/getproto_r.c: Likewise.
16827 * inet/getprtent.c: Likewise.
16828 * inet/getprtent_r.c: Likewise.
16829 * inet/getprtname.c: Likewise.
16830 * inet/getprtname_r.c: Likewise.
16831 * inet/getrpcbyname.c: Likewise.
16832 * inet/getrpcbyname_r.c: Likewise.
16833 * inet/getrpcbynumber.c: Likewise.
16834 * inet/getrpcbynumber_r.c: Likewise.
16835 * inet/getrpcent.c: Likewise.
16836 * inet/getrpcent_r.c: Likewise.
16837 * inet/getaliasent.c: Likewise.
16838 * inet/getaliasent_r.c: Likewise.
16839 * inet/getaliasname.c: Likewise.
16840 * inet/getaliasname_r.c: Likewise.
16841 * nscd/getgrgid_r.c: Likewise.
16842 * nscd/getgrnam_r.c: Likewise.
16843 * nscd/gethstbyad_r.c: Likewise.
16844 * nscd/gethstbynm3_r.c: Likewise.
16845 * nscd/getpwnam_r.c: Likewise.
16846 * nscd/getpwuid_r.c: Likewise.
16847 * nscd/getsrvbynm_r.c: Likewise.
16848 * nscd/getsrvbypt_r.c: Likewise.
16849 * nscd/gai.c: Likewise.
16851 * configure.in (build_nscd): New substituted variable, set
16852 by --disable-build-nscd and defaults to $use_nscd.
16853 * configure: Regenerated.
16854 * config.make.in (build-nscd): New substituted variable.
16855 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16856 Change conditional to require [$(build-nscd) = yes] as well.
16857 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16860 * configure.in (use_nscd): New substituted variable, set by
16861 --disable-nscd. If enabled, define USE_NSCD.
16862 * configure: Regenerated.
16863 * config.h.in: Add USE_NSCD.
16864 * config.make.in (use-nscd): New substituted variable.
16865 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16866 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16867 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16868 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16869 (CFLAGS-getgrnam_r.c): Likewise.
16870 (CFLAGS-initgroups.c): Likewise.
16871 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16872 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16874 * inet/getnetgrent_r.c
16875 (nscd_setnetgrent): New function, broken out of ...
16876 (setnetgrent): ... here. Call it.
16877 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16878 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16879 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16880 * nscd/Makefile (routines, aux): Move definitions after include of
16881 Makeconfig. Conditionalize on [$(use-nscd) != no].
16882 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16883 Conditionalize on [USE_NSCD].
16884 (is_nscd, nscd_init_cb): Likewise.
16885 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16886 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16887 * nss/nss_db/db-init.c: Likewise.
16888 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16890 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16891 (make_request): Use it.
16892 (cache_valid_p): New function.
16893 (__check_pf): Use it.
16894 * NEWS: Add item for --disable-nscd.
16896 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16898 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16899 to support sed >= 4.2.1-20-ga9bf076.
16900 * configure: Regenerated.
16902 2012-08-22 Roland McGrath <roland@hack.frob.com>
16904 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16905 Conditionalize whole body on [IREL].
16907 2012-08-22 Jeff Law <law@redhat.com>
16910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16911 if the family is PF_UNSPEC.
16913 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16915 * Makerules (lib-version): Rename from V.
16916 (install-lib-nosubdir): Change V to lib-version.
16918 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16921 * powerpc32/power6/wcschr.c: New file.
16922 * powerpc32/power6/wcscpy.c: New file.
16923 * powerpc32/power6/wcsrchr.c: New file.
16924 * powerpc64/power6/wcschr.c: New file.
16925 * powerpc64/power6/wcscpy.c: New file.
16926 * powerpc64/power6/wcsrchr.c: New file.
16928 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16930 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16931 (two_way_short_needle): Use it.
16932 * string/strstr.c (AVAILABLE1_USES_J): Define.
16933 * string/strcasestr.c: Likewise.
16935 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16937 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16940 * NEWS: Add an entry.
16941 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16942 define their defaults.
16943 (two_way_short_needle): Detect end-of-string on-the-fly.
16944 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16945 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16946 * string/bug-strcasestr1.c: New test.
16947 * string/Makefile: Run it.
16949 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16952 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16953 the first character.
16955 2012-08-21 Roland McGrath <roland@hack.frob.com>
16957 * csu/elf-init.c (__libc_csu_irel): Function removed.
16958 * csu/libc-start.c (apply_irel): New function.
16959 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16961 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16963 * sysdeps/unix/sysv/linux/kernel-features.h
16964 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16965 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16966 <kernel-features.h>.
16967 [__NR_fadvise64_64]: Make code unconditional.
16968 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16969 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16970 !__NR_fadvise64_64)]: Likewise.
16971 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16972 !__NR_fadvise64_64))]: Likewise.
16973 [__NR_fadvise64]: Make code unconditional.
16974 [!__NR_fadvise64]: Remove conditional code.
16975 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16976 <kernel-features.h>.
16977 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16979 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16982 not include <kernel-features.h>.
16983 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16985 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16987 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16988 include <kernel-features.h>.
16989 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16991 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16994 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16996 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16997 slight instruction rearrangements per scrollpipe analysis.
16998 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17000 2012-08-20 Roland McGrath <roland@hack.frob.com>
17002 * manual/syslog.texi (syslog; vsyslog, closelog):
17003 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17004 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17006 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17007 DSOCAPS to match condition on defining it.
17009 2012-08-20 Joseph Myers <joseph@codesourcery.com>
17011 * sysdeps/unix/sysv/linux/kernel-features.h
17012 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17014 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17015 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17017 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17018 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17020 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17021 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17023 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17024 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17026 * sysdeps/unix/sysv/linux/kernel-features.h
17027 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17028 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17030 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17031 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17032 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17033 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17034 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17035 Make code unconditional.
17036 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17037 (__mmap64) [!__NR_mmap2]: Likewise.
17038 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17039 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17040 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17041 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17042 [__NR_mmap2]: Make code unconditional.
17043 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17044 (__mmap64) [!__NR_mmap2]: Likewise.
17046 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17048 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17050 2012-08-18 Andreas Jaeger <aj@suse.de>
17052 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17054 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17056 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17057 * include/unistd.h (__have_sock_cloexec): Likewise.
17058 (__have_pipe2): Likewise.
17059 (__have_dup3): Likewise.
17061 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17064 * include/unistd.h (__have_pipe2): Change define into an extern int.
17065 (__have_dup3): Likewise.
17066 * socket/have_sock_cloexec.c: Include fcntl.h.
17067 (__have_pipe2): New variable.
17068 (__have_dup3): Likewise.
17070 2012-08-17 Mike Frysinger <vapier@gentoo.org>
17072 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17074 2012-08-17 Marek Polacek <polacek@redhat.com>
17076 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17077 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17079 2012-08-17 Roland McGrath <roland@hack.frob.com>
17081 * configure.in: Add AC_SUBST for sysheaders.
17082 * configure: Regenerated.
17083 * config.make.in (sysheaders): New substituted variable.
17085 * sysdeps/unix/mkfifo.c: Moved ...
17086 * sysdeps/posix/mkfifo.c: ... here.
17087 * sysdeps/unix/mkfifoat.c: Moved ...
17088 * sysdeps/posix/mkfifoat.c: ... here.
17090 * sysdeps/unix/utime.c: Moved ...
17091 * sysdeps/posix/utime.c: ... here.
17093 * sysdeps/unix/time.c: Moved ...
17094 * sysdeps/posix/time.c: ... here.
17095 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17096 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17098 * sysdeps/unix/nice.c: Moved ...
17099 * sysdeps/posix/nice.c: ... here.
17101 * sysdeps/unix/alarm.c: Moved ...
17102 * sysdeps/posix/alarm.c: ... here.
17104 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17106 2012-08-17 Jeff Law <law@redhat.com>
17108 * intl/Makefile (codeset_mo): New variable.
17109 ($(codeset_mo)): New target.
17110 (tst-codeset.out): Depend on that. Remove explicit rule.
17111 (tst-gettext3.out, tst-gettext5.out): Likewise.
17112 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17113 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17114 * intl/tst-codeset.sh: Remove.
17115 * intl/tst-gettext3.sh: Likewise.
17116 * intl/tst-gettext5.sh: Likewise.
17118 2012-08-17 Roland McGrath <roland@hack.frob.com>
17120 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17121 * sysdeps/unix/syscalls.list: ... here.
17123 * sysdeps/posix/getaddrinfo.c
17124 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17125 (gaiconf_init, gaiconf_reload): Use them.
17126 [!_STATBUF_ST_NSEC]
17127 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17128 Define using time_t rather than struct timespec.
17130 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17131 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17133 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17135 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17136 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17139 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17140 __libc_cleanup_push argument.
17142 * bits/param.h: New file.
17143 * misc/sys/param.h: New file.
17144 * include/sys/param.h: New file.
17145 * misc/Makefile (headers): Add bits/param.h.
17146 * sysdeps/generic/sys/param.h: File removed.
17147 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17148 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17149 * sysdeps/mach/hurd/bits/param.h: New file.
17150 * sysdeps/mach/hurd/sys/param.h: File removed.
17152 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17155 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17157 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17158 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17161 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17162 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17163 rather than -D_IO_MTSAFE_IO conditionally.
17164 * stdio-common/Makefile (CPPFLAGS): Likewise.
17165 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17166 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17167 Use $(libio-mtsafe).
17168 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17169 of -D_IO_MTSAFE_IO.
17170 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17171 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17172 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17173 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17174 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17175 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17176 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17177 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17178 (CFLAGS-fread_u_chk.c): Likewise.
17179 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17180 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17181 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17182 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17183 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17184 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17185 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17186 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17187 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17189 * libio/Makefile: Test [$(libc-reentrant) = yes]
17190 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17193 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17194 * sysdeps/pthread/configure: File removed.
17195 * sysdeps/pthread/Makeconfig: New file.
17196 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17197 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17199 2012-08-16 Gary Benson <gbenson@redhat.com>
17201 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17202 unmapping the first object in a namespace.
17204 2012-08-16 Roland McGrath <roland@hack.frob.com>
17206 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17207 (__internal_setnetgrent): ... this. Add internal_function to
17208 definition. Add libc_hidden_def.
17209 (setnetgrent): Update caller.
17210 (internal_endnetgrent): Renamed to ...
17211 (__internal_endnetgrent): ... this. Add internal_function to
17212 definition. Add libc_hidden_def.
17213 (endnetgrent): Update caller.
17214 (internal_getnetgrent_r): Renamed to ...
17215 (__internal_getnetgrent_r): ... this. Add internal_function to
17216 definition. Add libc_hidden_def.
17217 (__getnetgrent_r): Update caller.
17218 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17220 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17222 * stdlib/longlong.h: Update from GCC.
17224 2012-08-16 Roland McGrath <roland@hack.frob.com>
17226 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17227 on _QL, which is set by umul_ppmm but never used.
17228 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17229 variables, which are set by GMP macros but never used.
17230 * stdio-common/_itowa.c (_itowa): Likewise.
17231 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17232 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17234 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17236 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17237 struct La_sh_regs is not constant.
17238 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17239 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17240 and struct La_sparc64_regs are not constant.
17242 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17244 * sysdeps/unix/sysv/linux/kernel-features.h
17245 (__ASSUME_POSIX_TIMERS): Remove.
17246 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17247 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17248 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17249 Make code unconditional.
17250 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17251 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17252 Make code unconditional.
17253 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17254 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17255 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17256 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17257 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17258 Make code unconditional.
17259 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17260 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17261 (__libc_missing_posix_timers): Remove.
17263 2012-08-15 Roland McGrath <roland@hack.frob.com>
17265 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17266 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17268 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17270 * elf/dl-sym.c: Include <stdlib.h>.
17272 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17273 constants, which avoids warnings in 32-bit builds.
17275 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17276 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17278 * misc/lseek.c: File moved to ...
17279 * io/lseek.c: ... here.
17281 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17283 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17284 shifting LEN more than 31 bits at once.
17286 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17289 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17290 segmentation fault for a case of two empty input strings.
17291 * string/test-strncasecmp.c (check1): Renamed to...
17292 (bz12205): ...this.
17293 (bz14195): Add new testcase for two empty input strings and N > 0.
17294 (test_main): Call new testcase, adapt for renamed function.
17296 2012-08-15 Andreas Jaeger <aj@suse.de>
17299 * crypt/md5test2.c: New test, based on test supplied by Serge
17300 Belyshev <belyshev@depni.sinp.msu.ru>.
17301 * crypt/Makefile (xtests): Add md5test-giant..
17302 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17304 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17307 * crypt/md5.c (md5_process_block): Don't assume the buffer
17308 length is less than 2**32.
17309 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17310 length is less than 2**64.
17312 2012-08-15 Roland McGrath <roland@hack.frob.com>
17314 * string/str-two-way.h: Include <sys/param.h>.
17315 (MAX): Macro removed.
17317 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17318 Move #define and #undef of memmove to just before and after
17319 including <string.h>.
17321 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17322 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17323 and after including <string.h>. Move declarations of
17324 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17325 to before #include "string/memmove.c".
17327 * include/dirent.h: Declare __getdirentries.
17329 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17330 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17332 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17334 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17335 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17336 * sysdeps/i386/configure: Regenerated.
17337 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17338 STABS_CURRENT_FILE, and STABS_FUN.
17339 (END): Remove call to STABS_FUN_END.
17340 (STABS_CURRENT_FILE1): Delete.
17341 (STABS_CURRENT_FILE): Likewise.
17342 (STABS_FUN): Likewise.
17343 (STABS_FUN_END): Likewise.
17344 (STABS_FUN2): Likewise.
17345 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17346 * sysdeps/x86_64/configure: Regenerated.
17348 2012-08-14 Roland McGrath <roland@hack.frob.com>
17350 * elf/dl-open.c: Include <atomic.h>.
17351 * elf/dl-lookup.c: Likewise.
17353 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17355 * sysdeps/unix/sysv/linux/kernel-features.h
17356 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17357 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17359 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17361 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17362 condition on __ASSUME_CLONE_THREAD_FLAGS.
17364 2012-08-14 Andreas Jaeger <aj@suse.de>
17366 * sysdeps/i386/fpu/libm-test-ulps: Update.
17368 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17370 * include/atomic.h (atomic_exchange_and_add): Split into ...
17371 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17374 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17378 2012-08-13 Jeff Law <law@redhat.com>
17380 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17381 null byte in the output string.
17383 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17385 * sysdeps/unix/sysv/linux/kernel-features.h
17386 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17387 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17388 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17389 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17390 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17391 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17392 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17394 2012-08-09 Jeff Law <law@redhat.com>
17397 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17398 When avoid_arena is set, don't retry in the that arena. Pick the
17399 next one, whatever it might be.
17400 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17401 (arena_lock): Pass in new parameter to arena_get2.
17402 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17404 (__libc_malloc): Unify retrying after main arena failure with
17405 __libc_memalign version.
17406 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17408 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17411 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17412 to __redirect_strstr.
17413 (__strstr_sse42): Use typeof __redirect_strstr.
17414 (__strstr_ia32): Likewise.
17415 (__libc_strstr): New prototype.
17416 (strstr): Renamed to ...
17417 (__libc_strstr): This.
17418 (strstr): New strong alias of __libc_strstr.
17419 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17420 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17423 (__libc_time): New prototype.
17424 (time_ifunc): Replace time with __libc_time.
17425 (time): New strong alias and hidden definition of __libc_time.
17426 (__GI_time): Remove strong alias.
17427 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17428 Include <stddef.h>.
17429 (memmove): Redefined to __redirect_memmove.
17430 (__memmove_sse2): Use typeof __redirect_memmove.
17431 (__memmove_ssse3): Likewise.
17432 (__memmove_ssse3_back): Likewise.
17433 (__libc_memmove): New prototype.
17434 (memmove): Renamed to ...
17435 (__libc_memmove): This.
17436 (memmove): New strong alias of __libc_memmove.
17438 2012-08-08 Mark Salter <msalter@redhat.com>
17441 (R_MN10300_TLS_GD): Define.
17442 (R_MN10300_TLS_LD): Likewise.
17443 (R_MN10300_TLS_LDO): Likewise.
17444 (R_MN10300_TLS_GOTIE): Likewise.
17445 (R_MN10300_TLS_IE): Likewise.
17446 (R_MN10300_TLS_LE): Likewise.
17447 (R_MN10300_TLS_DTPMOD): Likewise.
17448 (R_MN10300_TLS_DTPOFF): Likewise.
17449 (R_MN10300_TLS_TPOFF): Likewise.
17450 (R_MN10300_SYM_DIFF): Likewise.
17451 (R_MN10300_ALIGN): Likewise.
17452 (R_MN10300_NUM): Update.
17454 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17456 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17459 2012-08-08 Roland McGrath <roland@hack.frob.com>
17461 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17463 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17464 sysdeps/unix -> sysdeps/posix move.
17465 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17467 2012-08-07 Allan McRae <allan@archlinux.org>
17470 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17471 (SUNOS_CPP): Likewise.
17472 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17474 (open_input): Call CPP using execvp.
17476 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17478 * sysdeps/unix/sysv/linux/kernel-features.h
17479 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17480 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17481 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17482 (__ASSUME_WAITID_SYSCALL): Likewise.
17483 * sysdeps/unix/sysv/linux/dl-execstack.c
17484 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17485 code unconditional.
17486 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17488 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17489 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17490 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17492 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17494 [__ASSUME_WAITID_SYSCALL]: Likewise.
17495 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17497 2012-08-07 Roland McGrath <roland@hack.frob.com>
17499 * sysdeps/unix/closedir.c: Renamed to ...
17500 * sysdeps/posix/closedir.c: ... here.
17501 * sysdeps/unix/dirfd.c: Renamed to ...
17502 * sysdeps/posix/dirfd.c: ... here.
17503 * sysdeps/unix/dirstream.h: Renamed to ...
17504 * sysdeps/posix/dirstream.h: ... here.
17505 * sysdeps/unix/fdopendir.c: Renamed to ...
17506 * sysdeps/posix/fdopendir.c: ... here.
17507 * sysdeps/unix/opendir.c: Renamed to ...
17508 * sysdeps/posix/opendir.c: ... here.
17509 * sysdeps/unix/readdir.c: Renamed to ...
17510 * sysdeps/posix/readdir.c: ... here.
17511 * sysdeps/unix/readdir_r.c: Renamed to ...
17512 * sysdeps/posix/readdir_r.c: ... here.
17513 * sysdeps/unix/rewinddir.c: Renamed to ...
17514 * sysdeps/posix/rewinddir.c: ... here.
17515 * sysdeps/unix/seekdir.c: Renamed to ...
17516 * sysdeps/posix/seekdir.c: ... here.
17517 * sysdeps/unix/telldir.c: Renamed to ...
17518 * sysdeps/posix/telldir.c: ... here.
17519 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17520 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17521 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17522 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17524 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17525 * bits/fcntl.h: ... here.
17527 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17529 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17530 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17531 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17532 (struct flock): Move l_start, l_len to the beginning.
17533 Use __pid_t for l_pid.
17534 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17535 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17536 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17537 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17538 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17539 [__USE_LARGEFILE64] (struct flock64): New type.
17540 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17542 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17543 * bits/dirent.h: ... here.
17545 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17546 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17548 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17550 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17551 Change from 2.6.0 to 2.6.16.
17552 * sysdeps/unix/sysv/linux/configure: Regenerated.
17553 * sysdeps/unix/sysv/linux/kernel-features.h
17554 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17555 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17557 (__ASSUME_UTIMES): Likewise.
17558 (__ASSUME_CLONE_STOPPED): Remove.
17559 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17560 architectures, not kernel version.
17561 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17562 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17563 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17564 (__ASSUME_WAITID_SYSCALL): Likewise.
17565 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17566 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17567 * README: State 2.6.16 as minimum Linux kernel version. Do not
17568 refer to older versions.
17570 2012-08-06 Roland McGrath <roland@hack.frob.com>
17572 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17573 Define alphasort64 as an alias.
17574 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17575 Define versionsort64 as an alias.
17576 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17577 Define scandir64 as an alias.
17578 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17579 Define scandirat64 as an alias.
17580 * dirent/alphasort64.c (alphasort64):
17581 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17582 * dirent/versionsort64.c: Likewise.
17583 * dirent/scandir64.c: Likewise.
17584 * dirent/scandirat64.c: Likewise.
17585 * sysdeps/wordsize-64/alphasort.c: File removed.
17586 * sysdeps/wordsize-64/alphasort64.c: File removed.
17587 * sysdeps/wordsize-64/scandir.c: File removed.
17588 * sysdeps/wordsize-64/scandir64.c: File removed.
17589 * sysdeps/wordsize-64/scandirat.c: File removed.
17590 * sysdeps/wordsize-64/scandirat64.c: File removed.
17591 * sysdeps/wordsize-64/versionsort.c: File removed.
17592 * sysdeps/wordsize-64/versionsort64.c: File removed.
17593 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17594 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17595 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17596 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17597 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17598 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17600 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17602 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17603 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17604 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17606 [defined __arch64__ || defined __sparcv9]
17607 (__INO_T_MATCHES_INO64_T): New macro.
17608 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17609 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17610 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17611 * sysdeps/unix/sysv/linux/bits/dirent.h
17612 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17613 (_DIRENT_MATCHES_DIRENT64): New macro.
17615 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17616 Define lockf64 as an alias.
17617 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17618 Define fseeko64 as an alias.
17619 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17620 Define ftello64 as an alias.
17621 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17622 Define _IO_fgetpos64 and fgetpos64 as aliases.
17623 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17624 Define _IO_fsetpos64 and fsetpos64 as aliases.
17625 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17626 Conditionalize body on this.
17627 * libio/fseeko64.c: Likewise.
17628 * libio/ftello64.c: Likewise.
17629 * libio/iofgetpos64.c: Likewise.
17630 * libio/iofsetpos64.c: Likewise.
17631 * sysdeps/wordsize-64/lockf.c: File removed.
17632 * sysdeps/wordsize-64/lockf64.c: File removed.
17633 * sysdeps/wordsize-64/fseeko.c: File removed.
17634 * sysdeps/wordsize-64/fseeko64.c: File removed.
17635 * sysdeps/wordsize-64/ftello.c: File removed.
17636 * sysdeps/wordsize-64/ftello64.c: File removed.
17637 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17638 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17639 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17640 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17641 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17642 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17643 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17644 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17645 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17646 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17647 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17648 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17649 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17650 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17652 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17653 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17654 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17656 [defined __arch64__ || defined __sparcv9]
17657 (__OFF_T_MATCHES_OFF64_T): New macro.
17658 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17659 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17661 (__OFF_T_MATCHES_OFF64_T): New macro.
17663 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17665 * stdlib/secure-getenv.c (__secure_getenv): Replace
17666 GLIBC_2_16 with GLIBC_2_17.
17668 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17670 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17671 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17673 2012-08-03 David S. Miller <davem@davemloft.net>
17675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17677 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17679 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17681 (__ASSUME_CORRECT_SI_PID): Likewise.
17682 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17683 (__ASSUME_TMPFS_NAME): Likewise.
17684 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17685 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17686 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17687 (HAVE_AUX_SECURE): Make definition unconditional.
17688 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17689 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17691 2012-08-03 Roland McGrath <roland@hack.frob.com>
17693 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17694 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17695 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17696 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17697 __eloop_threshold instead of SYMLOOP_MAX.
17699 * sysdeps/generic/eloop-threshold.h: New file.
17700 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17702 * elf/chroot_canon.c (chroot_canon): Likewise.
17704 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17707 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17708 Change to 2.6.0 everywhere.
17709 * sysdeps/unix/sysv/linux/configure: Regenerated.
17710 * sysdeps/unix/sysv/linux/kernel-features.h
17711 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17712 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17714 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17715 (__ASSUME_FUTEX_REQUEUE): Remove.
17716 (__ASSUME_STATFS64): Define unconditionally.
17717 (__ASSUME_AT_SECURE): Likewise.
17718 (__ASSUME_CORRECT_SI_PID): Likewise.
17719 (__ASSUME_TGKILL): Define without depending on kernel version for
17721 (__ASSUME_UTIMES): Likewise.
17722 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17724 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17725 (__ASSUME_TMPFS_NAME): Likewise.
17726 * README: Update reference to Linux kernel versions.
17728 2012-08-02 Marek Polacek <polacek@redhat.com>
17731 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17732 libc_cv_asm_type_prefix with %.
17733 * configure: Regenerated.
17734 * include/libc-symbols.h: Remove comment about
17735 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17736 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17737 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17738 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17739 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17740 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17741 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17742 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17743 * elf/tst-unique2mod1.c: Likewise.
17744 * elf/tst-unique1mod2.c: Likewise.
17745 * elf/tst-unique1mod1.c: Likewise.
17746 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17747 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17748 Replace ASM_TYPE_DIRECTIVE with .type.
17749 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17750 * sysdeps/i386/sysdep.h: Likewise.
17751 * sysdeps/x86_64/sysdep.h: Likewise.
17752 * sysdeps/sh/sysdep.h: Likewise.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17754 Do not define ASM_TYPE_DIRECTIVE.
17755 * sysdeps/powerpc/sysdep.h: Likewise.
17756 * sysdeps/powerpc/powerpc32/sysdep.h:
17757 Replace ASM_TYPE_DIRECTIVE with .type.
17758 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17759 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17760 * sysdeps/i386/fpu/e_powf.S: Likewise.
17761 * sysdeps/i386/fpu/e_expl.S: Likewise.
17762 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17763 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17764 * sysdeps/i386/fpu/e_pow.S: Likewise.
17765 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17767 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17768 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17769 * sysdeps/i386/fpu/e_log2.S: Likewise.
17770 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17771 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17772 * sysdeps/i386/fpu/e_powl.S: Likewise.
17773 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17774 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17775 * sysdeps/i386/fpu/e_logl.S: Likewise.
17776 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17777 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17778 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17779 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17780 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17781 * sysdeps/i386/fpu/e_log.S: Likewise.
17782 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17783 * sysdeps/i386/fpu/e_logf.S: Likewise.
17784 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17785 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17786 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17787 * sysdeps/i386/fpu/e_log10.S: Likewise.
17788 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17789 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17790 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17791 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17792 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17793 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17794 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17795 * sysdeps/i386/i686/strtok.S: Likewise.
17796 * sysdeps/i386/i386-mcount.S: Likewise.
17797 * sysdeps/i386/strtok.S: Likewise.
17798 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17799 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17800 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17801 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17803 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17804 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17805 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17806 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17807 * sysdeps/x86_64/_mcount.S: Likewise.
17808 * sysdeps/x86_64/strtok.S: Likewise.
17809 * sysdeps/sh/_mcount.S: Likewise.
17811 2012-08-01 Roland McGrath <roland@hack.frob.com>
17813 * libio/iofopen.c: Include <fcntl.h>.
17814 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17815 (_IO_fopen64, fopen64): Define as aliases.
17816 * libio/iofopen64.c: Include <fcntl.h>.
17817 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17818 Conditionalize body on this.
17819 * sysdeps/wordsize-64/iofopen.c: File removed.
17820 * sysdeps/wordsize-64/iofopen64.c: File removed.
17822 2012-08-01 Marek Polacek <polacek@redhat.com>
17824 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17825 Use dlfcn directly instead of a variable.
17826 (binfmt-subdir): Do not define.
17829 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17831 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17832 Remove all definitions.
17833 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17834 <kernel-features.h>.
17835 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17836 (miss_F_GETOWN_EX): Remove all definitions.
17837 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17839 [!__ASSUME_FCNTL64]: Remove conditional code.
17840 [__ASSUME_FCNTL64]: Make code unconditional.
17841 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17842 <kernel-features.h>.
17843 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17844 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17845 (lockf64) [__NR_fcntl64]: Make code unconditional.
17846 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17848 * sysdeps/unix/sysv/linux/kernel-features.h
17849 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17850 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17851 Make code unconditional.
17852 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17853 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17855 [__NR_vfork]: Make code unconditional.
17856 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17857 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17859 [__NR_vfork]: Make code unconditional.
17860 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17861 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17863 2012-08-01 Roland McGrath <roland@hack.frob.com>
17865 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17866 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17868 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17869 Define mkstemp64 as an alias.
17870 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17871 Define mkstemps64 as an alias.
17872 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17873 Define mkostemp64 as an alias.
17874 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17875 Define mkostemps64 as an alias.
17876 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17877 Conditionalize body on this.
17878 * misc/mkostemp64.c: Likewise.
17879 * misc/mkostemps64.c: Likewise.
17880 * misc/mkstemps64.c: Likewise.
17881 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17882 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17883 * sysdeps/wordsize-64/mkostemp.c: File removed.
17884 * sysdeps/wordsize-64/mkstemp.c: File removed.
17885 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17886 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17887 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17888 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17891 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17892 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17893 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17894 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17896 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17897 compat_symbol macros from <shlib-compat.h> rather than the underlying
17898 default_symbol_version and symbol_version macros, so that DEFAULT
17899 lines in shlib-versions are respected.
17900 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17902 2012-08-01 Florian Weimer <fweimer@redhat.com>
17904 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17905 Declare with warn_unused_result.
17906 (setgid, setregid, setegid, setresgid): Likewise.
17907 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17909 * WUR-REPORT: Remove set*id functions.
17911 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17913 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17915 2012-07-31 Roland McGrath <roland@hack.frob.com>
17918 * include/sys/socket.h (__libc_accept, __libc_accept4):
17919 Add attribute_hidden.
17920 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17922 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17924 * inet/getnetgrent_r.c (setup): Likewise.
17926 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17928 2012-07-31 David S. Miller <davem@davemloft.net>
17930 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17932 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17935 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17936 value between 1.0 and 2.0 and smaller part has absolute value less
17938 * math/s_clog10.c (__clog10): Likewise.
17939 * math/s_clog10f.c (__clog10f): Likewise.
17940 * math/s_clog10l.c (__clog10l): Likewise.
17941 * math/s_clogf.c (__clogf): Likewise.
17942 * math/s_clogl.c (__clogl): Likewise.
17943 * math/libm-test.inc (clog_test): Add more tests.
17944 (clog10_test): Likewise.
17945 * sysdeps/i386/fpu/libm-test-ulps: Update.
17946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17948 2012-07-31 Florian Weimer <fweimer@redhat.com>
17950 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17951 Exit with zero in case no suitable GID is found, and write a
17952 message to standard error.
17954 2012-07-30 Roland McGrath <roland@hack.frob.com>
17956 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17958 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17959 (MAXPATHLEN): Removed.
17960 (NOGROUP, NODEV): New macros.
17961 (setbit, clrbit, isset, isclr): New macros.
17962 (howmany, roundup, powerof2): New macros.
17963 (DEV_BSIZE): New macro.
17965 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17966 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17968 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17969 definition on [!__NO_LONG_DOUBLE_MATH].
17971 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17972 PTR_MANGLE and PTR_DEMANGLE.
17974 * socket/accept4.c (accept4): Rename to __libc_accept4.
17975 Define accept4 as a weak alias.
17977 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17978 on [_DIRENT_HAVE_D_TYPE].
17979 * io/ftw.c (ftw_dir): Likewise.
17981 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17983 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17985 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17986 Use the BSD numbers rather than the arbitrary ones we had.
17987 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17988 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17989 (SIGXCPU, SIGXFSZ): New macros.
17992 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17993 initializer on [_LIBC_REENTRANT].
17995 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17996 definitions inside [_POSIX_MAPPED_FILES].
17998 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18000 * dirent/opendir.c: Include <fcntl.h>.
18002 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18003 (__libc_getspecific): Likewise.
18004 (__libc_key_create): Likewise.
18006 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18007 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18008 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18009 (tmpfile64): Define as alias.
18010 * sysdeps/wordsize-64/tmpfile.c: File removed.
18011 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18012 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18013 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18015 * stdio-common/vfscanf.c: Include <stdbool.h>.
18016 * nss/makedb.c: Likewise.
18017 * stdio-common/_i18n_number.h: Likewise.
18018 * argp/argp-help.c: Likewise.
18019 * posix/wordexp.c: Likewise.
18020 * sysdeps/posix/spawni.c: Likewise.
18021 * nss/nss_files/files-initgroups.c: Likewise.
18022 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18023 * nss/nss_files/files-initgroups.c: Likewise.
18024 * nss/nss_db/db-netgrp.c: Likewise.
18025 * nss/nss_db/db-initgroups.c: Likewise.
18026 * io/fchmodat.c: Include <sys/stat.h>.
18028 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18029 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18031 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18034 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18035 Add multiple inclusion protection.
18037 2012-07-27 David S. Miller <davem@davemloft.net>
18039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18041 2012-07-27 Gary Benson <gbenson@redhat.com>
18044 * elf/rtld.c: Include <stap-probe.h>.
18045 (dl_main): Added static probes "init_start" and "init_complete".
18046 * elf/dl-load.c: Include <stap-probe.h>.
18047 (lose): Take new parameter "nsid".
18048 Added static probe "map_failed".
18049 (_dl_map_object_from_fd): Pass namespace id to lose.
18050 Added static probe "map_start".
18051 (open_verify): Pass namespace id to lose.
18052 * elf/dl-open.c: Include <stap-probe.h>.
18053 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18054 and "reloc_complete".
18055 * elf/dl-close.c: Include <stap-probe.h>.
18056 (_dl_close_worker): Added static probes "unmap_start" and
18058 * elf/rtld-debugger-interface.txt: New file documenting the above.
18060 2012-07-26 Roland McGrath <roland@hack.frob.com>
18062 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18063 rather than a string variable.
18064 * sunrpc/rpc_main.c (h_output): Likewise.
18065 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18067 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18069 * inet/check_native.c: New file.
18071 2012-07-26 Joseph Myers <joseph@codesourcery.com>
18074 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18075 if larger part has absolute value 1.0.
18076 * math/s_clog10.c (__clog10): Likewise.
18077 * math/s_clog10f.c (__clog10f): Likewise.
18078 * math/s_clog10l.c (__clog10l): Likewise.
18079 * math/s_clogf.c (__clogf): Likewise.
18080 * math/s_clogl.c (__clogl): Likewise.
18081 * math/libm-test.inc (clog_test): Add more tests.
18082 (clog10_test): Likewise.
18083 * sysdeps/i386/fpu/libm-test-ulps: Update.
18084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18086 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18087 (pltexit): Likewise.
18088 (La_regs): Likewise.
18089 (La_retval): Likewise.
18090 (int_retval): Likewise.
18091 Update #error for removed macros to refer only to definitions in
18093 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18095 (pltexit): Likewise.
18096 (La_regs): Likewise.
18097 (La_retval): Likewise.
18098 (int_retval): Likewise.
18099 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18101 (pltexit): Likewise.
18102 (La_regs): Likewise.
18103 (La_retval): Likewise.
18104 (int_retval): Likewise.
18105 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18107 (pltexit): Likewise.
18108 (La_regs): Likewise.
18109 (La_retval): Likewise.
18110 (int_retval): Likewise.
18111 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18113 (pltexit): Likewise.
18114 (La_regs): Likewise.
18115 (La_retval): Likewise.
18116 (int_retval): Likewise.
18117 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18119 (pltexit): Likewise.
18120 (La_regs): Likewise.
18121 (La_retval): Likewise.
18122 (int_retval): Likewise.
18123 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18125 (pltexit): Likewise.
18126 (La_regs): Likewise.
18127 (La_retval): Likewise.
18128 (int_retval): Likewise.
18129 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18130 macro definitions in tst-audit.h.
18131 * sysdeps/i386/tst-audit.h: New file.
18132 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18133 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18134 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18135 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18136 * sysdeps/sh/tst-audit.h: Likewise.
18137 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18138 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18139 * sysdeps/x86_64/tst-audit.h: Likewise.
18141 2012-07-26 Andreas Jaeger <aj@suse.de>
18143 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18146 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18147 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18148 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18150 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18151 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18152 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18154 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18157 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18159 (si_call_addr, si_syscall, si_arch): Define new macro.
18160 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18162 (si_call_addr, si_syscall, si_arch): Define new marcro.
18163 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18165 (si_call_addr, si_syscall, si_arch): Define new macro.
18166 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18168 (si_call_addr, si_syscall, si_arch): Define new macro.
18170 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18173 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18174 Change to 2.4.21 where previously 2.4.1.
18175 * sysdeps/unix/sysv/linux/configure: Regenerated.
18176 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18177 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18178 Linux kernel version.
18179 (__ASSUME_STD_AUXV): Remove.
18180 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18182 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18183 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18184 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18185 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18186 (__ASSUME_NETLINK_SUPPORT): Likewise.
18187 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18188 (__no_netlink_support): Remove conditional definition.
18189 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18191 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18192 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18193 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18194 (if_nameindex_ioctl): Remove.
18195 (if_nameindex_netlink): Do not handle __no_netlink_support.
18196 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18198 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18199 Remove conditional code.
18200 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18202 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18204 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18205 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18206 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18208 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18209 [!__ASSUME_STD_AUXV]: Remove conditional code.
18210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18211 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18212 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18214 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18215 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18217 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18219 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18220 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18222 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18224 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18227 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18230 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18231 code unconditional.
18232 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18234 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18236 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18239 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18241 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18244 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18245 code unconditional.
18246 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18248 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18250 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18253 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18254 code unconditional.
18255 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18257 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18259 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18262 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18264 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18265 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18266 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18267 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18268 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18269 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18270 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18271 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18272 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18273 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18274 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18275 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18276 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18277 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18278 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18279 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18280 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18281 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18282 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18283 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18284 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18285 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18286 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18288 2012-07-25 Florian Weimer <fweimer@redhat.com>
18290 * Versions.def: Add GLIBC_2.17.
18291 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18292 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18293 Introduce __libc_secure_getenv.
18294 * stdlib/Versions (2.17): Add secure_getenv
18295 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18296 * stdlib/secure-getenv.c: Rename __secure_getenv to
18297 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18298 symbol __secure_getenv for GLIBC_2.0.
18299 * stdlib/tst-secure-getenv.c: New.
18300 * stdlib/Makefile (tests): Add testcase.
18301 * manual/startup.texi (Environment Access): Document
18303 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18304 __libc_secure_getenv.
18305 * inet/ruserpass.c (ruserpass): Likewise.
18306 * malloc/mtrace.c (mtrace): Likewise.
18307 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18308 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18309 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18310 * sysdeps/posix/tempname.c: Likewise. Evaluate
18311 HAVE_SECURE_GETENV.
18312 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18313 __secure_getenv to __libc_secure_getenv.
18314 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18323 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18324 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18327 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18329 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18330 (struct La_i86_retval): Likewise.
18331 (struct La_x86_64_regs): Likewise.
18332 (struct La_x86_64_retval): Likewise.
18333 (struct La_x32_regs): Likewise.
18334 (struct La_x32_retval): Likewise.
18335 (struct La_ppc32_regs): Likewise.
18336 (struct La_ppc32_retval): Likewise.
18337 (struct La_ppc64_regs): Likewise.
18338 (struct La_ppc64_retval): Likewise.
18339 (struct La_sh_regs): Likewise.
18340 (struct La_sh_retval): Likewise.
18341 (struct La_s390_32_regs): Likewise.
18342 (struct La_s390_32_retval): Likewise.
18343 (struct La_s390_64_regs): Likewise.
18344 (struct La_s390_64_retval): Likewise.
18345 (struct La_sparc32_regs): Likewise.
18346 (struct La_sparc32_retval): Likewise.
18347 (struct La_sparc64_regs): Likewise.
18348 (struct La_sparc64_retval): Likewise.
18349 (struct audit_ifaces): Remove architecture-specific pltenter and
18351 * sysdeps/i386/ldsodefs.h: New file.
18352 * sysdeps/powerpc/ldsodefs.h: Likewise.
18353 * sysdeps/s390/ldsodefs.h: Likewise.
18354 * sysdeps/sh/ldsodefs.h: Likewise.
18355 * sysdeps/sparc/ldsodefs.h: Likewise.
18356 * sysdeps/x86_64/ldsodefs.h: Likewise.
18358 2012-07-25 Marek Polacek <polacek@redhat.com>
18361 * math/libm-test.inc (yn_test): Add another test.
18362 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18363 to ERANGE when the result is +-Inf.
18364 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18365 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18366 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18367 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18369 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18371 * conform/data/time.h-data (NULL): Use macro-constant. Require
18373 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18375 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18377 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18379 * configure.in <sysdeps resolving>: Correct printing
18381 * configure: Regenerate.
18383 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18385 * math/w_ilogb.c: Include <limits.h>.
18386 * math/w_ilogbl.c: Likewise.
18388 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18390 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18391 va_copy. Document allowing for unavailable va_copy only as
18392 pre-C99 compatibility.
18393 * manual/string.texi (Copying and Concatenation): Use va_copy
18394 instead of __va_copy in concat example.
18396 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18398 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18399 (__sendto): Use create_address_port. Initialize APORT and deallocate
18402 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18403 with O_NOLINK passed to __file_name_lookup.
18405 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18406 with O_NOLINK passed to __file_name_lookup.
18408 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18409 negative N or less than NGIDS.
18411 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18412 type to string_t. Set ERANGE as errno and return it if NAME is not big
18413 enough. Use memcpy instead of strncpy.
18415 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18417 * elf/Makefile (check-data): Remove.
18418 (localplt.data): New vpath directive.
18419 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18420 instead of $(check-data).
18421 * scripts/data/localplt-generic.data: Move to ...
18422 * sysdeps/generic/localplt.data: ... here.
18423 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18424 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18425 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18428 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18431 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18432 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18434 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18435 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18437 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18440 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18444 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18446 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18447 PPC32 and PPC64 files.
18448 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18449 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18451 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18453 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18454 __makecontext_ret to ...
18455 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18456 ... here and call exit if uc_link is NULL. New file.
18457 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18458 __makecontext_ret.S.
18459 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18460 __makecontext_ret to ...
18461 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18462 ... here and call exit if uc_link is NULL. New file.
18463 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18464 __makecontext_ret.S.
18466 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18468 * elf/elf.h (R_390_IRELATIVE): New definition.
18469 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18470 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18471 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18472 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18473 (elf_machine_lazy_rel): Likewise.
18474 * sysdeps/s390/dl-irel.h: New file.
18475 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18476 * sysdeps/s390/s390-64/memset.S: New asm code.
18477 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18478 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18479 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18480 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18481 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18482 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18483 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18484 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18485 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18486 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18487 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18488 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18489 * sysdeps/s390/s390-32/memset.S: New asm code.
18490 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18492 2012-07-17 Marek Polacek <polacek@redhat.com>
18495 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18496 * sysdeps/s390/s390-64/configure.in: Likewise.
18497 * sysdeps/sparc/configure.in: Likewise.
18498 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18499 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18500 * sysdeps/i386/configure.in: Likewise.
18501 * sysdeps/x86_64/configure.in: Likewise.
18502 * sysdeps/sh/configure.in: Likewise.
18503 * sysdeps/s390/s390-32/configure: Regenerated.
18504 * sysdeps/s390/s390-64/configure: Likewise.
18505 * sysdeps/x86_64/configure: Likewise.
18506 * sysdeps/sh/configure: Likewise.
18507 * sysdeps/powerpc/powerpc64/configure: Likewise.
18508 * sysdeps/powerpc/powerpc32/configure: Likewise.
18509 * sysdeps/sparc/configure: Likwise.
18510 * sysdeps/i386/configure: Likewise.
18512 * elf/dl-open.c: Comment fixes.
18514 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18516 * Makefile [CXX] (check-data): Remove.
18517 [CXX] (c++-types.data): New vpath directive.
18518 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18519 vpath. Do not allow for C++ type data being missing.
18520 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18521 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18522 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18523 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18524 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18525 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18526 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18529 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18532 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18535 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18538 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18541 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18542 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18544 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18547 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18548 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18550 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18551 definitions to architecture-specific files.
18552 (TLS_IE): Likewise.
18553 (TLS_LD): Likewise.
18554 (TLS_GD): Likewise.
18555 * sysdeps/i386/tls-macros.h: New file.
18556 * sysdeps/powerpc/tls-macros.h: Likewise.
18557 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18558 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18559 * sysdeps/sh/tls-macros.h: Likewise.
18560 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18561 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18562 * sysdeps/x86_64/tls-macros.h: Likewise.
18564 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18566 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18567 zero value for regular exit case.
18569 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18570 (__start_context): Preserve zero value for regular exit case.
18572 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18573 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18575 * manual/setjmp.texi (setcontext): Clarify normal process
18576 termination when uc_link is the null pointer.
18577 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18580 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18582 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18583 preprocessor. Test for each exception mask separately.
18585 2012-07-16 Andreas Jaeger <aj@suse.de>
18587 * po/ru.po: Update from translation team.
18589 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18591 * conform/data/string.h-data (NULL): Use macro-constant. Require
18593 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18594 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18595 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18596 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18597 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18599 2012-07-13 Andreas Jaeger <aj@suse.de>
18601 * po/fr.po: Update from translation team.
18603 2012-07-12 Marek Polacek <polacek@redhat.com>
18606 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18607 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18610 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18613 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18614 Change to 2.4.1 where previously 2.4.0.
18615 * sysdeps/unix/sysv/linux/configure: Regenerated.
18616 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18617 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18619 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18620 (__ASSUME_AT_CLKTCK): Remove.
18621 (__ASSUME_AT_PAGESIZE): Likewise.
18622 (__ASSUME_AT_XID): Likewise.
18623 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18624 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18625 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18627 (HAVE_AUX_PAGESIZE): Likewise.
18628 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18629 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18630 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18632 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18636 the temporary buffer used to invoke __gethostbyname2_r,
18637 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18638 host_data / struct gaih_addrtuple.
18639 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18640 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18641 header file nss/nsswitch.h.
18642 * nss/nsswitch.h (global scope): Add definition of implementation
18643 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18644 resolv/nss_dns/dns-host.c).
18646 2012-07-11 Andreas Jaeger <aj@suse.de>
18648 * po/fr.po: Update from translation team.
18650 * po/sv.po: Update from translation team
18651 * po/fr.po: Another update from translation team.
18653 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18655 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18656 for subnormals or multiply small sinh result by itself.
18657 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18660 2012-07-11 David S. Miller <davem@davemloft.net>
18662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18664 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18667 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18668 (INTERNAL_MARK): Shift it here.
18670 2012-07-10 Marek Polacek <polacek@redhat.com>
18673 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18674 libc_cv_asm_global_directive with .globl.
18675 * configure: Regenerated.
18676 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18678 * sysdeps/i386/configure: Regenerated.
18679 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18681 * sysdeps/x86_64/configure: Regenerated.
18682 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18683 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18684 * elf/tst-unique2mod2.c: Likewise.
18685 * elf/tst-unique2mod1.c: Likewise.
18686 * elf/tst-unique1mod2.c: Likewise.
18687 * elf/tst-unique1mod1.c: Likewise.
18688 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18689 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18690 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18691 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18692 * sysdeps/mach/sysdep.h: Likewise.
18693 * sysdeps/i386/sysdep.h: Likewise.
18694 * sysdeps/i386/i386-mcount.S: Likewise.
18695 * sysdeps/x86_64/_mcount.S: Likewise.
18696 * sysdeps/x86_64/sysdep.h: Likewise.
18697 * sysdeps/sh/_mcount.S: Likewise.
18698 * sysdeps/sh/sysdep.h: Likewise.
18699 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18700 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18701 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18702 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18703 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18704 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18705 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18706 * locale/localeinfo.h: Likewise.
18707 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18708 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18710 2012-07-09 Roland McGrath <roland@hack.frob.com>
18713 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18715 * manual/message.texi (The Uniforum approach): Likewise.
18716 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18717 (glibc iconv Implementation): Likewise.
18719 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18722 * math/s_clog.c (__clog): Avoid scaling a value down where that
18723 could result in underflow.
18724 * math/s_clog10.c (__clog10): Likewise.
18725 * math/s_clog10f.c (__clog10f): Likewise.
18726 * math/s_clog10l.c (__clog10l): Likewise.
18727 * math/s_clogf.c (__clogf): Likewise.
18728 * math/s_clogl.c (__clogl): Likewise.
18729 * math/libm-test.inc (clog_test): Add more tests.
18730 (clog10_test): Likewise.
18731 * sysdeps/i386/fpu/libm-test-ulps: Update.
18732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18734 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18737 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18738 by 7 not 8 to examine high bit of fractional part.
18741 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18742 for call to __mcount_internal.
18743 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18744 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18745 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18747 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18750 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18751 approximation for values within 0x1p-13f of an odd multiple of
18753 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18754 exception. Add more tests.
18755 * sysdeps/i386/fpu/libm-test-ulps: Update.
18758 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18759 inputs and return -1 for them. Do not check for +Inf in case not
18760 reachable for +Inf.
18761 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18762 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18763 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18764 and return -1 for them. Do not check for +Inf in case not
18765 reachable for +Inf.
18766 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18768 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18769 and return -1 for them. Do not check for +Inf in case not
18770 reachable for +Inf.
18771 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18772 spurious underflow.
18773 * sysdeps/i386/fpu/libm-test-ulps: Update.
18774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18776 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18778 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18780 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18784 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18785 could result in spurious underflow. Scale down values above
18786 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18787 * math/s_csqrtf.c (__csqrtf): Likewise.
18788 * math/s_csqrtl.c (__csqrtl): Likewise.
18789 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18790 spurious underflow.
18791 * sysdeps/i386/fpu/libm-test-ulps: Update.
18792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18794 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18796 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18798 * catgets/xopen-msg.awk: New file.
18799 * catgets/xopen-msg.sed: Removed.
18801 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18803 * intl/po2test.awk: New file.
18804 * intl/po2test.sed: Removed.
18806 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18809 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18810 or multiply small sinh result by itself.
18811 * math/s_ctanf.c (__ctanf): Likewise.
18812 * math/s_ctanh.c (__ctanh): Likewise.
18813 * math/s_ctanhf.c (__ctanhf): Likewise.
18814 * math/s_ctanhl.c (__ctanhl): Likewise.
18815 * math/s_ctanl.c (__ctanl): Likewise.
18816 * math/libm-test.inc (ctan_test_tonearest): New function.
18817 (ctan_test_towardzero): Likewise.
18818 (ctan_test_downward): Likewise.
18819 (ctan_test_upward): Likewise.
18820 (ctanh_test_tonearest): Likewise.
18821 (ctanh_test_towardzero): Likewise.
18822 (ctanh_test_downward): Likewise.
18823 (ctanh_test_upward): Likewise.
18824 (main): Call these new functions.
18825 * sysdeps/i386/fpu/libm-test-ulps: Update.
18826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18828 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18830 * .gitignore: Delete /ports entry.
18832 2012-07-03 Andreas Jaeger <aj@suse.de>
18834 * po/bg.po: Update from translation team.
18835 * po/cs.po: Likewise.
18836 * po/de.po: Likewise.
18837 * po/hr.po: Likewise.
18838 * po/nl.pl: Likewise.
18839 * po/pl.po: Likewise.
18840 * po/vi.po: Likewise.
18842 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18844 * Makeconfig [!+link] (+link-before-libc): New variable.
18845 [!+link] (+link-after-libc): Likewise.
18846 [!+link] (+link-tests): Likewise.
18847 [!+link] (+link): Define in terms of $(+link-before-libc) and
18848 $(+link-after-libc).
18849 [!+link-static] (+link-static-before-libc): New variable.
18850 [!+link-static] (+link-static-after-libc): Likewise.
18851 [!+link-static] (+link-static-tests): Likewise.
18852 [!+link-static] (+link-static): Define in terms of
18853 $(+link-static-before-libc) and $(+link-static-after-libc).
18854 [build-shared] (link-libc-before-gnulib): New variable.
18855 [build-shared] (link-libc-tests): Likewise.
18856 [build-shared] (link-libc): Define in terms of
18857 $(link-libc-before-gnulib).
18858 [!build-shared] (link-libc-tests): New variable.
18859 (link-libc-static-tests): New variable.
18860 [!gnulib] (gnulib-arch): New variable.
18861 [!gnulib] (gnulib-tests): Likewise.
18862 [!gnulib] (static-gnulib-arch): Likewise.
18863 [!gnulib] (static-gnulib-tests): Likewise.
18864 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18865 Define with "=" instead of ":=".
18866 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18867 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18868 * Rules (binaries-all-notests): New variable.
18869 (binaries-all-tests): Likewise.
18870 (binaries-static-notests): Likewise.
18871 (binaries-static-tests): Likewise.
18872 (binaries-all): Define using $(binaries-all-notests) and
18873 $(binaries-all-tests).
18874 (binaries-static): Define using $(binaries-static-notests) and
18875 $(binaries-static-tests).
18876 (binaries-shared-tests): New variable.
18877 (binaries-shared-notests): Likewise.
18878 (binaries-shared): Remove variable.
18879 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18880 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18881 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18882 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18883 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18884 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18885 * elf/Makefile (sln-modules): New variable.
18886 (extra-objs): Add $(sln-modules:=.o).
18887 (ldconfig-modules): Add static-stubs.
18888 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18889 * elf/static-stubs.c: New file.
18892 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18893 by 7 not 8 to examine high bit of fractional part. Use volatile
18894 variables when splitting into final array of floats if
18895 __FLT_EVAL_METHOD__ != 0.
18896 * math/libm-test.inc (cos_test): Add another test.
18897 (sin_test): Likewise.
18898 * sysdeps/i386/fpu/libm-test-ulps: Update.
18901 * math/libm-test.inc (cosh_test): Add more tests.
18903 * version.h (RELEASE): Set to "development".
18904 (VERSION): Set to "2.16.90".
18906 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18908 * NEWS: Update copyright. Remove last-updated date.
18909 Mention math library bug fixes and timezone data changes.
18910 * README: Mention GNU/Hurd, x32, and HPPA support status.
18912 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18914 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18916 2012-06-27 Andreas Jaeger <aj@suse.de>
18918 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18920 2012-06-25 Andreas Jaeger <aj@suse.de>
18922 * sysdeps/s390/fpu/libm-test-ulps: Update.
18924 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18925 Thomas Schwinge <thomas@codesourcery.com>
18927 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18928 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18932 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18934 * sysdeps/mach/start.c: Remove file.
18935 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18936 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18937 * sysdeps/sh/init-first.c: Likewise.
18939 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18940 registers for frame unwinding purposes, add CFI directives.
18941 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18942 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18943 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18946 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18947 __fortify_fail returning.
18948 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18950 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18951 sysdeps/sh/____longjmp_chk.S.
18952 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18953 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18954 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18955 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18957 * sysdeps/sh/abort-instr.h: New file.
18958 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18959 process in case exit returns.
18961 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18962 initialize the GOT register before use.
18964 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18965 calculation of ARGC > 4.
18967 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18968 meaningful names to some local labels.
18970 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18971 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18973 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18974 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18975 (__arch_compare_and_exchange_val_16_acq): Likewise.
18976 (__arch_compare_and_exchange_val_32_acq): Likewise.
18977 (atomic_exchange_and_add): Fix gUSA sequence.
18978 (atomic_add): Likewise.
18979 (atomic_add_negative): Likewise.
18980 (atomic_add_zero): Likewise.
18981 (atomic_bit_test_set): Likewise.
18983 2012-06-22 Andreas Schwab <schwab@redhat.com>
18986 * include/link.h (struct link_map): Add l_free_initfini.
18987 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18989 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18990 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18991 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18994 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18996 * configure.in: Use AC_LANG_SOURCE.
18997 * configure: Regenerate.
18999 2012-06-22 Roland McGrath <roland@hack.frob.com>
19001 * configure.in (libc_cv_localstatedir): New substituted variable.
19002 * configure: Regenerated.
19003 * config.make.in (localstatedir): New variable, substituted from
19004 libc_cv_localstatedir.
19005 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19006 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19007 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19008 * sysdeps/gnu/configure: Regenerated.
19010 2012-06-21 Jeff Law <law@redhat.com>
19013 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19014 free. Simplify list management for _LIBC case.
19016 2012-06-21 Joseph Myers <joseph@codesourcery.com>
19019 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19020 Clear sign bit of 64-bit integer value before comparing against
19023 * sysdeps/mach/configure: Regenerated.
19025 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19028 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19030 2012-06-21 Jeff Law <law@redhat.com>
19033 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19034 uint16_t for elements in the "seen" array to avoid char overflows.
19035 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19036 * elf/dl-open.c (dl_open_worker): Likewise.
19038 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19040 * scripts/list-sources.sh: Scan PORTS for translations.
19041 * po/libc.pot: Regenerated.
19043 2012-06-21 Andreas Jaeger <aj@suse.de>
19046 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19048 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19049 * bits/byteswap-16.h (__bswap_16): Likewise.
19050 * bits/byteswap.h (__bswap_constant_16): Likewise.
19052 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19055 * sysdeps/i386/fpu_control.h: Removed.
19056 * sysdeps/x86_64/fpu_control.h: Moved to ...
19057 * sysdeps/x86/fpu_control.h: Here.
19059 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19060 (_FPU_SETCW): Likewise.
19062 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19065 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19066 * sysdeps/x86/fpu/bits/mathinline.h: This.
19067 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19071 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19072 functions if __x86_64__ is defined.
19074 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19076 * string/endian.h: Add !__ASSEMBLER__ condition for including
19077 conversion interfaces.
19079 2012-06-15 Joseph Myers <joseph@codesourcery.com>
19082 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19083 of ABS(x) in calculating zero to negative powers other than odd
19085 * math/libm-test.inc (pow_test): Add more tests.
19087 2012-06-15 Andreas Jaeger <aj@suse.de>
19089 * manual/contrib.texi (Contributors): Update entry of Liubov
19090 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19093 2012-06-15 Cyril Hrubis <metan@ucw.cz>
19095 * string/string.h: Add __wur to GNU version of strerror_r.
19097 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19100 * string/Makefile (tests): Add tst-strtok_r.
19101 * string/tst-strtok_r.c: New file.
19102 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19103 RAX_LP/RDX_LP on SAVE_PTR.
19105 2012-06-14 Roland McGrath <roland@hack.frob.com>
19107 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19109 2012-06-14 Joseph Myers <joseph@codesourcery.com>
19111 * libm_test.inc (csqrt_test): Allow more spurious underflow
19113 (j0_test): Likewise.
19114 (j1_test): Likewise.
19115 (y0_test): Likewise.
19116 (y1_test): Likewise.
19118 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19120 * po/Makefile (libc.pot): Use UTF-8 charset.
19122 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19125 Suppress sign-conversion warning from FD_SET.
19126 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19127 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19128 not unsigned long int.
19129 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19131 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19135 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19136 __extern_always_inline instead of __extern_inline.
19137 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19138 (__signbit): Likewise.
19139 (__signbitl): Support C++ namespace.
19140 (lrintf): New inline function.
19142 (llrintf): Likewise.
19143 (llrint): Likewise.
19153 (floorf): Likewise.
19154 (nearbyint): Likewise.
19155 (nearbyintf): Likewise.
19157 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19159 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19160 non-default versions.
19162 2012-06-11 Roland McGrath <roland@hack.frob.com>
19165 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19167 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19169 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19170 (FE_UPWARD, FE_DOWNWARD): Don't define.
19171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19172 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19174 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19176 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19177 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19179 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19181 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19183 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19184 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19186 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19189 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19190 * sysdeps/i386/fpu/Implies: New file.
19191 * sysdeps/x86_64/fpu/Implies: Likewise.
19192 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19193 * sysdeps/x86/fpu/bits/fenv.h: This.
19195 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19198 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19201 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19202 character 0xffff that matches the last element of the
19205 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19207 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19210 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19212 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19213 values higher than 25.6283.
19215 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19217 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19218 subnormal exponent extraction and add some __builtin_expect.
19219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19220 Fix for subnormal mantissa calculation.
19222 2012-06-04 Mike Frysinger <vapier@gentoo.org>
19224 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19225 cpu2 is -1 and errno is not ENOSYS.
19227 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19230 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19231 * sysdeps/x86/bits/string.h: This.
19232 * sysdeps/x86_64/bits/string.h: Removed.
19234 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19235 if not compiling for x86-64, but compiling for >= i486.
19237 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19238 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19240 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19241 New macro from Linux kernel 3.4.0.
19242 (FP_XSTATE_MAGIC2): Likewise.
19243 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19244 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19245 (struct _fpx_sw_bytes): New struct.
19246 (struct _xsave_hdr): Likewise.
19247 (struct _ymmh_state): Likewise.
19248 (struct _xstate): Likewise.
19250 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19251 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19252 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19253 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19254 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19255 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19257 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19258 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19259 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19260 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19261 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19262 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19264 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19267 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19268 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19269 (sysdep_headers): Include sys/platform/ppc.h.
19270 * sysdeps/powerpc/test-gettimebase.c: Test for
19271 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19272 * manual/Makefile (appendices): Include platform.texi.
19273 * manual/contrib.texi (Contributors): Update @node pointers.
19274 * manual/maint.texi (Maintenance): Likewise.
19275 (Platform): New node.
19276 * manual/platform.texi: New file. Document the new features.
19278 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19279 Jakub Jelinek <jakub@redhat.com>
19282 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19283 where __builtin_expect is unavailable.
19285 2012-06-03 David S. Miller <davem@davemloft.net>
19287 * stdlib/longlong.h: Updated from GCC.
19289 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19292 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19293 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19296 (GLIBC_2.16): Likewise.
19298 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19300 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19302 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19305 (default-abi): New variable.
19306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19307 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19309 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19311 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19313 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19316 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19317 definition. Document in comment.
19319 2012-06-01 David S. Miller <davem@davemloft.net>
19321 * stdlib/longlong.h: Updated from GCC.
19323 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19326 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19327 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19328 sys/debugreg.h sys/io.h here.
19329 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19330 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19332 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19333 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19334 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19335 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19336 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19337 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19339 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19340 Define only if __x86_64__ is defined.
19342 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19345 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19346 Use int64_t for variable i.
19347 * math/libm-test.inc (fmod_test): Add more tests.
19349 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19350 z computation is not scheduled after fetestexcept.
19351 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19352 Use math_force_eval instead of asm to ensure calculation scheduled
19353 before exception test.
19354 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19355 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19357 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19360 computation is not scheduled after fetestexcept.
19362 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19365 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19366 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19368 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19370 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19371 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19373 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19376 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19378 (__WCHAR_MIN): Support __WORDSIZE == 64.
19379 (__WCHAR_MAX): Likewise.
19381 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19386 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19389 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19390 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19392 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19393 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19395 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19396 Defined to 1 if __x86_64__ isn't defined.
19397 (_STAT_VER_LINUX_OLD): New.
19398 (st_atime): Remove duplicate.
19399 (st_mtime): Likewise.
19400 (st_ctime): Likewise.
19402 2012-05-31 David S. Miller <davem@davemloft.net>
19404 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19407 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19409 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19413 * elf/dl-reloc.c: Include <_itoa.h>.
19414 (_dl_reloc_bad_type): Remove use of INTUSE.
19415 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19416 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19417 * stdio-common/psiginfo.c (psiginfo): Likewise.
19418 * stdio-common/psignal.c (psignal): Likewise.
19419 * string/strsignal.c (strsignal): Likewise.
19420 * include/signal.h (_sys_siglist): Declare hidden proto.
19421 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19422 INTVARDEF with libc_hidden_data_def.
19423 * stdio-common/itoa-udigits.c: Likewise.
19424 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19425 (_itoa_lower_digits_internal): Remove declaration.
19426 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19427 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19428 (_sys_sigabbrev_internal): Remove aliases.
19429 (_sys_siglist): Define hidden alias.
19431 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19433 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19436 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19439 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19440 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19442 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19443 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19444 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19445 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19446 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19447 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19449 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19450 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19451 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19453 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19461 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19462 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19463 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19465 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19466 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19467 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19468 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19469 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19470 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19472 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19473 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19475 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19476 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19478 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19479 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19480 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19482 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19483 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19485 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19487 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19488 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19489 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19491 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19493 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19495 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19497 * math/math.h (M_El): Use two more decimal places.
19498 (M_LOG2El): Likewise.
19499 (M_LOG10El): Likewise.
19500 (M_LN2l): Likewise.
19501 (M_LN10l): Likewise.
19503 (M_PI_2l): Likewise.
19504 (M_PI_4l): Likewise.
19505 (M_1_PIl): Likewise.
19506 (M_2_PIl): Likewise.
19507 (M_2_SQRTPIl): Likewise.
19508 (M_SQRT2l): Likewise.
19509 (M_SQRT1_2l): Likewise.
19511 2012-05-31 David S. Miller <davem@davemloft.net>
19513 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19514 values between float registers.
19515 * sysdeps/sparc/sparc64/memset.S: Likewise.
19516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19518 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19520 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19521 -D_FORTIFY_SOURCE=1.
19522 (CPPFLAGS-tst-longjmp_chk.c): Define.
19523 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19524 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19525 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19526 CFLAGS-tst-wchar-h.c.
19528 2012-05-31 Marek Polacek <polacek@redhat.com>
19531 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19532 __endmntent_internal): Remove declaration.
19533 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19534 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19535 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19537 2012-05-30 David S. Miller <davem@davemloft.net>
19539 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19540 (___Q_simulate_exceptions): Use real FP ops rather than writing
19542 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19545 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19548 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19549 * sysdeps/x86/bits/xtitypes.h: This.
19551 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19552 * sysdeps/x86/bits/wordsize.h: This.
19554 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19555 * sysdeps/x86/bits/huge_vall.h: This.
19557 * sysdeps/i386/bits/select.h: Removed.
19558 * sysdeps/x86_64/bits/select.h: Renamed to ...
19559 * sysdeps/x86/bits/select.h: This.
19561 * sysdeps/i386/bits/setjmp.h: Removed.
19562 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19563 * sysdeps/x86/bits/setjmp.h: This.
19565 * sysdeps/i386/bits/mathdef.h: Removed.
19566 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19567 * sysdeps/x86/bits/mathdef.h: This.
19569 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19572 * include/sys/socket.h (__connect_internal)
19573 (__libc_sa_len_internal): Remove declaration.
19574 (__connect, __libc_sa_len): Declare hidden_proto.
19575 (SA_LEN): Remove use of INTUSE.
19576 * socket/connect.c: Add libc_hidden_def.
19577 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19578 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19579 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19581 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19582 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19583 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19584 of adding _internal alias.
19586 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19589 * sysdeps/i386/bits/link.h: Removed.
19590 * sysdeps/i386/bits/linkmap.h: Likewise.
19591 * sysdeps/x86_64/bits/link.h: Renamed to ...
19592 * sysdeps/x86/bits/link.h: This.
19593 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19594 * sysdeps/x86/bits/linkmap.h: This.
19596 * sysdeps/i386/bits/endian.h: Removed.
19597 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19598 * sysdeps/x86/bits/endian.h: This.
19600 * sysdeps/i386/bits/byteswap.h: Removed.
19601 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19602 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19603 * sysdeps/x86/bits/byteswap.h: This.
19604 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19605 * sysdeps/x86/bits/byteswap-16.h: This.
19606 * sysdeps/i386/Implies: Add x86.
19607 * sysdeps/x86_64/Implies: Likewise.
19609 2012-05-30 David S. Miller <davem@davemloft.net>
19611 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19612 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19613 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19614 (FP_TRAPPING_EXCEPTIONS): Define.
19615 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19616 (FP_TRAPPING_EXCEPTIONS): Define.
19617 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19618 subnormals only when inexact has been signalled or underflow
19619 exceptions are enabled.
19620 (_FP_PACK_CANONICAL): Likewise.
19622 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19625 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19626 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19628 2012-05-30 Richard Henderson <rth@twiddle.net>
19630 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19631 with #ifndef NOT_IN_libc.
19633 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19634 marked to avoid plt entry.
19636 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19639 * Makeconfig (default-abi): New macro.
19640 (abi-includes): Likewise.
19641 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19642 $(abi-$(default-abi)-lib-soname) for soname if defined.
19643 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19645 * Makefile (installed-stubs): Likewise.
19646 * include/stubs-biarch.h: Removed.
19647 * scripts/lib-names.awk: Only handle one library at a time.
19648 * scripts/soversions.awk: Remove WORDSIZE support.
19649 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19651 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19653 (syscall-list-default-condition): Likewise.
19654 (syscall-list-default-condition): Likewise.
19655 (syscall-list-includes): Likewise.
19656 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19657 syscall-list-* with abi-*. Handle undefined abi-variants.
19658 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19659 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19660 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19661 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19662 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19663 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19665 (syscall-list-32-options): Likewise.
19666 (syscall-list-32-condition): Likewise.
19667 (syscall-list-64-options): Likewise.
19668 (syscall-list-64-condition): Likewise.
19669 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19671 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19674 (abi-64-ld-soname): New macro.
19675 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19676 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19679 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19680 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19682 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19684 * sysdeps/unix/sysv/linux/kernel-features.h
19685 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19686 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19687 include <kernel-features.h>.
19688 [!__NR_ftruncate64]: Remove conditional code.
19689 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19690 [__NR_ftruncate64]: Make code unconditional.
19691 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19692 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19693 include <kernel-features.h>.
19694 [!__NR_ftruncate64]: Remove conditional code.
19695 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19696 [__NR_ftruncate64]: Make code unconditional.
19697 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19699 include <kernel-features.h>.
19700 [!__NR_ftruncate64]: Remove conditional code.
19701 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19702 [__NR_ftruncate64]: Make code unconditional.
19703 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19705 include <kernel-features.h>.
19706 [!__NR_ftruncate64]: Remove conditional code.
19707 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19708 [__NR_ftruncate64]: Make code unconditional.
19709 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19711 * configure.in (libc_cv_fpie): Weaken to a compile test using
19712 LIBC_TRY_CC_OPTION.
19713 * configure: Regenerated.
19715 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19730 2012-05-27 David S. Miller <davem@davemloft.net>
19732 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19734 (__Q_simulate_exceptions): Return void. Change to simulate
19735 exceptions by writing into the %fsr.
19736 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19737 (__Qp_handle_exceptions): Likewise.
19739 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19740 __Qp_handle_exceptions.
19741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19742 __Qp_handle_exceptions.
19743 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19744 as unused and give dummy FP_RND_NEAREST initializer.
19745 (FP_INHIBIT_RESULTS): Define.
19746 (___Q_simulate_exceptions): Update declaration.
19747 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19749 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19750 as unused and give dummy FP_RND_NEAREST initializer.
19751 (__Qp_handle_exceptions): Update declaration.
19752 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19755 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19757 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19758 the temporary FPU control word.
19759 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19760 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19761 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19762 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19763 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19764 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19765 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19766 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19767 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19768 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19769 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19771 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19773 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19776 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19778 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19779 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19780 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19781 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19783 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19784 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19787 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19789 * po/h.po: Update from translation team.
19791 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19793 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19795 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19796 handling of denormals.
19797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19798 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19799 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19800 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19806 2012-05-26 Marek Polacek <polacek@redhat.com>
19809 * math/libm-test.inc (fma_test): Don't always expect underflow
19812 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19815 * elf/tst-execstack.c: Include stackinfo.h.
19816 (do_test): Adjust test case to ensure that pthread_getattr_np
19817 behaviour remains the same after marking stack executable.
19819 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19821 * sysdeps/unix/sysv/linux/kernel-features.h
19822 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19823 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19825 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19826 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19827 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19829 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19830 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19832 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19834 * configure.in: Define the default includes to being none.
19835 * configure: Regenerated.
19837 2012-05-25 Roland McGrath <roland@hack.frob.com>
19839 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19840 * sysdeps/x86_64/setjmp.S: Likewise.
19841 * sysdeps/i386/bsd-setjmp.S: Likewise.
19842 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19843 * sysdeps/i386/setjmp.S: Likewise.
19844 * sysdeps/i386/__longjmp.S: Likewise.
19845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19846 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19848 * include/stap-probe.h: New file.
19849 * configure.in: Handle --enable-systemtap.
19850 * configure: Regenerated.
19851 * config.h.in (USE_STAP_PROBE): New #undef.
19852 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19853 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19854 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19856 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19860 to 2.4.0 where earlier.
19861 * sysdeps/unix/sysv/linux/configure: Regenerated.
19862 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19863 <kernel-features.h>.
19864 [__ASSUME_32BITUIDS]: Make code unconditional.
19865 [!__ASSUME_32BITUIDS]: Remove conditional code.
19866 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19867 <kernel-features.h>.
19868 [__ASSUME_32BITUIDS]: Make code unconditional.
19869 [!__ASSUME_32BITUIDS]: Remove conditional code.
19870 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19871 [__ASSUME_32BITUIDS]: Make code unconditional.
19872 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19873 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19874 <kernel-features.h>.
19875 [__ASSUME_32BITUIDS]: Make code unconditional.
19876 [!__ASSUME_32BITUIDS]: Remove conditional code.
19877 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19878 <kernel-features.h>.
19879 [__ASSUME_32BITUIDS]: Make code unconditional.
19880 [!__ASSUME_32BITUIDS]: Remove conditional code.
19881 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19882 <kernel-features.h>.
19883 [__ASSUME_32BITUIDS]: Make code unconditional.
19884 [!__ASSUME_32BITUIDS]: Remove conditional code.
19885 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19886 <kernel-features.h>.
19887 [__ASSUME_32BITUIDS]: Make code unconditional.
19888 [!__ASSUME_32BITUIDS]: Remove conditional code.
19889 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19890 <kernel-features.h>.
19891 [__ASSUME_32BITUIDS]: Make code unconditional.
19892 [!__ASSUME_32BITUIDS]: Remove conditional code.
19893 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19894 <kernel-features.h>.
19895 [__ASSUME_32BITUIDS]: Make code unconditional.
19896 [!__ASSUME_32BITUIDS]: Remove conditional code.
19897 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19898 <kernel-features.h>.
19899 [__ASSUME_32BITUIDS]: Make code unconditional.
19900 [!__ASSUME_32BITUIDS]: Remove conditional code.
19901 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19902 <kernel-features.h>.
19903 [__ASSUME_32BITUIDS]: Make code unconditional.
19904 [!__ASSUME_32BITUIDS]: Remove conditional code.
19905 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19906 <kernel-features.h>.
19907 [__ASSUME_32BITUIDS]: Make code unconditional.
19908 [!__ASSUME_32BITUIDS]: Remove conditional code.
19909 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19910 <kernel-features.h>.
19911 [__ASSUME_32BITUIDS]: Make code unconditional.
19912 [!__ASSUME_32BITUIDS]: Remove conditional code.
19913 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19914 <kernel-features.h>.
19915 [__NR_setresgid] (__setresgid): Do not declare.
19916 [__ASSUME_32BITUIDS]: Make code unconditional.
19917 [!__ASSUME_32BITUIDS]: Remove conditional code.
19918 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19919 <kernel-features.h>.
19920 [__NR_setresuid] (__setresuid): Do not declare.
19921 [__ASSUME_32BITUIDS]: Make code unconditional.
19922 [!__ASSUME_32BITUIDS]: Remove conditional code.
19923 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19924 <kernel-features.h>.
19925 [__ASSUME_32BITUIDS]: Make code unconditional.
19926 [!__ASSUME_32BITUIDS]: Remove conditional code.
19927 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19928 <kernel-features.h>.
19929 [__ASSUME_32BITUIDS]: Make code unconditional.
19930 [!__ASSUME_32BITUIDS]: Remove conditional code.
19931 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19932 <kernel-features.h>.
19933 [__ASSUME_32BITUIDS]: Make code unconditional.
19934 [!__ASSUME_32BITUIDS]: Remove conditional code.
19935 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19936 <kernel-features.h>.
19937 [__ASSUME_32BITUIDS]: Make code unconditional.
19938 [!__ASSUME_32BITUIDS]: Remove conditional code.
19939 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19940 <kernel-features.h>.
19941 [__ASSUME_32BITUIDS]: Make code unconditional.
19942 [!__ASSUME_32BITUIDS]: Remove conditional code.
19943 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19944 <kernel-features.h>.
19945 [__ASSUME_32BITUIDS]: Make code unconditional.
19946 [!__ASSUME_32BITUIDS]: Remove conditional code.
19947 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19948 <kernel-features.h>.
19949 [__ASSUME_32BITUIDS]: Make code unconditional.
19950 [!__ASSUME_32BITUIDS]: Remove conditional code.
19951 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19952 <kernel-features.h>.
19953 [__ASSUME_32BITUIDS]: Make code unconditional.
19954 [!__ASSUME_32BITUIDS]: Remove conditional code.
19955 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19956 <kernel-features.h>.
19957 [__ASSUME_32BITUIDS]: Make code unconditional.
19958 [!__ASSUME_32BITUIDS]: Remove conditional code.
19959 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19960 <kernel-features.h>.
19961 [__ASSUME_32BITUIDS]: Make code unconditional.
19962 [!__ASSUME_32BITUIDS]: Remove conditional code.
19963 * sysdeps/unix/sysv/linux/kernel-features.h
19964 (__ASSUME_SETRESUID_SYSCALL): Remove.
19965 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19966 (__ASSUME_32BITUIDS): Likewise.
19967 (__ASSUME_LDT_WORKS): Likewise.
19968 (__ASSUME_O_DIRECTORY): Likewise.
19969 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19970 architecture but not kernel version.
19971 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19972 (__ASSUME_MMAP2_SYSCALL): Likewise.
19973 (__ASSUME_STAT64_SYSCALL): Likewise.
19974 (__ASSUME_IPC64): Likewise.
19975 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19976 <kernel-features.h>.
19977 [__ASSUME_32BITUIDS]: Make code unconditional.
19978 [!__ASSUME_32BITUIDS]: Remove conditional code.
19979 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19980 <kernel-features.h>.
19981 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19982 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19983 132096]: Remove conditional code.
19984 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19985 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19986 <kernel-features.h>.
19987 [__ASSUME_32BITUIDS]: Make code unconditional.
19988 [!__ASSUME_32BITUIDS]: Remove conditional code.
19989 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19990 <kernel-features.h>.
19991 [__ASSUME_32BITUIDS]: Make code unconditional.
19992 [!__ASSUME_32BITUIDS]: Remove conditional code.
19993 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19994 <kernel-features.h>.
19995 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19997 (__setresgid): Do not declare.
19998 [__ASSUME_32BITUIDS]: Make code unconditional.
19999 [!__ASSUME_32BITUIDS]: Remove conditional code.
20000 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20001 <kernel-features.h>.
20002 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20004 (__setresuid): Do not declare.
20005 [__ASSUME_32BITUIDS]: Make code unconditional.
20006 [!__ASSUME_32BITUIDS]: Remove conditional code.
20007 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20008 <kernel-features.h>.
20009 [__ASSUME_32BITUIDS]: Make code unconditional.
20010 [!__ASSUME_32BITUIDS]: Remove conditional code.
20011 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20012 <kernel-features.h>.
20013 [__ASSUME_32BITUIDS]: Make code unconditional.
20014 [!__ASSUME_32BITUIDS]: Remove conditional code.
20016 2012-05-25 Richard Henderson <rth@twiddle.net>
20018 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20019 dl_hwcap to ifunc resolver.
20020 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20022 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20023 dl_hwcap to ifunc resolver.
20024 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20026 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20029 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20030 for |x| <= 2**-26, not 2**-57.
20031 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20034 2012-05-24 Jeff Law <law@redhat.com>
20036 * stdio-common/Makefile (tests): Add bug25.
20037 * stdio-common/bug25.c: New test.
20039 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20042 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20043 multiple of MALLOC_ALIGNMENT in size.
20044 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20046 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20048 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20050 (FILENAME_MAX): Use macro-int-constant.
20051 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20052 (_IOFBF): Use macro-int-constant.
20053 (_IOLBF): Likewise.
20054 (_IONBF): Likewise.
20055 (SEEK_CUR): Likewise.
20056 (SEEK_END): Likewise.
20057 (SEEK_SET): Likewise.
20058 (TMP_MAX): Likewise.
20059 (EOF): Use macro-int-constant. Require < 0.
20060 (NULL): Use macro-constant. Require == 0.
20061 (stdin): Require type to be FILE *.
20062 (stdout): Likewise.
20063 (stderr): Likewise.
20064 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20065 macro-int-constant.
20066 (EXIT_SUCCESS): Likewise.
20067 (NULL): Use macro-constant. Require == 0.
20068 (RAND_MAX): Use macro-int-constant.
20069 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20070 [C99-based standards] (strtof): Require function.
20071 [C99-based standards] (strtold): Likewise.
20072 [C99-based standards] (strtoll): Likewise.
20073 [C99-based standards] (strtoull): Likewise.
20074 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20075 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20076 [ISO || ISO99 || ISO11] (math.h): Likewise.
20077 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20078 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20081 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20084 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20085 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20086 * intl/dgettext.c (DCGETTEXT): Likewise.
20087 * intl/gettext.c (DCGETTEXT): Likewise.
20088 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20089 * posix/regex_internal.h (gettext): Likewise.
20090 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20091 Remove declaration.
20092 * include/argz.h (__argz_count_internal)
20093 (__argz_stringify_internal): Remove declaration.
20094 (__argz_count, __argz_stringify): Declare hidden proto.
20095 * intl/dcgettext.c: Remove use of INTDEF.
20096 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20097 * string/argz-stringify.c: Likewise.
20098 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20099 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20100 Declare hidden proto.
20101 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20102 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20103 Declare hidden proto.
20104 * include/stdio.h (__asprintf_internal): Don't declare.
20105 (__asprintf): Don't define as macro. Declare hidden proto.
20106 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20107 (__fsetlocking): Declare hidden proto.
20108 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20109 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20111 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20112 (_IO_setlinebuf): Remove use of INTUSE.
20113 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20114 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20115 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20116 Remove declaration.
20117 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20118 (_IO_do_flush): Remove use of INTUSE.
20119 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20120 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20121 (_IO_adjust_column, _IO_least_wmarker)
20122 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20123 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20124 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20125 (_IO_default_doallocate, _IO_wdefault_doallocate)
20126 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20127 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20128 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20129 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20130 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20131 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20132 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20133 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20134 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20135 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20136 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20137 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20138 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20140 (_IO_flush_all_internal, _IO_adjust_column_internal)
20141 (_IO_default_uflow_internal, _IO_default_finish_internal)
20142 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20143 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20144 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20145 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20146 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20147 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20148 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20149 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20150 (_IO_file_close_internal, _IO_file_close_it_internal)
20151 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20152 (_IO_file_init_internal, _IO_file_attach_internal)
20153 (_IO_file_fopen_internal, _IO_file_read_internal)
20154 (_IO_file_sync_internal, _IO_file_seek_internal)
20155 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20156 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20157 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20158 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20159 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20160 (_IO_list_all_internal, _IO_link_in_internal)
20161 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20162 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20163 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20164 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20165 (_IO_do_write_internal, _IO_padn_internal)
20166 (_IO_getline_info_internal, _IO_getline_internal)
20167 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20168 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20169 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20170 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20171 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20172 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20173 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20174 with libc_hidden_ver, remove use of INTUSE.
20175 * libio/genops.c: Likewise.
20176 * libio/freopen.c: Likewise.
20177 * libio/freopen64.c: Likewise.
20178 * libio/iofclose.c: Likewise.
20179 * libio/iofdopen.c: Likewise.
20180 * libio/iofflush.c: Likewise.
20181 * libio/iofflush_u.c: Likewise.
20182 * libio/iofgets.c: Likewise.
20183 * libio/iofgets_u.c: Likewise.
20184 * libio/iofopen.c: Likewise.
20185 * libio/iofopncook.c: Likewise.
20186 * libio/iofread.c: Likewise.
20187 * libio/iofread_u.c: Likewise.
20188 * libio/ioftell.c: Likewise.
20189 * libio/iofwrite.c: Likewise.
20190 * libio/iogetline.c: Likewise.
20191 * libio/iogets.c: Likewise.
20192 * libio/iogetwline.c: Likewise.
20193 * libio/iopadn.c: Likewise.
20194 * libio/iopopen.c: Likewise.
20195 * libio/ioseekoff.c: Likewise.
20196 * libio/ioseekpos.c: Likewise.
20197 * libio/iosetbuffer.c: Likewise.
20198 * libio/iosetvbuf.c: Likewise.
20199 * libio/ioungetc.c: Likewise.
20200 * libio/ioungetwc.c: Likewise.
20201 * libio/iovdprintf.c: Likewise.
20202 * libio/iovsprintf.c: Likewise.
20203 * libio/iovsscanf.c: Likewise.
20204 * libio/memstream.c: Likewise.
20205 * libio/obprintf.c: Likewise.
20206 * libio/oldfileops.c: Likewise.
20207 * libio/oldiofclose.c: Likewise.
20208 * libio/oldiofdopen.c: Likewise.
20209 * libio/oldiofopen.c: Likewise.
20210 * libio/oldiopopen.c: Likewise.
20211 * libio/oldstdfiles.c: Likewise.
20212 * libio/putc.c: Likewise.
20213 * libio/setbuf.c: Likewise.
20214 * libio/setlinebuf.c: Likewise.
20215 * libio/stdfiles.c: Likewise.
20216 * libio/strops.c: Likewise.
20217 * libio/vasprintf.c: Likewise.
20218 * libio/vscanf.c: Likewise.
20219 * libio/vsnprintf.c: Likewise.
20220 * libio/vswprintf.c: Likewise.
20221 * libio/wfiledoalloc.c: Likewise.
20222 * libio/wfileops.c: Likewise.
20223 * libio/wgenops.c: Likewise.
20224 * libio/wmemstream.c: Likewise.
20225 * libio/wstrops.c: Likewise.
20226 * libio/__fpurge.c: Likewise.
20227 * libio/__fsetlocking.c: Likewise.
20228 * assert/assert.c: Likewise.
20229 * debug/fgets_chk.c: Likewise.
20230 * debug/fgets_u_chk.c: Likewise.
20231 * debug/fread_chk.c: Likewise.
20232 * debug/fread_u_chk.c: Likewise.
20233 * debug/gets_chk.c: Likewise.
20234 * debug/obprintf_chk.c: Likewise.
20235 * debug/vasprintf_chk.c: Likewise.
20236 * debug/vdprintf_chk.c: Likewise.
20237 * debug/vsnprintf_chk.c: Likewise.
20238 * debug/vsprintf_chk.c: Likewise.
20239 * malloc/mtrace.c: Likewise.
20240 * misc/error.c: Likewise.
20241 * misc/syslog.c: Likewise.
20242 * stdio-common/asprintf.c: Likewise.
20243 * stdio-common/fxprintf.c: Likewise.
20244 * stdio-common/getw.c: Likewise.
20245 * stdio-common/isoc99_fscanf.c: Likewise.
20246 * stdio-common/isoc99_scanf.c: Likewise.
20247 * stdio-common/isoc99_vfscanf.c: Likewise.
20248 * stdio-common/isoc99_vscanf.c: Likewise.
20249 * stdio-common/isoc99_vsscanf.c: Likewise.
20250 * stdio-common/printf-prs.c: Likewise.
20251 * stdio-common/printf_fp.c: Likewise.
20252 * stdio-common/printf_fphex.c: Likewise.
20253 * stdio-common/printf_size.c: Likewise.
20254 * stdio-common/putw.c: Likewise.
20255 * stdio-common/scanf.c: Likewise.
20256 * stdio-common/sprintf.c: Likewise.
20257 * stdio-common/tmpfile.c: Likewise.
20258 * stdio-common/vfprintf.c: Likewise.
20259 * stdio-common/vfscanf.c: Likewise.
20260 * stdlib/strfmon_l.c: Likewise.
20261 * sunrpc/openchild.c: Likewise.
20262 * sunrpc/xdr_stdio.c: Likewise.
20263 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20264 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20266 2012-05-24 Roland McGrath <roland@hack.frob.com>
20268 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20270 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20271 in the third column, to generate for the shared library an IFUNC
20272 that uses _dl_vdso_vsym.
20273 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20274 * Makeconfig (object-suffixes-noshared): New variable.
20276 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20277 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20278 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20279 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20282 * include/sys/time.h (__gettimeofday): Remove macro.
20283 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20284 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20286 (__gettimeofday): Add libc_hidden_def.
20287 (gettimeofday): Add libc_hidden_weak.
20288 * sysdeps/mach/gettimeofday.c: Likewise.
20289 * sysdeps/posix/gettimeofday.c: Likewise.
20290 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20291 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20293 (__gettimeofday_internal): Remove strong_alias.
20294 (__gettimeofday): Add libc_hidden_def.
20295 (gettimeofday): Add libc_hidden_weak.
20296 * sysdeps/unix/syscalls.list (gettimeofday):
20297 Remove __gettimeofday_internal alias.
20299 2012-05-24 Daniel Jacobowitz <drow@false.org>
20300 H.J. Lu <hongjiu.lu@intel.com>
20303 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20304 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20305 (largebin_index_32_big): New.
20306 (largebin_index): Use it for 16-byte alignment.
20307 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20308 correction with front_misalign.
20310 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20338 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20339 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20341 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20345 * math/libm-test.inc (exp_test): Add test from bug 14036.
20346 (pow_test): Add test from bug 10846.
20348 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20350 (special_function): Do not include flags in test name.
20351 (parse_args): Likewise.
20352 * sysdeps/i386/fpu/libm-test-ulps: Update.
20353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20354 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20355 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20358 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20360 * math/libm-test.inc ("Philosophy"): Update comment about
20362 (UNDERFLOW_EXCEPTION): New macro.
20363 (UNDERFLOW_EXCEPTION_OK): Likewise.
20364 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20365 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20366 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20367 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20368 (INVALID_EXCEPTION_OK): Update value.
20369 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20370 (OVERFLOW_EXCEPTION_OK): Likewise.
20371 (IGNORE_ZERO_INF_SIGN): Likewise.
20372 (test_exceptions): Handle underflow exceptions.
20373 (acos_test): Update for underflow exception expectations.
20374 (cexp_test): Likewise.
20375 (clog_test): Likewise.
20376 (clog10_test): Likewise.
20377 (csqrt_test): Likewise.
20378 (ctan_test): Likewise.
20379 (ctanh_test): Likewise.
20380 (exp_test): Likewise.
20381 (exp10_test): Likewise.
20382 (exp2_test): Likewise.
20383 (expm1_test): Likewise.
20384 (fma_test): Likewise.
20385 (j0_test): Likewise.
20386 (jn_test): Likewise.
20387 (nexttoward_test): Likewise.
20388 (pow_test): Likewise.
20389 (scalbn_test): Likewise.
20390 (scalbln_test): Likewise.
20391 (tan_test): Likewise.
20392 (y1_test): Likewise.
20393 * sysdeps/i386/fpu/libm-test-ulps: Update.
20394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20396 2012-05-23 David S. Miller <davem@davemloft.net>
20398 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20399 (__libc_sigaction): Remove unused local variables.
20401 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20403 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20405 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20407 mktime: avoid signed integer overflow
20408 * time/mktime.c (__mktime_internal): Do not mishandle the case
20409 where diff == INT_MIN.
20411 mktime: simplify computation of average
20412 * time/mktime.c (ranged_convert): Use new time_t_avg function
20413 instead of rolling our own (probably-slower) code.
20415 mktime: do not assume signed right shift propagates sign bit
20416 * time/mktime.c (isdst_differ): New static function.
20417 (__mktime_internal): No need to normalize tm_isdst now.
20418 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20421 mktime: merge another wrapv change from gnulib
20422 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20423 from some compilers.
20425 mktime: remove incorrect attempt at unusual arithmetics
20426 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20427 The code didn't really work on such machines anyway.
20428 (TYPE_MINIMUM): Assume two's complement.
20429 (twos_complement_arithmetic): Verify that long_int and time_t
20430 are two's complement (or unsigned, in the latter case).
20432 mktime: check signed shifts on long_int and time_t, too
20433 * time/mktime.c (SHR): Check that shifts work as desired
20434 on the types long_int and time_t too, as SHR is used on
20437 mktime: do not assume 'long' is wide enough
20438 * time/mktime.c (verify): Move decl up.
20439 (long_int): New type.
20440 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20441 to remove assumption in the code that 'long' is wide enough to
20442 store year values. This assumption is not true on x32 and on
20443 some non-glibc platforms.
20445 mktime: merge wrapv change from gnulib
20446 * time/mktime.c (WRAPV): New macro.
20447 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20448 (guess_time_tm, __mktime_internal): Do not assume that signed
20449 integer overflow wraps around; modern compilers generate code
20450 where this assumption is no longer valid.
20452 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20454 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20455 Replace "jmp L(pseudo_end)" with "ret".
20456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20459 2012-05-23 Andreas Jaeger <aj@suse.de>
20461 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20462 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20464 2012-05-23 Andreas Jaeger <aj@suse.de>
20465 Maximilian Attems <max@stro.at>
20467 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20470 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20472 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20473 code so that pseudo_end is just ret and the stack pointer is
20474 correct also for static library in error case.
20476 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20478 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20479 move to syscalls.list.
20480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20485 * manual/install.texi (Running make install): Do not mention Linux
20486 kernel version for which pt_chown is not needed.
20487 (Linux): Do not mention problems with nscd with 2.0 kernels.
20488 * INSTALL: Regenerated.
20490 2012-05-23 Andreas Jaeger <aj@suse.de>
20492 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20493 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20495 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20497 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20499 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20500 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20501 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20503 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20504 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20505 * sysdeps/unix/sysv/linux/bits/in.h
20506 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20508 2012-05-22 Roland McGrath <roland@hack.frob.com>
20510 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20511 (PREPARE_VERSION): Just use assert instead, it will be elided
20512 under [NDEBUG] anyway.
20514 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20516 * sysdeps/unix/sysv/linux/Makefile: Include
20517 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20518 (sysdep_routines): Remove sysctl.
20519 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20520 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20521 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20522 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20523 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20525 2012-05-22 Andreas Jaeger <aj@suse.de>
20527 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20528 that pseudo_end is just ret and the stack pointer is correct also
20529 for static library in error case.
20531 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20534 * nss/nsswitch.c (defconfig_entries): New variable.
20535 (__nss_database_lookup): Don't leak defconfig entries.
20536 (nss_parse_service_list): Don't leak on error paths.
20537 (free_database_entries): New function.
20538 (free_defconfig): New function.
20539 (free_mem): Move common code to free_database_entries.
20541 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20543 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20545 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20547 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20548 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20549 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20551 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20552 (INTERNAL_SYSCALL_TYPES): Likewise.
20553 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20554 (LOAD_REGS_TYPES_[1-6]): Likewise.
20555 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20556 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20558 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20561 copysignl for GLIBC_2_0.
20562 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20563 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20565 logbl for GLIBC_2_0.
20566 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20567 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20569 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20571 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20572 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20574 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20577 * time/mktime.c: Update copyright years.
20579 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20581 mktime: merge comment-quoting-style change from gnulib
20582 * time/mktime.c: Quote 'like this' in comments.
20583 The GNU coding standards suggest that we no longer quote `like this',
20584 as "`" and "'" are typically rendered asymmetrically nowadays.
20585 The typical gnulib style is to quote 'like this' when quoting
20586 code, and "like this" when quoting English.
20588 * time/mktime.c (compile-command): Add "-I.".
20590 mktime: merge mktime-internal.h change from gnulib
20591 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20593 mktime: merge time_r change from gnulib
20594 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20596 mktime: merge DEBUG change from gnulib
20597 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20598 case system <time.h> has a #define.
20600 mktime: merge <sys/types.h> change from gnulib
20601 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20602 since <time.t> is now guaranteed to define time_t.
20604 mktime: merge HAVE_CONFIG_H change from gnulib
20605 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20607 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20609 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20612 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20614 (struct rusage): Use anonymous union to pad each field to
20617 2012-05-21 David S. Miller <davem@davemloft.net>
20619 * Makefules (o-iterator): Remove .s cases.
20620 (compile-command.s): Delete.
20621 (COMPILE.s): Delete.
20622 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20624 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20626 * configure.in (libc_cv_predef_stack_protector): Only consider
20627 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20628 * configure: Regenerated.
20630 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20633 New macro. Use R*LP on int and pointer.
20634 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20635 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20636 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20637 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20639 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20640 [__WORDSIZE_TIME64_COMPAT32] instead of
20641 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20642 (struct utmp): Likewise.
20643 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20644 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20646 (__WORDSIZE_TIME64_COMPAT32): This.
20647 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20648 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20649 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20650 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20651 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20652 (__WORDSIZE_TIME64_COMPAT32): New macro.
20654 2012-05-21 Andreas Jaeger <aj@suse.de>
20656 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20657 only if [SHARED]. Add prototype for __wcschr_ia32.
20659 2012-05-21 Roland McGrath <roland@hack.frob.com>
20661 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20662 of %rbp unmolested in the jmp_buf while mangling the low bits.
20663 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20664 unmolested high bits of %rbp while demangling the low bits.
20665 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20667 2012-05-21 Andreas Jaeger <aj@suse.de>
20669 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20670 * sunrpc/svc_simple.c: Use it for registerrpc.
20671 * sunrpc/xcrypt.c: Use it for passwd2des.
20673 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20675 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20677 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20678 Don't define if [__SYSCALL_WORDSIZE != 32].
20679 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20682 2012-05-21 Bruno Haible <bruno@clisp.org>
20683 Andreas Jaeger <aj@suse.de>
20685 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20686 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20687 inptr and inend for must_buffer_ch.
20688 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20689 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20690 * stdio-common/Makefile (tests): Remove bug15.
20691 (bug15-ENV): Remove macro.
20692 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20695 2012-05-19 Andreas Jaeger <aj@suse.de>
20696 Roland McGrath <roland@hack.frob.com>
20698 * manual/contrib.texi: Completely rewritten. It contains now an
20699 alphabetical list of contributors and their contributions.
20701 2012-05-21 Richard Henderson <rth@twiddle.net>
20703 * misc/getauxval.c (__getauxval): Use unsigned long int.
20704 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20705 (getauxval): Use unsigned long int.
20707 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20709 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20711 2012-05-21 Roland McGrath <roland@hack.frob.com>
20713 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20714 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20715 __alignof__ (long double).
20717 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20721 2012-05-20 Richard Henderson <rth@twiddle.net>
20723 * misc/getauxval.c: New file.
20724 * misc/sys/auxv.h: New file.
20725 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20726 (routines): Add getauxval.
20727 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20728 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20729 * elf/dl-sysdep.c (_dl_auxv): Remove.
20730 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20731 * elf/dl-support.c (_dl_auxv): New variable.
20732 (_dl_aux_init): Initialize it.
20733 * manual/startup.texi (Auxiliary Vector): New node.
20734 * sysdeps/generic/bits/hwcap.h: New file.
20735 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20736 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20737 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20738 * sysdeps/sparc/sysdep.h: ... here. Include it.
20739 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20740 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20746 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20748 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20752 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20756 2012-05-19 David S. Miller <davem@davemloft.net>
20758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20760 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20763 * math/s_ccosh.c: Include <float.h>
20764 (__ccosh): Avoid internal overflow calculating sinh and cosh
20765 values before multiplying by sin and cos values.
20766 * math/s_ccoshf.c: Likewise.
20767 * math/s_ccoshl.c: Likewise.
20768 * math/s_csin.c: Likewise.
20769 * math/s_csinf.c: Likewise.
20770 * math/s_csinl.c: Likewise.
20771 * math/s_csinh.c: Likewise.
20772 * math/s_csinhf.c: Likewise.
20773 * math/s_csinhl.c: Likewise.
20774 * math/libm-test.inc (ccos_test): Add more tests.
20775 (ccosh_test): Likewise.
20776 (csin_test): Likewise.
20777 (csinh_test): Likewise.
20778 * sysdeps/i386/fpu/libm-test-ulps: Update.
20779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20781 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20783 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20784 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20786 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20788 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20790 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20791 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20792 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20793 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20794 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20795 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20796 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20797 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20798 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20799 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20800 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20801 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20802 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20803 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20804 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20805 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20806 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20807 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20808 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20809 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20810 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20811 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20812 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20813 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20814 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20815 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20816 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20817 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20818 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20819 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20820 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20822 2012-05-18 Andreas Jaeger <aj@suse.de>
20824 * csu/.gitignore: Delete.
20826 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20828 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20829 (timex): Use __syscall_slong_t.
20831 2012-05-18 Andreas Jaeger <aj@suse.de>
20832 Carlos O'Donell <carlos_odonell@mentor.com>
20834 * manual/install.texi (Configuring and compiling): Update
20835 description about files modified in the source directory.
20836 * INSTALL: Regenerated.
20838 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20840 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20841 value. Use "or" to set return value to -1.
20842 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20843 negate return value.
20845 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20847 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20848 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20849 failure if the compiler has Graphite support disabled.
20850 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20852 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20853 CFLAGS-memmove.c): Likewise.
20854 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20857 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20859 * sysdeps/x86_64/x32/_itoa.h: New file.
20861 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20862 getdents system call only if kernel and user dirents have the
20863 same d_ino and d_off.
20865 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20866 LLONG_MAX != LONG_MAX.
20867 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20868 (_fitoa_word): Likewise.
20870 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20872 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20873 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20874 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20877 include <bits/wordsize.h>. Check __x86_64__ instead of
20879 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20880 if __x86_64__ is defined. Use anonymous union on fpstate.
20882 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20885 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20887 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20888 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20889 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20890 Refer to _rtld_local_ro instead of _rtld_global_ro.
20891 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20893 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20895 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20897 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20898 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20899 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20901 * sysdeps/powerpc/powerpc32/dl-machine.c
20902 (__elf_machine_runtime_setup) [PROF]: Don't reference
20905 2012-05-18 Andreas Jaeger <aj@suse.de>
20907 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20908 function only available for GCCs before 3.4 since GCC 3.4
20909 introduced a builtin.
20911 (llrintf): Likewise.
20912 (llrint): Likewise.
20919 (nearbyint): Likewise.
20920 (nearbyintf): Likewise.
20924 (floorf): Likewise.
20926 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20928 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20929 on both fields and cast pointer to __syscall_ulong_t.
20931 * bits/types.h (__fsword_t): New type.
20932 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20933 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20934 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20935 (__FSWORD_T_TYPE): Likewise.
20936 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20937 (__FSWORD_T_TYPE): Likewise.
20938 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20939 (__FSWORD_T_TYPE): Likewise.
20940 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20941 (__FSWORD_T_TYPE): Likewise.
20942 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20943 __SWORD_TYPE with __fsword_t.
20944 (statfs64): Likewise.
20946 2012-05-17 David S. Miller <davem@davemloft.net>
20948 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20950 2012-05-17 Andreas Jaeger <aj@suse.de>
20952 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20955 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20957 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20959 2012-05-17 Andreas Jaeger <aj@suse.de>
20961 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20964 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20966 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20968 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20970 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20971 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20973 2012-05-17 Andreas Jaeger <aj@suse.de>
20974 Carlos O'Donell <carlos_odonell@mentor.com>
20977 * sysdeps/x86_64/multiarch/init-arch.h
20978 (bit_YMM_Usable): Rename to...
20979 (bit_AVX_Usable): ... this.
20980 (bit_FMA4_Usable): New macro.
20981 (bit_XMM_state): New macro.
20982 (bit_YMM_state): New macro.
20983 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20984 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20985 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20986 (CPUID_OSXSAVE): New macro.
20987 (CPUID_AVX): New macro.
20988 (CPUID_FMA4): New macro.
20989 (index_YMM_Usable): Rename to...
20990 (index_AVX_Usable): ... this.
20991 (HAS_AVX): Use HAS_ARCH_FEATURE.
20992 (HAS_FMA4): Likewise.
20993 (HAS_YMM_USABLE): Remove.
20994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20995 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20997 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20998 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20999 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21000 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21001 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21003 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21005 * math/libm-test.c: Support platforms without multiple rounding modes.
21006 * math/bug-nextafter.c: Support platforms without FP exceptions.
21007 * math/bug-nexttoward.c: Likewise.
21008 * math/test-fenv.c: Likewise.
21009 * math/test-misc.c: Likewise.
21010 * stdlib/bug-getcontext.c: Likewise.
21012 2012-05-17 Andreas Jaeger <aj@suse.de>
21014 * manual/examples/search.c (critter_cmp): Change signature to
21016 * manual/string.texi (Collation Functions): Likewise.
21018 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21020 * bits/types.h: Fold copyright years.
21021 * bits/typesizes.h: Likewise.
21022 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21023 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21024 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21025 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21026 * time/time.h: Likewise.
21028 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21031 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21032 in instead of returning them. Return void.
21033 (__libc_mallinfo): Accumulate over all arenas.
21034 (__malloc_stats): Adjust for change in int_mallinfo interface.
21036 2012-05-16 Roland McGrath <roland@hack.frob.com>
21039 * configure.in (NM): Add AC_CHECK_TOOL for it.
21040 (libc_extra_cflags): New substituted variable.
21041 Check for -fstack-protector being used implicitly.
21042 * configure: Regenerated.
21043 * config.make.in (config-extra-cflags): New variable,
21044 gets @libc_extra_cflags@.
21045 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21048 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21049 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21050 * configure: Regenerated.
21051 * config.make.in (CPPUNDEFS): New substituted variable.
21052 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21053 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21054 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21056 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21058 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21059 (mq_attr): Use __syscall_slong_t.
21061 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21063 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21064 Check __x86_64__ instead of __WORDSIZE.
21065 (_STAT_VER_LINUX): Likewise.
21066 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21067 __syscall_ulong_t and __syscall_slong_t.
21068 (stat64): Likewise.
21070 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21072 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21074 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21076 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21078 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21080 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21083 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21084 include <bits/wordsize.h>. Check __x86_64__ instead of
21086 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21088 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21091 include <bits/wordsize.h>. Check __x86_64__ instead of
21093 (user_regs_struct): Use "__extension__ unsigned long long"
21094 instead of "unsigned long" if __x86_64__ is defined.
21095 (user): Likewise. Pad after pointer field if __ILP32__ is
21098 2012-05-16 Joseph Myers <joseph@codesourcery.com>
21100 * configure.in (makeinfo): Require version 4.5 or later. Allow
21102 * configure: Regenerated.
21103 * manual/install.texi (texinfo): Increase version requirement to
21105 * INSTALL: Regenerated.
21107 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21109 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21111 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21113 * sysdeps/x86_64/x32/ffs.c: New file.
21115 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21117 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21118 defined. Use __syscall_ulong_t.
21119 (shminfo): Use __syscall_ulong_t.
21120 (shm_info): Likewise.
21122 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21125 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21127 (msgqnum_t): Use __syscall_ulong_t.
21128 (msglen_t): Likewise.
21129 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21132 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21133 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21135 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21137 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21138 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21140 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21143 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21144 include <bits/wordsize.h>. Check __x86_64__ instead of
21147 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21148 "unsigned long long int" if __x86_64__ is defined.
21149 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21151 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21152 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21153 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21155 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21157 (GET_PC): Cast to uintptr_t first.
21158 (GET_FRAME): Likewise.
21159 (GET_STACK): Likewise.
21161 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21162 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21163 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21164 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21165 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21166 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21167 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21168 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21169 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21170 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21171 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21172 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21173 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21174 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21175 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21176 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21177 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21178 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21179 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21180 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21181 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21182 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21183 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21184 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21185 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21186 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21187 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21188 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21191 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21193 * Makerules (+depfiles): Also collect depfiles from .oS in
21195 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21196 .oS, $(libnldbl-routines)).
21198 * Makerules (native-compile-mkdep-flags): Define.
21199 * sunrpc/Makefile (extra-objs): Add $(addprefix
21200 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21201 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21202 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21203 calling $(make-target-directory).
21205 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21207 * bits/types.h (__snseconds_t): Removed.
21208 * time/time.h (struct timespec): Replace __snseconds_t with
21210 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21211 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21213 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21214 (__SNSECONDS_T_TYPE): Likewise.
21215 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21216 (__SNSECONDS_T_TYPE): Likewise.
21217 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21218 (__SNSECONDS_T_TYPE): Likewise.
21220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21222 * sysdeps/mach/hurd/bits/typesizes.h
21223 (__SYSCALL_SLONG_TYPE): New macro.
21224 (__SYSCALL_ULONG_TYPE): Likewise.
21226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21228 * bits/types.h (__syscall_slong_t): New type.
21229 (__syscall_ulong_t): Likewise.
21231 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21232 (__SYSCALL_ULONG_TYPE): Likewise.
21233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21234 (__SYSCALL_SLONG_TYPE): Likewise.
21235 (__SYSCALL_ULONG_TYPE): Likewise.
21236 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21237 (__SYSCALL_SLONG_TYPE): Likewise.
21238 (__SYSCALL_ULONG_TYPE): Likewise.
21239 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21240 (__SYSCALL_SLONG_TYPE): Likewise.
21241 (__SYSCALL_ULONG_TYPE): Likewise.
21243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21245 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21246 Add sigaltstack-offsets.sym.
21247 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21248 <sigaltstack-offsets.h>.
21249 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21250 longjmp_msg pointer.
21251 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21252 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21254 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21256 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21258 * elf/stackguard-macros.h: Remove file.
21259 * sysdeps/generic/stackguard-macros.h: New file.
21260 * sysdeps/i386/stackguard-macros.h: Likewise.
21261 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21262 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21263 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21264 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21265 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21266 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21267 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21268 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21269 <elf/stackguard-macros.h>.
21272 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21273 __aligned__ in attribute.
21274 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21275 (gregset_t): Likewise.
21277 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21279 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21280 * sysdeps/x86_64/64/Implies-after: Here. New file.
21281 * sysdeps/x86_64/x32/Implies-after: New file.
21283 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21285 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21286 and access return value for _dl_profile_fixup. Use R10_LP to
21289 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21291 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21295 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21296 * sysdeps/x86_64/x32/sysdep.h: New file.
21298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21300 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21301 * sysdeps/x86_64/setjmp.S: Likewise.
21303 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21305 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21306 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21307 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21308 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21309 remove unused global constant.
21311 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21313 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21314 include of <not-cancel.h>.
21316 2012-05-15 Roland McGrath <roland@hack.frob.com>
21318 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21320 2012-05-15 Jeff Law <law@redhat.com>
21321 Andreas Jaeger <aj@suse.de>
21324 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21326 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21327 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21328 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21329 code changing __hst_map_handle.map.
21331 2012-05-15 Roland McGrath <roland@hack.frob.com>
21333 * configure.in (sysnames): Look for Implies-before and Implies-after
21335 * configure: Regenerated.
21337 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21339 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21340 8-byte data alignment with LP_SIZE alignment.
21342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21344 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21347 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21349 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21351 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21353 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21354 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21357 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21359 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21361 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21362 (stackinfo_sub_sp): Likewise.
21364 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21366 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21371 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21374 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21376 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21379 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21381 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21385 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21386 into R11_LP and load __x86_64_shared_cache_size_half into
21389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21391 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21394 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21400 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21402 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21403 powerpc32/power7/fpu/s_logb.c via #include.
21404 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21405 powerpc32/power7/fpu/s_logbf.c via #include.
21406 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21407 powerpc32/power7/fpu/s_logbl.c via #include.
21409 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21411 * README.libm: Remove file.
21413 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21415 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21416 count for x32. Use R*_LP and omit operand-size suffix.
21418 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21420 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21421 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21422 * sysdeps/x86_64/x32/shlib-versions: New file.
21424 2012-05-14 Roland McGrath <roland@hack.frob.com>
21426 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21427 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21428 Use _dl_fatal_printf instead.
21430 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21432 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21433 set if not set by the user. Do not allow for being unset.
21434 * sysdeps/unix/sysv/linux/configure: Regenerated.
21436 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21438 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21439 the `q' suffix from lea and replace .quad with ASM_ADDR.
21441 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21444 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21446 (PTR_DEMANGLE): Likewise.
21448 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21450 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21452 (ASM_ADDR): Likewise.
21453 (RAX_LP): Likewise.
21454 (RBP_LP): Likewise.
21455 (RBX_LP): Likewise.
21456 (RCX_LP): Likewise.
21457 (RDI_LP): Likewise.
21458 (RSI_LP): Likewise.
21459 (RSP_LP): Likewise.
21462 (R10_LP): Likewise.
21463 (R10_LP): Likewise.
21464 (R11_LP): Likewise.
21465 (R12_LP): Likewise.
21466 (R13_LP): Likewise.
21467 (R14_LP): Likewise.
21468 (R15_LP): Likewise.
21470 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21472 * sysdeps/x86_64/x32/dl-machine.h: New file.
21474 2012-05-14 Andreas Jaeger <aj@suse.de>
21476 * manual/Makefile (subdir): Remove export of subdir.
21477 (all): Remove target.
21478 (.PHONY): Remove all from list.
21479 (mkinstalldirs): Remove.
21480 (.PHONY): Remove installdirs from list.
21481 ($(inst_infodir)/libc.info): Use make-target-directory.
21482 (installdirs): Remove.
21483 (subdir_%): Remove.
21484 (glibc-targets): Remove.
21487 ($(objpfx)stubs ../po/manual.pot): Remove.
21488 ($(objpfx)stamp%): Remove.
21489 (make-target-directory): Remove.
21490 (subdir_install): Remove.
21491 (routines): Remove.
21498 * manual/.gitignore: Remove, it's not needed anymore.
21499 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21501 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21503 (texis): Renamed to $(objpfx)texis.
21504 (texis-path): New, contains path to generated files.
21505 (chapters.%): Use texis-path for complete path, add extra argument
21507 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21508 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21509 (summary,texi, stamp-summary): Use complete path of
21510 files. Generate files in build dir.
21511 (dir-add.texi): Build in build dir.
21512 (libm-err.texi,stamp-libm-err): Likewise.
21513 (version.texi, stamp-version): Likewise.
21514 (.%c.texi): Likewise.
21515 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21516 (mostlyclean): Remove target.
21517 (realclean): Remove target.
21518 (generated): Add new variable with contents from mostlyclean and
21519 realclean, remove entries duplicated in common-mostlyclean, add
21520 stamp-libm-err and stamp-version.
21521 (generated-dirs): Add libc directory.
21522 ($(inst_infodir)/libc.info): Install files from build dir.
21524 * manual/install.texi (Configuring and compiling): Adjust since
21525 the info files are not part of the tar ball anymore.
21527 2012-05-14 Andreas Jaeger <aj@suse.de>
21529 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21532 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21536 to 2.2.0 where earlier.
21537 * sysdeps/unix/sysv/linux/configure: Regenerated.
21538 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21539 Remove conditional code.
21540 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21541 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21542 Remove conditional code.
21543 [!__NR_lchown]: Likewise.
21544 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21545 [__NR_lchown]: Likewise.
21546 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21547 comment referencing __ASSUME_LCHOWN_SYSCALL.
21548 * sysdeps/unix/sysv/linux/i386/sigaction.c
21549 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21550 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21551 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21552 Remove conditional code.
21553 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21554 (__protocol_available): Remove #if 0 code.
21555 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21557 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21558 * sysdeps/unix/sysv/linux/kernel-features.h
21559 (__ASSUME_GETCWD_SYSCALL): Don't define.
21560 (__ASSUME_REALTIME_SIGNALS): Likewise.
21561 (__ASSUME_PREAD_SYSCALL): Likewise.
21562 (__ASSUME_PWRITE_SYSCALL): Likewise.
21563 (__ASSUME_POLL_SYSCALL): Likewise.
21564 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21565 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21567 (__ASSUME_SIOCGIFNAME): Don't define.
21568 (__ASSUME_MSG_NOSIGNAL): Likewise.
21569 (__ASSUME_SENDFILE): Define unconditionally.
21570 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21571 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21573 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21574 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21575 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21576 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21577 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21578 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21579 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21581 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21582 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21584 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21585 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21587 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21588 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21590 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21591 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21593 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21596 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21597 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21599 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21602 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21603 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21604 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21605 Remove conditional code.
21606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21607 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21608 Remove conditional code.
21609 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21610 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21611 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21612 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21613 Remove conditional code.
21614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21615 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21616 Remove conditional code.
21617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21618 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21619 Remove conditional code.
21620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21621 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21622 Remove conditional code.
21623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21624 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21625 Remove conditional code.
21626 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21627 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21628 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21629 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21630 * sysdeps/unix/sysv/linux/sigaction.c
21631 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21632 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21633 * sysdeps/unix/sysv/linux/sigpending.c
21634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21636 * sysdeps/unix/sysv/linux/sigprocmask.c
21637 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21638 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21639 * sysdeps/unix/sysv/linux/sigsuspend.c
21640 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21641 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21642 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21643 (__libc_missing_rt_sigs): Remove.
21644 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21645 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21646 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21647 Remove conditional code.
21648 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21649 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21651 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21652 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21653 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21654 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21656 2012-05-14 Andreas Jaeger <aj@suse.de>
21658 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21659 it's not used in glibc.
21660 (__coshm1): Likewise.
21661 (__acosh1p): Likewise.
21664 * manual/string.texi (Copying and Concatenation): Add missing
21665 variable in concat example.
21666 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21668 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21671 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21672 __builtin_clzl with __builtin_clzll.
21674 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21677 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21680 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21682 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21683 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21684 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21685 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21687 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21689 * NEWS: Update ia64 info.
21691 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21693 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21696 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21698 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21699 * sysdeps/unix/syscalls.list (dup3): Likewise.
21700 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21701 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21703 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21705 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21706 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21708 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21710 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21712 (TLS_IE): Use mov/add instead of movq/addq to load thread
21714 (TLS_GD_PREFIX): New.
21717 2012-05-11 David S. Miller <davem@davemloft.net>
21719 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21720 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21721 (_FPU_SETCW): Likewise.
21723 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21725 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21726 is 32-byte aligned.
21728 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21731 * iconvdata/gb18030.c: Update tables.
21732 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21733 characters specially.
21734 (BODY for TO_LOOP): Add encoding of missing ranges.
21736 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21739 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21740 * sysdeps/mach/hurd/dup3.c: Likewise.
21741 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21742 * sysdeps/powerpc/memmove.c:: Likewise.
21744 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21746 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21747 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21749 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21751 * elf/elf.h (R_X86_64_RELATIVE64): New.
21752 (R_X86_64_NUM): Updated.
21753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21754 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21755 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21756 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21757 tst-quad1pie tst-quad2pie
21758 (modules-names): Add tst-quadmod1 tst-quadmod2.
21759 ($(objpfx)tst-quad1): New dependency.
21760 ($(objpfx)tst-quad2): Likewise.
21761 ($(objpfx)tst-quad1pie): Likewise.
21762 ($(objpfx)tst-quad2pie): Likewise.
21763 * sysdeps/x86_64/tst-quad1.c: New file.
21764 * sysdeps/x86_64/tst-quad1pie.c: New file.
21765 * sysdeps/x86_64/tst-quad2.c: Likewise.
21766 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21767 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21768 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21769 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21770 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21772 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21774 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21775 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21776 * streams/stropts.h (t_scalar_t): Define type.
21778 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21779 (_PATH_PRESERVE): Set to "/var/lib".
21780 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21782 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21785 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21786 if __dir_mkfile succeeded.
21788 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21789 checking for _hurd_dtablesize. Unlock it right after having
21790 finished _hurd_dtable allocation.
21792 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21794 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21795 * sysdeps/mach/hurd/configure: Regenerated.
21796 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21797 special-casing to...
21798 * sysdeps/gnu/configure.in: ... this new file.
21799 * sysdeps/unix/sysv/linux/configure: Regenerated.
21800 * sysdeps/gnu/configure: New generated file.
21802 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21803 for Linux: use nsec instead of usec, as well as:
21804 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21805 members of type struct timespec.
21806 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21808 (struct stat64): Likewise.
21809 (_STATBUF_ST_NSEC): New macro.
21810 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21812 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21813 __strtoul_internal rather than strtoul.
21815 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21817 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21820 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21822 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21823 which preserves existing values.
21824 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21826 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21828 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21829 TIMEOUT values. Return EINVAL for NFDS values either negative or
21830 greater than FD_SETSIZE.
21832 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21834 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21835 allocated, call __vm_protect to finish enabling the existing space, and
21836 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21837 allocate the remainder.
21839 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21841 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21842 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21844 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21846 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21847 sysdeps/mach/hurd/readlink.c.
21849 * posix/tst-sysconf.c (posix_options): Only use
21850 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21851 _POSIX_SYNCHRONIZED_IO when they are defined
21852 * sysdeps/mach/hurd/bits/posix_opt.h:
21853 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21854 (_XOPEN_REALTIME): Undefine macro.
21855 (_XOPEN_REALTIME_THREADS): Undefine macro.
21856 (_XOPEN_SHM): Undefine macro.
21857 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21859 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21861 (_POSIX_ASYNC_IO): Undefine macro.
21862 (_POSIX_PRIORITIZED_IO): Undefine macro.
21863 (_POSIX_SPIN_LOCKS): Define macro to -1.
21865 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21866 SA_NODEFER, SA_RESETHAND.
21867 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21868 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21871 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21873 * elf/Makefile (pldd-modules): Define unconditionally.
21875 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21877 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21879 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21881 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21882 Return ENOENT when name is empty.
21883 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21885 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21887 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21889 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21891 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21893 Fix mlock in all cases except non-readable pages.
21894 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21895 instead of VM_PROT_ALL as parameter to __vm_wire function.
21897 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21898 (__mkdir): When path is `/', just fail with EEXIST.
21899 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21901 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21903 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21904 <sys/uio.h> (for writev).
21905 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21906 and <sys/param.h> (for MIN).
21908 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21910 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21911 REQUESTED_TIME. Properly set the remaining time and return EINTR
21914 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21916 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21917 Depend on against $(link-rpcuserlibs).
21919 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21921 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21922 (__libc_stack_end): Do not use attribute_relro.
21923 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21924 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21925 to libthread-provided value.
21926 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21929 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21932 * bits/libc-lock.h (__libc_once_get): New macro.
21933 * sysdeps/mach/bits/libc-lock.h: Likewise.
21934 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21935 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21936 instead of using implementation details.
21938 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21939 * libio/freopen.c: Likewise.
21940 * libio/freopen64.c: Likewise.
21941 * misc/syslog.c: Likewise.
21942 * nscd/connections.c: Likewise.
21943 * nscd/netgroupcache.c: Likewise.
21944 * sysdeps/posix/getcwd.c: Likewise.
21946 2012-05-10 Roland McGrath <roland@hack.frob.com>
21948 * math/w_ilogbf.c: Add #include <limits.h>.
21950 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21952 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21953 path instead of returning without unlocking.
21955 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21956 immediate-write ioctls.
21957 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21959 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21961 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21962 __builtin_frame_address instead of making assumptions about the
21963 location of the return address relative to DATA. Force early load of
21964 the return address.
21965 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21966 __builtin_frame_address.
21969 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21970 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21971 implement dup3 and do some further code clean-ups.
21972 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21973 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21975 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21977 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21979 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21980 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21981 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21982 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21983 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21986 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21987 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21988 when handler == SIG_ERR, not when handler != SIG_ERR.
21990 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21992 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21993 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21996 accept4 for GNU Hurd.
21997 * include/sys/socket.h (__libc_accept4): New prototype.
21998 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21999 to implement __libc_accept4.
22000 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22002 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22004 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22005 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22006 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22007 signal-defines.sym.
22009 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22011 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22013 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22015 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22016 assertion on O_CLOEXEC flag.
22017 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22018 * hurd/intern-fd.c: Likewise.
22019 * hurd/port2fd.c: Likewise.
22021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22024 * bits/in.h (IPV6_PKTINFO): Define new macro.
22025 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22027 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22032 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22033 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22034 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22035 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22037 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22038 * math/libm-test.inc (logb_test) : Additional logb tests.
22040 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22041 Andreas Jaeger <aj@suse.de>
22043 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22044 * configure: Regenerated.
22045 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22046 * config.make.in (link-obsolete-rpc): New substituted variable.
22047 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22048 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22049 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22050 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22051 so that libc.a contains the symbols.
22052 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22053 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22054 * sunrpc/auth_none.c: Likewise.
22055 * sunrpc/auth_unix.c: Likewise.
22056 * sunrpc/authdes_prot.c: Likewise.
22057 * sunrpc/authuxprot.c: Likewise.
22058 * sunrpc/clnt_gen.c: Likewise.
22059 * sunrpc/clnt_perr.c: Likewise.
22060 * sunrpc/clnt_raw.c: Likewise.
22061 * sunrpc/clnt_simp.c: Likewise.
22062 * sunrpc/clnt_tcp.c: Likewise.
22063 * sunrpc/clnt_udp.c: Likewise.
22064 * sunrpc/clnt_unix.c: Likewise.
22065 * sunrpc/des_crypt.c: Likewise.
22066 * sunrpc/des_soft.c: Likewise.
22067 * sunrpc/get_myaddr.c: Likewise.
22068 * sunrpc/key_call.c: Likewise.
22069 * sunrpc/key_prot.c: Likewise.
22070 * sunrpc/netname.c: Likewise.
22071 * sunrpc/pm_getmaps.c: Likewise.
22072 * sunrpc/pm_getport.c: Likewise.
22073 * sunrpc/pmap_clnt.c: Likewise.
22074 * sunrpc/pmap_prot.c: Likewise.
22075 * sunrpc/pmap_prot2.c: Likewise.
22076 * sunrpc/pmap_rmt.c: Likewise.
22077 * sunrpc/publickey.c: Likewise.
22078 * sunrpc/rpc_cmsg.c: Likewise.
22079 * sunrpc/rpc_common.c: Likewise.
22080 * sunrpc/rpc_dtable.c: Likewise.
22081 * sunrpc/rpc_prot.c: Likewise.
22082 * sunrpc/rpc_thread.c: Likewise.
22083 * sunrpc/rtime.c: Likewise.
22084 * sunrpc/svc.c: Likewise.
22085 * sunrpc/svc_auth.c: Likewise.
22086 * sunrpc/svc_raw.c: Likewise.
22087 * sunrpc/svc_run.c: Likewise.
22088 * sunrpc/svc_tcp.c: Likewise.
22089 * sunrpc/svc_udp.c: Likewise.
22090 * sunrpc/svc_unix.c: Likewise.
22091 * sunrpc/svcauth_des.c: Likewise.
22092 * sunrpc/xcrypt.c: Likewise.
22093 * sunrpc/xdr.c: Likewise.
22094 * sunrpc/xdr_array.c: Likewise.
22095 * sunrpc/xdr_float.c: Likewise.
22096 * sunrpc/xdr_intXX_t.c: Likewise.
22097 * sunrpc/xdr_mem.c: Likewise.
22098 * sunrpc/xdr_rec.c: Likewise.
22099 * sunrpc/xdr_ref.c: Likewise.
22100 * sunrpc/xdr_sizeof.c: Likewise.
22101 * sunrpc/xdr_stdio.c: Likewise.
22103 2012-05-10 Roland McGrath <roland@hack.frob.com>
22105 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22106 change. Update copyright years.
22108 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22110 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22112 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22113 Joseph Myers <joseph@codesourcery.com>
22114 Paul Pluzhnikov <ppluzhnikov@google.com>
22117 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22119 [cross-compiling] (extra-libs): Likewise.
22120 [cross-compiling] (extra-libs-others): Likewise.
22121 [cross-compiling] (librpcsvc-routines): Likewise.
22122 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22123 [cross-compiling] (omit-deps): Likewise.
22124 (sunrpc-CPPFLAGS): New variable.
22125 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22126 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22127 (cross-rpcgen-objs): New variable.
22128 (extra-objs): Append $(cross-rpcgen-objs).
22129 ($(cross-rpcgen-objs)): New rule.
22130 ($(objpfx)cross-rpcgen): Likewise.
22131 (rpcgen-cmd): Define to use $(built-program-file). Expand
22133 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22134 ($(objpfx)x%.stmp): Likewise.
22135 * sunrpc/proto.h [IS_IN_build] (_): Define.
22136 [IS_IN_build] (_libc_intl_domainname): Likewise.
22138 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22141 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22142 and R_X86_64_TPOFF64.
22144 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22146 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22147 sysdeps/unix/sysv/syscalls.list.
22150 * sysdeps/unix/sysv/syscalls.list: Remove file.
22152 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22155 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22156 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22157 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22158 (__LC_IDENTIFICATION): Make these macros useful in #if
22159 expressions, as required by C99.
22161 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22163 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22164 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22167 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22169 * stdlib/longlong.h: Updated from GCC.
22171 2012-05-09 Andreas Jaeger <aj@suse.de>
22173 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22174 default is first entry.
22175 (run_mode): Set type.
22176 (main): Remove informal message about syslog.
22177 (options): Fix typo.
22180 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22183 (llrintf): Likewise.
22184 (llrint): Likewise.
22187 (nearbyint): Likewise.
22188 (nearbyintf): Likewise.
22190 2012-05-09 Andreas Jaeger <aj@suse.de>
22191 Pedro Alves <palves@redhat.com>
22193 * nscd/nscd.c (run_mode): Use enum.
22194 (main): Cleanup coding style issue.
22196 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
22197 Andreas Jaeger <aj@suse.de>
22199 * nscd/nscd.c (go_background): Replaced with...
22200 (run_mode): ... this.
22201 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22202 (options): Add -F --foreground.
22203 (main): Implement it.
22204 (parse_opt): Parse it.
22206 2012-05-09 Andreas Jaeger <aj@suse.de>
22209 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22210 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22211 -Wconversion warning.
22212 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22215 2012-05-09 Joseph Myers <joseph@codesourcery.com>
22217 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22219 (LC_ALL): Use macro-int-constant.
22220 (LC_COLLATE): Likewise.
22221 (LC_CTYPE): Likewise.
22222 (LC_MESSAGES): Likewise.
22223 (LC_MONETARY): Likewise.
22224 (LC_NUMERIC): Likewise.
22225 (LC_TIME): Likewise.
22226 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22227 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22229 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22231 [C99-based standards] (float_t): Expect type.
22232 [C99-based standards] (double_t): Expect type.
22233 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22235 [C99-based standards] (HUGE_VALL): Likewise.
22236 [C99-based standards] (INFINITY): Likewise.
22237 [C99-based standards] (NAN): Likewise.
22238 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22239 [C99-based standards] (FP_NAN): Likewise.
22240 [C99-based standards] (FP_NORMAL): Likewise.
22241 [C99-based standards] (FP_SUBNORMAL): Likewise.
22242 [C99-based standards] (FP_ZERO): Likewise.
22243 [C99-based standards] (FP_FAST_FMA): Use
22244 optional-macro-int-constant. Specify type. Require == 1.
22245 [C99-based standards] (FP_FAST_FMAF): Likewise.
22246 [C99-based standards] (FP_FAST_FMAL): Likewise.
22247 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22248 [C99-based standards] (FP_ILOGBNAN): Likewise.
22249 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22251 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22252 [C99-based standards] (math_errhandling): Specify type.
22253 [ISO99 || ISO11] (signgam): Do not allow.
22254 [non-C99-based standards] (copysignf): Do not allow.
22255 [non-C99-based standards] (exp2f): Likewise.
22256 [non-C99-based standards] (log2f): Likewise.
22257 [non-C99-based standards] (modff): Allow.
22258 [non-C99-based standards] (erff): Do not allow.
22259 [non-C99-based standards] (erfcf): Likewise.
22260 [non-C99-based standards] (gammaf): Likewise.
22261 [non-C99-based standards] (hypotf): Likewise.
22262 [non-C99-based standards] (j0f): Likewise.
22263 [non-C99-based standards] (j1f): Likewise.
22264 [non-C99-based standards] (jnf): Likewise.
22265 [non-C99-based standards] (lgammaf): Likewise.
22266 [non-C99-based standards] (tgammaf): Likewise.
22267 [non-C99-based standards] (y0f): Likewise.
22268 [non-C99-based standards] (y1f): Likewise.
22269 [non-C99-based standards] (ynf): Likewise.
22270 [non-C99-based standards] (isnanf): Likewise.
22271 [non-C99-based standards] (acoshf): Likewise.
22272 [non-C99-based standards] (asinhf): Likewise.
22273 [non-C99-based standards] (atanhf): Likewise.
22274 [non-C99-based standards] (cbrtf): Likewise.
22275 [non-C99-based standards] (expm1f): Likewise.
22276 [non-C99-based standards] (ilogbf): Likewise.
22277 [non-C99-based standards] (log1pf): Likewise.
22278 [non-C99-based standards] (logbf): Likewise.
22279 [non-C99-based standards] (nextafterf): Likewise.
22280 [non-C99-based standards] (remainderf): Likewise.
22281 [non-C99-based standards] (rintf): Likewise.
22282 [non-C99-based standards] (scalbf): Likewise.
22283 [non-C99-based standards] (copysignl): Likewise.
22284 [non-C99-based standards] (exp2l): Likewise.
22285 [non-C99-based standards] (log2l): Likewise.
22286 [non-C99-based standards] (modfl): Allow.
22287 [non-C99-based standards] (erfl): Do not allow.
22288 [non-C99-based standards] (erfcl): Likewise.
22289 [non-C99-based standards] (gammal): Likewise.
22290 [non-C99-based standards] (hypotl): Likewise.
22291 [non-C99-based standards] (j0l): Likewise.
22292 [non-C99-based standards] (j1l): Likewise.
22293 [non-C99-based standards] (jnl): Likewise.
22294 [non-C99-based standards] (lgammal): Likewise.
22295 [non-C99-based standards] (tgammal): Likewise.
22296 [non-C99-based standards] (y0l): Likewise.
22297 [non-C99-based standards] (y1l): Likewise.
22298 [non-C99-based standards] (ynl): Likewise.
22299 [non-C99-based standards] (isnanl): Likewise.
22300 [non-C99-based standards] (acoshl): Likewise.
22301 [non-C99-based standards] (asinhl): Likewise.
22302 [non-C99-based standards] (atanhl): Likewise.
22303 [non-C99-based standards] (cbrtl): Likewise.
22304 [non-C99-based standards] (expm1l): Likewise.
22305 [non-C99-based standards] (ilogbl): Likewise.
22306 [non-C99-based standards] (log1pl): Likewise.
22307 [non-C99-based standards] (logbl): Likewise.
22308 [non-C99-based standards] (nextafterl): Likewise.
22309 [non-C99-based standards] (remainderl): Likewise.
22310 [non-C99-based standards] (rintl): Likewise.
22311 [non-C99-based standards] (scalbl): Likewise.
22312 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22313 [non-C99-based standards] (FP_*): Do not allow.
22314 [C99-based standards] (FP_*): Change to
22315 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22316 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22318 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22319 (SIG_ERR): Likewise.
22320 [X/Open-based standards] (SIG_HOLD): Likewise.
22321 (SIG_IGN): Likewise.
22322 (SIGABRT): Use macro-int-constant. Specify type. Require
22324 (SIGFPE): Likewise.
22325 (SIGILL): Likewise.
22326 (SIGINT): Likewise.
22327 (SIGSEGV): Likewise.
22328 (SIGTER): Likewise.
22329 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22330 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22331 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22332 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22333 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22334 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22335 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22336 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22337 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22338 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22339 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22340 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22341 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22342 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22343 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22344 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22345 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22346 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22347 [X/Open-based standards] (SIGTRAP): Likewise.
22348 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22349 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22350 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22351 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22352 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22355 2012-05-08 Ian Wienand <ianw@vmware.com>
22358 * time/tzset.c (__tzset_parse_tz): Update default rules for
22359 daylight time changes in the Energy Policy Act of 2005.
22361 2012-05-09 Andreas Jaeger <aj@suse.de>
22364 * elf/ldconfig.c (parse_conf): Change string to make clear that
22365 ldconfig only issued a warning if ld.so.conf does not exist.
22367 2012-05-08 David S. Miller <davem@davemloft.net>
22369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22370 movxtod instead of popping the value on the stack.
22372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22374 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22376 * config.h.in: Add HAVE_ARM_PCS_VFP.
22378 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22381 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22382 checking but the checks are disabled for any reason.
22384 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22386 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22387 and ELF64_R_TYPE with ELFW(R_TYPE).
22389 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22391 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22392 (ulimit): Likewise.
22394 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22395 (settimeofday): Likewise.
22397 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22399 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22400 a struct th_u2 inside the union, and move tu_block/tu_code into
22401 a new th_u3 union of tu_block/tu_code inside of that. Move
22402 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22403 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22404 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22405 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22406 (th_stuff): Change to th_u1.tu_stuff.
22408 (th_msg): Change to th_u1.th_u2.tu_data.
22410 2012-05-07 David S. Miller <davem@davemloft.net>
22412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22415 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22416 (SETUP_PIC_REG): Use it.
22417 (SETUP_PIC_REG_LEAF): Use it.
22419 2012-05-07 Joseph Myers <joseph@codesourcery.com>
22423 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22425 (EXPL_FINITE): Likewise.
22426 (FLDLOG): Likewise.
22427 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22428 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22430 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22432 (EXPL_FINITE): Likewise.
22433 (FLDLOG): Likewise.
22434 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22435 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22437 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22438 test of -max_value argument for long double.
22439 * sysdeps/i386/fpu/libm-test-ulps: Update.
22440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22442 2012-05-06 David S. Miller <davem@davemloft.net>
22444 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22445 quad soft-float symbols whose references which are compiler
22447 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22449 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22453 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22455 (EXPL_FINITE): Likewise.
22456 (FLDLOG): Likewise.
22459 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22460 Adjust comments for base varying.
22461 (__expl_finite): Change alias to EXPL_FINITE.
22462 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22464 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22465 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22467 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22468 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22470 (EXPL_FINITE): Likewise.
22471 (FLDLOG): Likewise.
22474 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22475 Adjust comments for base varying.
22476 (__expl_finite): Change alias to EXPL_FINITE.
22477 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22482 * math/libm-test.inc (check_float_internal): Correct ulp
22483 calculation for subnormal expected results.
22485 2012-05-06 Andreas Jaeger <aj@suse.de>
22487 * Makeconfig (+math-flags): New, set to -frounding-math.
22488 (+cflags): Add +math-flags so that all of glibc gets compiled with
22491 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22493 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22495 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22501 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22502 (__ieee754_expl): Allow for and saturate large arguments.
22503 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22504 (u_threshold): Likewise.
22505 (__exp): Call __ieee754_exp before checking for overflow and
22507 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22508 (u_threshold): Likewise.
22509 (__expf): Call __ieee754_expf before checking for overflow and
22511 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22512 (u_threshold): Likewise.
22513 (__expl): Call __ieee754_expl before checking for overflow and
22515 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22516 (__ieee754_expl): Allow for and saturate large arguments.
22517 * math/libm-test.inc (exp_test): Add another test. Do not allow
22518 missing overflow exception on overflow.
22519 (expm1_test): Do not allow missing overflow exception on overflow.
22521 * sysdeps/i386/fpu/e_expl.c: Move to ...
22522 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22523 rather than using inline asm.
22524 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22525 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22526 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22528 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22531 (signal): Likewise.
22535 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22537 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22538 sysdeps/unix/common/syscalls.list.
22539 (fchmod): Likewise.
22540 (fchown): Likewise.
22541 (ftruncate): Likewise.
22542 (getrusage): Likewise.
22543 (gettimeofday): Likewise.
22544 (setpgid): Likewise.
22545 (setregid): Likewise.
22546 (setreuid): Likewise.
22547 (sigaction): Likewise.
22548 (truncate): Likewise.
22549 (vhangup): Likewise.
22550 * sysdeps/unix/common/syscalls.list: Remove file.
22551 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22552 * sysdeps/unix/sysv/linux/Implies: Likewise.
22554 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22556 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22558 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22562 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22565 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22568 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22571 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22574 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22577 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22580 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22584 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22588 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22591 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22595 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22597 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22599 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22601 * sysdeps/unix/common/bits/dirent.h: Remove file.
22602 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22604 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22605 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22606 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22607 * sysdeps/unix/bsd/isatty.c: Likewise.
22608 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22609 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22610 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22612 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22615 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22616 long double comparison inaccuracies.
22617 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22620 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22622 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22623 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22625 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22628 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22629 nonzero digits before rounding a hex value.
22630 * stdlib/tst-strtod.c (tests): Add another test.
22632 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22634 * sysdeps/s390/fpu/libm-test-ulps: Update.
22636 2012-05-03 Andreas Jaeger <aj@suse.de>
22638 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22639 does not get optimized out.
22640 (malloc_opt_barrier): New.
22642 2012-05-03 Andreas Jaeger <aj@suse.de>
22643 Roland McGrath <roland@hack.frob.com>
22645 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22646 intermediate file deletion.
22647 (generated): Add .symlist files.
22649 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22652 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22653 Redirect under this condition.
22654 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22655 [__USE_GNU] (__dprintf_chk): Not under this condition.
22656 [__USE_GNU] (__vdprintf_chk): Likewise.
22657 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22658 under this condition.
22659 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22660 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22661 [__USE_XOPEN2K8] (vdprintf): Likewise.
22662 [__USE_GNU] (__dprintf_chk): Not under this condition.
22663 [__USE_GNU] (__vdprintf_chk): Likewise.
22664 [__USE_GNU] (dprintf): Likewise.
22665 [__USE_GNU] (vdprintf): Likewise.
22667 2012-05-03 Roland McGrath <roland@hack.frob.com>
22669 * elf/Makefile (common-generated): Set this instead of generated for
22670 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22671 $(all-built-dso)-derived lists.
22673 2012-05-03 Andreas Jaeger <aj@suse.de>
22675 * sysdeps/i386/fpu/libm-test-ulps: Update.
22678 * FAQ.in: Likewise.
22679 * scripts/gen-FAQ.pl: Likewise.
22680 * manual/install.texi (Installation): Point to online location of
22682 * Makefile (files-for-dist): Remove FAQ.
22685 2012-05-02 Allan McRae <allan@archlinux.org>
22687 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22688 (LDFLAGS-reldepmod5.so): Likewise.
22689 (LDFLAGS-reldep6mod1.so): Likewise.
22690 (LDFLAGS-reldep6mod4.so): Likewise.
22691 (LDFLAGS-reldep8mod3.so): Likewise.
22692 (LDFLAGS-unload4mod1.so): Likewise.
22693 (LDFLAGS-unload4mod2.so): Likewise.
22694 (LDFLAGS-tst-initorder): Likewise.
22695 (LDFLAGS-tst-initordera2.so): Likewise.
22696 (LDFLAGS-tst-initordera3.so): Likewise.
22697 (LDFLAGS-tst-initordera4.so): Likewise.
22698 (LDFLAGS-tst-initorderb2.so): Likewise.
22699 (LDFLAGS-noload): Likewise.
22700 (LDFLAGS-next): Likewise.
22701 (LDFLAGS-order2mod1.so): Likewise.
22702 (LDFLAGS-order2mod2.so): Likewise.
22703 (LDFLAGS-tst-initorder2): Likewise.
22704 (LDFLAGS-tst-initorder2a.so): Likewise.
22705 (LDFLAGS-tst-initorder2b.so): Likewise.
22706 (LDFLAGS-tst-initorder2c.so): Likewise.
22707 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22709 2012-05-02 David S. Miller <davem@davemloft.net>
22711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22713 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22716 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22718 2012-05-02 Andreas Jaeger <aj@suse.de>
22720 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22721 since we manipulate rounding mode.
22722 (CPPFLAGS-test-idouble.c): Likewise.
22723 (CPPFLAGS-test-ifloat.c): Likewise.
22724 (CFLAGS-test-ldouble.c): Likewise.
22725 (CFLAGS-test-double.c): Likewise.
22726 (CFLAGS-test-float.c): Likewise.
22727 (CFLAGS-test-misc.c): Likewise.
22728 (CFLAGS-test-test-fenv.c): Likewise.
22730 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22734 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22735 comparisons to determine direction to adjust input.
22737 2012-05-01 Roland McGrath <roland@hack.frob.com>
22739 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22740 output to the target.
22742 * scripts/localplt.awk: New file.
22743 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22744 (check-localplt-CFLAGS): Variable removed.
22745 ($(all-built-dso:=.jmprel)): New static pattern rule.
22746 (generated): Add those targets.
22747 (localplt-built-dso): New variable.
22748 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22750 * elf/check-localplt.c: File removed.
22752 * scripts/check-execstack.awk: New file.
22753 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22754 (check-execstack-CFLAGS): Variable removed.
22755 ($(objpfx)check-execstack.h): Target removed.
22756 ($(objpfx)execstack-default): New target.
22757 (generated): Add that instead of check-execstack.h.
22758 ($(all-built-dso:=.phdr)): New static pattern rule.
22759 (generated): Add those targets.
22760 * elf/check-execstack.c: File removed.
22762 * scripts/check-textrel.awk: New file.
22763 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22764 (check-textrel-CFLAGS): Variable removed.
22765 (all-built-dso): Use := to define.o
22766 ($(all-built-dso:=.dyn)): New static pattern rule.
22767 (generated): Add those targets.
22768 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22769 * config.make.in (READELF): New substituted variable.
22770 * elf/check-textrel.c: File removed.
22772 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22774 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22776 * conform/data/ctype.h-data [C99-based standards] (isblank):
22778 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22779 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22781 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22782 Specify type. Require positive value.
22783 (EILSEQ): Likewise.
22784 (ERANGE): Likewise.
22785 [ISO || POSIX] (EILSEQ): Do not expect.
22786 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22787 Specify type. Require positive value.
22788 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22789 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22790 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22791 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22792 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22793 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22794 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22795 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22796 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22797 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22798 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22799 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22800 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22801 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22802 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22803 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22804 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22805 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22806 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22807 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22808 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22809 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22810 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22811 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22812 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22813 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22814 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22815 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22816 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22817 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22818 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22819 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22820 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22821 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22822 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22823 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22824 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22825 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22826 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22827 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22828 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22829 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22830 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22831 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22832 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22833 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22834 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22835 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22836 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22837 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22838 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22839 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22840 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22841 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22842 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22843 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22844 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22845 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22846 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22847 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22848 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22849 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22850 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22851 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22852 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22853 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22854 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22855 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22856 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22857 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22858 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22859 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22860 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22861 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22862 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22863 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22864 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22866 (FLT_ROUNDS): Expect as macro, not constant.
22867 (FLT_MANT_DIG): Use macro-int-constant.
22868 (DBL_MANT_DIG): Likewise.
22869 (LDBL_MANT_DIG): Likewise.
22870 (FLT_DIG): Likewise.
22871 (DBL_DIG): Likewise.
22872 (LDBL_DIG): Likewise.
22873 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22874 (DBL_MIN_EXP): Likewise.
22875 (LDBL_MIN_EXP): Likewise.
22876 (FLT_MAX_EXP): Use macro-int-constant.
22877 (DBL_MAX_EXP): Likewise.
22878 (LDBL_MAX_EXP): Likewise.
22879 (FLT_MAX_10_EXP): Likewise.
22880 (DBL_MAX_10_EXP): Likewise.
22881 (LDBL_MAX_10_EXP): Likewise.
22882 (FLT_MAX): Use macro-constant.
22883 (DBL_MAX): Likewise.
22884 (LDBL_MAX): Likewise.
22885 (FLT_EPSILON): Use macro-constant. Give upper bound.
22886 (DBL_EPSILON): Likewise.
22887 (LDBL_EPSILON): Likewise.
22888 (FLT_MIN): Likewise.
22889 (DBL_MIN): Likewise.
22890 (LDBL_MIN): Likewise.
22891 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22892 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22893 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22894 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22895 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22896 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22897 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22898 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22899 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22900 [ISO11] (FLT_TRUE_MIN): Likewise.
22901 [ISO11] (LDBL_TRUE_MIN): Likewise.
22902 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22903 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22904 (SCHAR_MIN): Use macro-int-constant. Specify type.
22905 (SCHAR_MAX): Likewise.
22906 (UCHAR_MAX): Likewise.
22907 (CHAR_MIN): Likewise.
22908 (CHAR_MAX): Likewise.
22909 (MB_LEN_MAX): Use macro-int-constant.
22910 (SHRT_MIN): Use macro-int-constant. Specify type.
22911 (SHRT_MAX): Likewise.
22912 (USHRT_MAX): Likewise.
22913 (INT_MAX): Likewise.
22914 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22916 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22918 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22920 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22921 bound negative. Suffix upper bound with "L".
22922 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22924 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22926 [C99-based standards] (LLONG_MAX): Likewise.
22927 [C99-based standards] (ULLONG_MAX): Likewise.
22928 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22930 [ISO11] (max_align_t): Require type.
22931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22933 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22934 from $CFLAGS, without defining away __attribute__ calls.
22935 (checknamespace): Use $CFLAGS_namespace.
22937 * conform/conformtest.pl (@keywords): Only include C99 keywords
22938 for standards based on C99 or C11.
22940 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22942 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22945 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22946 usability of symbols in #if.
22948 * conform/conformtest.pl: If macro or constant types start
22949 "promoted:", expect the symbol to be of the following type
22950 promoted by the integer promotions.
22952 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22953 in one place. Also handle "macro-constant".
22955 * conform/conformtest.pl: Only accept expected macro values with
22956 "==". Parse all "macro" lines in one place.
22957 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22959 * conform/conformtest.pl: Handle braced types on "constant" lines
22960 instead of handling "typed-constant".
22961 * conform/data/signal.h-data: Use "constant" instead of
22964 * conform/conformtest.pl: Handle "optional-" at start of lines in
22965 one place rather than duplicating several cases. Handle each
22966 format of "macro" line with initial "optional-".
22968 * conform/conformtest.pl: Only accept expected constant or
22969 optional-constant values with "==". Parse all "constant" lines in
22970 one place. Parse all "optional-constant" lines in one place.
22971 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22972 * conform/data/fmtmsg.h-data: Likewise.
22973 * conform/data/netinet/in.h-data: Likewise.
22974 * conform/data/tar.h-data: Likewise.
22975 * conform/data/limits.h-data: Use "==" form on "constant" and
22976 "optional-constant" lines.
22978 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22979 Use -std=c99 for XOPEN2K.
22980 (@knownproblems): Remove.
22981 (newtoken): Don't check %isknown.
22983 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22984 Do not expect macro.
22985 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22986 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22987 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22988 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22989 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22990 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22991 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22992 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22993 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22994 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22995 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22996 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22997 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22998 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22999 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23000 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23001 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23002 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23003 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23004 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23005 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23006 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23007 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23008 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23009 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23010 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23011 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23012 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23013 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23014 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23015 [XPG3] (acosh): Likewise.
23016 [XPG3] (asinh): Likewise.
23017 [XPG3] (atanh): Likewise.
23018 [XPG3] (cbrt): Likewise.
23019 [XPG3] (expm1): Likewise.
23020 [XPG3] (ilogb): Likewise.
23021 [XPG3] (log1p): Likewise.
23022 [XPG3] (logb): Likewise.
23023 [XPG3] (nextafter): Likewise.
23024 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23025 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23026 [XPG3] (remainder): Likewise.
23027 [XPG3] (rint): Likewise.
23028 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23029 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23030 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23031 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23032 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23033 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23034 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23035 [UNIX98 || XOPEN2K] (scalb): Expect.
23036 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23037 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23038 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23039 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23040 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23041 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23042 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23043 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23044 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23045 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23046 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23047 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23048 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23049 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23050 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23051 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23052 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23053 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23054 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23055 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23056 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23057 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23058 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23059 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23060 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23061 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23062 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23063 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23064 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23065 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23066 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23067 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23068 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23069 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23070 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23071 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23072 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23073 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23074 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23075 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23076 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23077 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23078 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23079 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23080 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23081 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23082 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23083 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23084 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23085 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23086 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23087 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23088 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23089 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23090 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23091 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23092 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23093 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23094 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23095 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23096 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23097 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23098 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23099 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23100 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23101 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23102 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23103 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23104 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23105 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23106 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23107 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23108 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23109 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23110 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23111 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23112 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23113 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23114 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23115 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23116 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23117 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23118 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23119 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23120 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23121 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23122 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23123 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23124 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23125 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23126 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23127 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23128 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23129 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23130 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23131 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23132 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23133 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23134 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23135 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23136 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23137 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23138 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23139 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23140 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23141 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23142 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23143 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23144 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23145 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23146 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23147 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23148 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23149 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23150 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23151 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23152 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23153 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23154 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23155 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23156 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23157 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23158 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23159 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23160 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23161 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23162 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23163 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23164 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23165 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23166 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23167 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23168 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23169 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23170 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23171 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23172 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23174 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23175 _XOPEN_SOURCE_EXTENDED for XPG4.
23177 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23179 * Makeconfig (localtime): Remove variable.
23180 (inst_localtime-file): Likewise.
23182 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23203 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23207 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23208 comparisons to determine direction to adjust input.
23209 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23210 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23211 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23213 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23215 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23217 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23218 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23220 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23222 * math/libm-test.inc (nexttoward_test): Add more tests.
23224 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23227 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23228 in version GLIBC_2.1, not GLIBC_2.0.
23229 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23232 2012-04-30 Joseph Myers <joseph@codesourcery.com>
23235 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23237 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23238 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23239 * math/libm-test.inc (acos_test): Add more tests.
23240 (asin_test): Likewise.
23241 * sysdeps/i386/fpu/libm-test-ulps: Update.
23242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23245 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23247 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23248 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23249 * math/libm-test.inc (acos_test_tonearest): New function.
23250 (acos_test_towardzero): Likewise.
23251 (acos_test_downward): Likewise.
23252 (acos_test_upward): Likewise.
23253 (asin_test_tonearest): Likewise.
23254 (asin_test_towardzero): Likewise.
23255 (asin_test_downward): Likewise.
23256 (asin_test_upward): Likewise.
23257 (main): Call the new functions.
23258 * sysdeps/i386/fpu/libm-test-ulps: Update.
23259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23263 * math/e_exp10.c: Include <float.h>.
23264 (__ieee754_exp10): Handle underflow here rather than multiplying
23265 large negative argument by M_LN10.
23266 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23268 * math/e_exp10l.c: Include <float.h>.
23269 (__ieee754_exp10l): Handle underflow here rather than multiplying
23270 large negative argument by M_LN10l.
23271 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23272 spurious overflow exception on underflow.
23274 2012-04-29 Marek Polacek <polacek@redhat.com>
23276 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23277 (__fortify_function): New macro.
23278 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23279 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23280 __extern_always_inline.
23281 * libio/bits/stdio2.h: Likewise.
23282 * libio/bits/stdio.h: Likewise.
23283 * string/string.h: Likewise.
23284 * string/bits/string3.h: Likewise.
23285 * include/stdio.h: Likewise.
23286 * stdlib/bits/stdlib.h: Likewise.
23287 * stdlib/stdlib.h: Likewise.
23288 * rt/bits/mqueue2.h: Likewise.
23289 * rt/mqueue.h: Likewise.
23290 * posix/bits/unistd.h: Likewise.
23291 * posix/unistd.h: Likewise.
23292 * io/bits/poll2.h: Likewise.
23293 * io/bits/fcntl2.h: Likewise.
23294 * io/fcntl.h: Likewise.
23295 * io/sys/poll.h: Likewise.
23296 * misc/bits/syslog.h: Likewise.
23297 * misc/bits/syslog-ldbl.h: Likewise.
23298 * misc/sys/syslog.h: Likewise.
23299 * socket/bits/socket2.h: Likewise.
23300 * socket/sys/socket.h: Likewise.
23301 * debug/tst-chk1.c: Likewise.
23302 * wcsmbs/bits/wchar2.h: Likewise.
23303 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23304 * wcsmbs/wchar.h: Likewise.
23306 2012-04-29 Andreas Jaeger <aj@suse.de>
23308 * Makerules (tests): Remove enable-check-abi protection.
23309 (check-abi-warn): Remove.
23310 (check-abi-%): Remove check-abi-warn usage.
23312 * configure.in: Remove check-abi configure option.
23313 * configure: Regenerated.
23314 * config.make.in (enable-check-abi): Remove.
23316 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23319 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23320 double functions to double *_finite functions.
23323 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23324 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23326 * stdio-common/Makefile (tests): Add tst-sprintf3.
23327 * stdio-common/tst-sprintf3.c: New file.
23329 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23330 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23332 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23334 * conform/conformtest.pl: Remove duplicate typed-constant
23337 2012-04-28 David S. Miller <davem@davemloft.net>
23339 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23340 (check-abi-%): Remove AWK script prerequisite and explicit
23342 (check-abi): Rewrite to just diff the symlist with the abilist.
23343 (config-tls, config-abi-config): Delete, no longer used.
23344 (update-abi-%): Remove AWK script and explicit abilist directory.
23345 (update-abi): Rewrite to simply compare and conditionally copy the
23346 symlist and the sysdep abilist file. Remove update-abi-config
23348 * abilist/ld.abilist: Remove.
23349 * abilist/libBrokenLocale.abilist: Remove.
23350 * abilist/libanl.abilist: Remove.
23351 * abilist/libcrypt.abilist: Remove.
23352 * abilist/libdl.abilist: Remove.
23353 * abilist/librt.abilist: Remove.
23354 * abilist/libthread_db.abilist: Remove.
23355 * abilist/libutil.abilist: Remove.
23356 * scripts/extract-abilist.awk: Remove.
23357 * scripts/merge-abilist.awk: Remove.
23358 * sysdeps/generic/libcidn.abilist: New file.
23359 * sysdeps/generic/libnss_compat.abilist: New file.
23360 * sysdeps/generic/libnss_db.abilist: New file.
23361 * sysdeps/generic/libnss_dns.abilist: New file.
23362 * sysdeps/generic/libnss_files.abilist: New file.
23363 * sysdeps/generic/libnss_hesiod.abilist: New file.
23364 * sysdeps/generic/libnss_nis.abilist: New file.
23365 * sysdeps/generic/libnss_nisplus.abilist: New file.
23366 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23367 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23368 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23370 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23371 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23372 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23373 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23374 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23375 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23376 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23377 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23378 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23380 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23381 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23382 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23383 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23385 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23386 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23387 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23388 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23389 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23390 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23392 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23393 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23394 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23396 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23474 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23499 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23500 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23501 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23503 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23504 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23505 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23506 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23507 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23508 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23509 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23510 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23511 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23512 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23564 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23566 * conform/conformtest.pl: Fix typo in handling typed-constant from
23569 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23571 * README: Cut down references to pre-2.6 Linux kernels and
23572 Linuxthreads. Update lists of configurations in libc and ports
23573 and sort alphabetically. Say "or newer" with Linux kernel version
23576 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23578 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23581 * math/libm-test.inc (logb_test_downward): New test to expose
23582 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23585 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23588 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23590 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23591 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23593 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23595 * sysdeps/unix/i386/brk.S: Remove file.
23596 * sysdeps/unix/i386/dl-brk.S: Likewise.
23597 * sysdeps/unix/i386/pipe.S: Likewise.
23598 * sysdeps/unix/i386/sigreturn.S: Likewise.
23599 * sysdeps/unix/i386/syscall.S: Likewise.
23600 * sysdeps/unix/i386/vfork.S: Likewise.
23601 * sysdeps/unix/i386/wait.S: Likewise.
23603 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23604 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23606 * configure.in (arm*-none*): Do not allow without
23607 --enable-hacker-mode.
23608 (netbsd*): Remove case setting base_os.
23609 (386bsd*): Likewise.
23610 (freebsd*): Likewise.
23613 (sunos*): Likewise.
23614 (ultrix*): Likewise.
23615 (newsos*): Likewise.
23616 (dynix*): Likewise.
23622 (minix*): Likewise.
23623 (irix4*): Likewise.
23624 (irix6*): Likewise.
23625 (solaris[2-9]*): Likewise.
23627 * configure: Regenerated.
23629 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23632 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23633 overflow or cancellation in calculating denominator.
23634 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23635 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23636 down expression to avoid unexpected rounding in newer GCCs.
23637 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23639 2012-04-26 David S. Miller <davem@davemloft.net>
23641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23642 long-double compat symbols.
23643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23654 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23657 2012-04-25 David S. Miller <davem@davemloft.net>
23659 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23660 HWCAP_* values only after the memory barriers have been defined.
23661 (atomic_full_barrier): Define.
23662 (atomic_read_barrier): Define.
23663 (atomic_write_barrier): Define.
23665 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23667 * shlib-versions: Add libgcc_s version information.
23668 * sysdeps/generic/libgcc_s.h: Remove.
23669 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23671 * sysdeps/gnu/unwind-resume.c: Likewise.
23672 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23674 2012-04-25 David S. Miller <davem@davemloft.net>
23676 * sysdeps/unix/sparc/brk.S: Delete.
23677 * sysdeps/unix/sparc/dl-brk.S: Delete.
23678 * sysdeps/unix/sparc/pipe.S: Delete.
23679 * sysdeps/unix/sparc/sysdep.S: Delete.
23680 * sysdeps/unix/sparc/sysdep.h: Delete.
23681 * sysdeps/unix/sparc/vfork.S: Delete.
23682 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23683 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23684 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23685 ret_ERRVAL, r0, r1, MOVE): Define.
23686 (JUMPTARGET): Remove.
23687 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23688 sysdeps/unix/sparc/sysdep.h
23689 (ENTRY, END): Remove.
23690 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23692 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23694 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23695 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23698 * timezone/README: Update upstream location and email address for
23700 * timezone/zdump.c: Update from tzcode 2012b.
23701 * timezone/zic.c: Likewise.
23703 * configure.in (libc_cv_as_needed): Remove test.
23704 * configure: Regenerated.
23705 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23706 conditional definition.
23707 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23708 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23709 * config.make.in (have-as-needed): Remove variable.
23711 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23712 Paul Pluzhnikov <ppluzhnikov@google.com>
23714 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23717 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23719 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23720 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23721 * sysdeps/sh/strlen.S: Likewise.
23723 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23725 * sysdeps/unix/fork.S: Remove file.
23726 * sysdeps/unix/i386/fork.S: Likewise.
23727 * sysdeps/unix/sparc/fork.S: Likewise.
23729 * sysdeps/unix/system.c: Remove file.
23730 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23732 * sysdeps/unix/getegid.S: Remove file.
23733 * sysdeps/unix/geteuid.S: Likewise.
23735 2012-04-24 Roland McGrath <roland@hack.frob.com>
23737 * scripts/check-localplt.awk: New file.
23738 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23740 * scripts/data/localplt-generic.data: Add a comment.
23742 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23743 NODE when __dir_mkfile failed.
23744 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23745 Reported by Ludovic Courtès <ludo@gnu.org>.
23747 2012-04-24 Andreas Jaeger <aj@suse.de>
23749 * Makerules (common-clean): Also remove gen-as-const-headers
23752 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23754 * Makerules (native-compile): Do not change working directory for
23755 build. Use $(OUTPUT_OPTION) in command.
23756 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23758 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23761 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23762 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23763 * math/libm-test.inc (floor_test): Add more tests.
23764 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23766 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23768 * sysdeps/unix/getdents.c: Remove file.
23769 * sysdeps/unix/sysv/getdents.c: Likewise.
23770 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23772 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23773 sysdeps/unix/mman/syscalls.list.
23775 (mprotect): Likewise.
23777 (munmap): Likewise.
23778 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23779 * sysdeps/unix/mman/syscalls.list: Remove.
23780 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23782 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23783 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23784 * configure: Regenerated.
23785 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23786 $(libgcc_s_suffix).
23787 * config.make.in (libgcc_s_suffix): Remove variable.
23789 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23791 * sysdeps/unix/sysv/gethostname.c: Move to ...
23792 * sysdeps/posix/gethostname.c: ... here.
23794 * sysdeps/unix/execve.S: Remove file.
23796 * sysdeps/unix/_exit.S: Remove file.
23798 2012-04-23 Andreas Jaeger <aj@suse.de>
23801 * manual/Makefile: Remove make dist support, there's no
23802 need for a stand-alone documentation tar ball.
23803 (TEXI2DVI): Define always, it's not in Makeconfig.
23806 (edition): Removed.
23807 (glibc-doc-$(edition).tar): Removed
23811 (ETAGS): Remove, it's in Makeconfig.
23812 (move-if-change): Remove, it's in Makeconfig.
23814 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23817 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23818 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23819 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23820 (strtod_l, strtof_l, strtold_l): Remove __wur.
23821 It is not necessarily an error to ignore strtol's return value.
23822 One can reliably look at the stored endptr to decide whether
23823 the number had valid syntax.
23825 2012-04-21 Andreas Jaeger <aj@suse.de>
23828 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23830 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23832 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23833 * sysdeps/unix/sysv/Versions: Remove file.
23835 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23838 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23840 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23843 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23844 version from __vm86.
23846 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23848 * sysdeps/unix/common/lxstat.c: Remove file.
23849 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23851 * sysdeps/unix/sysv/Makefile: Remove file.
23853 * sysdeps/unix/sysv/direct.h: Remove file.
23855 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23856 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23857 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23858 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23859 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23860 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23861 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23863 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23865 * sysdeps/unix/xmknod.c: Remove file.
23866 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23868 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23870 * sysdeps/unix/sysv/i386/time.S: Remove file.
23872 * sysdeps/unix/fxstat.c: Remove file.
23873 * sysdeps/unix/xstat.c: Likewise.
23874 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23876 * sysdeps/unix/sysv/sigaction.c: Remove file.
23878 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23879 (sysdep_headers): Remove variable.
23880 [termio.h not in sysdep_headers] (generated): Likewise.
23881 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23882 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23883 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23884 * sysdeps/unix/sysv/tcflow.c: Likewise.
23885 * sysdeps/unix/sysv/tcflush.c: Likewise.
23886 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23887 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23888 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23889 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23890 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23892 * sysdeps/unix/siglist.c: Remove file.
23894 * sysdeps/unix/getppid.S: Remove file.
23896 * sysdeps/unix/mkdir.c: Remove file.
23897 * sysdeps/unix/rmdir.c: Likewise.
23899 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23901 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23903 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23904 errlist-compat value.
23906 2012-04-18 David S. Miller <davem@davemloft.net>
23908 * sysdeps/generic/memcopy.h (reg_char): Delete.
23909 * debug/strcat_chk.c: Use char, not reg_char.
23910 * debug/strcpy_chk.c: Likewise.
23911 * debug/strncat_chk.c: Likewise.
23912 * debug/strncpy_chk.c: Likewise.
23913 * string/memchr.c: Likewise.
23914 * string/memrchr.c: Likewise.
23915 * string/rawmemchr.c: Likewise.
23916 * string/strcat.c: Likewise.
23917 * string/strchr.c: Likewise.
23918 * string/strchrnul.c: Likewise.
23919 * string/strcmp.c: Likewise.
23920 * string/strcpy.c: Likewise.
23921 * string/strncat.c: Likewise.
23922 * string/strncmp.c: Likewise.
23923 * string/strncpy.c: Likewise.
23925 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23927 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23928 __builtin_memcopy is called when src and dest ranges are known to not
23931 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23933 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23934 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23935 fwd_align_merge macro call.
23936 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23937 bwd_align_merge macro call.
23938 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23940 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23942 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23943 bwd_align_merge macros.
23944 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23945 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23946 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23948 2012-04-18 David S. Miller <davem@davemloft.net>
23950 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23952 2012-04-18 Andreas Jaeger <aj@suse.de>
23955 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23956 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23957 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23959 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23960 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23961 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23963 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23964 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23965 Adjust for changed ldbl-128 files.
23967 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23968 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23969 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23971 2012-04-17 David S. Miller <davem@davemloft.net>
23973 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23975 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23977 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23978 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23979 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23980 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23981 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23982 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23984 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23987 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23988 * math/libm-test.inc: Add ilogb errno and exception tests.
23989 * math/w_ilogb.c: New file: ilogb wrapper.
23990 * math/w_ilogbf.c: New file: ilogbf wrapper.
23991 * math/w_ilogbl.c: New file: ilogbl wrapper.
23992 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23993 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23994 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23995 exception being thrown with 0.0 as argument.
23996 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23997 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23998 exception being thrown with 0.0 as argument.
23999 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24000 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24001 exception being thrown with 0.0 as argument.
24002 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24003 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24004 exception being thrown with 0.0 as argument.
24005 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24006 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24007 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24008 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24009 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24010 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24011 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24012 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24013 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24015 2012-04-17 Petr Baudis <pasky@ucw.cz>
24017 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24020 2012-04-16 Marek Polacek <polacek@redhat.com>
24022 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24024 2012-04-16 Marek Polacek <polacek@redhat.com>
24026 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24027 operands of fdivp instruction.
24029 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24031 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24032 * elf/tst-auditmod3b.c: Likewise.
24033 * elf/tst-auditmod4b.c: Likewise.
24034 * elf/tst-auditmod5b.c: Likewise.
24035 * elf/tst-auditmod6b.c: Likewise.
24036 * elf/tst-auditmod6c.c: Likewise.
24037 * elf/tst-auditmod7b.c: Likewise.
24038 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24039 * sysdeps/x86_64/preconfigure.in: Likewise.
24040 * sysdeps/x86_64/preconfigure: Regenerated.
24042 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24044 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24047 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
24049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24050 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24052 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24055 * locale/iso-639.def: Fix gl language name. Spotted by
24058 2012-04-12 Roland McGrath <roland@hack.frob.com>
24061 * libio/libio.h (__io_write_fn): Update comment.
24063 2012-04-12 Petr Baudis <pasky@ucw.cz>
24066 * stdio.texi (Hook Functions): The user provided writer function
24067 is not allowed to return -1.
24069 2012-04-11 David S. Miller <davem@davemloft.net>
24071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24073 2012-04-11 Mike Frysinger <vapier@gentoo.org>
24075 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24076 Add a leading slash to rtkaio.
24078 2012-04-11 Jim Meyering <meyering@redhat.com>
24081 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24082 It is not necessarily an error to ignore fwrite's return
24083 value. One can reliably use ferror to test for errors after
24086 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24088 * bits/types.h (__snseconds_t): New type.
24089 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24091 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24092 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24093 (__SNSECONDS_T_TYPE): Likewise.
24094 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24095 (__SNSECONDS_T_TYPE): Likewise.
24096 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24097 (__SNSECONDS_T_TYPE): Likewise.
24099 2012-04-10 Andreas Jaeger <aj@suse.de>
24102 * manual/time.texi (Processor Time): Return type of times is
24103 elapsed real time since an arbitrary point in the past.
24104 (CPU Time): Move CLK_TCK from here...
24105 (Processor Time): ...to here. Correct description.
24106 * manual/conf.texi (Constants for Sysconf): Correct description of
24109 2012-04-10 David S. Miller <davem@davemloft.net>
24112 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24113 where the is a gap between DT_REL(A) and DT_JMPREL.
24115 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24117 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24118 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24119 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24121 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24123 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24124 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24125 (dl_main): Handle --inhibit-cache.
24126 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24128 * elf/dl-load.c (_dl_map_object): Use it.
24129 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24131 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24134 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24135 (__ieee754_powl): Saturate large exponents rather than testing for
24136 overflow of y*log2(x).
24137 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24138 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24142 * math/s_ctan.c: Include <float.h>.
24143 (__ctan): Avoid internal overflow or cancellation in calculating
24145 * math/s_ctanf.c: Likewise.
24146 * math/s_ctanl.c: Likewise.
24147 * math/s_ctanh.c: Likewise.
24148 * math/s_ctanhf.c: Likewise.
24149 * math/s_ctanhl.c: Likewise.
24150 * math/libm-test.inc (ctan_test): Add more tests.
24151 (ctanh_test): Likewise.
24152 * sysdeps/i386/fpu/libm-test-ulps: Update.
24153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24155 2012-04-09 Andreas Jaeger <aj@suse.de>
24158 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24159 is an optional BSD extension.
24162 * manual/stdio.texi (Opening Streams): Document additional fopen
24165 2012-04-09 Roland McGrath <roland@hack.frob.com>
24167 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24168 %eax without telling the compiler.
24170 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24173 * manual/install.texi: Use sourceware.org.
24175 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24178 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24179 (__ieee754_pow): Generate overflow and underflow using huge*huge
24180 and tiny*tiny rather than just returning constant infinity or zero
24181 for large exponents.
24182 * math/libm-test.inc (pow_test): Require overflow exceptions for
24183 applicable cases of large exponents.
24186 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24187 (__ieee754_pow): Use iterative multiplication algorithm only for
24188 integer exponents with absolute value below 1024. Check for odd
24189 integer exponents when using algorithm for real exponents.
24190 * math/libm-test.inc (pow_test): Add more tests.
24191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24193 2012-04-08 Joseph Myers <joseph@codesourcery.com>
24196 * math/libm-test.inc (exp_test): Do not allow overflow exception
24199 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24202 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24203 instead of __kernel_standard_f.
24205 2012-04-08 Mike Frysinger <vapier@gentoo.org>
24207 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24208 * sysdeps/x86_64/memset_chk.S: Likewise.
24210 2012-04-08 Andreas Jaeger <aj@suse.de>
24213 * manual/startup.texi (Environment Access): Describe return value
24214 for putenv and setenv.
24217 * manual/filesys.texi (Directory Entries): Add description for
24221 * manual/filesys.texi (Directory Entries): Clarify that it's file
24222 system not operating system in the description of DT_UNKNOWN.
24225 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24227 2012-04-08 Stephen Compall <s11@member.fsf.org>
24230 * manual/llio.texi (Opening and Closing Files): Add cross
24231 reference to explain mode argument.
24233 2012-04-07 Mike Frysinger <vapier@gentoo.org>
24235 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24236 * sysdeps/x86_64/memset_chk.S: Likewise.
24238 2012-04-07 David S. Miller <davem@davemloft.net>
24240 * elf/elf.h (R_SPARC_WDISP10): Define.
24241 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24243 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24244 R_SPARC_SIZE64 and R_SPARC_H34.
24246 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24248 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24249 conditions and remove no longer applicable assertion.
24251 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24253 * bits/byteswap.h: Include <features.h>.
24254 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24255 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24257 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24259 * bits/byteswap.h (__bswap_16): Removed.
24260 Include <bits/byteswap-16.h> to get __bswap_16.
24261 * sysdeps/i386/bits/byteswap.h: Likewise.
24262 * sysdeps/s390/bits/byteswap.h: Likewise.
24263 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24264 * bits/byteswap-16.h: New file.
24265 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24266 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24267 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24268 * string/Makefile (headers): Add bits/byteswap-16.h.
24270 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24273 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24275 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24276 * nss/tst-nss-static.c: New.
24278 2012-04-06 Robert Millan <rmh@gnu.org>
24281 * manual/llio.texi (File Position Primitive): lseek
24282 refers to WHENCE when it really means OFFSET.
24284 2012-04-06 Andreas Jaeger <aj@suse.de>
24286 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24287 strncmp declarations.
24289 * abilist/libc.abilist: Add __poll and __ppoll.
24291 2012-04-05 David S. Miller <davem@davemloft.net>
24293 * scripts/check-local-headers.sh: Accept a host triplet in the
24294 path matched by the exclude regexp.
24296 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24298 * sysdeps/powerpc/powerpc32/dl-machine.h
24299 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24300 * sysdeps/s390/s390-32/dl-machine.h
24301 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24302 * sysdeps/sparc/sparc32/dl-machine.h
24303 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24304 * sysdeps/sparc/sparc64/dl-machine.h
24305 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24307 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24309 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24310 undefined symbol errors.
24312 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24315 2012-04-05 Michael Matz <matz@suse.de>
24318 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24320 2012-04-05 Andreas Jaeger <aj@suse.de>
24323 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24326 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24328 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24329 which ROUND is no valid rounding mode.
24331 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24333 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24335 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24337 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24339 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24340 an exception using FPU order intentionally.
24342 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24344 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24345 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24346 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24347 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24349 2012-04-05 Simon Josefsson <simon@josefsson.org>
24352 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24353 EINVAL when BUFLEN is too smal.
24355 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24358 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24359 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24361 2012-04-03 Andreas Jaeger <aj@suse.de>
24364 * manual/setjmp.texi (System V contexts): Fix sentence.
24367 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24368 New macro for this case.
24369 [!__GNUC__] (__bswap_64): New inline function for this case.
24370 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24371 * bits/byteswap.h: Likewise.
24372 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24373 ull, guard with __GLIBC_HAVE_LONG_LONG.
24375 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24376 __GLIBC_HAVE_LONG_LONG.
24378 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24379 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24381 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24384 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24385 inptr and inend, rather than using last_ch.
24387 2012-04-02 David S. Miller <davem@davemloft.net>
24389 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24390 * stdio-common/printf-parse.h (read_int): Change return type to
24391 'int', return -1 on INT_MAX overflow.
24392 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24393 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24394 overflows INT_MAX. Check for overflow of in-format-string precision
24395 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24396 SIZE_MAX not INT_MAX for integer overflow test.
24397 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24398 skip the construct in the format string but do not record anything.
24399 * stdio-common/bug22.c: Adjust to test both width/prevision
24400 INT_MAX overflow as well as total length INT_MAX overflow. Check
24401 explicitly for proper errno values.
24403 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24405 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24407 * string/test-strcmp.c [! WIDE]: Likewise.
24408 * time/tst-mktime2.c: Likewise for INT_MAX.
24409 * string/test-string.h: #include <sys/param.h> for MIN.
24411 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24412 * sysdeps/i386/init-first.c (init): Likewise.
24413 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24414 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24415 * sysdeps/sh/init-first.c (init): Likewise.
24417 2012-04-01 Ulrich Drepper <drepper@gmail.com>
24419 * po/ru.po: Update from translation team.
24420 * po/vi.po: Likewise.
24422 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24424 * resolv/nss_dns/dns-host.c: Merge copyright years.
24426 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24429 Optimize memcpy with prefetch if
24430 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24431 src, dst pointers have unequal 16 byte alignments.
24433 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24436 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24437 from a CNAME entry and return the minimum ttl for the query.
24438 (gaih_getanswer_slice): Likewise.
24440 2012-03-30 Jeff Law <law@redhat.com>
24442 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24444 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24445 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24447 * resolv/nss_dns/dns-host.c: Update copyright year.
24449 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24451 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24452 requests to save a system call. Fix check that all bytes are sent.
24454 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24455 comments for sendmmsg.
24457 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24460 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24461 with only 1 character between 0x0041 and 0x01b0.
24462 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24463 * wcsmbs/tst-mbsnrtowcs.c: New file.
24465 2012-03-29 David S. Miller <davem@davemloft.net>
24467 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24468 small copies by hand.
24470 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24473 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24474 _nss_compat_initgroups_dyn): Fall back to malloc/free
24475 for large group memberships.
24477 2012-03-28 David S. Miller <davem@davemloft.net>
24479 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24480 that branches into memcpy.
24481 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24482 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24484 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24487 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24488 implementation too.
24489 * sysdeps/sparc/mempcpy.S: New file.
24491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24492 the IFUNC routine in the libc case.
24493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24495 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24496 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24497 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24498 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24499 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24500 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24501 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24502 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24504 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24505 loop to 256 bytes instead of 64 bytes and fix test signedness.
24507 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24508 * sysdeps/sparc/sparc32/Makefile: rather than here...
24509 * sysdeps/sparc/sparc64/Makefile: and here.
24511 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24513 * malloc/mallocbug.c: Avoid warnings about unused variables.
24515 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24518 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24519 in the right place. Discard and retry query if response is
24520 larger than input buffer size.
24522 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24527 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24528 x for large integer exponent.
24529 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24530 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24531 sign of result as needed afterwards.
24532 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24533 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24534 result for underflowing pow the same as for overflow.
24535 (__kernel_standard_l): Handle powl overflow and underflow here
24536 rather than calling __kernel_standard.
24537 * math/libm-test.inc (pow_test): Add more tests.
24552 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24553 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24554 (__kernel_standard_l): New function.
24555 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24557 * math/w_acosl.c (__acosl): Likewise.
24558 * math/w_asinl.c (__asinl): Likewise.
24559 * math/w_atan2l.c (__atan2l): Likewise.
24560 * math/w_atanhl.c (__atanhl): Likewise.
24561 * math/w_coshl.c (__coshl): Likewise.
24562 * math/w_exp10l.c (__exp10l): Likewise.
24563 * math/w_exp2l.c (__exp2l): Likewise.
24564 * math/w_fmodl.c (__fmodl): Likewise.
24565 * math/w_hypotl.c (__hypotl): Likewise.
24566 * math/w_j0l.c (__j0l, __y0l): Likewise.
24567 * math/w_j1l.c (__j1l, __y1l): Likewise.
24568 * math/w_jnl.c (__jnl, __ynl): Likewise.
24569 * math/w_lgammal.c (__lgammal): Likewise.
24570 * math/w_log10l.c (__log10l): Likewise.
24571 * math/w_log2l.c (__log2l): Likewise.
24572 * math/w_logl.c (__logl): Likewise.
24573 * math/w_powl.c (__powl): Likewise.
24574 * math/w_remainderl.c (__remainderl): Likewise.
24575 * math/w_scalbl.c (sysv_scalbl): Likewise.
24576 * math/w_sinhl.c (__sinhl): Likewise.
24577 * math/w_sqrtl.c (__sqrtl): Likewise.
24578 * math/w_tgammal.c (__tgammal): Likewise.
24579 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24580 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24581 * math/libm-test.inc (acos_test): Add more tests.
24582 (acosh_test): Likewise.
24583 (asin_test): Likewise.
24584 (atanh_test): Likewise.
24585 (exp_test): Likewise.
24586 (exp10_test): Likewise.
24587 (exp2_test): Likewise.
24588 (expm1_test): Likewise.
24589 (lgamma_test): Likewise.
24590 (log_test): Likewise.
24591 (log10_test): Likewise.
24592 (log1p_test): Likewise.
24593 (log2_test): Likewise.
24594 (pow_test): Do not allow some spurious overflow exceptions.
24595 (sqrt_test): Add more tests.
24596 (tgamma_test): Likewise.
24597 (y0_test): Likewise.
24598 (y1_test): Likewise.
24599 (yn_test): Likewise.
24601 2012-03-27 Anton Blanchard <anton@samba.org>
24603 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24605 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24606 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24607 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24609 2012-03-27 David S. Miller <davem@davemloft.net>
24611 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24613 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24614 have-as-vis3 check.
24616 2012-03-27 Andreas Jaeger <aj@suse.de>
24618 * sysdeps/x86_64/elf/configure.in: Moved to ...
24619 * sysdeps/x86_64/configure.in: ... here.
24620 * sysdeps/x86_64/elf/start.S: Moved to ...
24621 * sysdeps/x86_64/start.S: ... here.
24622 * sysdeps/x86_64/elf/configure: Delete.
24624 * sysdeps/x86_64/configure.in: Merge contents from
24625 sysdeps/i386/configure.in (without i686 check).
24627 * sysdeps/i386/elf/Versions: Merge into ...
24628 * sysdeps/i386/Versions: ... this.
24629 * sysdeps/i386/elf/Versions: Delete file.
24630 * sysdeps/i386/elf/start.S: Moved to ...
24631 * sysdeps/i386/start.S: ...here.
24632 * sysdeps/i386/elf/configure.in: Merge into...
24633 * sysdeps/i386/configure.in: ...here.
24634 * sysdeps/i386/elf/configure.in: Delete file.
24635 * sysdeps/i386/elf/configure: Delete file.
24637 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24638 * debug/backtracesyms.c: ... here.
24639 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24640 * debug/backtracesymsfd.c: ... here.
24641 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24642 * sysdeps/generic/ifunc-sel.h: ... here.
24644 * sysdeps/unix/i386/start.c: Delete file.
24645 * sysdeps/unix/sparc/start.c: Delete file.
24646 * sysdeps/unix/start.c: Delete file.
24648 * sysdeps/sh/elf/configure.in: Moved to ...
24649 * sysdeps/sh/configure.in: ... here.
24650 * sysdeps/sh/elf/start.S: Moved to ...
24651 * sysdeps/sh/start.S: ... here.
24652 * sysdeps/sh/elf/configure: Delete file.
24654 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24655 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24656 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24657 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24658 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24659 * sysdeps/powerpc/powerpc64/start.S: here.
24660 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24661 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24662 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24663 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24664 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24666 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24667 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24668 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24669 * sysdeps/powerpc/powerpc32/start.S: ... here.
24670 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24671 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24672 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24674 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24675 * sysdeps/powerpc/ifunc-sel.h: ... here.
24676 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24677 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24679 * sysdeps/sparc/elf/configure.in: Moved to ...
24680 * sysdeps/sparc/configure.in: ... here.
24681 * sysdeps/sparc/elf/configure: Delete file.
24682 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24683 * sysdeps/sparc/sparc32/start.S: ... here.
24684 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24685 * sysdeps/sparc/sparc64/start.S: ... here.
24686 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24687 * sysdeps/sparc/sparc32/Makefile: ... this.
24688 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24689 * sysdeps/sparc/sparc64/Makefile: ... this.
24691 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24692 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24693 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24694 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24695 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24696 * sysdeps/s390/s390-32/setjmp.S: ... here.
24697 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24698 * sysdeps/s390/s390-32/configure.in: ... here.
24699 * sysdeps/s390/s390-32/elf/configure: Delete file.
24700 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24701 * sysdeps/s390/s390-32/start.S: ... here.
24703 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24704 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24705 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24706 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24707 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24708 * sysdeps/s390/s390-64/setjmp.S: ... here.
24709 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24710 * sysdeps/s390/s390-64/configure.in: ... here
24711 * sysdeps/s390/s390-64/elf/configure: Delete file.
24712 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24713 * sysdeps/s390/s390-64/start.S: ... here.
24714 * sysdeps/s390/s390-64/elf/configure: Delete.
24716 * configure.in: Remove support for elf directories in sysdeps.
24718 * configure: Regenerated.
24719 * sysdeps/i386/configure: Regenerated.
24720 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24721 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24722 * sysdeps/s390/s390-32/configure: Regenerated.
24723 * sysdeps/s390/s390-64/configure: Regenerated.
24724 * sysdeps/sh/configure: Regenerated.
24725 * sysdeps/sparc/configure: Regenerated.
24726 * sysdeps/x86_64/configure: Regenerated.
24728 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24732 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24733 denormal result into account.
24735 2012-03-25 Roland McGrath <roland@hack.frob.com>
24737 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24738 Reported by Allan McRae <allan@archlinux.org>.
24740 2012-03-23 Jeff Law <law@redhat.com>
24742 * nss/getnssent.c (__nss_getent): Fix typo.
24744 2012-03-23 David S. Miller <davem@davemloft.net>
24746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24748 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24750 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24751 to pad to uint64_t for each field.
24752 (dl_tls_index): Replace unsigned long with uint64_t.
24754 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24755 Paul Pluzhnikov <ppluzhnikov@google.com>
24758 * grp/Makefile (otherlibs): Don't set it.
24759 * inet/Makefile (otherlibs): Likewise.
24760 * login/Makefile (otherlibs): Likewise.
24761 * nscd/Makefile (otherlibs): Likewise.
24762 * posix/Makefile (otherlibs): Likewise.
24763 * pwd/Makefile (otherlibs): Likewise.
24764 * rt/Makefile (otherlibs): Likewise.
24765 * sunrpc/Makefile (otherlibs): Likewise.
24766 * nss/Makefile (otherlibs): Likewise.
24767 Add libnss_files to routines and static-only-routines.
24768 ($(objpfx)getent): Remove rule.
24769 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24770 static-only-routines.
24772 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24775 * math/s_cexp.c: Include <float.h>.
24776 (__cexp): Handle exp result overflowing not necessarily
24777 overflowing both real and imaginary parts of result.
24778 * math/s_cexpf.c: Likewise.
24779 * math/s_cexpl.c: Likewise.
24780 * math/libm-test.inc (cexp_test): Add more tests.
24781 * sysdeps/i386/fpu/libm-test-ulps: Update.
24782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24784 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24786 * include/link.h (ELFW): New macro.
24787 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24788 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24790 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24792 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24795 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24797 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24799 (struct La_x32_retval): Likewise.
24801 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24803 * sysdeps/x86_64/preconfigure.in: New file.
24804 * sysdeps/x86_64/preconfigure: New generated file.
24806 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24809 * math/e_exp2l.c: Include <float.h>.
24810 (__ieee754_exp2l): Handle overflow and underflow cases
24811 separately. Only pass fractional part of argument to
24813 * math/libm-test.inc (exp2_test): Add more tests.
24815 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24816 negating x to take absolute value.
24817 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24819 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24820 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24822 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24823 computing low part if x was negated.
24824 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24826 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24828 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24829 la_x32_gnu_pltexit.
24830 (pltexit): Cast int_retval to ptrdiff_t.
24831 * elf/tst-auditmod3b.c: Likewise.
24832 * elf/tst-auditmod4b.c: Likewise.
24833 * elf/tst-auditmod5b.c: Likewise.
24834 * elf/tst-auditmod6b.c: Likewise.
24835 * elf/tst-auditmod6c.c: Likewise.
24836 * elf/tst-auditmod7b.c: Likewise.
24838 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24839 and x32_gnu_pltexit.
24841 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24842 __ELF_NATIVE_CLASS.
24843 (La_x32_regs): New macro.
24844 (La_x32_retval): Likewise.
24845 (la_x32_gnu_pltenter): New function prototype.
24846 (la_x32_gnu_pltexit): Likewise.
24848 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24850 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24855 * configure.in (libc_cv_cc_nofma): Check for option to disable
24856 generation of FMA instructions.
24857 * configure: Regenerate.
24858 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24859 * sysdeps/ieee754/dbl-64/Makefile: New file.
24860 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24861 Remove brandred-fma4.
24862 (CFLAGS-brandred-fma4.c): Remove.
24863 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24864 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24866 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24869 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24871 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24872 LLONG_MAX != LONG_MAX.
24873 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24874 (_fitoa_word): Likewise.
24875 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24876 LLONG_MAX != LONG_MAX.
24877 * stdio-common/_itowa.h: Include <_itoa.h>.
24878 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24879 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24880 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24881 only if not defined.
24882 (_ITOA_WORD_TYPE): Likewise.
24883 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24884 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24886 2012-03-21 David S. Miller <davem@davemloft.net>
24888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24890 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24892 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24893 of x86_64 when setting libc_cv_slibdir, libdir and
24895 * sysdeps/unix/sysv/linux/configure: Regenerated.
24897 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24899 * manual/lang.texi (Old Varargs): Remove section.
24900 (How Variadic): Update menu.
24901 (va_start): Do not mention varargs.h.
24903 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24904 Joseph Myers <joseph@codesourcery.com>
24906 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24908 * configure: Regenerated.
24910 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24912 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24913 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24916 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24919 * Makefile (files-for-dist): Remove NOTES.
24920 (NOTES): Remove rule.
24921 * README: Don't refer to NOTES.
24922 * manual/creature.texi: Don't include macros.texi.
24923 * manual/intro.texi (creature.texi): Remove comment referring to
24926 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24927 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24928 * configure: Regenerated.
24929 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24930 LIBC_TRY_CC_OPTION.
24931 (libc_cv_as_i686): Likewise.
24932 (libc_cv_cc_avx): Likewise.
24933 (libc_cv_cc_sse2avx): Likewise.
24934 (libc_cv_cc_fma4): Likewise.
24935 (libc_cv_cc_novzeroupper): Likewise.
24936 * sysdeps/i386/configure: Regenerated.
24939 * sysdeps/i386/fpu/s_cexp.S: Remove.
24940 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24941 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24942 * math/libm-test.inc (cexp_test): Add more tests.
24943 * sysdeps/i386/fpu/libm-test-ulps: Update.
24944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24946 2012-03-21 Allan McRae <allan@archlinux.org>
24948 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24950 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24953 * math/w_exp2.c: Do not include <float.h>.
24954 (o_threshold, u_threshold): Remove.
24955 (__exp2): Calculate result before checking finiteness and calling
24957 * math/w_exp2f.c: Likewise.
24958 * math/w_exp2l.c: Likewise.
24959 * math/libm-test.inc (exp2_test): Require overflow exception for
24963 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24964 range of signed 64-bit integers before using fistpll. Remove
24965 checks for whether integers fit in mantissa bits.
24966 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24967 the range of signed 32-bit integers before using fistpl. Remove
24968 checks for whether integers fit in mantissa bits.
24969 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24970 (__ieee754_powl): Test for y outside the range of signed 64-bit
24971 integers before using fistpll. Reduce 64-bit values to 63-bit
24973 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24974 divide-by-zero is raised for zero to large negative powers.
24975 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24976 (__ieee754_powl): Test for y outside the range of signed 64-bit
24977 integers before using fistpll. Reduce 64-bit values to 63-bit
24979 * math/libm-test.inc (pow_test): Add more tests.
24981 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24983 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24984 <stdio-common/_itoa.h>.
24985 * debug/segfault.c: Likewise.
24986 * elf/dl-cache.c: Likewise.
24987 * elf/dl-minimal.c: Likewise.
24988 * elf/dl-misc.c: Likewise.
24989 * elf/dl-sysdep.c: Likewise.
24990 * elf/dl-version.c: Likewise.
24991 * elf/rtld.c: Likewise.
24992 * hurd/hurdsock.c: Likewise.
24993 * hurd/lookup-retry.c: Likewise.
24994 * malloc/malloc.c: Likewise.
24995 * malloc/mtrace.c: Likewise.
24996 * nscd/nscd_getgr_r.c: Likewise.
24997 * nscd/nscd_getpw_r.c: Likewise.
24998 * nscd/nscd_getserv_r.c: Likewise.
24999 * posix/getopt_init.c: Likewise.
25000 * posix/wordexp.c: Likewise.
25001 * stdio-common/_itoa.c: Likewise.
25002 * stdio-common/printf_fphex.c: Likewise.
25003 * stdio-common/vfprintf.c: Likewise.
25004 * string/_strerror.c: Likewise.
25005 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25006 * sysdeps/i386/i686/hp-timing.h: Likewise.
25007 * sysdeps/mach/_strerror.c: Likewise.
25008 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25009 * sysdeps/mach/hurd/sethostid.c: Likewise.
25010 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25011 * sysdeps/mach/xpg-strerror.c: Likewise.
25012 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25013 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25014 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25015 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25016 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25017 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25018 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25019 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25020 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25021 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25022 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25023 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25024 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25025 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25026 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25027 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25028 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25029 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25030 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25031 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25032 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25034 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25036 * stdio-common/_itoa.h: Moved to ...
25037 * sysdeps/generic/_itoa.h: Here.
25039 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25041 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25042 instead of "_itoa.h" and "_itowa.h".
25043 * stdio-common/vfprintf.: Likewise.
25045 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25047 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25049 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25050 (__signbit): Likwise.
25051 (llrintf): Likwise.
25054 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25056 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25059 2012-03-20 Joseph Myers <joseph@codesourcery.com>
25061 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25062 OVERFLOW_EXCEPTION_OK.
25063 * math/libm-test.inc ("Philosophy"): Update comment about
25065 (OVERFLOW_EXCEPTION): Define.
25066 (OVERFLOW_EXCEPTION_OK): Likewise.
25067 (INVALID_EXCEPTION_OK): Renumber.
25068 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25069 (IGNORE_ZERO_INF_SIGN): Likewise.
25070 (test_exceptions): Handle FE_OVERFLOW.
25071 (exp10_test): Expect overflow exceptions.
25072 (exp2_test): Likewise.
25073 (expm1_test): Likewise.
25074 (nextafter_test): Likewise.
25075 (pow_test): Likewise.
25076 (scalbn_test): Likewise.
25077 (scalbln_test): Likewise.
25079 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25081 * sysdeps/x86_64/bits/atomic.h
25082 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25084 (atomic_exchange_acq): Likewise.
25085 (__arch_exchange_and_add_body): Likewise.
25086 (__arch_add_body): Likewise.
25087 (atomic_add_negative): Likewise.
25088 (atomic_add_zero): Likewise.
25090 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25092 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25093 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25095 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25097 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25098 Check __x86_64__ instead of __WORDSIZE.
25100 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25102 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25104 2012-03-19 David S. Miller <davem@davemloft.net>
25106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25108 * sysdeps/sparc/fpu/fenv_private.h: New file.
25109 * sysdeps/sparc/fpu/math_private.h: Use it.
25110 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25112 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25113 (libc_feholdexcept_setroundl): Remove.
25114 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25116 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25117 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25119 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25121 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25122 int64_t instead of long int.
25123 (INSERT_WORDS64): Likwise.
25125 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25127 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25128 _Unwind_GetCFA return to _Unwind_Ptr first.
25130 2012-03-19 Joseph Myers <joseph@codesourcery.com>
25133 * math/s_clog.c: Include <float.h>.
25134 (__clog): Scale large or subnormal inputs.
25135 * math/s_clogf.c: Likewise.
25136 * math/s_clogl.c: Likewise.
25137 * math/s_clog10.c: Include <float.h>.
25138 (M_LOG10_2): Define.
25139 (__clog10): Scale large or subnormal inputs.
25140 * math/s_clog10f.c: Likewise.
25141 * math/s_clog10l.c: Likewise.
25142 * math/libm-test.inc (clog_test): Add more tests.
25143 (clog10_test): Likewise.
25144 * sysdeps/i386/fpu/libm-test-ulps: Update.
25145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25148 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25150 * math/libm-test.inc (atan2_test): Add another test.
25152 * Makerules (common-objdir-compile): Remove.
25153 * sysdeps/unix/Makefile (config-generated): Do not add
25154 $(unix-generated) to variable.
25155 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25156 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25158 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25160 [generic bits/local_lim.h] (before-compile): Do not append to
25162 [generic bits/local_lim.h] (common-generated): Likewise.
25163 [generic sys/param.h] (before-compile): Do not append to variable.
25164 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25165 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25166 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25167 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25169 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25170 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25171 [generic sys/param.h] ($(addprefix
25172 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25173 [generic sys/param.h] (common-generated): Do not append to
25175 [generic sys/param.h] (sysdep_headers): Likewise.
25176 [generic bits/errno.h] (before-compile): Do not append to
25178 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25180 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25181 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25182 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25183 [generic bits/errno.h] (common-generated): Do not append to
25185 [generic bits/ioctls.h] (before-compile): Do not append to
25187 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25189 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25190 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25191 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25193 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25194 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25195 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25196 [generic bits/ioctls.h] (common-generated): Do not append to
25198 [generic sys/syscall.h] (syscall.h): Remove variable.
25199 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25201 [generic sys/syscall.h] (before-compile): Do not append to
25203 [generic sys/syscall.h] (common-generated): Likewise.
25204 * sysdeps/unix/errnos-tmpl.c: Remove file.
25205 * sysdeps/unix/errnos.awk: Likewise.
25206 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25207 * sysdeps/unix/ioctls.awk: Likewise.
25208 * sysdeps/unix/mk-local_lim.c: Likewise.
25209 * sysdeps/unix/snarf-ioctls: Likewise.
25211 2012-03-19 Richard Henderson <rth@twiddle.net>
25213 * sysdeps/i386/fpu/fenv_private.h: New file.
25214 * sysdeps/i386/fpu/math_private.h: Use it.
25215 (math_opt_barrier, math_force_eval): Remove.
25216 (libc_feholdexcept_setround_53bit): Remove.
25217 (libc_feupdateenv_53bit): Remove.
25218 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25219 (math_opt_barrier, math_force_eval): Remove.
25220 (libc_feholdexcept): Remove.
25221 (libc_feholdexcept_setround): Remove.
25222 (libc_fetestexcept, libc_fesetenv): Remove.
25223 (libc_feupdateenv_test): Remove.
25224 (libc_feupdateenv, libc_feholdsetround): Remove.
25225 (libc_feresetround): Remove.
25227 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25228 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25230 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25231 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25232 (libc_feupdateenv_testl): New.
25233 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25234 (libc_feupdateenv_testf): New.
25235 (libc_feupdateenv): Use libc_feupdateenv_test.
25236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25237 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25239 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25240 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25241 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25242 (libc_feresetround_noex): New.
25243 (libc_feresetround_noexf): New.
25244 (libc_feresetround_noexl): New.
25245 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25246 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25247 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25248 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25251 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25253 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25254 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25255 SET_RESTORE_ROUND_NOEX.
25256 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25257 SET_RESTORE_ROUND_NOEXF.
25258 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25259 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25260 (libc_feholdsetroundf): New.
25261 (libc_feresetround, libc_feresetroundf): New.
25263 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25264 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25265 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25267 * sysdeps/generic/math_private.h: Include <fenv.h>.
25268 (default_libc_feholdexcept): New.
25269 (default_libc_feholdexcept_setround): New.
25270 (default_libc_fesetenv, default_libc_feupdateenv): New.
25271 (libc_feholdexcept): Only define if undefined.
25272 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25273 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25274 (libc_feholdexcept_setroundl): Likewise.
25275 (libc_feholdexcept_setround_53bit): Likewise.
25276 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25277 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25278 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25279 (libc_feupdateenv_53bit): Likewise.
25280 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25281 (libc_feholdexcept): Convert from macro to inline function.
25282 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25283 (libc_fesetenv, libc_feupdateenv): Likewise.
25285 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25286 not previously defined.
25287 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25288 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25289 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25290 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25291 * sysdeps/ieee754/flt-32/math_private.h: New file.
25292 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25293 math_private.h below SET_FLOAT_WORD.
25294 (__isnan, __isinf_ns, __finite): Remove.
25295 (__isnanf, __isinf_nsf, __finitef): Remove.
25297 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25301 2012-03-17 David S. Miller <davem@davemloft.net>
25304 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25307 2012-03-16 David S. Miller <davem@davemloft.net>
25309 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25313 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25315 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25316 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25317 sysdep_routines when subdir is sysvipc.
25318 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25319 __getshmlba helper.
25321 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25323 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25325 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25328 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25330 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25331 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25332 (__lround): Renamed to ...
25333 (__llround): This. Replace long int with long long int.
25334 Define lround functions as aliases of llround functions.
25335 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25337 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25339 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25340 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25341 adresses to uintptr_t. Replace "long int" and "unsigned long
25342 int" with "greg_t" on va_arg.
25344 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25346 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25347 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25349 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25350 Move e_machine check before EI_CLASS check. Handle x32
25351 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25352 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25353 SKIP_EM_IA_64 and include
25354 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25356 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25357 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25358 (add_system_dir): New macro.
25360 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25361 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25363 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25374 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25376 * math/w_j0f.c (j0f): Likewise.
25378 * math/w_j0l.c (__j0l): Likewise.
25380 * math/w_j1.c (j1): Likewise.
25382 * math/w_j1f.c (j1f): Likewise.
25384 * math/w_j1l.c (__j1l): Likewise.
25386 * math/w_jn.c (jn): Likewise.
25388 * math/w_jnf.c (jnf): Likewise.
25390 * math/w_jnl.c (__jnl): Likewise.
25392 * math/libm-test.inc (j0_test): Add more tests.
25393 (j1_test): Likewise.
25394 (jn_test): Likewise. Add trailing semicolon to existing test.
25395 (y0_test): Likewise.
25396 (y1_test): Likewise.
25397 * sysdeps/i386/fpu/libm-test-ulps: Update.
25398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25402 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25403 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25404 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25405 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25406 (__tanl): Set errno for infinite argument.
25407 * sysdeps/i386/fpu/mptan.c: Remove.
25408 * sysdeps/i386/fpu/s_tan.S: Likewise.
25409 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25410 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25411 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25412 * math/libm-test.inc (tan_test): Add more tests and enable more
25413 tests for double and long double.
25414 * sysdeps/i386/fpu/libm-test-ulps: Update.
25415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25417 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25419 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25420 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25422 2012-03-16 Roland McGrath <roland@hack.frob.com>
25424 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25425 * configure.in: Use it for both main tree and add-ons.
25426 * configure: Regenerated.
25428 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25430 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25432 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25434 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25438 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25439 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25440 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25441 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25442 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25444 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25446 != 0 for prec == 2.
25447 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25448 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25449 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25450 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25451 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25452 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25453 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25454 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25455 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25456 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25457 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25458 * math/libm-test.inc (cos_test): Add more tests and enable more
25459 tests for long double.
25460 (sin_test): Likewise.
25461 (sincos_test): Likewise.
25462 * sysdeps/i386/fpu/libm-test-ulps: Update.
25463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25465 2012-03-16 David S. Miller <davem@davemloft.net>
25467 * sysdeps/sparc/fpu/math_private.h: New file.
25469 2012-03-15 David S. Miller <davem@davemloft.net>
25471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25479 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25481 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25485 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25486 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25488 * sysdeps/sparc/sparc-ifunc.h: New file.
25489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25513 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25515 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25516 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25518 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25521 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25522 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25525 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25526 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25530 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25532 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25534 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25536 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25540 2012-03-15 Andreas Jaeger <aj@suse.de>
25543 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25544 ieee754/flt-32 implementation for sin, cos and sincos.
25545 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25546 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25547 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25548 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25549 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25550 ieee754/flt-32 implementation for tan.
25552 * math/libm-test.inc (cos_test): Enable some large input tests for
25554 (sin_test): Likewise.
25555 (sincos_test): Likewise.
25556 (tan_test): Add tests for large input.
25558 * sysdeps/i386/fpu/libm-test-ulps: Update.
25560 2012-03-15 Andreas Jaeger <aj@suse.de>
25563 * math/libm-test.inc (cos_test): Add more test cases.
25564 (sin_test): Likewise.
25565 (sincos_test): Likewise.
25567 2012-03-15 Andreas Jaeger <aj@suse.de>
25570 * math/libm-test.inc (cos_test): Add a test case for large input
25572 (sin_test): Likewise.
25573 (sincos_test): Likewise.
25575 2012-03-15 Andreas Jaeger <aj@suse.de>,
25576 Joseph Myers <joseph@codesourcery.com>
25579 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25580 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25581 * sysdeps/i386/fpu/branred.c: Likewise.
25582 * sysdeps/i386/fpu/dosincos.c: Likewise.
25583 * sysdeps/i386/fpu/mpa.c: Likewise.
25584 * sysdeps/i386/fpu/s_cos.S: Likewise.
25585 * sysdeps/i386/fpu/s_sin.S: Likewise.
25586 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25587 * sysdeps/i386/fpu/sincos32.c: Likewise.
25589 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25591 (libc_feupdateenv_53bit): Define.
25592 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25594 (libc_feupdateenv_53bit): Define.
25596 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25597 53 bit (without extend i386 double precision).
25599 * math/libm-test.inc (sincos_test): Add tests for large input.
25603 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25605 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25609 2012-03-15 David S. Miller <davem@davemloft.net>
25611 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25612 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25613 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25614 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25638 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25639 fmin/fmax sysdep routines.
25640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25642 2012-03-14 David S. Miller <davem@davemloft.net>
25644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25646 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25647 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25650 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25651 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25655 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25662 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25663 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25670 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25671 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25672 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25716 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25721 * sysdeps/sparc/configure.in: New file.
25722 * sysdeps/sparc/configure: Generate.
25723 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25724 * configure: Regenerate.
25725 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25726 * config.make.in (have-as-vis3): New.
25727 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25728 available use -Av9d instead of -Av9a.
25729 * sysdeps/sparc/sparc64/Makefile: Likewise.
25730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25739 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25743 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25745 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25746 fzeros/fnegs to load 0x80000000 into a float register instead of
25748 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25750 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25754 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25755 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25756 ($(inst_includedir)/bits/syscall.h): Remove rule.
25757 ($(objpfx)bits/syscall.d): Include instead of
25758 $(objpfx)syscall-list.d.
25759 (generated): Change syscall-list.h and syscall-list.d to
25760 bits/syscall.h and bits/syscall.d.
25762 2012-03-14 Roland McGrath <roland@hack.frob.com>
25765 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25767 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25770 * math/s_csqrt.c: Include <float.h>.
25771 (__csqrt): Scale large or subnormal inputs.
25772 * math/s_csqrtf.c: Likewise.
25773 * math/s_csqrtl.c: Likewise.
25774 * math/libm-test.inc (csqrt_test): Add more tests.
25775 * sysdeps/i386/fpu/libm-test-ulps: Update.
25776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25779 * math/libm-test.inc (hypot_test): Add more tests.
25781 2012-03-13 David S. Miller <davem@davemloft.net>
25784 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25785 double-precision for the calculation instead of scaling.
25787 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25789 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25790 manipulate bits before adding and subtracting TWO52[sx].
25791 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25792 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25794 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25796 2012-03-13 David S. Miller <davem@davemloft.net>
25798 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25799 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25800 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25801 rtld-global-offsets.h
25802 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25804 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25807 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25809 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25810 'err' in the ifdef scope in which it is actually used.
25812 * nss/nss_db/db-init.c: Include string.h
25814 2012-03-12 David S. Miller <davem@davemloft.net>
25816 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25817 masking out of the most significant byte of random value used.
25818 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25819 Fix coding style in previous change.
25821 * sysdeps/unix/sysv/linux/kernel-features.h
25822 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25823 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25825 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25828 2012-03-11 David S. Miller <davem@davemloft.net>
25830 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25831 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25832 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25833 for 'resultvar' otherwise things get truncated on 64-bit.
25835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25836 Fix masking out of the most significant byte of random value used.
25838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25840 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25844 2012-03-09 David S. Miller <davem@davemloft.net>
25846 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25847 variables with appropriate CPP guards.
25848 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25849 frame pointer, not the stack pointer. Correct layout comments. Fix test
25850 on resulting framesize and the management of the outregs buffer for pltexit.
25851 Preserve floating point return values across _dl_call_pltexit call.
25852 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25853 framesize and the management of the outregs buffer for pltexit.
25854 Preserve floating point return values across _dl_call_pltexit
25856 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25857 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25858 (print_exit): Fix format string for return register value.
25860 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25862 * sunrpc/Makefile (others): Add rpcgen.
25863 ($(objpfx)rpcgen): Remove special build rule and dependency on
25865 * sunrpc/rpcgen.c: New file.
25867 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25870 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25871 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25872 * sysdeps/i386/crti.S: Likewise.
25873 * sysdeps/i386/crtn.S: Likewise.
25874 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25875 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25876 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25877 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25878 * sysdeps/sh/crti.S: Likewise.
25879 * sysdeps/sh/crtn.S: Likewise.
25880 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25883 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25885 * locale/programs/locfile-kw.gperf: Likewise.
25886 * locale/programs/charmap-kw.h: Regenerated.
25887 * locale/programs/locfile-kw.h: Likewise.
25890 * intl/plural.y: Replace FSF snail mail address with URL.
25891 * intl/plural.c: Regenerated.
25893 2012-03-09 Richard Henderson <rth@twiddle.net>
25895 * include/math_private.h: Remove file.
25896 * math/math_private.h: Move file ...
25897 * sysdeps/generic/math_private.h: ... here.
25899 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25900 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25901 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25903 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25904 and <math_private.h>.
25905 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25906 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25907 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25908 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25909 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25910 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25911 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25913 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25914 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25916 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25917 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25919 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25920 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25921 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25922 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25923 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25924 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25926 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25927 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25929 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25930 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25931 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25932 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25935 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25937 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25938 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25939 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25940 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25941 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25942 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25943 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25945 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25946 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25947 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25948 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25949 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25950 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25951 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25952 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25954 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25955 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25956 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25957 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25958 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25959 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25960 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25961 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25962 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25963 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25964 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25965 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25966 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25968 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25969 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25970 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25971 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25972 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25973 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25974 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25976 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25977 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25978 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25979 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25981 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25982 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25983 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25984 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25985 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25986 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25987 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25989 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25992 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25993 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25994 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25995 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25996 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25997 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25998 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25999 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26000 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26001 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26002 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26003 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26004 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26005 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26006 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26007 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26008 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26009 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26010 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26011 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26012 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26013 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26015 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26016 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26017 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26018 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26019 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26020 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26021 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26022 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26023 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26024 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26025 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26026 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26027 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26028 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26029 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26030 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26031 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26032 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26033 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26034 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26035 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26036 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26037 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26038 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26039 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26040 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26041 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26042 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26043 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26044 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26045 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26046 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26047 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26048 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26049 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26050 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26051 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26052 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26053 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26054 * sysdeps/ieee754/k_standard.c: Likewise.
26055 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26056 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26057 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26058 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26059 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26060 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26061 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26062 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26063 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26064 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26065 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26066 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26067 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26068 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26069 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26070 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26071 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26072 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26074 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26075 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26076 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26077 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26078 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26079 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26080 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26081 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26082 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26083 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26084 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26085 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26086 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26087 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26088 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26089 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26090 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26091 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26092 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26093 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26094 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26095 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26096 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26097 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26098 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26099 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26100 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26101 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26102 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26103 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26104 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26105 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26106 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26107 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26108 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26110 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26111 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26112 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26113 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26114 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26115 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26116 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26117 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26125 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26127 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26131 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26132 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26133 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26134 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26135 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26136 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26137 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26138 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26139 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26140 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26141 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26143 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26145 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26146 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26147 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26148 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26149 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26151 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26152 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26153 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26154 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26155 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26156 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26157 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26158 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26159 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26160 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26161 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26162 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26163 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26164 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26165 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26166 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26167 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26168 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26169 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26170 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26171 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26172 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26174 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26176 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26177 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26178 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26179 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26182 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26183 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26184 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26185 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26186 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26187 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26188 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26189 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26190 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26191 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26192 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26193 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26194 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26195 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26196 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26197 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26198 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26199 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26204 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26205 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26206 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26207 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26208 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26213 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26214 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26215 * sysdeps/ieee754/s_lib_version.c: Likewise.
26216 * sysdeps/ieee754/s_matherr.c: Likewise.
26217 * sysdeps/ieee754/s_signgam.c: Likewise.
26218 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26219 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26220 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26221 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26222 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26223 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26224 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26225 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26226 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26227 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26228 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26229 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26230 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26231 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26232 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26233 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26234 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26235 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26236 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26240 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26242 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26243 * sunrpc/rpc_main.c: Likewise.
26244 * sunrpc/rpc_svcout.c: Likewise.
26246 2012-03-09 David S. Miller <davem@davemloft.net>
26248 * include/math_private.h: New file.
26250 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26252 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26253 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26254 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26255 from <bits/socket_type.h>.
26256 (enum __socket_type): Don't define here.
26257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26259 bits/socket_type.h.
26262 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26263 checking __USE_GNU.
26265 * Makerules ($(inst_includedir)/%.h): New rule.
26266 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26267 (install-others): Remove variable setting.
26268 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26270 2012-03-08 Richard Henderson <rth@twiddle.net>
26272 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26273 from macro to inline function; merge with the
26274 !__LIBC_INTERNAL_MATH_INLINES version.
26275 (__ieee754_sqrtf): Likewise.
26277 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26278 to inline function.
26279 (__rintf, __floor, __floorf): Likewise.
26281 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26282 macro to inline function.
26283 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26285 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26286 not <math/math_private.h>.
26288 2012-03-08 David S. Miller <davem@davemloft.net>
26290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26292 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26294 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26296 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26298 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26299 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26301 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26303 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26304 be defined individually, they must be defined as a block. Define
26305 S for printing a string instead of hidint the different by using a
26306 macro for adding the 'l'.
26307 * stdio-common/tst-fphex-wide.c: Adjust.
26309 2012-03-07 Marek Polacek <polacek@redhat.com>
26311 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26313 2012-03-08 Marek Polacek <polacek@redhat.com>
26316 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26317 * stdio-common/tst-fphex.c: Define a few macros to make the
26318 test reusable. Use them.
26319 * stdio-common/tst-fphex-wide.c: New file.
26321 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26324 * manual/macros.texi (gnusystems): New macro.
26325 (nongnusystems): Likewise.
26326 (gnulinuxhurdsystems): Likewise.
26327 (gnuhurdsystems): Likewise..
26328 (gnulinuxsystems): Likewise.
26329 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26330 variants of the GNU system, not "GNU system".
26331 * manual/conf.texi: Likewise.
26332 * manual/errno.texi: Likewise. Update example of errno macro
26334 * manual/filesys.texi: Likewise.
26335 (getumask): Document as specific to GNU/Hurd.
26336 * manual/install.texi: Likewise. Reword some references to
26338 * manual/intro.texi: Likewise.
26339 * manual/io.texi: Likewise.
26340 (File Name Portability): Detail which constraints are inapplicable
26341 to all GNU systems and which are only inapplicable to GNU/Hurd.
26342 * manual/job.texi: Likewise.
26343 * manual/llio.texi: Likewise.
26344 (O_NOCTTY): Document as present on GNU/Linux.
26345 * manual/maint.texi: Likewise.
26346 * manual/memory.texi: Likewise.
26347 * manual/pattern.texi: Likewise.
26348 * manual/pipe.texi: Likewise.
26349 * manual/process.texi: Likewise.
26350 * manual/resource.texi: Likewise.
26351 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26353 * manual/setjmp.texi: Likewise.
26354 * manual/signal.texi: Likewise.
26355 * manual/startup.texi: Likewise.
26356 * manual/stdio.texi: Likewise.
26357 * manual/terminal.texi: Likewise.
26358 (ONLCR): Document as POSIX.
26359 (OXTABS): Document availability on GNU/Linux as XTABS.
26360 (ONOEOT): Document availability separately from other bits.
26361 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26362 * manual/time.texi: Likewise.
26363 * manual/users.texi: Likewise.
26364 * INSTALL: Regenerated.
26365 * sysdeps/gnu/errlist.c: Regenerated.
26367 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26368 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26369 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26371 * configure: Regenerated.
26373 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26375 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26376 default includes instead of AC_HEADER_CHECK.
26377 * sysdeps/i386/configure: Regenerated.
26380 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26381 * math/s_cacoshf.c (__cacoshf): Likewise.
26382 * math/s_cacoshl.c (__cacoshl): Likewise.
26383 * math/s_casinh.c (__casinh): Set signs of result from argument.
26384 * math/s_casinhf.c (__casinhf): Likewise.
26385 * math/s_casinhl.c (__casinhl): Likewise.
26386 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26387 (casinh_test): Add more tests.
26388 * sysdeps/i386/fpu/libm-test-ulps: Update.
26389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26391 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26393 * po/zh_TW.po: Update from translation team.
26395 * login/Makefile (distribute): Remove variable.
26396 * catgets/Makefile: Likewise.
26397 * mach/Makefile: Likewise.
26398 * malloc/Makefile: Likewise.
26399 * misc/Makefile: Likewise.
26400 * iconv/Makefile: Likewise.
26401 * nscd/Makefile: Likewise.
26402 * hurd/Makefile: Likewise.
26403 * manual/Makefile: Likewise.
26404 * locale/Makefile: Likewise.
26405 * intl/Makefile: Likewise.
26406 * conform/Makefile: Likewise.
26407 * nss/Makefile: Likewise.
26408 * time/Makefile: Likewise.
26409 * soft-fp/Makefile: Likewise.
26410 * dirent/Makefile: Likewise.
26411 * gmon/Makefile: Likewise.
26412 * po/Makefile: Likewise.
26413 * rt/Makefile: Likewise.
26414 * socket/Makefile: Likewise.
26415 * math/Makefile: Likewise.
26416 * signal/Makefile: Likewise.
26417 * debug/Makefile: Likewise.
26418 * elf/Makefile: Likewise.
26419 * timezone/Makefile: Likewise.
26420 * stdlib/Makefile: Likewise.
26421 * iconvdata/Makefile: Likewise.
26422 * sunrpc/Makefile: Likewise.
26423 * io/Makefile: Likewise.
26424 * argp/Makefile: Likewise.
26425 * inet/Makefile: Likewise.
26426 * hesiod/Makefile: Likewise.
26427 * grp/Makefile: Likewise.
26428 * csu/Makefile: Likewise.
26429 * wctype/Makefile: Likewise.
26430 * crypt/Makefile: Likewise.
26431 * libio/Makefile: Likewise.
26432 * string/Makefile: Likewise.
26433 * nis/Makefile: Likewise.
26434 * resolv/Makefile: Likewise.
26435 * stdio-common/Makefile: Likewise.
26436 * wcsmbs/Makefile: Likewise.
26437 * dlfcn/Makefile: Likewise.
26438 * posix/Makefile: Likewise.
26441 * timezone/Makefile: Don't install timezone files, just the programs
26444 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26446 * nss/databases.def: Add missing gshadow entry.
26448 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26450 2012-03-06 Marek Polacek <polacek@redhat.com>
26453 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26454 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26455 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26456 * stdio-common/tst-long-dbl-fphex.c: New file.
26458 2012-03-06 David S. Miller <davem@davemloft.net>
26460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26461 (set_obp_int): New function.
26462 (get_obp_int): New function.
26463 (__get_clockfreq_via_dev_openprom): Likewise.
26464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26465 Avoid unused variable warnings on 'val' and use builtin_expect.
26466 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26468 (INLINE_CLONE_SYSCALL): Likewise.
26470 2012-03-05 David S. Miller <davem@davemloft.net>
26472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26474 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26478 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26479 only for |x| >= 40.
26480 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26482 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26485 Replace gettimeofday with __vdso_gettimeofday.
26487 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26488 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26489 __vdso_clock_gettime and __vdso_getcpu.
26491 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26492 time with __vdso_time.
26494 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26496 * manual/lang.texi (size_t): Note types to which size_t may be
26497 equivalent with the GNU C Library, but do not describe when
26498 differences between them are significant.
26500 2012-03-05 Andreas Jaeger <aj@suse.de>
26502 * sysdeps/i386/fpu/libm-test-ulps: Update.
26504 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26507 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26508 (__ieee754_pow): Save and restore rounding mode and use
26509 round-to-nearest for main computations.
26510 * math/libm-test.inc (pow_test_tonearest): New function.
26511 (pow_test_towardzero): Likewise.
26512 (pow_test_downward): Likewise.
26513 (pow_test_upward): Likewise.
26514 (main): Call the new functions.
26515 * sysdeps/i386/fpu/libm-test-ulps: Update.
26516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26519 * math/libm-test.inc (cosh_test_tonearest): New function.
26520 (cosh_test_towardzero): Likewise.
26521 (cosh_test_downward): Likewise.
26522 (cosh_test_upward): Likewise.
26523 (sinh_test_tonearest): Likewise.
26524 (sinh_test_towardzero): Likewise.
26525 (sinh_test_downward): Likewise.
26526 (sinh_test_upward): Likewise.
26527 (main): Call the new functions.
26528 * sysdeps/i386/fpu/libm-test-ulps: Update.
26529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26531 2012-03-05 Tom de Vries <tom@codesourcery.com>
26533 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26534 default stack guard is set in last bytes.
26535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26537 2012-03-05 Kees Cook <keescook@chromium.org>
26539 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26542 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26543 possibly allocate from heap instead of stack.
26544 * stdio-common/bug-vfprintf-nargs.c: New file.
26545 * stdio-common/Makefile (tests): Add nargs overflow test.
26547 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26551 2012-03-03 Marek Polacek <polacek@redhat.com>
26553 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26554 * math/math_private.h: Likewise.
26555 * stdlib/tst-strtod.c: Likewise.
26556 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26557 * sysdeps/x86_64/bits/atomic.h: Likewise.
26559 2012-03-02 David S. Miller <davem@davemloft.net>
26561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26565 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26566 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26567 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26568 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26570 2012-03-02 Roland McGrath <roland@hack.frob.com>
26573 * manual/examples/README: New file, says the example source files
26574 can be used under GPL>=2.
26575 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26576 line containing just "*/".
26577 * manual/examples/add.c: Add copyright header (GPL>=2).
26578 * manual/examples/argp-ex1.c: Likewise.
26579 * manual/examples/argp-ex2.c: Likewise.
26580 * manual/examples/argp-ex3.c: Likewise.
26581 * manual/examples/argp-ex4.c: Likewise.
26582 * manual/examples/atexit.c: Likewise.
26583 * manual/examples/db.c: Likewise.
26584 * manual/examples/dir.c: Likewise.
26585 * manual/examples/dir2.c: Likewise.
26586 * manual/examples/execinfo.c: Likewise.
26587 * manual/examples/filecli.c: Likewise.
26588 * manual/examples/filesrv.c: Likewise.
26589 * manual/examples/fmtmsgexpl.c: Likewise.
26590 * manual/examples/genpass.c: Likewise.
26591 * manual/examples/inetcli.c: Likewise.
26592 * manual/examples/inetsrv.c: Likewise.
26593 * manual/examples/isockad.c: Likewise.
26594 * manual/examples/longopt.c: Likewise.
26595 * manual/examples/memopen.c: Likewise.
26596 * manual/examples/memstrm.c: Likewise.
26597 * manual/examples/mkfsock.c: Likewise.
26598 * manual/examples/mkisock.c: Likewise.
26599 * manual/examples/mygetpass.c: Likewise.
26600 * manual/examples/pipe.c: Likewise.
26601 * manual/examples/popen.c: Likewise.
26602 * manual/examples/rprintf.c: Likewise.
26603 * manual/examples/search.c: Likewise.
26604 * manual/examples/select.c: Likewise.
26605 * manual/examples/setjmp.c: Likewise.
26606 * manual/examples/sigh1.c: Likewise.
26607 * manual/examples/sigusr.c: Likewise.
26608 * manual/examples/stpcpy.c: Likewise.
26609 * manual/examples/strdupa.c: Likewise.
26610 * manual/examples/strftim.c: Likewise.
26611 * manual/examples/strncat.c: Likewise.
26612 * manual/examples/subopt.c: Likewise.
26613 * manual/examples/swapcontext.c: Likewise.
26614 * manual/examples/termios.c: Likewise.
26615 * manual/examples/testopt.c: Likewise.
26616 * manual/examples/testpass.c: Likewise.
26617 * manual/examples/timeval_subtract.c: Likewise.
26620 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26622 * manual/timeval_subtract.c.texi: ... here, new file.
26624 2012-03-02 David S. Miller <davem@davemloft.net>
26626 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26628 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26631 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26632 (__sin): Save and restore rounding mode and use round-to-nearest
26633 for all computations.
26634 (__cos): Save and restore rounding mode and use round-to-nearest
26635 for all computations.
26636 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26638 (tan): Save and restore rounding mode and use round-to-nearest for
26640 * math/libm-test.inc (cos_test_tonearest): New function.
26641 (cos_test_towardzero): Likewise.
26642 (cos_test_downward): Likewise.
26643 (cos_test_upward): Likewise.
26644 (sin_test_tonearest): Likewise.
26645 (sin_test_towardzero): Likewise.
26646 (sin_test_downward): Likewise.
26647 (sin_test_upward): Likewise.
26648 (tan_test_tonearest): Likewise.
26649 (tan_test_towardzero): Likewise.
26650 (tan_test_downward): Likewise.
26651 (tan_test_upward): Likewise.
26652 (main): Call the new functions.
26653 * sysdeps/i386/fpu/libm-test-ulps: Update.
26654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26657 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26658 small n, then large n, before computing and testing k+n.
26659 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26662 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26664 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26665 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26666 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26667 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26668 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26669 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26671 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26672 * math/libm-test.inc (scalbn_test): Add more tests.
26673 (scalbln_test): Likewise.
26675 * manual/filesys.texi (mode_t): Describe constraints on size and
26676 signedness, not exact equivalence to a particular type.
26678 (ino64_t): Likewise.
26680 (nlink_t): Likewise.
26681 (blkcnt_t): Likewise.
26682 (blkcnt64_t): Likewise.
26683 * manual/llio.texi (off_t): Likewise.
26686 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26687 (__ieee754_exp): Save and restore rounding mode and use
26688 round-to-nearest for all computations.
26689 * math/libm-test.inc (exp_test_tonearest): New function.
26690 (exp_test_towardzero): Likewise.
26691 (exp_test_downward): Likewise.
26692 (exp_test_upward): Likewise.
26693 (main): Call the new functions.
26694 * sysdeps/i386/fpu/libm-test-ulps: Update.
26695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26697 2012-03-01 Chris Demetriou <cgd@google.com>
26699 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26700 have predictable order.
26702 2012-03-01 David S. Miller <davem@davemloft.net>
26704 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26706 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26707 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26708 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26709 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26711 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26712 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26713 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26715 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26716 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26717 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26718 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26719 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26724 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26725 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26727 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26728 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26729 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26730 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26731 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26732 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26734 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26735 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26736 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26737 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26738 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26743 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26744 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26745 * sysdeps/sparc/elf/configure: Regenerated.
26747 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26749 * configure.in (AS, LD): Require binutils 2.20 or later.
26750 * configure: Regenerated.
26751 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26752 as required minimum version.
26753 * INSTALL: Regenerated.
26757 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26758 before squaring exponent.
26759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26760 bottom long double and 27 bits of top long double before squaring
26762 * math/libm-test.inc (erfc_test): Add more tests.
26763 * sysdeps/i386/fpu/libm-test-ulps: Update.
26764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26767 2012-03-01 Kai Tietz <ktietz@redhat.com>
26769 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26770 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26771 containing bit-fields.
26772 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26773 * soft-fp/single.h (_FP_UNION_S): Likewise.
26774 * soft-fp/double.h (_FP_UNION_D): Likewise.
26776 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26779 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26780 not include ../strcmp.S.
26781 [USE_AS_STRNCASECMP_L]: Likewise.
26782 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26783 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26784 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26785 (__strncasecmp_l_ia32): Define as alias to
26786 __strncasecmp_l_nonascii.
26789 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26790 * sysdeps/i386/fpu/libm-test-ulps: Update.
26791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26793 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26796 2012-02-29 Jeff Law <law@redhat.com>
26798 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26799 out of bounds read.
26801 2012-02-29 Marek Polacek <polacek@redhat.com>
26804 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26805 * elf/Makefile: Add rules to run tst-unused-dep.out.
26807 2012-02-28 David S. Miller <davem@davemloft.net>
26809 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26810 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26812 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26813 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26814 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26816 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26818 * math/libm-test.inc (llround_test): Move one test from
26819 lround_test. Use TEST_f_L in moved test.
26820 (lround_test): Move misplaced test to llround_test. Add testcase
26823 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26825 * sysdeps/x86_64/fpu/e_expf.S: New file.
26826 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26828 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26831 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26832 of remain_len that may cause incomplete multi-byte character and
26834 * posix/bug-regex33.c: New file.
26835 * posix/Makefile (tests): Add bug-regex33.
26837 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26839 * manual/macros.texi: New file.
26840 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26841 * manual/libc.texinfo: Include macros.texi.
26842 * manual/creatute.texi: Likewise.
26843 * manual/install.texi: Likewise.
26844 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26845 @glibcadj{} in references to the GNU C Library.
26846 * manual/charset.texi: Likewise.
26847 * manual/conf.texi: Likewise.
26848 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26849 when not using those macros.
26850 * manual/creature.texi: Likewise.
26851 * manual/crypt.texi: Likewise.
26852 * manual/errno.texi: Likewise.
26853 * manual/filesys.texi: Likewise.
26854 * manual/header.texi: Likewise.
26855 * manual/install.texi: Likewise.
26856 * manual/intro.texi: Likewise.
26857 * manual/io.texi: Likewise.
26858 * manual/job.texi: Likewise.
26859 * manual/lang.texi: Likewise.
26860 * manual/libc.texiinfo: Likewise.
26861 * manual/llio.texi: Likewise.
26862 * manual/locale.texi: Likewise.
26863 * manual/maint.texi: Likewise.
26864 * manual/math.texi: Likewise.
26865 * manual/memory.texi: Likewise.
26866 * manual/message.texi: Likewise.
26867 * manual/nss.texi: Likewise.
26868 * manual/pattern.texi: Likewise.
26869 * manual/process.texi: Likewise.
26870 * manual/resource.texi: Likewise.
26871 * manual/search.texi: Likewise.
26872 * manual/setjmp.texi: Likewise.
26873 * manual/signal.texi: Likewise.
26874 * manual/socket.texi: Likewise.
26875 * manual/startup.texi: Likewise.
26876 * manual/stdio.texi: Likewise.
26877 * manual/string.texi: Likewise.
26878 * manual/sysinfo.texi: Likewise.
26879 * manual/syslog.texi: Likewise.
26880 * manual/terminal.texi: Likewise.
26881 * manual/time.texi: Likewise.
26882 * manual/users.texi: Likewise.
26883 * INSTALL: Regenerated.
26884 * NOTES: Regenerated.
26885 * sysdeps/gnu/errlist.c: Regenerated.
26887 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26889 * include/dirent.h: Include <dirstream.h> before
26892 2012-02-28 David S. Miller <davem@davemloft.net>
26894 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26895 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26896 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26897 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26899 2012-02-27 David S. Miller <davem@davemloft.net>
26901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26903 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26904 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26907 frame pointer instead of stack pointer relative arg slot.
26908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26909 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26910 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26912 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26915 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26917 2012-02-27 David S. Miller <davem@davemloft.net>
26919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26923 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26924 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26925 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26926 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26928 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26930 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26931 later. Allow versions 5-9.
26932 * configure: Regenerated.
26933 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26934 required minimum version and 4.6 as recommended version. Do not
26935 mention bugs in GCC 2.7 and 2.8.
26936 * INSTALL: Regenerated.
26938 2012-02-27 David S. Miller <davem@davemloft.net>
26940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26946 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26947 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26950 manipulate bits before adding and subtracting TWO112[sx].
26951 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26953 2012-02-27 Roland McGrath <roland@hack.frob.com>
26956 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26957 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26958 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26959 being in POSIX, because they are in 1003.1-2008.
26961 * rt/tst-aio.c: Include <fcntl.h>.
26962 * rt/tst-aio7.c: Likewise.
26963 * rt/tst-aio64.c: Likewise.
26965 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26967 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26969 * manual/install.texi (--with-headers): Describe headers as
26970 interface headers, not private headers.
26971 (Specific advice for GNU/Linux systems): Describe use of headers
26972 from "make headers_install", not private headers from older
26974 * INSTALL: Regenerated.
26975 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26977 * sysdeps/unix/sysv/linux/configure: Regenerated.
26979 * manual/llio.texi (fclean): Remove documentation.
26981 * manual/Makefile (libc-texi-generated): New variable. Include
26983 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26984 $(libc-texi-generated), not duplicated list of files.
26985 (version.texi, stamp-version): New rules.
26986 (realclean): Remove $(libc-texi-generated), not individual files
26987 from that list. Do not remove dir-add.texinfo.
26988 * manual/libc.texinfo: Comment out uses of edition numbers and
26989 references to printed manual. Remove last-updated dates.
26990 (EDITION): Comment out.
26992 (VERSION, UPDATED): Remove.
26993 (version.texi): Include.
26995 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26997 * sysdeps/posix/spawni.c: Include <signal.h>.
26998 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26999 * sysdeps/pthread/aio_fsync.c: Likewise.
27001 2012-02-26 Ulrich Drepper <drepper@gmail.com>
27003 * conform/Makefile (tests): Run only when not cross-compiling and
27004 when fast-check is not defined.
27006 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27007 * conform/data/limits.h-data: Fixes for POSIX2008.
27008 * conform/run-conformtest.sh: Run all tests.
27009 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27011 * include/bits/dlfcn.h: Likewise.
27012 * include/langinfo.h: Likewise.
27013 * include/monetary.h: Likewise.
27014 * include/sys/poll.h: Likewise.
27016 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27018 * posix/spawn.h: Define __need_sigset_t.
27019 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27020 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27021 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27022 to get sigevent_t only.
27023 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27024 only for __USE_GNU.
27025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27026 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27027 process_vm_writev only for __USE_GNU.
27028 * termios/termios.h: Declare tcgetsid also for POSIX2008.
27030 * conform/Makefile: For now ignore errors from run-conformtest.
27031 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27032 POSIX to avoid namespace pollution. Don't prepend headers.
27033 * conform/data/aio.h-data: Fixes for POSIX testing.
27034 * conform/data/fcntl.h-data: Likewise.
27035 * conform/data/glob.h-data: Likewise.
27036 * conform/data/grp.h-data: Likewise.
27037 * conform/data/pthread.h-data: Likewise.
27038 * conform/data/pwd.h-data: Likewise.
27039 * conform/data/signal.h-data: Likewise.
27040 * conform/data/spawn.h-data: Likewise.
27041 * conform/data/stdio.h-data: Likewise.
27042 * conform/data/stdlib.h-data: Likewise.
27043 * conform/data/stropts.h-data: Likewise.
27044 * conform/data/sys/mman.h-data: Likewise.
27045 * conform/data/sys/stat.h-data: Likewise.
27046 * conform/data/sys/types.h-data: Likewise.
27047 * conform/data/sys/wait.h-data: Likewise.
27048 * conform/data/time.h-data: Likewise.
27049 * conform/data/unistd.h-data: Likewise.
27050 * conform/data/utime.h-data: Likewise.
27052 * io/sys/stat.h: fchmod was always in POSIX.
27053 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27054 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27055 * rt/aio.h: Define __need_timespec before including <time.h>.
27056 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27057 struct. Add forward declaration of pthread_attr_t and use it in
27059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27061 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27062 always remove CLK_TCK definition.
27064 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27066 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27068 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27070 * conform/run-conformtest.sh: New file.
27071 * conform/Makefile: Run run-conformtest for tests.
27072 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27075 * conform/data/uchar.h-data: New file.
27076 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27077 * conform/data/arpa/inet.h-data: Likewise.
27078 * conform/data/assert.h-data: Likewise.
27079 * conform/data/complex.h-data: Likewise.
27080 * conform/data/cpio.h-data: Likewise.
27081 * conform/data/ctype.h-data: Likewise.
27082 * conform/data/dirent.h-data: Likewise.
27083 * conform/data/dlfcn.h-data: Likewise.
27084 * conform/data/errno.h-data: Likewise.
27085 * conform/data/fcntl.h-data: Likewise.
27086 * conform/data/float.h-data: Likewise.
27087 * conform/data/fmtmsg.h-data: Likewise.
27088 * conform/data/fnmatch.h-data: Likewise.
27089 * conform/data/ftw.h-data: Likewise.
27090 * conform/data/glob.h-data: Likewise.
27091 * conform/data/grp.h-data: Likewise.
27092 * conform/data/iconv.h-data: Likewise.
27093 * conform/data/inttypes.h-data: Likewise.
27094 * conform/data/langinfo.h-data: Likewise.
27095 * conform/data/libgen.h-data: Likewise.
27096 * conform/data/limits.h-data: Likewise.
27097 * conform/data/locale.h-data: Likewise.
27098 * conform/data/math.h-data: Likewise.
27099 * conform/data/monetary.h-data: Likewise.
27100 * conform/data/mqueue.h-data: Likewise.
27101 * conform/data/ndbm.h-data: Likewise.
27102 * conform/data/net/if.h-data: Likewise.
27103 * conform/data/netdb.h-data: Likewise.
27104 * conform/data/netinet/in.h-data: Likewise.
27105 * conform/data/nl_types.h-data: Likewise.
27106 * conform/data/poll.h-data: Likewise.
27107 * conform/data/pthread.h-data: Likewise.
27108 * conform/data/pwd.h-data: Likewise.
27109 * conform/data/regex.h-data: Likewise.
27110 * conform/data/sched.h-data: Likewise.
27111 * conform/data/search.h-data: Likewise.
27112 * conform/data/semaphore.h-data: Likewise.
27113 * conform/data/setjmp.h-data: Likewise.
27114 * conform/data/signal.h-data: Likewise.
27115 * conform/data/spawn.h-data: Likewise.
27116 * conform/data/stdarg.h-data: Likewise.
27117 * conform/data/stdio.h-data: Likewise.
27118 * conform/data/stdlib.h-data: Likewise.
27119 * conform/data/string.h-data: Likewise.
27120 * conform/data/strings.h-data: Likewise.
27121 * conform/data/stropts.h-data: Likewise.
27122 * conform/data/sys/ipc.h-data: Likewise.
27123 * conform/data/sys/mman.h-data: Likewise.
27124 * conform/data/sys/msg.h-data: Likewise.
27125 * conform/data/sys/resource.h-data: Likewise.
27126 * conform/data/sys/select.h-data: Likewise.
27127 * conform/data/sys/sem.h-data: Likewise.
27128 * conform/data/sys/shm.h-data: Likewise.
27129 * conform/data/sys/socket.h-data: Likewise.
27130 * conform/data/sys/stat.h-data: Likewise.
27131 * conform/data/sys/statvfs.h-data: Likewise.
27132 * conform/data/sys/time.h-data: Likewise.
27133 * conform/data/sys/timeb.h-data: Likewise.
27134 * conform/data/sys/times.h-data: Likewise.
27135 * conform/data/sys/types.h-data: Likewise.
27136 * conform/data/sys/uio.h-data: Likewise.
27137 * conform/data/sys/un.h-data: Likewise.
27138 * conform/data/sys/utsname.h-data: Likewise.
27139 * conform/data/sys/wait.h-data: Likewise.
27140 * conform/data/syslog.h-data: Likewise.
27141 * conform/data/tar.h-data: Likewise.
27142 * conform/data/termios.h-data: Likewise.
27143 * conform/data/utime.h-data: Likewise.
27144 * conform/data/utmpx.h-data: Likewise.
27145 * conform/data/varargs.h-data: Likewise.
27146 * conform/data/wchar.h-data: Likewise.
27147 * conform/data/wctype.h-data: Likewise.
27148 * conform/data/wordexp.h-data: Likewise.
27150 * include/stropts.h: New file.
27151 * include/uchar.h: New file.
27152 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27153 * include/assert.h: Likewise.
27154 * include/ctype.h: Likewise.
27155 * include/dirent.h: Likewise.
27156 * include/dlfcn.h: Likewise.
27157 * include/fcntl.h: Likewise.
27158 * include/fnmatch.h: Likewise.
27159 * include/glob.h: Likewise.
27160 * include/grp.h: Likewise.
27161 * include/libio.h: Likewise.
27162 * include/locale.h: Likewise.
27163 * include/math.h: Likewise.
27164 * include/net/if.h: Likewise.
27165 * include/netdb.h: Likewise.
27166 * include/netinet/in.h: Likewise.
27167 * include/pthread.h: Likewise.
27168 * include/pwd.h: Likewise.
27169 * include/regex.h: Likewise.
27170 * include/sched.h: Likewise.
27171 * include/search.h: Likewise.
27172 * include/setjmp.h: Likewise.
27173 * include/signal.h: Likewise.
27174 * include/stdio.h: Likewise.
27175 * include/stdlib.h: Likewise.
27176 * include/string.h: Likewise.
27177 * include/sys/cdefs.h: Likewise.
27178 * include/sys/mman.h: Likewise.
27179 * include/sys/msg.h: Likewise.
27180 * include/sys/resource.h: Likewise.
27181 * include/sys/select.h: Likewise.
27182 * include/sys/socket.h: Likewise.
27183 * include/sys/stat.h: Likewise.
27184 * include/sys/statvfs.h: Likewise.
27185 * include/sys/time.h: Likewise.
27186 * include/sys/times.h: Likewise.
27187 * include/sys/uio.h: Likewise.
27188 * include/sys/utsname.h: Likewise.
27189 * include/sys/wait.h: Likewise.
27190 * include/termios.h: Likewise.
27191 * include/time.h: Likewise.
27192 * include/ulimit.h: Likewise.
27193 * include/unistd.h: Likewise.
27194 * include/utime.h: Likewise.
27195 * include/wchar.h: Likewise.
27196 * include/wctype.h: Likewise.
27197 * include/wordexp.h: Likewise.
27199 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27201 * time/time.h: TIME_UTC must be a macro.
27202 Make timespec_get available for ISO C11 only as well.
27204 2012-02-24 Ulrich Drepper <drepper@gmail.com>
27206 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27207 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27209 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27211 * configure.in: Use -o not -a in test for unsupported multi-arch.
27213 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27215 * manual/texinfo.tex: Update to version 2012-01-19.16.
27217 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27219 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27221 2012-02-24 Roland McGrath <roland@hack.frob.com>
27224 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27225 * manual/fdl-1.3.texi: New file.
27226 * manual/fdl-1.1.texi: File removed.
27229 * manual/libc.texinfo (FDL_VERSION): New @set.
27230 Use it for mention of FDL in cover text.
27231 (Documentation License): Use it in @include file name.
27233 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27234 Roland McGrath <roland@hack.frob.com>
27237 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27238 not LONG_LONG_MAX and LONG_LONG_MIN.
27239 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27240 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27242 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27244 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27248 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27249 manipulate bits before adding and subtracting TWO23[sx].
27250 * math/libm-test.inc (nearbyint_test): Add more tests.
27252 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27255 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27256 bits before adding and subtracting TWO23[sx].
27257 * math/libm-test.inc (rint_test): Add more tests.
27258 (rint_test_tonearest): Likewise.
27259 (rint_test_towardzero): Likewise.
27260 (rint_test_downward): Likewise.
27261 (rint_test_upward: Likewise.
27263 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27266 * include/stdc-predef.h: New file. Extracted from features.h.
27267 * include/features.h: Include stdc-predef.h.
27268 * Makefile (headers): Add stdc-predef.h.
27269 * CONFORMANCE (Compiler limitations): Update.
27271 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27273 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27275 2012-02-21 David S. Miller <davem@davemloft.net>
27277 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27278 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27280 2012-02-20 David S. Miller <davem@davemloft.net>
27282 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27283 using a normal save/restore sequence, rather than allocating a
27284 dummy stack frame just to store a frame pointer and restore.
27285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27287 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27289 * manual/install.texi: Fix stray word in line-wrapped comment.
27291 2012-02-20 David S. Miller <davem@davemloft.net>
27293 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27294 both binutils and gcc support GOTDATA.
27296 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27297 "rd %pc" in the PIC register setup sequences.
27299 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27300 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27301 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27302 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27303 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27308 (SYSCALL_ERROR_HANDLER): Likewise.
27309 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27310 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27311 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27312 (SYSCALL_ERROR_HANDLER): Likewise.
27314 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27315 (HAVE_GCC_GOTDATA): New.
27316 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27317 relocation support in both binutils and gcc.
27318 * sysdeps/sparc/elf/configure: Regenerate.
27320 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27321 * sysdeps/sparc/sparc32/elf/configure: Delete.
27322 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27323 * sysdeps/sparc/sparc64/elf/configure: Delete.
27324 * sysdeps/sparc/elf/configure.in: New file.
27325 * sysdeps/sparc/elf/configure: Generate.
27327 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27328 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27329 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27330 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27331 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27333 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27335 * manual/install.texi: Do not mention specific glibc version
27337 * manual/libc.texinfo (VERSION, UPDATED): Update.
27338 (@copying): Use @copyright{} and range of years.
27340 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27343 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27344 [crti.S not in sysdirs] (generated): Do not append.
27345 [crti.S not in sysdirs] (omit-deps): Likewise.
27346 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27347 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27348 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27349 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27350 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27352 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27353 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27354 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27355 * csu/defs.awk: Remove file.
27356 * sysdeps/generic/initfini.c: Likewise.
27357 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27359 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27362 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27364 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27365 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27366 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27367 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27369 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27371 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27372 (__EPOLL_PACKED): Define to empty if not defined by
27374 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27378 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27380 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27381 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27382 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27383 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27385 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27389 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27391 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27394 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27395 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27398 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27401 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27403 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27405 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27406 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27408 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27410 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27413 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27415 * math/w_acos.c: Use non-signaling floating-point comparisons.
27416 * math/w_acosf.c: Likewise.
27417 * math/w_acosh.c: Likewise.
27418 * math/w_acoshf.c: Likewise.
27419 * math/w_acoshl.c: Likewise.
27420 * math/w_acosl.c: Likewise.
27421 * math/w_asin.c: Likewise.
27422 * math/w_asinf.c: Likewise.
27423 * math/w_asinl.c: Likewise.
27424 * math/w_atanh.c: Likewise.
27425 * math/w_atanhf.c: Likewise.
27426 * math/w_atanhl.c: Likewise.
27427 * math/w_exp2.c: Likewise.
27428 * math/w_exp2f.c: Likewise.
27429 * math/w_exp2l.c: Likewise.
27430 * math/w_j0.c: Likewise.
27431 * math/w_j0f.c: Likewise.
27432 * math/w_j0l.c: Likewise.
27433 * math/w_j1.c: Likewise.
27434 * math/w_j1f.c: Likewise.
27435 * math/w_j1l.c: Likewise.
27436 * math/w_jn.c: Likewise.
27437 * math/w_jnf.c: Likewise.
27438 * math/w_log.c: Likewise.
27439 * math/w_log10.c: Likewise.
27440 * math/w_log10f.c: Likewise.
27441 * math/w_log10l.c: Likewise.
27442 * math/w_log2.c: Likewise.
27443 * math/w_log2f.c: Likewise.
27444 * math/w_log2l.c: Likewise.
27445 * math/w_logf.c: Likewise.
27446 * math/w_logl.c: Likewise.
27447 * math/w_sqrt.c: Likewise.
27448 * math/w_sqrtf.c: Likewise.
27449 * math/w_sqrtl.c: Likewise.
27450 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27451 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27452 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27453 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27454 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27456 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27459 * manual/string.texi (strnlen): Use correct parameter name in
27460 equivalent expression.
27462 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27465 * manual/users.texi (seteuid): Consistently use neweuid for
27468 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27471 * manual/nss.texi (Services in the NSS configuration): Correct
27472 list of services in example configuration file.
27474 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27477 * manual/arith.texi: Remove statements about negative zero
27478 behaving identically to zero.
27480 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27483 * manual/install.texi: Do not document upgrading from libc5.
27485 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27488 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27490 2012-02-18 David S. Miller <davem@davemloft.net>
27492 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27493 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27494 %o7 across the call.
27495 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27498 SETUP_PIC_REG_LEAF.
27499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27500 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27501 * sysdeps/sparc/crtn.S: Likewise.
27503 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27505 * aout/Makefile: Remove.
27507 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27510 * manual/examples/argp-ex1.c (main): Format definition in GNU
27512 * manual/examples/argp-ex2.c (main): Likewise.
27513 * manual/examples/argp-ex3.c (main): Likewise.
27514 * manual/examples/argp-ex4.c (main): Likewise.
27515 * manual/examples/longopt.c (main): Use new-style prototype
27517 * manual/examples/strncat.c (main): Specify return type and use
27518 (void) for arguments.
27519 * manual/examples/subopt.c (main): Use char **argv argument.
27521 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27524 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27527 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27530 * manual/string.texi (strchr): Change when strchrnul is
27533 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27536 * manual/locale.texi (setlocale): Document LOCPATH.
27538 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27541 * manual/process.texi (execle): Move @dots{} before last argument.
27543 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27546 * manual/charset.texi (Generic Charset Conversion): Fix typo
27547 (LC_TYPE -> LC_CTYPE).
27549 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27552 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27553 (scalbnf): Likewise.
27554 (scalbnl): Likewise.
27555 (scalbln): Likewise.
27556 (scalblnf): Likewise.
27557 (scalblnl): Likewise.
27558 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27559 (vwarnx): Likewise.
27562 * manual/filesys.texi (telldir): Use braces around return type.
27563 * manual/llio.texi (mmap): Add space after comma.
27564 (mmap64): Likewise.
27565 * manual/math.texi (jn): Use @var{} on parameter names.
27571 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27573 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27575 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27576 (sched_get_priority_max): Likewise.
27577 * manual/signal.texi (sigvec): Add space after comma.
27578 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27580 (if_indextoname): Likewise.
27581 (if_freenameindex): Likewise.
27582 (sendto): Use ',' instead of '.' in prototype.
27583 * manual/startup.texi (syscall): Use @dots{} instead of literal
27585 * manual/stdio.texi (__fpending): Separate initial words of
27586 paragraph from @deftypefun line.
27587 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27589 (vsyslog): Use @var{} on parameter names.
27590 * manual/terminal.texi (stty): Use @var{} on parameter names.
27591 * manual/users.texi (getutmp): Use @var{} on parameter names.
27592 (getutmpx): Likewise.
27594 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27597 * manual/stdio.texi (fopen): Fix typos in description of
27600 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27603 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27604 get clock_id definition.
27606 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27609 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27610 (madvise): Cast every argument to void on its own.
27612 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27615 * manual/startup.texi (Exit Status): Fix typo.
27617 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27620 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27621 * manual/examples/argp-ex2.c: Likewise.
27622 * manual/examples/argp-ex3.c: Likewise.
27624 2012-02-16 Richard Henderson <rth@redhat.com>
27626 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27627 * sysdeps/s390/s390-32/initfini.c: Remove.
27628 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27629 * sysdeps/s390/s390-64/initfini.c: Remove.
27631 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27633 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27634 compiler output for sysdeps/generic/initfini.c.
27635 * sysdeps/sh/elf/initfini.c: Remove file.
27637 2012-02-16 David S. Miller <davem@davemloft.net>
27640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27642 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27643 * sysdeps/sparc/crti.S: New file.
27644 * sysdeps/sparc/crtn.S: New file.
27645 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27646 * sysdeps/sparc/sparc64/Makefile: Likewise.
27648 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27651 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27653 2012-02-15 Roland McGrath <roland@hack.frob.com>
27656 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27658 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27659 (write, read, close): Likewise.
27660 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27662 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27664 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27665 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27666 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27667 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27669 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27673 2012-02-14 Marek Polacek <polacek@redhat.com>
27675 * sysdeps/x86_64/crti.S: New file.
27676 * sysdeps/x86_64/crtn.S: New file.
27677 * sysdeps/x86_64/elf/initfini.c: Remove file.
27679 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27681 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27682 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27683 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27684 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27686 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27690 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27692 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27693 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27694 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27695 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27697 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27701 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27703 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27704 __feraiseexcept instead of feraiseexcept.
27706 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27707 nanosleep invocations.
27708 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27709 strings, and add error checking for a nanosleep invocations.
27711 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27713 Replace FSF snail mail address with URLs, as per GNU coding standards.
27714 Most of the snail mail addresses were wrong anyway, and omitting
27715 them makes the source code easier to maintain. Almost all of the
27716 changes are to license notices and to locale LC_IDENTIFICATION
27717 addresses, except for this one:
27718 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27719 not its snail mail address.
27721 2012-02-09 Richard Henderson <rth@twiddle.net>
27723 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27724 of kernel-features.h.
27726 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27728 2012-02-08 Marek Polacek <polacek@redhat.com>
27730 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27731 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27732 * sysdeps/gnu/_G_config.h: Likewise.
27733 * sysdeps/generic/_G_config.h: Likewise.
27735 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27737 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27741 * sysdeps/powerpc/powerpc32/crti.S: New file.
27742 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27743 * sysdeps/powerpc/powerpc64/crti.S: New file.
27744 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27746 * Makeconfig (have-initfini): Don't set.
27747 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27748 * configure.in (nopic_initfini): Don't substitute.
27749 * config.h.in (HAVE_INITFINI): Don't #undef.
27750 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27751 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27753 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27755 Support crti.S and crtn.S provided directly by architectures.
27756 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27757 [crti.S in sysdirs] (omit-deps): Likewise.
27758 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27759 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27760 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27761 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27762 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27763 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27764 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27765 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27766 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27767 compiler output for sysdeps/generic/initfini.c.
27768 * sysdeps/i386/elf/Makefile: Remove file.
27769 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27771 2012-02-07 Marek Polacek <polacek@redhat.com>
27773 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27774 * sysdeps/gnu/_G_config.h: Likewise.
27775 * sysdeps/mach/hurd/_G_config.h: Likewise.
27777 2012-02-07 Marek Polacek <polacek@redhat.com>
27779 * math/Makefile (tests): Add tst-CMPLX2.
27780 * math/tst-CMPLX2.c: New file.
27782 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27784 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27786 * math/libm-test.inc (jn_test): Add missing L suffix.
27788 2012-02-06 Marek Polacek <polacek@redhat.com>
27790 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27791 * sysdeps/i386/fpu/e_powf.S: Likewise.
27792 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27793 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27794 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27795 * sysdeps/i386/fpu/e_pow.S: Likewise.
27796 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27797 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27798 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27799 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27800 * sysdeps/i386/fpu/e_log2.S: Likewise.
27801 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27803 * sysdeps/i386/fpu/e_powl.S: Likewise.
27804 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27805 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27806 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27807 * sysdeps/i386/fpu/e_logl.S: Likewise.
27808 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27809 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27810 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27811 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27812 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27813 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27814 * sysdeps/i386/fpu/e_log.S: Likewise.
27815 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27816 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27817 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27818 * sysdeps/i386/fpu/e_logf.S: Likewise.
27819 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27820 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27821 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27822 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27823 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27824 * sysdeps/i386/fpu/e_log10.S: Likewise.
27825 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27826 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27827 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27828 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27829 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27830 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27831 * sysdeps/i386/asm-syntax.h: Likewise.
27832 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27833 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27834 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27835 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27836 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27837 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27838 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27839 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27840 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27841 * sysdeps/powerpc/sysdep.h: Likewise.
27842 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27845 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27848 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27850 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27852 * sysdeps/i386/sysdep.h: Include <features.h>.
27853 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27856 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27858 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27860 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27863 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27865 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27866 (SETUP_PIC_REG): Use GET_PC_THUNK.
27867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27870 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27872 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27873 for non-PIC compilation.
27874 (SETUP_PIC_REG): Add .p2align directive.
27875 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27876 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27877 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27878 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27879 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27880 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27881 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27882 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27883 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27884 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27885 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27886 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27887 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27888 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27889 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27890 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27891 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27892 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27893 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27894 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27895 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27896 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27897 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27898 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27901 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27903 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27904 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27905 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27906 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27907 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27908 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27909 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27910 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27911 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27912 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27913 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27914 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27915 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27917 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27919 * math/tst-CMPLX.c: Include <stdio.h>.
27921 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27923 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27925 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27926 * sysdeps/sparc/bits/mathdef.h: Likewise.
27928 2012-01-31 Marek Polacek <polacek@redhat.com>
27930 * libio/libio.h: Don't define _PARAMS.
27931 * locale/programs/config.h: Don't define PARAMS.
27932 * stdlib/strtol_l.c: Likewise.
27933 (__strtol_l): Remove PARAMS from the prototype.
27935 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27937 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27938 names. Just use the correct names. Remove unnecessary wrapper
27940 * malloc/arena.c: Likewise.
27941 * malloc/hooks.c: Likewise.
27943 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27944 ARENA_TEST says not to. Simplify test for creation of a new arena.
27945 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27947 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27949 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27951 (update_get_addr): New function.
27952 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27953 GET_ADDR_MODULE parameter.
27955 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27957 * crypt/cert.c: Remove __STDC__ conditionals.
27958 * crypt/crypt-entry.c: Likewise.
27959 * crypt/crypt_util.c: Likewise.
27960 * libio/filedoalloc.c: Likewise.
27961 * libio/fileops.c: Likewise.
27962 * libio/genops.c: Likewise.
27963 * libio/iofclose.c: Likewise.
27964 * libio/iofdopen.c: Likewise.
27965 * libio/iofopen.c: Likewise.
27966 * libio/iofopen64.c: Likewise.
27967 * libio/iogetdelim.c: Likewise.
27968 * libio/iopopen.c: Likewise.
27969 * libio/obprintf.c: Likewise.
27970 * libio/oldfileops.c: Likewise.
27971 * libio/oldiofclose.c: Likewise.
27972 * libio/oldiofdopen.c: Likewise.
27973 * libio/oldiofopen.c: Likewise.
27974 * libio/oldiopopen.c: Likewise.
27975 * libio/wfiledoalloc.c: Likewise.
27976 * libio/wgenops.c: Likewise.
27977 * locale/programs/xmalloc.c: Likewise.
27978 * misc/syslog.c: Likewise.
27979 * stdio-common/xbug.c: Likewise.
27980 * string/memchr.c: Likewise.
27981 * string/memcmp.c: Likewise.
27982 * string/memrchr.c: Likewise.
27983 * string/rawmemchr.c: Likewise.
27984 * sysdeps/posix/getcwd.c: Likewise.
27985 * time/strftime_l.c: Likewise.
27987 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27989 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27990 * config.make.in (config-cflags-sse2avx): Define.
27991 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27994 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27996 * scripts/config.guess: Update from upstream config git repository.
27997 * scripts/config.sub: Likewise.
27999 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28001 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28003 (R_TILEPRO_*, R_TILEGX_*): New macros.
28005 * scripts/firstversions.awk: Fix bug in version range handling.
28007 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28009 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28011 * include/sys/epoll.h: New file.
28012 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28015 2012-01-28 Ulrich Drepper <drepper@gmail.com>
28017 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28018 Avoid unnecessary __WORDSIZE == 64 test.
28019 (fmaxf): Use VEX format if possible.
28024 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28025 * math/math_private.h: Remove libc_fegetround* and
28027 * sysdeps/i386/configure.in: Check for -msse2avx.
28028 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28029 also if SSE2AVX is defined.
28030 Remove libc_fegetround* and libc_fesetround*.
28031 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28032 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28036 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28037 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28041 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28043 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28045 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28047 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28049 2012-01-27 Ulrich Drepper <drepper@gmail.com>
28052 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28054 * Makeconfig (libm): Define.
28055 * elf/Makefile: Add rules to build and run tst-relsort1.
28056 * elf/tst-relsort1.c: New file.
28057 * elf/tst-relsort1mod1.c: New file.
28058 * elf/tst-relsort1mod2.c: New file.
28060 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28062 * math/s_ldexp.c: Remove __STDC__ conditionals.
28063 * math/s_ldexpf.c: Likewise.
28064 * math/s_ldexpl.c: Likewise.
28065 * math/s_nextafter.c: Likewise.
28066 * math/s_nexttowardf.c: Likewise.
28067 * math/s_significand.c: Likewise.
28068 * math/s_significandf.c: Likewise.
28069 * math/s_significandl.c: Likewise.
28070 * math/w_jnl.c: Likewise.
28071 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28072 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28073 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28074 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28075 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28077 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28078 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28079 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28080 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28081 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28083 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28084 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28085 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28086 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28088 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28090 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28091 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28092 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28093 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28095 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28096 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28097 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28098 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28099 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28100 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28101 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28102 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28103 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28104 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28105 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28106 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28108 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28109 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28110 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28111 * sysdeps/ieee754/k_standard.c: Likewise.
28112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28113 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28114 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28115 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28116 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28117 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28118 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28119 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28120 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28121 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28122 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28124 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28125 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28126 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28128 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28131 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28132 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28133 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28134 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28135 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28137 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28138 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28139 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28141 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28142 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28143 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28144 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28145 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28147 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28148 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28149 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28151 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28152 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28154 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28155 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28156 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28157 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28158 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28159 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28160 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28161 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28162 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28163 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28164 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28165 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28166 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28167 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28168 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28170 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28172 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28173 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28174 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28175 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28176 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28177 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28178 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28179 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28180 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28181 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28182 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28183 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28184 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28185 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28186 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28187 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28188 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28189 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28190 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28191 * sysdeps/ieee754/s_matherr.c: Likewise.
28192 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28193 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28197 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28199 * crypt/md5.h: Remove __STDC__ conditionals.
28200 * libio/libioP.h: Likewise.
28201 * locale/programs/config.h: Likewise.
28202 * sysdeps/generic/sysdep.h: Likewise.
28203 * sysdeps/i386/asm-syntax.h: Likewise.
28204 * sysdeps/s390/asm-syntax.h: Likewise.
28205 * sysdeps/unix/sysdep.h: Likewise.
28206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28209 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28211 * libio/libio.h: Remove __STDC__ conditionals.
28212 * malloc/obstack.h: Likewise.
28213 * math/complex.h: Likewise.
28214 * math/math.h: Likewise.
28215 * sysdeps/generic/_G_config.h: Likewise.
28216 * sysdeps/gnu/_G_config.h: Likewise.
28217 * sysdeps/mach/hurd/_G_config.h: Likewise.
28218 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28219 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28220 * sysdeps/sparc/bits/mathdef.h: Likewise.
28222 2012-01-26 Ulrich Drepper <drepper@gmail.com>
28225 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28226 Clean up HAS_* macros.
28227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28228 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28230 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28232 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28233 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28234 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28235 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28236 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28238 2012-01-25 Joseph Myers <joseph@codesourcery.com>
28240 * elf/tst-unique3.cc (gets): Remove declaration.
28241 * elf/tst-unique3lib.cc (gets): Likewise.
28242 * elf/tst-unique3lib2.cc (gets): Likewise.
28243 * elf/tst-unique4.cc (gets): Likewise.
28245 2012-01-24 Ulrich Drepper <drepper@gmail.com>
28247 * include/stdio.h: Add C++ protection. Add gets declarations and
28249 * debug/tst-chk1.c: Don't declare gets here.
28250 * stdio-common/tst-gets.c: Likewise.
28252 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28254 * posix/glob: Remove directory.
28256 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28258 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28260 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28262 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28263 of the non-standard EPFNOSUPPORT.
28265 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28267 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28268 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28269 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28271 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28273 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28275 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28277 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28279 * nscd/grpcache.c (cache_addgr): Likewise.
28280 * nscd/hstcache.c (cache_addhst): Likewise.
28281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28282 * nscd/pwdcache.c (cache_addpw): Likewise.
28283 * nscd/servicescache.c (cache_addserv): Likewise.
28285 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28287 * malloc/malloc.c: Various cleanups.
28288 * malloc/hooks.c: Likewise.
28290 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28291 * stdlib/bug-fmtmsg1.c: New file.
28293 * stdlib/fmtmsg.c (init): Add missing unlock.
28294 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28296 2012-01-12 Marek Polacek <polacek@redhat.com>
28298 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28301 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28303 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28304 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28305 macro to ensure uniqueness of label name.
28306 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28307 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28309 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28313 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28314 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28315 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28318 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28320 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28322 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28323 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28324 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28326 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28328 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28329 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28333 * math/bits/math-finite.h: Add ldexp support.
28335 2012-01-10 Marek Polacek <polacek@redhat.com>
28337 * locale/programs/localedef.h (show_archive_content): Add noreturn
28340 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28342 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28344 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28346 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28348 * io/Makefile (headers): Add bits/poll2.h.
28350 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28353 typo #include statement.
28355 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28357 * include/sys/cdefs.h: Define __attribute_alloc_size.
28358 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28359 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28360 * elf/pldd.c: Likewise.
28361 * iconv/iconv_charmap.c: Likewise.
28362 * iconv/iconvconfig.c: Likewise.
28363 * iconv/strtab.c: Likewise.
28364 * locale/programs/locale.c: Likewise.
28365 * locale/programs/localedef.h: Likewise.
28366 * locale/programs/simple-hash.c: Likewise.
28367 * nscd/nscd.h: Likewise.
28368 * nss/makedb.c: Likewise.
28369 * sysdeps/generic/ldconfig.h: Likewise.
28370 * locale/programs/localedef.c: Remove xmalloc prototype.
28371 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28373 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28375 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28378 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28380 * math/Makefile (tests): Add tst-CMPLX.
28381 * math/tst-CMPLX.c: New file.
28383 * math/complex.h (CMPLXL): Fix typo.
28385 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28386 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28388 * debug/tst-chk1.c: Add poll and ppoll tests.
28389 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28390 * include/sys/poll.h: Add hidden proto for ppoll.
28391 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28392 * sysdeps/mach/hurd/ppoll.c: Likewise.
28393 * io/ppoll.c: Likewise.
28394 * debug/poll_chk.c: New file.
28395 * debug/ppoll_chk.c: New file.
28396 * include/bits/poll2.h: New file.
28397 * io/bits/poll2.h: New file.
28400 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28402 * configure.in: static is always set to yes. Remove.
28403 * config.make.in: Don't set build-static.
28404 * Makeconfig: Remove use of build-static.
28405 * dlfcn/Makefile: Likewise.
28406 * elf/Makefile: Likewise.
28407 * math/Makefile: Likewise.
28408 * misc/Makefile: Likewise.
28409 * nptl/Makefile: Likewise.
28410 * sysdeps/mach/hurd/Makefile: Likewise.
28412 * configure.in: PWD_P is not used anymore.
28413 * config.make.in: Remove PWD_P entry.
28415 * configure.in: Remove last remnants of RANLIB.
28416 No need to check for signed size_t anymore.
28417 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28419 Remove __builtin_expect test because we require at least gcc 3.4.
28420 * aclocal.m4: Likewise.
28422 * wcsmbs/mbrtoc16.c: Implement using towc function.
28423 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28424 * wcsmbs/wcsmbsload.c: Likewise.
28425 * iconv/gconv_simple.c: Likewise.
28426 * iconv/gconv_int.h: Likewise.
28427 * iconv/gconv_builtin.h: Likewise.
28428 * iconv/iconv_prog.c: Remove CHAR16 handling.
28430 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28432 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28434 * configure.in: Remove --with-elf and --enable-bounded options.
28435 Dont set base_machine for ia64. More non-ELF conditions removed.
28436 Remove testing and setting of leading underscore information.
28437 * config.make.in (build-bounded): Set to no.
28438 * config.h.in: Remove NO_UNDERSCORES entry.
28439 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28441 * csu/start.c: Remove !NO_UNDERSCORE code.
28442 * locale/localeinfo.h: Likewise.
28443 * sysdeps/generic/machine-gmon.h: Likewise.
28444 * sysdeps/generic/sysdep.h: Likewise.
28445 * sysdeps/i386/sysdep.h: Likewise.
28446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28447 * sysdeps/mach/sysdep.h: Likewise.
28448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28450 * sysdeps/sh/sysdep.h: Likewise.
28451 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28452 * sysdeps/unix/i386/sysdep.S: Likewise.
28453 * sysdeps/unix/sparc/start.c: Likewise.
28454 * sysdeps/unix/sparc/sysdep.S: Likewise.
28455 * sysdeps/unix/sparc/sysdep.h: Likewise.
28456 * sysdeps/unix/start.c: Likewise.
28457 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28458 * sysdeps/x86_64/sysdep.h: Likewise.
28460 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28463 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28465 * argp/argp-fmtstream.h: Use const instead __const.
28466 * argp/argp.h: Likewise.
28467 * assert/assert.h: Likewise.
28468 * bits/fenv.h: Likewise.
28469 * bits/sched.h: Likewise.
28470 * bits/sigset.h: Likewise.
28471 * bits/sigthread.h: Likewise.
28472 * catgets/nl_types.h: Likewise.
28473 * conform/data/pthread.h-data: Likewise.
28474 * crypt/crypt-private.h: Likewise.
28475 * crypt/crypt.h: Likewise.
28476 * crypt/crypt_util.c: Likewise.
28477 * ctype/ctype.h: Likewise.
28478 * debug/execinfo.h: Likewise.
28479 * debug/mbsnrtowcs_chk.c: Likewise.
28480 * debug/mbsrtowcs_chk.c: Likewise.
28481 * debug/wcsnrtombs_chk.c: Likewise.
28482 * debug/wcsrtombs_chk.c: Likewise.
28483 * debug/wcstombs_chk.c: Likewise.
28484 * dirent/dirent.h: Likewise.
28485 * dlfcn/dlfcn.h: Likewise.
28486 * elf/neededtest4.c: Likewise.
28487 * grp/grp.h: Likewise.
28488 * gshadow/gshadow.h: Likewise.
28489 * iconv/gconv.h: Likewise.
28490 * iconv/gconv_int.h: Likewise.
28491 * iconv/gconv_simple.c: Likewise.
28492 * iconv/iconv.h: Likewise.
28493 * iconv/loop.c: Likewise.
28494 * iconv/skeleton.c: Likewise.
28495 * include/aio.h: Likewise.
28496 * include/aliases.h: Likewise.
28497 * include/argz.h: Likewise.
28498 * include/arpa/inet.h: Likewise.
28499 * include/assert.h: Likewise.
28500 * include/dirent.h: Likewise.
28501 * include/dlfcn.h: Likewise.
28502 * include/execinfo.h: Likewise.
28503 * include/fcntl.h: Likewise.
28504 * include/fenv.h: Likewise.
28505 * include/glob.h: Likewise.
28506 * include/grp.h: Likewise.
28507 * include/libintl.h: Likewise.
28508 * include/mntent.h: Likewise.
28509 * include/netdb.h: Likewise.
28510 * include/pwd.h: Likewise.
28511 * include/rpc/netdb.h: Likewise.
28512 * include/sched.h: Likewise.
28513 * include/search.h: Likewise.
28514 * include/shadow.h: Likewise.
28515 * include/signal.h: Likewise.
28516 * include/stdio.h: Likewise.
28517 * include/stdlib.h: Likewise.
28518 * include/string.h: Likewise.
28519 * include/sys/socket.h: Likewise.
28520 * include/sys/stat.h: Likewise.
28521 * include/sys/statfs.h: Likewise.
28522 * include/sys/statvfs.h: Likewise.
28523 * include/sys/syslog.h: Likewise.
28524 * include/sys/time.h: Likewise.
28525 * include/sys/uio.h: Likewise.
28526 * include/time.h: Likewise.
28527 * include/unistd.h: Likewise.
28528 * include/utmp.h: Likewise.
28529 * include/wchar.h: Likewise.
28530 * include/wctype.h: Likewise.
28531 * inet/aliases.h: Likewise.
28532 * inet/arpa/inet.h: Likewise.
28533 * inet/netinet/ether.h: Likewise.
28534 * inet/netinet/in.h: Likewise.
28535 * intl/libintl.h: Likewise.
28536 * io/bits/fcntl2.h: Likewise.
28537 * io/fcntl.h: Likewise.
28538 * io/ftw.h: Likewise.
28539 * io/sys/poll.h: Likewise.
28540 * io/sys/stat.h: Likewise.
28541 * io/sys/statfs.h: Likewise.
28542 * io/sys/statvfs.h: Likewise.
28543 * io/utime.h: Likewise.
28544 * libio/bits/stdio.h: Likewise.
28545 * libio/bits/stdio2.h: Likewise.
28546 * libio/libio.h: Likewise.
28547 * libio/libioP.h: Likewise.
28548 * libio/stdio.h: Likewise.
28549 * locale/lc-ctype.c: Likewise.
28550 * locale/locale.h: Likewise.
28551 * login/utmp.h: Likewise.
28552 * malloc/arena.c: Likewise.
28553 * malloc/malloc.c: Likewise.
28554 * malloc/malloc.h: Likewise.
28555 * malloc/mcheck.c: Likewise.
28556 * malloc/mtrace.c: Likewise.
28557 * math/bits/mathcalls.h: Likewise.
28558 * math/fenv.h: Likewise.
28559 * math/math_private.h: Likewise.
28560 * misc/bits/error.h: Likewise.
28561 * misc/bits/syslog.h: Likewise.
28562 * misc/err.h: Likewise.
28563 * misc/error.h: Likewise.
28564 * misc/fstab.h: Likewise.
28565 * misc/mntent.h: Likewise.
28566 * misc/regexp.h: Likewise.
28567 * misc/search.h: Likewise.
28568 * misc/sgtty.h: Likewise.
28569 * misc/sys/mman.h: Likewise.
28570 * misc/sys/syslog.h: Likewise.
28571 * misc/sys/uio.h: Likewise.
28572 * misc/sys/xattr.h: Likewise.
28573 * misc/ttyent.h: Likewise.
28574 * nis/rpcsvc/ypclnt.h: Likewise.
28575 * nss/nss.h: Likewise.
28576 * posix/bits/unistd.h: Likewise.
28577 * posix/fnmatch.h: Likewise.
28578 * posix/glob.h: Likewise.
28579 * posix/sched.h: Likewise.
28580 * posix/spawn.h: Likewise.
28581 * posix/sys/wait.h: Likewise.
28582 * posix/unistd.h: Likewise.
28583 * posix/wordexp.h: Likewise.
28584 * pwd/pwd.h: Likewise.
28585 * resolv/netdb.h: Likewise.
28586 * resource/sys/resource.h: Likewise.
28587 * rt/aio.h: Likewise.
28588 * rt/bits/mqueue2.h: Likewise.
28589 * rt/mqueue.h: Likewise.
28590 * shadow/shadow.h: Likewise.
28591 * signal/signal.h: Likewise.
28592 * socket/send.c: Likewise.
28593 * socket/sendto.c: Likewise.
28594 * socket/sys/socket.h: Likewise.
28595 * stdio-common/printf.h: Likewise.
28596 * stdlib/bits/stdlib.h: Likewise.
28597 * stdlib/fmtmsg.h: Likewise.
28598 * stdlib/monetary.h: Likewise.
28599 * stdlib/stdlib.h: Likewise.
28600 * stdlib/ucontext.h: Likewise.
28601 * streams/stropts.h: Likewise.
28602 * string/argz.h: Likewise.
28603 * string/bits/string2.h: Likewise.
28604 * string/string.h: Likewise.
28605 * string/strings.h: Likewise.
28606 * sunrpc/rpc/auth.h: Likewise.
28607 * sunrpc/rpc/auth_des.h: Likewise.
28608 * sunrpc/rpc/clnt.h: Likewise.
28609 * sunrpc/rpc/netdb.h: Likewise.
28610 * sunrpc/rpc/pmap_clnt.h: Likewise.
28611 * sunrpc/rpc/xdr.h: Likewise.
28612 * sysdeps/generic/inttypes.h: Likewise.
28613 * sysdeps/generic/net/if.h: Likewise.
28614 * sysdeps/generic/sys/swap.h: Likewise.
28615 * sysdeps/gnu/net/if.h: Likewise.
28616 * sysdeps/gnu/utmpx.h: Likewise.
28617 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28618 * sysdeps/i386/i486/bits/string.h: Likewise.
28619 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28620 * sysdeps/s390/bits/string.h: Likewise.
28621 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28622 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28623 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28624 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28625 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28626 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28627 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28628 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28629 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28630 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28631 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28632 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28633 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28634 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28635 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28636 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28637 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28639 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28640 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28641 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28642 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28643 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28644 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28645 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28646 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28647 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28649 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28650 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28651 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28652 * sysvipc/sys/ipc.h: Likewise.
28653 * sysvipc/sys/msg.h: Likewise.
28654 * sysvipc/sys/sem.h: Likewise.
28655 * sysvipc/sys/shm.h: Likewise.
28656 * termios/termios.h: Likewise.
28657 * time/sys/time.h: Likewise.
28658 * time/time.h: Likewise.
28659 * wcsmbs/bits/wchar2.h: Likewise.
28660 * wcsmbs/uchar.h: Likewise.
28661 * wcsmbs/wchar.h: Likewise.
28662 * wctype/wctype.h: Likewise.
28665 * Makeconfig: Remove all but ELF support including AIX support.
28666 * Makerules: Likewise.
28667 * config.h.in: Likewise.
28668 * config.make.in: Likewise.
28669 * configure: Likewise.
28670 * configure.in: Likewise.
28671 * csu/Makefile: Likewise.
28672 * csu/version.c: Likewise.
28673 * debug/Makefile: Likewise.
28674 * dlfcn/Makefile: Likewise.
28675 * elf/Makefile: Likewise.
28676 * extra-lib.mk: Likewise.
28677 * iconv/Makefile: Likewise.
28678 * include/libc-symbols.h: Likewise.
28679 * include/shlib-compat.h: Likewise.
28680 * resolv/Makefile: Likewise.
28681 * resolv/res_libc.c: Likewise.
28682 * rt/Makefile: Likewise.
28683 * sysdeps/i386/asm-syntax.h: Likewise.
28684 * sysdeps/i386/sysdep.h: Likewise.
28685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28686 * sysdeps/mach/sysdep.h: Likewise.
28687 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28688 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28689 * sysdeps/s390/asm-syntax.h: Likewise.
28690 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28691 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28692 * sysdeps/sh/sysdep.h: Likewise.
28693 * sysdeps/unix/sparc/sysdep.h: Likewise.
28694 * sysdeps/wordsize-32/divdi3.c: Likewise.
28695 * sysdeps/x86_64/sysdep.h: Likewise.
28697 * argp/Versions: Remove _argp_unlock_xxx.
28700 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28701 * abilist/libBrokenLocale.abilist: Likewise.
28702 * abilist/libanl.abilist: Likewise.
28703 * abilist/libc.abilist: Likewise.
28704 * abilist/libcrypt.abilist: Likewise.
28705 * abilist/libdl.abilist: Likewise.
28706 * abilist/libm.abilist: Likewise.
28707 * abilist/libnsl.abilist: Likewise.
28708 * abilist/libpthread.abilist: Likewise.
28709 * abilist/libresolv.abilist: Likewise.
28710 * abilist/librt.abilist: Likewise.
28711 * abilist/libthread_db.abilist: Likewise.
28712 * abilist/libutil.abilist: Likewise.
28713 * abilist/libnss_db.abilist: New file.
28715 * scripts/abilist.awk: Add support for indirect functions.
28717 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28719 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28721 * shlib-versions: Remove entries for ports architectures.
28723 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28725 * elf/stackguard-macros.h: Remove support for IA-64.
28726 * elf/tst-auditmod1.c: Likewise.
28727 * sysdeps/generic/ldsodefs.h: Likewise.
28729 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28730 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28734 * configure.in: Remove --enable-omitfp support.
28736 * config.make.in: Likewise.
28737 * Makeconfig: Likewise.
28738 * manual/install.texi: Likewise.
28740 In case anyone cares, the IA-64 architecture could move to ports.
28741 * sysdeps/ia64/*: Removed.
28742 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28743 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28746 * configure.in: Remove entries for unsupported architectures.
28749 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28750 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28752 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28753 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28754 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28755 fall back to using wcrtomb.
28756 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28757 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28759 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28760 * wcsmbs/tst-c16c32-1.c: New file.
28762 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28765 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28767 * elf/tst-unique3.cc: Add explicit declaration of gets.
28768 * elf/tst-unique3lib.cc: Likewise.
28769 * elf/tst-unique3lib2.cc: Likewise.
28770 * elf/tst-unique4.cc: Likewise.
28772 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28774 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28777 * assert/assert.h (static_assert): Don't define for C++.
28778 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28779 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28781 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28783 * iconv/loop.c (single loop): Fix assertion in storing of
28786 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28788 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28790 * posix/getconf.c: Update copyright year.
28791 * nss/getent.c: Likewise.
28792 * nss/makedb.c: Likewise.
28793 * iconv/iconvconfig.c: Likewise.
28794 * iconv/iconv_prog.c: Likewise.
28795 * elf/ldconfig.c: Likewise.
28796 * elf/pldd.c: Likewise.
28797 * elf/sotruss.ksh: Likewise.
28798 * catgets/gencat.c: Likewise.
28799 * csu/version.c: Likewise.
28800 * elf/ldd.bash.in: Likewise.
28801 * elf/sprof.c (print_version): Likewise.
28802 * locale/programs/locale.c: Likewise.
28803 * locale/programs/localedef.c: Likewise.
28804 * login/programs/pt_chown.c: Likewise.
28805 * nscd/nscd.c (print_version): Likewise.
28806 * debug/xtrace.sh: Likewise.
28807 * malloc/memusage.sh: Likewise.
28808 * malloc/mtrace.pl: Likewise.
28809 * debug/catchsegv.sh: Likewise.
28811 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28813 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28816 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28819 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28820 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28822 * iconv/gconv_int.h: Likewise.
28823 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28824 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28825 from libc for GLIBC_2.16.
28826 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28827 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28828 * wcsmbs/uchar.h: Really define mbstate_t.
28829 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28830 * wcsmbs/c16rtomb.c: New file.
28831 * wcsmbs/mbrtoc16.c: New file.
28832 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28833 for C/POSIX locale.
28834 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28835 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28837 * wcsmbs/wchar.h: Add missing __restrict.
28839 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28842 * time/Makefile (routines): Add timespec_get.
28843 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28844 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28845 timespec for ISO C11.
28846 * time/timespec_get.c: New file.
28847 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28848 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28851 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28852 * stdlib/stdlib.h: Declare aligned_alloc.
28853 * Versions.def: Add GLIBC_2.16 for libc.
28854 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28857 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28860 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28864 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28867 * assert/assert.h (static_assert): Define.
28869 * version.h: Update for 2.16 development version.
28872 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28875 * version.h (RELEASE): Bump for 2.15 release.
28876 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28878 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28879 Patch by Marek Polacek <mpolacek@redhat.com>.
28881 * bits/byteswap.h: Protect long long constants with __extension__.
28882 * sysdeps/i386/bits/byteswap.h: Likewise.
28883 * sysdeps/ia64/bits/byteswap.h: Likewise.
28884 * sysdeps/s390/bits/byteswap.h: Likewise.
28885 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28887 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28891 destination buffer.
28892 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28894 2011-12-23 Marek Polacek <polacek@redhat.com>
28896 * elf/dl-addr.c (determine_info): Add inline keyword.
28897 * elf/tst-auditmod4b.c (check_avx): Likewise.
28898 * elf/tst-auditmod6b.c (check_avx): Likewise.
28899 * elf/tst-auditmod6c.c (check_avx): Likewise.
28900 * elf/tst-auditmod7b.c (check_avx): Likewise.
28902 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28904 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28907 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28910 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28911 processing for last bytes.
28913 2011-08-06 Bruno Haible <bruno@clisp.org>
28916 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28917 U+0385, not to U+1FEE.
28920 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28921 entry for U+00A5 U+0301.
28923 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28926 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28927 buffer for the output is too small.
28929 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28933 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28934 SSE flags if possible.
28936 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28940 processing for last bytes.
28942 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28944 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28945 (syscall-list-default-options, syscall-list-default-condition)
28946 (syscall-list-includes): Define.
28947 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28948 list of ABIs and options and #if conditions for each ABI. Do not
28949 handle common syscalls between ABIs specially.
28950 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28952 (syscall-list-variants, syscall-list-32bit-options)
28953 (syscall-list-32bit-condition, syscall-list-64bit-options)
28954 (syscall-list-64bit-condition): Define.
28955 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28956 (syscall-list-variants, syscall-list-32bit-options)
28957 (syscall-list-32bit-condition, syscall-list-64bit-options)
28958 (syscall-list-64bit-condition): Define.
28959 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28961 (syscall-list-variants, syscall-list-32bit-options)
28962 (syscall-list-32bit-condition, syscall-list-64bit-options)
28963 (syscall-list-64bit-condition): Define.
28964 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28966 (syscall-list-variants, syscall-list-32bit-options)
28967 (syscall-list-32bit-condition, syscall-list-64bit-options)
28968 (syscall-list-64bit-condition): Define.
28970 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28972 * locale/iso-639.def: Add brx entry.
28975 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28976 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28978 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28979 __feraiseexcept_renamed.
28981 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28984 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28985 EPOLLET with unsigned values.
28986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28987 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28989 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28990 to large cancellation.
28991 * math/s_cacoshf.c: Likewise.
28992 * math/s_cacoshl.c: Likewise.
28994 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28998 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28999 * math/s_cacoshf.c: Likewise.
29000 * math/s_cacoshl.c: Likewise.
29002 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29005 * iconv/gconv.h: Define __GCONV_SWAP.
29006 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29007 * iconvdata/utf-16.c: Likewise.
29008 * iconvdata/utf-32.c: Likewise.
29010 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29014 numerator after shifting it by one limb.
29016 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29018 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29019 under [__USE_EXTERN_INLINES].
29021 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29024 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29026 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29028 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29029 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29031 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29032 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29033 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29034 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29035 for strncasecmp/strncasecmp_l compilation.
29036 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29037 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29039 2011-12-08 Marek Polacek <mpolacek@redhat.com>
29042 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29045 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29048 * time/tzfile.c (__tzfile_read): Check values from file header.
29050 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29052 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29053 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29054 * powerpc/powerpc32/dl-start.S: Likewise.
29055 * powerpc/powerpc32/elf/start.S: Likewise.
29056 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29057 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29058 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29059 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29060 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29061 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29062 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29063 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29064 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29065 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29066 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29067 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29068 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29069 * powerpc/powerpc32/memset.S: Likewise.
29070 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29071 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29072 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29073 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29074 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29075 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29076 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29077 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29078 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29079 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29080 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29081 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29082 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29084 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29086 * math/libm-test.inc: Added more nearbyint tests.
29087 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29092 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29094 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29097 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29099 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29100 Add wcscpy-ssse3 wcscpy-c.
29101 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29102 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29103 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29104 * sysdeps/x86_64/wcschr.S: New file.
29105 * sysdeps/x86_64/wcsrchr.S: New file.
29106 * string/test-strcmp.c: Remove checking of wcscmp function for
29108 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29109 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29110 wcsrchr-sse2 wcsrchr-c.
29111 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29112 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29113 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29114 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29115 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29116 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29117 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29118 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29119 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29120 * wcsmbc/wcschr.c (WCSCHR): New macro.
29122 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29124 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29125 * wcsmbs/test-wcsrchr.c: New file.
29126 * string/test-strrchr.c: Add wcsrchr support.
29128 * wcsmbs/test-wcscpy.c: New file.
29129 * string/test-strcpy.c: Add wcscpy support.
29132 2011-12-10 Ulrich Drepper <drepper@gmail.com>
29134 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29137 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29140 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29142 2011-12-04 Ulrich Drepper <drepper@gmail.com>
29144 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29145 Minor optimizations.
29147 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29148 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29149 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29151 2011-12-03 Ulrich Drepper <drepper@gmail.com>
29153 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29154 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29155 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29156 for gcc to avoid warnings.
29157 * inet/Makefile (tests): Add tst-checks.
29158 * inet/tst-checks.c: New file.
29160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29163 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29166 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29167 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29169 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29171 2011-12-02 Ulrich Drepper <drepper@gmail.com>
29173 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29176 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29178 2011-11-29 Joseph Myers <joseph@codesourcery.com>
29180 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29181 conditional on GCC version.
29182 (__arch_compare_and_exchange_val_8_acq)
29183 (__arch_compare_and_exchange_val_16_acq)
29184 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29185 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29186 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29188 2011-12-02 Joseph Myers <joseph@codesourcery.com>
29190 * sysdeps/sh/backtrace.c: New file.
29192 2011-12-02 Andreas Schwab <schwab@redhat.com>
29194 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29197 2011-12-01 Andreas Schwab <schwab@redhat.com>
29199 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29200 falling back to utime.
29202 2011-11-30 Andreas Schwab <schwab@redhat.com>
29204 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29205 expectations for float.
29207 2011-11-29 Andreas Schwab <schwab@redhat.com>
29209 * locale/weight.h (findidx): Add parameter len.
29210 * locale/weightwc.h (findidx): Likewise.
29211 * posix/fnmatch_loop.c (FCT): Adjust caller.
29212 * posix/regcomp.c (build_equiv_class): Likewise.
29213 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29214 * posix/regexec.c (check_node_accept_bytes): Likewise.
29215 * string/strcoll_l.c (STRCOLL): Likewise.
29216 * string/strxfrm_l.c (STRXFRM): Likewise.
29218 2011-11-17 Ulrich Drepper <drepper@gmail.com>
29220 * Makefile.in: Remove CVSOPT handling.
29221 * configure.in: Remove use of AC_REVISION.
29222 * iconvdata/Makefile (distribute): No need to filter out CVS.
29223 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29226 2011-11-16 Andreas Schwab <schwab@redhat.com>
29228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29229 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29230 [USE_AS_STRNCASECMP_L]: Likewise.
29231 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29232 NO_TLS_DIRECT_SEG_REFS.
29233 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29234 Fix argument offsets for non-PIC.
29235 [USE_AS_STRNCASECMP_L]: Likewise.
29236 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29237 NO_TLS_DIRECT_SEG_REFS.
29239 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29241 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29243 * locale/loadlocale.c (_nl_load_locale): Likewise.
29245 2011-11-15 Andreas Schwab <schwab@redhat.com>
29247 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29248 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29250 (SYSCALL_GETTIME): Set errno on error.
29252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29253 count references to noai6ai_cached.
29255 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29257 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29259 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29260 FD_CLOEXEC for /proc/self/maps.
29262 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29263 FD_CLOEXEC for /proc/meminfo.
29265 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29268 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29269 FD_CLOEXEC for given file.
29271 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29273 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29274 FD_CLOEXEC for /etc/hosts.
29275 (_gethtent): Likewise.
29277 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29279 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29280 cancellation and set FD_CLOEXEC for /etc/netgroup.
29282 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29283 reading /etc/publickey.
29285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29286 allow cancellation when reading /etc/group.
29288 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29290 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29292 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29293 when using data file.
29295 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29297 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29298 (write_nis_obj): Use "c" and "e" in fopen.
29300 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29302 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29304 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29306 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29308 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29311 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29313 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29315 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29317 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29318 file parsing and set FD_CLOEXEC.
29320 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29322 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29324 2011-11-14 Andreas Schwab <schwab@redhat.com>
29326 * malloc/arena.c (arena_get2): Don't call reused_arena when
29327 _int_new_arena failed.
29329 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29331 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29332 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29333 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29334 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29337 to compile strcasecmp and strncasecmp.
29338 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29339 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29343 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29345 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29346 locale-defines.sym to gen-as-const-headers.
29347 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29348 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29350 to compile strcasecmp and strncasecmp.
29351 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29352 strcasecmp_l and strncasecmp_l.
29353 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29354 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29355 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29356 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29357 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29358 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29359 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29360 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29361 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29362 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29363 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29365 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29367 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29368 result of SYSDEP_GETTIME_CPU to retval.
29369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29370 parameter list to macro. Remove trailing semicolon. Adjust users.
29372 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29375 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29377 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29379 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29380 from unused variable.
29382 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29384 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29387 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29390 * sunrpc/rpc_prot.c (rejected): Fix case value.
29392 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29393 unsigned long long int to avoid warnings in shift.
29395 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29397 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29400 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29401 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29402 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29404 * nis/nis_table.c (nis_list): Use variable of correct type for
29405 result of __follow_path call.
29407 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29409 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29410 of math functions ceil, trunc, floor, round, and sqrt, when
29411 avaliable on the platform.
29412 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29414 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29415 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29416 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29418 2011-10-30 Marek Polacek <mpolacek@redhat.com>
29420 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29423 2011-11-11 Roland McGrath <roland@hack.frob.com>
29425 * include/unistd.h: Fix __readlink return type.
29426 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29428 2011-11-11 Ulrich Drepper <drepper@gmail.com>
29430 * stdlib/ucontext.h: Undo last change for makecontext.
29432 2011-11-11 Andreas Schwab <schwab@redhat.com>
29434 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29436 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29437 * setjmp/setjmp.h: Mark functions as non-leaf.
29438 * setjmp/bits/setjmp2.h: Likewise.
29439 * stdlib/ucontext.h: Likewise.
29441 2011-11-10 Andreas Schwab <schwab@redhat.com>
29443 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29444 (reused_arena): Don't check arena limit.
29445 (arena_get2): Atomically check arena limit.
29447 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29449 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29450 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29455 2011-11-07 Andreas Schwab <schwab@redhat.com>
29457 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29458 handler when locking.
29460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29461 Fix size of allocated buffer.
29463 2011-11-04 Andreas Schwab <schwab@redhat.com>
29466 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29467 declarations for long double functions.
29468 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29470 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29472 2011-11-03 Andreas Schwab <schwab@redhat.com>
29474 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29477 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29480 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29482 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29484 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29486 * include/alloca.h (stackinfo_alloca_round): Define.
29487 (extend_alloca): Use it.
29488 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29489 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29492 * scripts/check-local-headers.sh: Ignore libaudit.h.
29494 * nscd/Makefile (extra-objs): Make recursively expanded.
29496 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29498 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29499 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29501 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29502 * posix/tst-rfc3484-2.c: Likewise.
29503 * posix/tst-rfc3484-3.c: Likewise.
29505 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29507 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29509 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29510 process_vm_writev from libc using GLIBC_2.15 version.
29512 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29514 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29516 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29519 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29522 * nss/getent.c (initgroups_keys): Show error message in case no group
29525 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29526 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29527 __bump_nl_timestamp.
29528 * nscd/connections (nscd_init): When host database is served open
29529 netlink socket and request notification about configuration changes.
29530 (main_loop_poll): Track netlink file descriptor and bump timestamp
29531 in case data becomes available.
29532 (main_loop_epoll): Likewise.
29533 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29534 (database_pers_head): Add extra_data fileds.
29535 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29537 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29539 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29540 in6ai data, call __free_in6ai.
29541 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29542 Add -DHAVE_NETLINK.
29543 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29544 interface information. Reuse previous data if netlink timestamp
29546 (__bump_nl_timestamp): New function.
29547 (__free_in6ai): New function.
29549 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29552 close_not_cancel_no_status here.
29553 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29555 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29558 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29561 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29562 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29563 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29565 2011-07-03 Andreas Jaeger <aj@suse.de>
29568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29569 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29570 * math/libm-test.inc (sin_test): Add test case.
29572 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29575 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29576 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29578 * elf/chroot_canon.c (chroot_canon): Cleanups.
29580 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29583 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29584 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29586 * string/test-strchr.c: Make usable for strchrnul testing.
29587 * string/test-strchrnul.c: New file.
29588 * string/Makefile (strop-tests): Add strchrnul.
29590 * po/it.po: Update from translation team.
29591 * po/es.po: Likewise.
29593 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29595 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29596 the three constants needed as parameters. Drop the others.
29597 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29598 __m128i_strloadu_tolower.
29599 Create and initialize variable zero and use it in all the places
29600 where _mm_setzero_si128 was used.
29602 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29603 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29604 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29605 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29607 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29608 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29609 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29610 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29611 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29612 __mpranred, __mptan.
29613 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29614 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29615 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29616 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29617 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29618 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29619 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29620 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29621 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29623 2011-10-28 Andreas Schwab <schwab@redhat.com>
29625 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29626 redefine if SHARED.
29627 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29630 wide char related routines to wcsmbs subdir.
29632 2011-10-27 Andreas Schwab <schwab@redhat.com>
29635 * misc/sys/cdefs.h (__THROWNL): Define.
29636 * posix/unistd.h: Use __THREADNL instead of __THREAD
29637 for memory synchronization functions.
29639 2011-10-26 Roland McGrath <roland@hack.frob.com>
29642 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29644 * manual/stdio.texi (Obstack Streams): Node removed.
29646 2011-10-26 Andreas Schwab <schwab@redhat.com>
29648 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29650 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29652 * math/math_private.h (math_force_eval): Allow non-addressable
29654 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29656 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29658 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29659 file is not needed.
29661 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29668 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29670 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29671 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29672 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29673 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29674 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29675 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29676 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29677 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29680 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29681 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29683 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29684 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29685 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29686 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29687 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29688 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29690 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29691 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29694 place. Use VEX encoding when compiling for AVX.
29696 2011-10-25 Andreas Schwab <schwab@redhat.com>
29698 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29699 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29701 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29703 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29705 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29706 useless if() expression.
29707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29708 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29709 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29712 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29715 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29716 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29717 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29718 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29719 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29720 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29721 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29722 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29723 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29724 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29725 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29727 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29729 2011-10-25 Andreas Schwab <schwab@redhat.com>
29731 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29733 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29735 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29737 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29738 .text section. Avoid duplicate constants.
29739 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29741 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29747 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29748 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29749 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29750 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29751 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29752 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29753 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29754 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29755 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29756 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29758 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29759 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29760 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29761 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29762 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29763 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29764 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29765 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29766 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29768 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29769 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29770 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29771 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29772 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29773 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29774 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29775 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29777 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29778 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29779 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29781 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29785 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29787 * sysdeps/x86_64/dla.h: Move to ...
29788 * sysdeps/x86_64/fpu/dla.h: ...here.
29789 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29790 situations. Use __builtin_fma only for gcc 4.6 and up.
29792 * config.make.in: Add have-mfma4 entry.
29793 * configure.in: Substitute libc_cv_cc_fma4.
29794 * math/Makefile (dbl-only-routines): Add sincostab.
29795 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29796 Use __sincostab not sincos.
29797 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29799 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29804 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29805 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29806 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29807 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29810 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29812 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29813 define aliases when function name is a macro.
29814 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29815 sysdeps/ieee754/dbl-64/sincos.tbl.
29816 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29817 fma4-enabled routines.
29818 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29819 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29820 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29821 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29822 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29823 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29825 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29827 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29828 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29829 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29830 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29845 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29846 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29847 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29849 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29860 2011-10-24 Andreas Schwab <schwab@redhat.com>
29862 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29864 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29868 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29870 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29872 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29873 Remove unused variable magic_bits.
29874 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29876 * string/strnlen.c: Define and use STRNLEN macro.
29877 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29878 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29880 * wcsmbs/wcslen.c: Define and use WCSLEN.
29881 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29882 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29883 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29884 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29885 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29886 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29887 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29889 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29892 strnlen-sse2-no-bsf.
29893 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29895 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29896 Add strnlen support.
29897 (USE_AS_STRNLEN): New macro.
29898 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29899 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29900 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29901 * sysdeps/x86_64/wcslen.S: New file.
29903 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29906 XMM-moves are used for copying on small sizes.
29908 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29910 * wcsmbs/Makefile (strop-tests): Add wcschr.
29911 * wcsmbs/test-wcschr.c: New file.
29912 * string/test-strchr.c: Update.
29913 Add wcschr support.
29916 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29918 * wcsmbs/Makefile (strop-tests): Add wcslen.
29919 * wcsmbs/test-wcslen.c: New file.
29920 * string/test-strlen.c: Update.
29921 Add wcslen support.
29924 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29926 * po/it.po: Update from translation team.
29928 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29930 * sysdeps/x86_64/wcscmp.S: Update.
29931 Fix wrong comparison semantics.
29932 wcscmp shall use signed comparison not unsigned.
29933 Don't use substraction to avoid overflow bug.
29934 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29935 * wcsmbc/wcscmp.c: Likewise.
29936 * string/test-strcmp.c: Likewise.
29937 Add new tests to check cases with negative values.
29939 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29941 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29942 * sysdeps/x86_64/dla.h: ...here. New file.
29943 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29951 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29953 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29956 __ynl_finite aliases.
29958 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29962 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29964 [DLA_FMA] (EMULV): Use DLA_FMA.
29965 [DLA_FMA] (MUL12): Use EMULV.
29966 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29967 that are not needed.
29968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29976 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29978 * math/s_nan.c: Undef __nan.
29979 * math/s_nanf.c: Undef __nanf.
29980 * math/s_nanl.c: Undef __nanl.
29981 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29984 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29986 * math/s_catan.c: Add branch predictions.
29987 * math/s_catanf.c: Likewise.
29988 * math/s_catanh.c: Likewise.
29989 * math/s_catanhf.c: Likewise.
29990 * math/s_catanhl.c: Likewise.
29991 * math/s_catanl.c: Likewise.
29992 * math/s_cexp.c: Likewise.
29993 * math/s_cexpf.c: Likewise.
29994 * math/s_cexpl.c: Likewise.
29995 * math/s_clog.c: Likewise.
29996 * math/s_clog10.c: Likewise.
29997 * math/s_clog10f.c: Likewise.
29998 * math/s_clog10l.c: Likewise.
29999 * math/s_clogf.c: Likewise.
30000 * math/s_clogl.c: Likewise.
30001 * math/s_csqrt.c: Likewise.
30002 * math/s_csqrtf.c: Likewise.
30003 * math/s_csqrtl.c: Likewise.
30004 * math/s_ctanf.c: Likewise.
30005 * math/s_ctanh.c: Likewise.
30006 * math/s_ctanhf.c: Likewise.
30007 * math/s_ctanhl.c: Likewise.
30008 * math/s_ctanl.c: Likewise.
30010 * math/math_private.h: Define __nan, __nanf, __nanl.
30011 * math/s_cacosh.c: Include <math_private.h>.
30012 * math/s_cacoshl.c: Likewise.
30013 * math/s_casinh.c: Likewise.
30014 * math/s_casinhf.c: Likewise.
30015 * math/s_casinhl.c: Likewise.
30016 * math/s_ccos.c: Rely entire on ccosh.
30017 * math/s_ccosf.c: Rely entire on ccoshf.
30018 * math/s_ccosl.c: Rely entirely on ccoshl.
30019 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30020 Remove tests for FE_INVALID.
30021 * math/s_ccoshf.c: Likewise.
30022 * math/s_ccoshl.c: Likewise.
30023 * math/s_csin.c: Likewise.
30024 * math/s_csinf.c: Likewise.
30025 * math/s_csinh.c Likewise.
30026 * math/s_csinhf.c: Likewise.
30027 * math/s_csinhl.c: Likewise.
30028 * math/s_csinl.c: Likewise.
30029 * math/s_ctan.c: Likewise.
30030 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30031 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30032 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30034 2011-10-21 Ulrich Drepper <drepper@gmail.com>
30036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30037 compilation problems.
30039 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30042 2011-10-20 Ulrich Drepper <drepper@gmail.com>
30044 * sysdeps/i386/configure.in: Test for -mfma4 option.
30045 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30046 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30047 COMMON_CPUID_INDEX_80000001.
30048 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30049 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30050 use it if FMA3 is not supported.
30051 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30053 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30054 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30056 2011-10-20 Andreas Schwab <schwab@redhat.com>
30059 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30060 it would create a cycle with a link time dependency.
30062 2011-10-19 Ulrich Drepper <drepper@gmail.com>
30064 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30066 * string/Makefile (strop-tests): Add rawmemchr.
30067 * string/test-rawmemchr.c: New file.
30069 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30071 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30072 when compiling str{,n}casecmp and when AVX is available. Hook up
30073 new optimized code in initializers.
30075 2011-10-19 Andreas Schwab <schwab@redhat.com>
30077 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30078 __feraiseexcept instead of feraiseexcept.
30080 2011-10-18 Ulrich Drepper <drepper@gmail.com>
30082 * math/math_private.h: Define defaults for libc_fetestexcept and
30084 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30085 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30086 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30087 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30089 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30090 libc_fetestexcept and libc_feupdateenv.
30092 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30093 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30094 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30095 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30096 libc_feholdexcept_setround.
30098 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30099 Add s_nearbyint-c and s_nearbyintf-c.
30100 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30101 nearbyintf inlines.
30102 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30103 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30104 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30105 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30107 * math/math_private.h: Define defaults for libc_fegetround,
30108 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30109 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30110 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30111 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30112 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30113 standard functions.
30114 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30115 Remove comments and hacks for old compiler versions.
30116 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30117 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30118 libc_feholdexceptl.
30120 2011-10-18 Andreas Schwab <schwab@redhat.com>
30122 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30123 (__feraiseexcept_renamed): Add __NTH.
30124 (feraiseexcept): Add __NTH. Rename local variables to fix
30125 namespace violations.
30127 2011-10-17 Ulrich Drepper <drepper@gmail.com>
30129 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30131 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30133 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30134 recently added interfaces.
30135 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30137 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30138 about macro parameter expansion.
30140 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30141 __NO_MATH_INLINES is defined. Cleanups.
30143 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30144 and __floorf is target has SSE4.1.
30145 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30146 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30147 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30148 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30150 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30152 (floorf): Likewise.
30154 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30156 2011-10-17 Andreas Schwab <schwab@redhat.com>
30158 * misc/sys/cdefs.h: Fix last change.
30160 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30163 2011-10-16 Ulrich Drepper <drepper@gmail.com>
30165 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30167 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30168 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30169 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30172 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30173 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30174 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30175 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30176 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30177 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30178 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30179 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30180 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30181 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30182 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30183 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30184 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30185 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30186 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30188 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30190 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30191 ceil, ceilf, floor, floorf.
30193 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30194 Perform IRELATIVE relocations last.
30196 * elf/do-rel.h: Add another parameter nrelative, replacing the
30197 local variable with the same name. Change name of the function
30198 to end in Rel or Rela (uppercase).
30199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30200 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30201 elf_dynamic_do_##reloc function.
30203 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30205 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30206 is sufficient, at least on modern CPUs.
30208 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30210 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30213 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30215 * math/bits/math-finite.h: Add entries for exp.
30216 * math/e_expl.c: Add __*_finite alias.
30217 * sysdeps/i386/fpu/e_exp.S: Likewise.
30218 * sysdeps/i386/fpu/e_expf.S: Likewise.
30219 * sysdeps/i386/fpu/e_expl.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30221 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30224 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30225 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30226 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30228 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30229 is sufficient, at least on modern CPUs.
30231 * ctype/ctype-info.c (__ctype_init): Define.
30232 * include/ctype.h (__ctype_init): Declare.
30233 (__ctype_b_loc): The variable is always initialized.
30234 (__ctype_toupper_loc): Likewise.
30235 (__ctype_tolower_loc): Likewise.
30236 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30237 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30239 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30241 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30243 * configure.in: Also look in $cxxmachine/include for C++ system
30246 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30248 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30249 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30250 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30251 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30252 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30253 (USE_AS_WMEMCMP): New macro.
30255 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30256 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30257 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30258 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30260 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30261 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30262 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30263 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30264 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30265 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30266 (USE_AS_WMEMCMP): New macro.
30267 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30268 * sysdeps/string/test-memcmp.c: Update.
30269 Fix simple_wmemcmp.
30271 * wcsmbs/wmemcmp.c: Update.
30272 (WMEMCMP): New macro.
30275 2011-10-12 Andreas Jaeger <aj@suse.de>
30278 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30280 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30282 * libio/iofwide.c (do_length): Avoid warning.
30284 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30286 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30288 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30290 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30291 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30292 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30293 * sysdeps/i386/i686/fpu/e_log.S: New file.
30294 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30295 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30297 * ctype/ctype.h: Add support for inlined isXXX functions when
30298 compiling C++ code.
30300 2011-10-14 Andreas Schwab <schwab@redhat.com>
30302 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30304 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30306 2011-10-13 Roland McGrath <roland@hack.frob.com>
30309 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30311 2011-10-13 Andreas Schwab <schwab@redhat.com>
30313 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30314 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30317 * sysdeps/x86_64/memrchr.S: Check for zero size.
30319 * string/stratcliff.c: Add memrchr tests.
30321 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30324 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30325 rawmemchr-sse2 rawmemchr-sse2-bsf.
30326 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30327 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30328 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30329 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30330 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30331 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30332 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30333 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30334 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30335 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30336 * string/memrchr.c (MEMRCHR): New macro.
30338 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30340 Add integration with gcc's -ffinite-math-only and optimize wrapper
30342 * Versions.def: Define GLIBC_2.15 version for libm.
30343 * math/Makefile (headers): Add bits/math-finite.h.
30344 * math/bits/math-finite.h: New file.
30345 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30346 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30347 * math/e_acoshl.c: Add __*_finite alias.
30348 * math/e_acosl.c: Likewise.
30349 * math/e_asinl.c: Likewise.
30350 * math/e_atan2l.c: Likewise.
30351 * math/e_atanhl.c: Likewise.
30352 * math/e_coshl.c: Likewise.
30353 * math/e_exp10.c: Likewise.
30354 * math/e_exp10f.c: Likewise.
30355 * math/e_exp10l.c: Likewise.
30356 * math/e_exp2l.c: Likewise.
30357 * math/e_fmodl.c: Likewise.
30358 * math/e_gammal_r.c: Likewise.
30359 * math/e_hypotl.c: Likewise.
30360 * math/e_j0l.c: Likewise.
30361 * math/e_j1l.c: Likewise.
30362 * math/e_jnl.c: Likewise.
30363 * math/e_lgammal_r.c: Likewise.
30364 * math/e_log10l.c: Likewise.
30365 * math/e_log2l.c: Likewise.
30366 * math/e_logl.c: Likewise.
30367 * math/e_powl.c: Likewise.
30368 * math/e_sinhl.c: Likewise.
30369 * math/e_sqrtl.c: Likewise.
30370 * math/e_scalb.c: Completely rewritten and optimized.
30371 * math/e_scalbf.c: Likewise.
30372 * math/e_scalbl.c: Likewise.
30373 * math/w_acos.c: Likewise.
30374 * math/w_acosf.c: Likewise.
30375 * math/w_acosl.c: Likewise.
30376 * math/w_acosh.c: Likewise.
30377 * math/w_acoshf.c: Likewise.
30378 * math/w_acoshl.c: Likewise.
30379 * math/w_asin.c: Likewise.
30380 * math/w_asinf.c: Likewise.
30381 * math/w_asinl.c: Likewise.
30382 * math/w_atan2.c: Likewise.
30383 * math/w_atan2f.c: Likewise.
30384 * math/w_atan2l.c: Likewise.
30385 * math/w_atanh.c: Likewise.
30386 * math/w_atanhf.c: Likewise.
30387 * math/w_atanhl.c: Likewise.
30388 * math/w_exp10.c: Likewise.
30389 * math/w_exp10f.c: Likewise.
30390 * math/w_exp10l.c: Likewise.
30391 * math/w_fmod.c: Likewise.
30392 * math/w_fmodf.c: Likewise.
30393 * math/w_fmodl.c: Likewise.
30394 * math/w_j0.c: Likewise.
30395 * math/w_j0f.c: Likewise.
30396 * math/w_j0l.c: Likewise.
30397 * math/w_j1.c: Likewise.
30398 * math/w_j1f.c: Likewise.
30399 * math/w_j1l.c: Likewise.
30400 * math/w_jn.c: Likewise.
30401 * math/w_jnf.c: Likewise.
30402 * math/w_log.c: Likewise.
30403 * math/w_logf.c: Likewise.
30404 * math/w_logl.c: Likewise.
30405 * math/w_log10.c: Likewise.
30406 * math/w_log10f.c: Likewise.
30407 * math/w_log10l.c: Likewise.
30408 * math/w_log2.c: Likewise.
30409 * math/w_log2f.c: Likewise.
30410 * math/w_log2l.c: Likewise.
30411 * math/w_pow.c: Likewise.
30412 * math/w_powf.c: Likewise.
30413 * math/w_powl.c: Likewise.
30414 * math/w_remainder.c: Likewise.
30415 * math/w_remainderf.c: Likewise.
30416 * math/w_remainderl.c: Likewise.
30417 * math/w_scalb.c: Likewise.
30418 * math/w_scalbf.c: Likewise.
30419 * math/w_scalbl.c: Likewise.
30420 * math/w_sqrt.c: Likewise.
30421 * math/w_sqrtf.c: Likewise.
30422 * math/w_sqrtl.c: Likewise.
30423 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30424 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30426 * math/math_private.h: Declare __kernel_standard_f.
30427 * math/w_cosh.c: Remove cruft and optimize a bit.
30428 * math/w_coshf.c: Likewise.
30429 * math/w_coshl.c: Likewise.
30430 * math/w_exp2.c: Likewise.
30431 * math/w_exp2f.c: Likewise.
30432 * math/w_exp2l.c: Likewise.
30433 * math/w_hypot.c: Likewise.
30434 * math/w_hypotf.c: Likewise.
30435 * math/w_hypotl.c: Likewise.
30436 * math/w_lgamma.c: Likewise.
30437 * math/w_lgamma_r.c: Likewise.
30438 * math/w_lgammaf.c: Likewise.
30439 * math/w_lgammaf_r.c: Likewise.
30440 * math/w_lgammal.c: Likewise.
30441 * math/w_lgammal_r.c: Likewise.
30442 * math/w_sinh.c: Likewise.
30443 * math/w_sinhf.c: Likewise.
30444 * math/w_sinhl.c: Likewise.
30445 * math/w_tgamma.c: Likewise.
30446 * math/w_tgammaf.c: Likewise.
30447 * math/w_tgammal.c: Likewise.
30448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30449 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30450 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30451 Minor optimizations. Pretty printing. Remove cruft.
30452 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30453 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30454 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30456 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30457 * sysdeps/i386/fpu/e_asin.S: Likewise.
30458 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30459 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30460 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30461 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30462 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30465 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30466 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30467 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30468 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30469 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30470 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30471 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30472 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30473 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30474 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30475 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30476 * sysdeps/i386/fpu/e_log.S: Likewise.
30477 * sysdeps/i386/fpu/e_log10.S: Likewise.
30478 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30480 * sysdeps/i386/fpu/e_log2.S: Likewise.
30481 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30482 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30483 * sysdeps/i386/fpu/e_logf.S: Likewise.
30484 * sysdeps/i386/fpu/e_logl.S: Likewise.
30485 * sysdeps/i386/fpu/e_pow.S: Likewise.
30486 * sysdeps/i386/fpu/e_powf.S: Likewise.
30487 * sysdeps/i386/fpu/e_powl.S: Likewise.
30488 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30489 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30490 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30491 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30492 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30493 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30494 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30495 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30496 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30497 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30501 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30503 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30504 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30507 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30508 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30517 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30518 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30519 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30520 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30521 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30522 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30523 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30524 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30525 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30526 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30527 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30528 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30529 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30531 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30532 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30533 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30534 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30535 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30536 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30537 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30538 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30539 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30540 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30541 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30542 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30543 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30544 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30545 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30546 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30547 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30548 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30549 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30551 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30552 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30553 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30554 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30555 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30556 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30557 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30559 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30561 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30564 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30565 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30567 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30568 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30571 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30572 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30573 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30574 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30575 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30576 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30578 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30579 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30582 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30584 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30585 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30586 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30590 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30591 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30592 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30593 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30594 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30595 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30596 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30597 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30598 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30599 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30600 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30602 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30603 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30604 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30605 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30606 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30607 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30608 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30609 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30610 (__isnanf): Likewise.
30611 (__isinf_ns): Likewise.
30612 (__isinf_nsf): Likewise.
30613 (__finite): Likewise.
30614 (__finitef): Likewise.
30615 (__ieee754_sqrt): Define as macro.
30616 (__ieee754_sqrtf): Define as macro.
30617 (__ieee754_sqrtl): Define as macro.
30618 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30620 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30621 __FINITE_MATH_ONLY__ consistent.
30622 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30624 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30626 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30629 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30631 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30633 * po/ja.po: Update from translation team.
30635 2011-10-08 Roland McGrath <roland@hack.frob.com>
30637 * locale/programs/locarchive.c (prepare_address_space): New function.
30638 (create_archive, enlarge_archive, open_archive): Use it.
30640 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30641 inside [SHARED], where it is used.
30643 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30645 * nss/getent.c (netgroup_keys): Remove unused variable.
30646 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30648 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30650 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30651 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30653 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30654 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30655 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30656 * math/Makefile (libm-calls): Add s_isinf_ns.
30657 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30658 * math/multc3.c: Likewise.
30659 * math/s_casin.c: Likewise.
30660 * math/s_casinf.c: Likewise.
30661 * math/s_casinl.c: Likewise.
30662 * math/s_ccos.c: Likewise.
30663 * math/s_ccosf.c: Likewise.
30664 * math/s_ccosl.c: Likewise.
30665 * math/s_ctan.c: Likewise.
30666 * math/s_ctanf.c: Likewise.
30667 * math/s_ctanh.c: Likewise.
30668 * math/s_ctanhf.c: Likewise.
30669 * math/s_ctanhl.c: Likewise.
30670 * math/s_ctanl.c: Likewise.
30671 * math/w_fmod.c: Likewise.
30672 * math/w_fmodf.c: Likewise.
30673 * math/w_fmodl.c: Likewise.
30674 * math/w_remainder.c: Likewise.
30675 * math/w_remainderf.c: Likewise.
30676 * math/w_remainderl.c: Likewise.
30677 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30678 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30681 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30682 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30683 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30684 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30686 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30688 * stdio-common/printf_fphex.c: Likewise.
30689 * stdio-common/printf_size.c: Likewise.
30691 * math/e_exp10.c: Include math_private.h using <...> not "...".
30692 * math/e_exp10f.c: Likewise.
30693 * math/e_exp10l.c: Likewise.
30694 * math/e_exp2l.c: Likewise.
30695 * math/e_j0l.c: Likewise.
30696 * math/e_j1l.c: Likewise.
30697 * math/e_jnl.c: Likewise.
30698 * math/e_lgammal_r.c: Likewise.
30699 * math/e_rem_pio2l.c: Likewise.
30700 * math/e_scalb.c: Likewise.
30701 * math/e_scalbf.c: Likewise.
30702 * math/e_scalbl.c: Likewise.
30703 * math/k_cosl.c: Likewise.
30704 * math/k_sinl.c: Likewise.
30705 * math/k_tanl.c: Likewise.
30706 * math/s_cacoshf.c: Likewise.
30707 * math/s_catan.c: Likewise.
30708 * math/s_catanf.c: Likewise.
30709 * math/s_catanh.c: Likewise.
30710 * math/s_catanhf.c: Likewise.
30711 * math/s_catanhl.c: Likewise.
30712 * math/s_catanl.c: Likewise.
30713 * math/s_ccosh.c: Likewise.
30714 * math/s_ccoshf.c: Likewise.
30715 * math/s_ccoshl.c: Likewise.
30716 * math/s_cexp.c: Likewise.
30717 * math/s_cexpf.c: Likewise.
30718 * math/s_cexpl.c: Likewise.
30719 * math/s_clog.c: Likewise.
30720 * math/s_clog10.c: Likewise.
30721 * math/s_clog10f.c: Likewise.
30722 * math/s_clog10l.c: Likewise.
30723 * math/s_clogf.c: Likewise.
30724 * math/s_clogl.c: Likewise.
30725 * math/s_csin.c: Likewise.
30726 * math/s_csinf.c: Likewise.
30727 * math/s_csinh.c: Likewise.
30728 * math/s_csinhf.c: Likewise.
30729 * math/s_csinhl.c: Likewise.
30730 * math/s_csinl.c: Likewise.
30731 * math/s_csqrt.c: Likewise.
30732 * math/s_csqrtf.c: Likewise.
30733 * math/s_csqrtl.c: Likewise.
30734 * math/s_ctan.c: Likewise.
30735 * math/s_ctanf.c: Likewise.
30736 * math/s_ctanh.c: Likewise.
30737 * math/s_ctanhf.c: Likewise.
30738 * math/s_ctanhl.c: Likewise.
30739 * math/s_ctanl.c: Likewise.
30740 * math/s_ldexp.c: Likewise.
30741 * math/s_ldexpf.c: Likewise.
30742 * math/s_ldexpl.c: Likewise.
30743 * math/s_significand.c: Likewise.
30744 * math/s_significandf.c: Likewise.
30745 * math/s_significandl.c: Likewise.
30746 * math/w_acos.c: Likewise.
30747 * math/w_acosf.c: Likewise.
30748 * math/w_acosh.c: Likewise.
30749 * math/w_acoshf.c: Likewise.
30750 * math/w_acoshl.c: Likewise.
30751 * math/w_acosl.c: Likewise.
30752 * math/w_asin.c: Likewise.
30753 * math/w_asinf.c: Likewise.
30754 * math/w_asinl.c: Likewise.
30755 * math/w_atan2.c: Likewise.
30756 * math/w_atan2f.c: Likewise.
30757 * math/w_atan2l.c: Likewise.
30758 * math/w_atanh.c: Likewise.
30759 * math/w_atanhf.c: Likewise.
30760 * math/w_atanhl.c: Likewise.
30761 * math/w_cosh.c: Likewise.
30762 * math/w_coshf.c: Likewise.
30763 * math/w_coshl.c: Likewise.
30764 * math/w_dremf.c: Likewise.
30765 * math/w_exp10.c: Likewise.
30766 * math/w_exp10f.c: Likewise.
30767 * math/w_exp10l.c: Likewise.
30768 * math/w_exp2.c: Likewise.
30769 * math/w_exp2f.c: Likewise.
30770 * math/w_fmod.c: Likewise.
30771 * math/w_fmodf.c: Likewise.
30772 * math/w_fmodl.c: Likewise.
30773 * math/w_hypot.c: Likewise.
30774 * math/w_hypotf.c: Likewise.
30775 * math/w_hypotl.c: Likewise.
30776 * math/w_j0.c: Likewise.
30777 * math/w_j0f.c: Likewise.
30778 * math/w_j0l.c: Likewise.
30779 * math/w_j1.c: Likewise.
30780 * math/w_j1f.c: Likewise.
30781 * math/w_j1l.c: Likewise.
30782 * math/w_jn.c: Likewise.
30783 * math/w_jnf.c: Likewise.
30784 * math/w_jnl.c: Likewise.
30785 * math/w_lgamma.c: Likewise.
30786 * math/w_lgamma_r.c: Likewise.
30787 * math/w_lgammaf.c: Likewise.
30788 * math/w_lgammaf_r.c: Likewise.
30789 * math/w_lgammal.c: Likewise.
30790 * math/w_lgammal_r.c: Likewise.
30791 * math/w_log.c: Likewise.
30792 * math/w_log10.c: Likewise.
30793 * math/w_log10f.c: Likewise.
30794 * math/w_log10l.c: Likewise.
30795 * math/w_log2.c: Likewise.
30796 * math/w_log2f.c: Likewise.
30797 * math/w_log2l.c: Likewise.
30798 * math/w_logf.c: Likewise.
30799 * math/w_logl.c: Likewise.
30800 * math/w_pow.c: Likewise.
30801 * math/w_powf.c: Likewise.
30802 * math/w_powl.c: Likewise.
30803 * math/w_remainder.c: Likewise.
30804 * math/w_remainderf.c: Likewise.
30805 * math/w_remainderl.c: Likewise.
30806 * math/w_scalb.c: Likewise.
30807 * math/w_scalbf.c: Likewise.
30808 * math/w_scalbl.c: Likewise.
30809 * math/w_sinh.c: Likewise.
30810 * math/w_sinhf.c: Likewise.
30811 * math/w_sinhl.c: Likewise.
30812 * math/w_sqrt.c: Likewise.
30813 * math/w_sqrtf.c: Likewise.
30814 * math/w_sqrtl.c: Likewise.
30815 * math/w_tgamma.c: Likewise.
30816 * math/w_tgammaf.c: Likewise.
30817 * math/w_tgammal.c: Likewise.
30819 * po/ja.po: Update from translation team.
30821 2011-09-29 Andreas Jaeger <aj@suse.de>
30824 * sunrpc/netname.c (netname2host): Fix logic.
30828 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30830 * math/w_remainder.c (__remainder): Likewise.
30831 * math/w_remainderf.c (__remainderf): Likewise.
30832 * math/libm-test.inc (remainder_test): Add test cases.
30834 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30836 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30839 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30841 * string/test-memcmp.c: Avoid unncessary #defines.
30842 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30844 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30846 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30847 Use new sse2 version for core i3 - i7 as it's faster
30848 than sse42 version.
30849 (bit_Prefer_PMINUB_for_stringop): New.
30850 * sysdeps/x86_64/rawmemchr.S: Update.
30851 Replace with faster SSE2 version.
30852 * sysdeps/x86_64/memrchr.S: New file.
30853 * sysdeps/x86_64/memchr.S: Update.
30854 Replace with faster SSE2 version.
30856 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30858 * elf/dl-load.c (lose): Add cast to avoid warning.
30860 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30862 * po/ca.po: Update from translation team.
30864 * inet/getnetgrent_r.c: Hook up nscd.
30865 * nscd/Makefile (routines): Add nscd_netgroup.
30866 (nscd-modules): Add netgroupcache.
30867 (CFLAGS-netgroupcache.c): Define.
30868 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30869 (cache_search): Add const to second parameter.
30870 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30872 (dbs): Add netgrdb entry.
30873 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30874 (verify_persistent_db): Handle netgrdb.
30875 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30876 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30878 (netgroup_response_header): Define.
30879 (innetgroup_response_header): Define.
30880 (datahead): Add netgroup_response_header and innetgroup_response_header
30882 * nscd/nscd.conf: Add entries for netgroup cache.
30883 * nscd/nscd.h (dbtype): Add netgrdb.
30884 (_PATH_NSCD_NETGROUP_DB): Define.
30885 (netgroup_iov_disabled): Declare.
30886 (xmalloc, xcalloc, xrealloc): Move declarations here.
30887 (cache_search): Adjust prototype.
30888 Add netgroup-related prototypes.
30889 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30890 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30891 (__nscd_innetgr): Declare.
30892 * nscd/selinux.c (perms): Use access_vector_t as element type and
30893 add netgroup-related initializers.
30894 * nscd/netgroupcache.c: New file.
30895 * nscd/nscd_netgroup.c: New file.
30896 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30897 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30898 For four parameters use innetgr.
30899 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30900 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30901 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30902 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30904 * nscd/connections.c (register_traced_file): Don't register file
30905 for disabled databases.
30907 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30909 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30911 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30912 from tree and freeing node.
30914 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30916 * nss/nsswitch.c (__nss_database_lookup): Handle
30917 nss_parse_service_list out of memory case.
30919 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30921 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30922 out of memory case.
30924 2011-10-04 Andreas Schwab <schwab@redhat.com>
30926 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30927 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30929 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30930 elf_machine_rela, elf_machine_lazy_rel.
30931 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30932 (ELF_DYNAMIC_DO_REL): Likewise.
30933 (ELF_DYNAMIC_DO_RELA): Likewise.
30934 (ELF_DYNAMIC_RELOCATE): Likewise.
30935 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30936 to ELF_DYNAMIC_DO_REL.
30937 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30938 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30939 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30941 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30942 skip_ifunc, don't call ifunc function if non-zero.
30943 (elf_machine_rela): Likewise.
30944 (elf_machine_lazy_rel): Likewise.
30945 (elf_machine_lazy_rela): Likewise.
30946 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30947 (elf_machine_lazy_rel): Likewise.
30948 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30950 (elf_machine_lazy_rel): Likewise.
30951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30953 (elf_machine_lazy_rel): Likewise.
30954 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30955 (elf_machine_lazy_rel): Likewise.
30956 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30957 (elf_machine_lazy_rel): Likewise.
30958 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30959 (elf_machine_lazy_rel): Likewise.
30960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30961 (elf_machine_lazy_rel): Likewise.
30962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30963 (elf_machine_lazy_rel): Likewise.
30964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30965 (elf_machine_lazy_rel): Likewise.
30967 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30969 * nss/nss_files/files-init.c (_nss_files_init): Use static
30970 initialization for all the *_traced_file variables.
30972 2011-09-28 Andreas Schwab <schwab@redhat.com>
30974 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30976 2011-09-27 Roland McGrath <roland@hack.frob.com>
30979 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30981 2011-09-27 Andreas Schwab <schwab@redhat.com>
30983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30984 Reread the line before reparsing it.
30986 2011-09-26 Andreas Schwab <schwab@redhat.com>
30988 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30990 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30991 Maxim Kuvyrkov <maxim@codesourcery.com>
30992 Joseph Myers <joseph@codesourcery.com>
30994 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30995 if needed for __stack_chk_guard.
30997 2011-09-19 Roland McGrath <roland@hack.frob.com>
30999 * sysdeps/posix/spawni.c (script_execute): Always define it.
31000 It will be optimized away if unused.
31001 (maybe_script_execute): New function.
31002 (__spawni): Call it.
31004 * Makerules: Don't include tls.make.
31005 (config-tls): Always set to thread.
31006 * tls.make.c: File removed.
31008 2011-09-19 Mike Frysinger <vapier@gentoo.org>
31010 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31011 * config.make.in (CPPFLAGS-config): New substituted variable.
31013 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31015 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31018 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31019 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31021 2011-09-15 Roland McGrath <roland@hack.frob.com>
31023 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31024 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31026 (CALL_FAIL): Likewise.
31027 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31028 (CALL_FAIL): Macro removed.
31029 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31031 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31033 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31034 for __FINITE_MATH_ONLY__ == 1.
31036 2011-09-15 Andreas Schwab <schwab@redhat.com>
31038 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31039 __ieee754_sqrt instead of sqrt.
31040 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31041 __ieee754_sqrtf instead of sqrtf.
31042 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31043 __floorf instead of floorf.
31044 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31045 __floorf, __truncf instead of floorf, truncf.
31047 2011-09-14 Ulrich Drepper <drepper@gmail.com>
31049 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31051 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31052 __extern_always_inline.
31053 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31056 2011-09-14 Andreas Schwab <schwab@redhat.com>
31058 * elf/rtld.c (dl_main): Also relocate in dependency order when
31059 doing symbol dependency testing.
31061 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31064 Always define `refsym'.
31066 2011-09-13 Andreas Schwab <schwab@redhat.com>
31068 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31069 (__FD_ELT): Renamed from __FDELT.
31070 * misc/bits/select2.h (__FD_ELT): Likewise.
31071 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31072 __FD_MASK instead of __FDELT, __FDMASK.
31073 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31075 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31078 * elf/Makefile (gen-ldd): Fix pattern.
31080 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31081 (init_tls): Likewise.
31083 2011-09-12 Ulrich Drepper <drepper@gmail.com>
31085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31087 2011-09-12 Andreas Schwab <schwab@redhat.com>
31089 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31090 `struct cmsghdr *' instead of `void *'.
31091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31094 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31096 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31098 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31099 ldd_rewrite_script.
31101 2011-09-11 Ulrich Drepper <drepper@gmail.com>
31103 * configure.in: Remove --with-tls option.
31104 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31105 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31106 out in case it is missing.
31107 * sysdeps/ia64/elf/configure.in: Likewise.
31108 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31109 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31110 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31111 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31112 * sysdeps/sh/elf/configure.in: Likewise.
31113 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31114 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31115 * sysdeps/x86_64/elf/configure.in: Likewise.
31116 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31117 * sysdeps/mach/hurd/tls.h: Likewise.
31120 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31123 * configure.in: Fix use of AC_INIT.
31125 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31127 2011-09-10 Ulrich Drepper <drepper@gmail.com>
31129 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31131 * malloc/hooks.c: Likewise.
31134 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31135 variables statically.
31136 (narenas): Initialize.
31137 (list_lock): Initialize.
31138 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31139 initializtion of main_arena and list_lock. Small cleanups.
31140 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31141 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31142 Add initializers to main_arena and mp_.
31143 (malloc_state): Remove pagesize member. Change all users to use
31146 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31147 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31148 is always initialized.
31150 * malloc/malloc.c: Removed unused configurations and dead code.
31151 * malloc/arena.c: Likewise.
31152 * malloc/hooks.c: Likewise.
31153 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31155 * include/tls.h: Removed. USE___THREAD must always be defined.
31156 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31157 * elf/dl-libc.c: Likewise.
31158 * elf/dl-tsd.c: Likewise.
31159 * include/errno.h: Likewise.
31160 * include/netdb.h: Likewise.
31161 * include/resolv.h: Likewise.
31162 * inet/herrno-loc.c: Likewise.
31163 * inet/herrno.c: Likewise.
31164 * malloc/arena.c: Likewise.
31165 * malloc/hooks.c: Likewise.
31166 * malloc/malloc.c: Likewise.
31167 * resolv/res-state.c: Likewise.
31168 * resolv/res_libc.c: Likewise.
31169 * sysdeps/i386/dl-machine.h: Likewise.
31170 * sysdeps/ia64/dl-machine.h: Likewise.
31171 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31172 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31173 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31174 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31175 * sysdeps/sh/dl-machine.h: Likewise.
31176 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31177 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31178 * sysdeps/unix/i386/sysdep.S: Likewise.
31179 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31180 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31185 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31190 * sysdeps/x86_64/dl-machine.h: Likewise.
31191 * tls.make.c: Likewise.
31193 * configure.in: Remove --with-__thread option. Make tests for
31194 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31195 tls_model attribute fail if no support is available. Remove
31197 * Makeconfig: Adjust for dropped configure option. All features are
31199 * Makerules: Likewise.
31200 * Versions.def: Likewise.
31201 * argp/argp-fmtstream.c: Likewise.
31202 * argp/argp-fmtstream.h: Likewise.
31203 * argp/argp-help.c: Likewise.
31204 * assert/assert.c: Likewise.
31205 * config.h.in: Likewise.
31206 * config.make.in: Likewise.
31207 * configure: Likewise.
31208 * configure.in: Likewise.
31209 * csu/Versions: Likewise.
31210 * csu/init.c: Likewise.
31211 * elf/tst-audit2.c: Likewise.
31212 * elf/tst-tls10.c: Likewise.
31213 * elf/tst-tls10.h: Likewise.
31214 * elf/tst-tls11.c: Likewise.
31215 * elf/tst-tls12.c: Likewise.
31216 * elf/tst-tls14.c: Likewise.
31217 * elf/tst-tlsmod11.c: Likewise.
31218 * elf/tst-tlsmod12.c: Likewise.
31219 * elf/tst-tlsmod13.c: Likewise.
31220 * elf/tst-tlsmod13a.c: Likewise.
31221 * elf/tst-tlsmod14a.c: Likewise.
31222 * elf/tst-tlsmod15b.c: Likewise.
31223 * elf/tst-tlsmod16a.c: Likewise.
31224 * elf/tst-tlsmod16b.c: Likewise.
31225 * elf/tst-tlsmod7.c: Likewise.
31226 * elf/tst-tlsmod8.c: Likewise.
31227 * elf/tst-tlsmod9.c: Likewise.
31228 * gmon/gmon.c: Likewise.
31229 * grp/fgetgrent_r.c: Likewise.
31230 * grp/putgrent.c: Likewise.
31231 * hurd/fopenport.c: Likewise.
31232 * include/libc-symbols.h: Likewise.
31233 * include/tls.h: Likewise.
31234 * intl/gettextP.h: Likewise.
31235 * intl/loadinfo.h: Likewise.
31236 * locale/global-locale.c: Likewise.
31237 * locale/localeinfo.h: Likewise.
31238 * mach/devstream.c: Likewise.
31239 * malloc/arena.c: Likewise.
31240 * malloc/set-freeres.c: Likewise.
31241 * misc/err.c: Likewise.
31242 * misc/getttyent.c: Likewise.
31243 * misc/mntent_r.c: Likewise.
31244 * posix/getopt.c: Likewise.
31245 * posix/wordexp.c: Likewise.
31246 * pwd/fgetpwent_r.c: Likewise.
31247 * resolv/Versions: Likewise.
31248 * resolv/res_hconf.c: Likewise.
31249 * shadow/fgetspent_r.c: Likewise.
31250 * shadow/putspent.c: Likewise.
31251 * stdio-common/printf_fphex.c: Likewise.
31252 * stdio-common/tmpfile.c: Likewise.
31253 * stdlib/abort.c: Likewise.
31254 * stdlib/fmtmsg.c: Likewise.
31255 * sunrpc/auth_unix.c: Likewise.
31256 * sunrpc/clnt_perr.c: Likewise.
31257 * sunrpc/clnt_tcp.c: Likewise.
31258 * sunrpc/clnt_udp.c: Likewise.
31259 * sunrpc/clnt_unix.c: Likewise.
31260 * sunrpc/openchild.c: Likewise.
31261 * sunrpc/svc_simple.c: Likewise.
31262 * sunrpc/svc_tcp.c: Likewise.
31263 * sunrpc/svc_udp.c: Likewise.
31264 * sunrpc/svc_unix.c: Likewise.
31265 * sunrpc/xdr.c: Likewise.
31266 * sunrpc/xdr_array.c: Likewise.
31267 * sunrpc/xdr_rec.c: Likewise.
31268 * sunrpc/xdr_ref.c: Likewise.
31269 * sunrpc/xdr_stdio.c: Likewise.
31271 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31273 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31275 2011-07-03 Andreas Jaeger <aj@suse.de>
31277 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31278 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31279 regenerate with gen-libm-tests.pl.
31281 2010-05-12 Petr Baudis <pasky@suse.cz>
31284 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31285 around j0() zero points by switching to j1().
31286 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31287 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31291 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31293 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31295 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31298 Patch in part by Pavel Roskin <proski@gnu.org>.
31301 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31303 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31304 Free memory block if necessary.
31307 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31308 be NULL. Don't lock in this case.
31310 2011-09-09 Roland McGrath <roland@hack.frob.com>
31312 * elf/elf.h (ELFOSABI_GNU): New macro.
31313 (ELFOSABI_LINUX): Define to that.
31315 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31317 * string/strncat.c (strncat): Undef the symbol in case it has been
31318 defined in bits/string.h.
31320 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31322 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31324 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31327 2011-08-17 Andreas Jaeger <aj@suse.de>
31329 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31331 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31332 Ian Lance Taylor <iant@google.com>
31334 * math/libm-test.inc (lround_test): New testcase.
31335 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31337 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31339 * Makefile: Remove support for automatic cvs check-ins.
31340 * Makerules: Likewise.
31341 * config.make.in: Likewise.
31342 * configure.in: Likewise.
31343 * intl/Makefile: Likewise.
31344 * locale/Makefile: Likewise.
31345 * po/Makefile: Likewise.
31346 * posix/Makefile: Likewise.
31347 * sysdeps/gnu/Makefile: Likewise.
31348 * sysdeps/mach/hurd/Makefile: Likewise.
31349 * sysdeps/sparc/sparc32/Makefile: Likewise.
31352 * posix/Makefile (bug-regex32-ENV): Define.
31353 Patch by John Stanley <jpsinthemix@verizon.net>.
31355 * misc/Makefile (headers): Add bits/select2.h.
31356 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31357 * misc/bits/select2.h: New file.
31358 * include/bits/select2.h: New file.
31359 * debug/Makefile (routines): Add fdelt_chk.
31360 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31361 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31363 * debug/fdelt_chk.c: New file.
31365 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31366 * wcsmbs/test-wmemcmp.c: Likewise.
31367 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31368 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31370 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31372 * string/Makefile (strop-tests): Add memcmp.
31373 * string/test-wmemcmp.c: New file.
31374 * string/test-memcmp.c: Add wmemcmp support.
31376 2011-09-08 Roland McGrath <roland@hack.frob.com>
31379 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31382 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31383 garbage value in a __mach_port_mod_refs call in the cases of the
31384 task-self and thread-self ports.
31386 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31388 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31390 2011-09-08 Andreas Schwab <schwab@redhat.com>
31392 * elf/dl-load.c (lose): Check for non-null L.
31394 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31396 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31398 * elf/dl-libc.c (dlerror_run): Pass back error code from
31402 * elf/dl-load.c (lose): Free l_origin if it is valid.
31404 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31406 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31407 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31409 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31410 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31411 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31413 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31415 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31416 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31417 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31418 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31419 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31420 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31421 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31422 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31423 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31424 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31426 2011-08-15 Alan Modra <amodra@gmail.com>
31429 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31430 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31431 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31432 ppc_mcount to static-only-routines.
31433 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31435 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31436 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31438 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31440 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31441 for finite and infinity parameters.
31443 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31446 and add nop instructions for throughput optimization.
31447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31449 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31451 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31452 aligned copy for power7 with vector-scalar instructions.
31453 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31455 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31460 2011-09-07 Andreas Schwab <schwab@redhat.com>
31463 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31466 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31468 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31469 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31470 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31474 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31477 Forgot to demangle the pointer.
31479 * sysdeps/i386/sysdep.h: Define atom_text_section.
31480 * sysdeps/x86_64/sysdep.h: Likewise.
31481 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31482 section with atom_text_section.
31483 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31485 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31489 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31490 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31491 already be defined. Change to take two parameters and don't assign
31492 result to variable. Adjust all users.
31493 Define INTERNAL_GETTIME if not already defined.
31494 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31497 HAVE_CLOCK_GETTIME_VSYSCALL.
31498 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31501 gettimeofday vsyscall, just use time.
31503 2011-09-06 Andreas Schwab <schwab@redhat.com>
31505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31508 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31510 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31514 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31515 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31516 syscall if possible.
31518 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31520 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31521 e_ident. Don't pass to find_mapsXX.
31522 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31524 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31527 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31528 * sysdeps/x86_64/multiarch/strchr.S: Update.
31529 Check bit_slow_BSF bit.
31530 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31531 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31532 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31534 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31537 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31539 (tryshell): Define.
31540 (__spawni): Change last parameter to be flag. Test
31541 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31542 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31543 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31544 * posix/spawni.c: Likewise.
31545 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31546 * posix/spawnp.c: Likewise. Change normal version to use
31547 SPAWN_XFLAGS_USE_PATH.
31548 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31549 SPAWN_XFLAGS_TRY_SHELL.
31552 * posix/glob.h: Remove gcc 1.x support.
31555 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31557 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31560 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31562 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31563 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31564 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31565 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31566 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31567 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31569 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31571 * sysdeps/x86_64/wcscmp.S: New file.
31573 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31574 wcscmp-c wcscmp-sse2
31575 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31576 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31577 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31578 * wcsmbs/wcscmp.c: Allow renaming.
31580 2011-09-05 David S. Miller <davem@davemloft.net>
31582 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31583 stack slot, rather than the struct return pointer slot.
31584 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31585 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31587 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31589 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31591 * po/ja.po: Update from translation team.
31594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31595 kernel in 64-bit binaries.
31597 2011-09-01 David S. Miller <davem@davemloft.net>
31599 * elf/elf.h (HWCAP_SPARC_*): Move to..
31600 * sysdeps/sparc/sysdep.h: this new file and add new values.
31601 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31602 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31603 _DL_HWCAP_COUNT to 24.
31604 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31606 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31607 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31608 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31610 instead of magic constants.
31611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31613 2011-08-31 David S. Miller <davem@davemloft.net>
31615 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31617 Reimplement to do errno handling inline.
31618 (SYSCALL_ERROR_HANDLER): New macro.
31619 (__SYSCALL_STRING): Do not do errno handling in asm.
31620 (__CLONE_SYSCALL_STRING): Delete.
31621 (__INTERNAL_SYSCALL_STRING): Delete.
31622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31623 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31624 (PSEUDO): Reimplement to do errno handling inline.
31625 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31626 (SYSCALL_ERROR_HANDLER): New macro.
31627 (__SYSCALL_STRING): Do not do errno handling in asm.
31628 (__CLONE_SYSCALL_STRING): Delete.
31629 (__INTERNAL_SYSCALL_STRING): Delete.
31630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31631 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31633 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31634 (inline_syscall*): Add 'err' argument.
31635 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31636 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31637 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31638 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31640 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31641 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31643 2011-08-30 Andreas Schwab <schwab@redhat.com>
31645 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31647 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31649 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31652 2011-08-24 David S. Miller <davem@davemloft.net>
31654 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31656 2011-08-24 Andreas Schwab <schwab@redhat.com>
31658 * elf/Makefile: Add rules to build and run unload8 test.
31659 * elf/unload8.c: New file.
31660 * elf/unload8mod1.c: New file.
31661 * elf/unload8mod1x.c: New file.
31662 * elf/unload8mod2.c: New file.
31663 * elf/unload8mod3.c: New file.
31665 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31668 2011-08-23 David S. Miller <davem@davemloft.net>
31670 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31671 subtract stack bias.
31672 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31673 %sp not %fp in calculations.
31674 (_JMPBUF_UNWINDS_ADJ): Likewise.
31676 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31677 (aio_suspend): Call it to force an exception region around the
31678 AIO_MISC_WAIT() invocation.
31680 2011-08-23 Andreas Schwab <schwab@redhat.com>
31682 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31685 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31687 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31689 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31690 and <dl-machine.h>.
31691 (Elf64_FuncDesc): Remove.
31693 2011-08-22 David S. Miller <davem@davemloft.net>
31695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31696 sigaltstack check, add missing cfi directives.
31697 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31698 missing cfi directives, and sigaltstack handling.
31700 2011-08-16 Andreas Schwab <schwab@redhat.com>
31703 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31704 object is seen twice.
31705 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31707 * elf/Makefile (distribute): Add tst-initorder2.c.
31708 (tests): Add tst-initorder2.
31709 (modules-names): Add tst-initorder2a tst-initorder2b
31710 tst-initorder2c tst-initorder2d. Add rules to build them.
31711 ($(objpfx)tst-initorder2.out): New rule.
31712 * elf/tst-initorder2.c: New file.
31713 * elf/tst-initorder2.exp: New file.
31715 2011-08-22 Andreas Schwab <schwab@redhat.com>
31717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31719 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31720 dependencies back to end of function.
31722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31723 $(elfobjdir)/ld.so.
31725 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31728 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31730 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31731 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31732 of __vdso_gettimeofday.
31733 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31734 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31736 (_libc_vdso_platform_setup): Remove initialization of
31737 __vdso_gettimeofday and __vdso_time.
31739 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31741 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31742 and fgetc_unlocked.
31743 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31746 * elf/dl-open.c (add_to_global): Report additions to the global scope
31747 for LD_DEBUG=scopes.
31748 (dl_open_worker): Also print scope of newly loaded dependencies.
31749 (_dl_show_scope): Indicate if there is no scope.
31752 * stdio-common/Makefile (tests): Add bug24.
31753 * stdio-common/bug24.c: New file.
31755 2011-08-19 Andreas Jaeger <aj@suse.de>
31758 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31759 non-existant file when using close-on-exec mode.
31761 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31764 the very first instruction.
31766 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31767 the CFI state in the end.
31768 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31769 inclusion of dl-trampoline.h.
31770 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31772 2011-08-19 Andreas Schwab <schwab@redhat.com>
31774 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31775 expectations for long double.
31777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31778 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31780 2011-08-14 David S. Miller <davem@davemloft.net>
31782 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31783 artificual limit depends upon the system page size.
31785 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31787 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31788 * resolv/Makefile: Define CFLAGS-libresolv.
31790 2011-08-17 Andreas Schwab <schwab@redhat.com>
31792 * nss/makedb.c (compute_tables): Make variables used in nested
31795 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31797 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31798 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31799 if buffer was too small.
31801 * elf/pldd.c (main): Attach to all threads in the process.
31802 Rewrite /proc handling to use *at functions.
31804 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31806 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31807 specifies first scope to show.
31808 (dl_open_worker): Update callers. Move printing scope of new
31809 object to before the relocation.
31810 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31811 * sysdeps/generic/ldsodefs.h: Update declaration.
31813 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31814 string for the scope number.
31816 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31818 * nscd/servicescache.c (cache_addserv): Make sure written is always
31821 2011-08-14 Roland McGrath <roland@hack.frob.com>
31823 * sysdeps/i386/i486/bits/atomic.h
31824 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31825 statement expression, so as to suppress "set but not used" warning.
31826 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31828 * string/strncat.c (STRNCAT): Use prototype definition.
31830 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31831 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31833 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31834 (localedef-modules): Add localedef.
31835 (locale-modules): Add locale.
31837 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31838 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31839 to avoid a warning.
31841 2011-08-14 David S. Miller <davem@davemloft.net>
31843 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31844 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31846 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31848 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31849 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31850 * elf/rtld.c (dl_main): Set l_name of vDSO.
31851 Call _dl_show_scope when DL_DEBUG_SCOPES.
31852 (process_dl_debug): Recognize scopes flag and also set it for all.
31853 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31854 Declare _dl_show_scope.
31856 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31857 (do_dlopen): Pass caller_dlopen to dl_open.
31858 (__libc_dlopen_mode): Initialize caller_dlopen.
31860 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31861 of libc. Make tolower call locale-independent. Optimize a bit by
31862 using isdigit instead of isalnum.
31863 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31865 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31867 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31868 was a dependency or dynamically loaded.
31870 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31872 * intl/l10nflist.c: Allow architecture-specific pop function.
31873 * sysdeps/x86_64/l10nflist.c: New file.
31875 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31878 2011-08-10 Andreas Schwab <schwab@redhat.com>
31880 * include/dirent.h: Add libc_hidden_proto for scandirat and
31881 scandirat64. Don't declare __scandirat64.
31882 * dirent/scandirat.c: Add libc_hidden_def.
31883 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31884 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31886 2011-08-10 David S. Miller <davem@davemloft.net>
31888 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31892 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31894 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31896 * Versions.def [libc]: Add GLIBC_2.15.
31897 * dirent/Makefile (routines): Add scandirat and scandirat64.
31898 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31900 * dirent/dirent.h: Declare scandirat and scandirat64.
31901 * dirent/scandirat.c: New file.
31902 * dirent/scandirat64.c: New file.
31903 * sysdeps/wordsize-64/scandirat.c: New file.
31904 * sysdeps/wordsize-64/scandirat64.c: New file.
31905 * dirent/opendir.c: Define opendirat.
31906 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31908 * dirent/scandir64.c: Adjust for scandir.c change.
31909 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31910 __scandirat64, and __scandir_cancel_handler.
31911 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31912 additional parameter and use openat instead of open (outside of ld.so).
31913 Add new __opendir as wrapper around __opendirat.
31914 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31915 here without requiring old scandirat implementation.
31917 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31919 * dirent/scandir.c (cancel_handler): Renamed to
31920 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31921 defined. Adjust users.
31922 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31923 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31925 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31927 * string/test-string.h (IMPL): Use __STRING to expand name and then
31930 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31933 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31935 * string/Makefile: Update.
31936 (strop-tests): Append strncat.
31937 * string/test-wcscmp.c: New file.
31938 New comprehensive test for wcscmp.
31939 * string/test-strcmp.c: Update.
31940 (WIDE): New define.
31942 2011-07-22 Andreas Schwab <schwab@redhat.com>
31944 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31947 2011-07-26 Andreas Schwab <schwab@redhat.com>
31949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31950 encoding to ACE if AI_IDN.
31952 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31955 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31957 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31960 Fix overflow bug in strncat.
31961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31963 * string/test-strncat.c: Update.
31964 Add new tests for checking overflow bugs.
31966 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31969 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31970 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31971 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31972 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31973 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31974 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31975 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31976 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31979 (USE_AS_STRCAT): Define.
31980 Add strcat and strncat support.
31981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31983 2011-07-25 Andreas Schwab <schwab@redhat.com>
31985 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31986 __n bigger than INT_MAX+1.
31987 (__strncmp_g): Likewise.
31989 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31991 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31992 * libio/stido.h: Likewise.
31994 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31999 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32002 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32006 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32011 (_dl_x86_64_save_sse): Likewise.
32013 2011-07-22 Ulrich Drepper <drepper@gmail.com>
32015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32017 (_dl_x86_64_save_sse): Likewise.
32019 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32021 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32023 2011-07-21 Andreas Schwab <schwab@redhat.com>
32025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32027 (_dl_x86_64_save_sse): Use correct AVX check.
32029 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32032 bug in strncpy/strncat.
32033 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32035 2011-07-21 Ulrich Drepper <drepper@gmail.com>
32037 * string/tester.c (test_strcat): Add tests for different alignments
32038 of source and destination.
32039 (test_strncat): Likewise.
32041 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32044 * posix/glob.c (glob): Check passed in values before using them in
32045 expressions to avoid some overflows.
32046 (glob_in_dir): Likewise.
32049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32050 check for AVX enablement so that we don't crash with old kernels and
32052 * elf/tst-audit4.c: Add same checks here.
32053 * elf/tst-audit6.c: Likewise.
32055 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32057 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32059 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32061 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32063 * po/cs.po: Update from translation team.
32064 * po/bg.po: Likewise.
32066 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32068 * misc/sys/cdefs.h: Add support for const attribute.
32069 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32070 to gnu_dev_{major,minor,makedev} functions.
32072 2011-07-20 Marek Polacek <mpolacek@redhat.com>
32074 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32076 2011-07-20 Andreas Schwab <schwab@redhat.com>
32078 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32081 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32084 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32085 register in order to avoid conflicts with the soft frame pointer
32086 being held in r11 when necessary.
32087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32088 (INTERNAL_VSYSCALL_NCS): Likewise.
32090 2011-07-14 Marek Polacek <mpolacek@redhat.com>
32092 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32093 * elf/dl-fini.c (_dl_fini): Adjust caller.
32094 * elf/dl-close.c (_dl_close_worker): Likewise.
32095 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32097 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32099 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32100 "aux_cache->nlibs < 0".
32102 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32103 in the reload-count case.
32105 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32108 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32109 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32110 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32111 * sysdeps/x86_64/multiarch/strcat.S: New file.
32112 * sysdeps/x86_64/multiarch/strncat.S: New file.
32113 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32114 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32115 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32116 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32118 (USE_AS_STRCAT): Define.
32119 Add strcat and strncat support.
32120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32121 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32122 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32123 * string/strncat.c: Update.
32124 (USE_AS_STRNCAT): Define.
32125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32126 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32128 * sysdeps/x86_64/multiarch/init-arch.h
32129 (bit_Prefer_PMINUB_for_stringop): New.
32130 (index_Prefer_PMINUB_for_stringop): Likewise.
32131 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32132 bit_Prefer_PMINUB_for_stringop.
32134 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32136 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32138 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32139 of casting of buffer.
32140 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32141 buffer32 and buffer64.
32142 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32143 writes instead of casting of buffer.
32144 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32146 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32149 2011-07-19 Andreas Schwab <schwab@redhat.com>
32151 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32153 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32155 * nscd/nscd.c (termination_handler): Don't do anything for a database
32156 if it has not yet been initialized.
32158 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32160 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32162 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32164 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32166 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32168 * po/nl.po: Update from translation team.
32169 * po/sv.po: Likewise.
32171 2011-07-16 Roland McGrath <roland@hack.frob.com>
32173 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32174 now disallowed by GCC.
32176 * configure.in (use-default-link): Default to yes if a test -shared
32177 link meets our qualifications.
32178 * configure: Regenerated.
32180 * config.make.in (output-format): New variable.
32181 * configure.in: Check for ld --print-output-format support.
32182 * configure: Regenerated.
32183 * Makerules ($(common-objpfx)format.lds)
32184 [$(output-format) != unknown]: Just use $(output-format),
32185 instead of the linker-script munging.
32187 2011-07-14 Roland McGrath <roland@hack.frob.com>
32189 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32190 of $(common-objpfx)shlib.lds.
32191 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32193 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32194 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32196 * configure.in (-z relro check): Adjust test code to add a large
32197 writable data section after it.
32198 * configure: Regenerated.
32200 2011-07-11 Roland McGrath <roland@hack.frob.com>
32202 * configure.in (-z relro check): Fix test code to make the variable
32204 * configure: Regenerated.
32206 2011-07-11 Ulrich Drepper <drepper@gmail.com>
32208 * nscd/nscd.h (struct traced_file): Define.
32209 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32210 elements. Add traced_files.
32211 (inotify_fd): Declare.
32212 (register_traced_file): Declare.
32213 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32214 (inotify_fd): Export.
32215 (resolv_conf_descr): Remove.
32216 (nscd_init): Move inotify descriptor creation to main.
32217 Don't register files for notification here.
32218 (register_traced_file): New function.
32219 (invalidate_cache): Don't use reset_res to determine whether to call
32220 res_init, go through the list of registered files.
32221 (main_loop_poll): The inotify descriptors are now stored in the
32222 structures for the traced files.
32223 (main_loop_epoll): Likewise
32224 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32225 to __nss_disable_nscd.
32226 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32227 for a database anymore. Check the records for all the registered
32229 * nss/Makefile (libnss_files-routines): Add files-init.
32230 (libnss_db-routines): Add db-init.
32231 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32232 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32233 * nss/nss_db/db-init.c: New file.
32234 * nss/nss_files/files-init.c: New file.
32235 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32236 __nss_lookup_function.
32237 (__nss_lookup_function): Call nss_load_library.
32238 (nss_load_all_libraries): New function.
32239 (__nss_disable_nscd): Take parameter with callback function for files
32240 to register. Set is_nscd. Load all the DSOs for the NSS modules
32241 used for the cached services.
32242 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32243 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32244 options for features to all the files in nscd.
32246 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32248 2011-07-10 Roland McGrath <roland@hack.frob.com>
32250 * csu/elf-init.c (__libc_csu_init): Comment typo.
32252 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32254 * po/pl.po: Update from translation team.
32255 * po/ja.po: Likewise.
32256 * po/ru.po: Likewise.
32257 * po/ko.po: Likewise.
32258 * po/fr.po: Likewise.
32260 2011-07-09 Roland McGrath <roland@hack.frob.com>
32262 * configure.in (.ctors/.dtors header and trailer check):
32263 Use an empirical test on a built program.
32264 * configure: Regenerated.
32266 * configure.in (-z relro check): Use an empirical test on a built DSO.
32267 Detect, but do not require, on ia64.
32268 * configure: Regenerated.
32270 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32271 Update tests that use readelf to use $READELF instead.
32272 * configure: Regenerated.
32274 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32276 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32277 if the result is not used.
32279 2011-07-05 Andreas Jaeger <aj@suse.de>
32282 * stdlib/tst-strtod.c: Add testcase.
32284 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32286 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32287 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32288 The latter has a higher limit. Take additional parameter to pass to
32290 (__pathconf): Pass file to __statfs_link_max.
32291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32293 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32297 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32298 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32301 (__statfs_filesize_max): Likewise.
32302 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32304 2011-07-05 Andreas Jaeger <aj@suse.de>
32306 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32308 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32310 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32312 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32315 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32317 * Makefile (strop-tests): Add strncat.
32318 * string/test-strncat.c: New file.
32320 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32322 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32324 2011-06-21 Andreas Jaeger <aj@suse.de>
32326 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32327 Copy rule from iconvdata/Makefile.
32329 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32332 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32333 but no long options are defined, just return 'W'.
32335 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32338 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32340 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32342 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32344 (innetgr): Likewise.
32346 2011-07-05 Roland McGrath <roland@hack.frob.com>
32348 * config.make.in (install_root): Default to $(DESTDIR).
32350 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32354 2011-07-02 Roland McGrath <roland@hack.frob.com>
32356 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32358 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32359 containing directory rather than embedding absolute directory names.
32361 * scripts/check-local-headers.sh: Rewritten using awk.
32362 Match by word, not by line. Print error messages for matches.
32363 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32365 * Makerules [shlib-lds-flags empty]:
32366 ($(common-objpfx)libc_pic.opts): New target.
32367 ($(common-objpfx)libc_pic.os.clean): New target.
32368 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32370 * config.make.in (OBJCOPY): New variable.
32371 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32372 * configure: Regenerated.
32374 * config.make.in (use-default-link): New variable.
32375 * configure.in (use_default_link): Grok --with-default-link to set it.
32376 * configure: Regenerated.
32377 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32378 (shlib-lds, shlib-lds-flags): Define to empty.
32380 * Makerules (shlib-lds): New variable.
32381 (shlib-lds-flags): New variable.
32382 (build-shlib, build-moduile, build-module-asneeded): Use it.
32383 ($(common-objpfx)libc.so): Use $(shlib-lds).
32384 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32385 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32387 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32388 DT_FLAGS/DT_FLAGS_1 with zero flags.
32390 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32391 linker script munging.
32393 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32395 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32397 * crypt/sha512.c (sha512_process_block): Perform total addition using
32398 128-bit if possible.
32399 (__sha512_finish_ctx): Likewise.
32400 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32402 * crypt/sha256.c (SWAP64): Define.
32403 (sha256_process_block): Perform total addition using 64-bit if
32405 (__sha256_finish_ctx): Likewise.
32407 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32409 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32411 * nscd/hstcache.c (cache_addhst): Likewise.
32412 * nscd/grpcache.c (cache_addgr): Likewise.
32413 * nscd/aicache.c (addhstaiX): Likewise
32414 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32416 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
32418 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32419 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32420 * nscd/hstcache.c (cache_addhst): Likewise.
32421 * nscd/grpcache.c (cache_addgr): Likewise.
32422 * nscd/aicache.c (addhstaiX): Likewise
32424 2011-07-01 Andreas Schwab <schwab@redhat.com>
32426 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32427 domain only when needed.
32429 2011-06-30 Andreas Schwab <schwab@redhat.com>
32431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32432 is always restored.
32434 2011-06-29 Ulrich Drepper <drepper@gmail.com>
32436 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32437 are re-adding the entry.
32438 * nscd/servicescache.c (cache_addserv): Likewise.
32440 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32442 * sysdeps/generic/dl-irel.h: fix protection against multiple
32444 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32446 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32449 * malloc/memusage.sh: Fix quoting in message.
32450 * debug/xtrace.sh: Likewise.
32452 * configure.in: Remove support for --experimental-malloc option, make
32454 * config.make.in: Likewise.
32455 * malloc/Makefile: Likewise.
32457 2011-06-27 Andreas Schwab <schwab@redhat.com>
32459 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32460 two-byte characters.
32462 2011-06-27 Roland McGrath <roland@hack.frob.com>
32464 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32465 AC_CACHE_CHECK invocation.
32466 * configure: Regenerated.
32468 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32470 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32473 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32474 bit from old_res_options.
32476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32478 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32479 value type for setfct.
32481 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32484 __gettimeofday instead of gettimeofday.
32486 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32488 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32490 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32497 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32500 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32501 strcpy-sse2-unaligned strncpy-sse2-unaligned
32502 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32503 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32504 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32505 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32506 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32507 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32509 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32510 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32511 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32512 (STRCPY): Support SSE2 and SSSE3 versions.
32514 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32517 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32518 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32519 kernels which artificially limit size of requests.
32521 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32524 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32525 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32526 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32527 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32528 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32529 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32530 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32533 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32534 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32535 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32536 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32537 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32539 Enable unaligned load optimization for Intel Core i3, i5 and i7
32541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32543 (index_Fast_Unaligned_Load): Define.
32544 (HAS_FAST_UNALIGNED_LOAD): Define.
32546 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32548 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32550 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32553 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32554 until it is clear that the information is realy needed.
32555 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32557 2011-06-22 Andreas Schwab <schwab@redhat.com>
32559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32561 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32564 /sys/devices/system/cpu/online if it is usable.
32566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32567 reading the information from the /proc filesystem to once a second.
32569 2011-06-21 Andreas Jaeger <aj@suse.de>
32571 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32572 NULL after inclusion of kernel headers.
32574 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32576 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32577 calls to internal_setent.
32580 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32581 addresses using gethostbyname4_r ignore IPv4 addresses.
32583 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32584 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32586 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32588 2011-06-20 David S. Miller <davem@davemloft.net>
32590 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32592 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32594 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32595 (elf_irel): Use it.
32596 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32597 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32598 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32599 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32600 * sysdeps/x86_64/dl-irel.h: Likewise.
32602 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32603 * elf/dl-sym.c: Likewise.
32605 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32607 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32608 need to dereference resplen2.
32610 2011-06-14 Andreas Schwab <schwab@redhat.com>
32612 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32614 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32616 * Makeconfig: Define vardbdir and inst_vardbdir.
32617 * nss/Makefile: Add rules to install db-Makefile.
32619 * nss/nss_db/db-XXX.c: Cleanup.
32621 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32622 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32624 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32625 * nss/makedb.c: Implement -g option to specify that value strings
32626 are generated and should not be added to table iterated over for
32628 * nss/nss_db/db-initgroups.c: New file.
32630 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32633 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32634 (internal_getgrouplist): Adjust to name change.
32635 Update use_initgroups_entry if this is not the first call.
32636 * nss/databases.def: Add initgroups entry.
32638 * nss/makedb.c (compute_tables): Check result of multiple hash table
32639 sizes to minimize maximum chain length.
32641 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32643 * Versions.def: Add entry for libnss_db.
32644 * shlib-versions: Likewise.
32645 * nss/Makefile: Add rules to build libnss_db.
32646 * nss/Versions: Add libnss_db information. Organize libnss_files
32648 * nss/db-Makefile: Add gshadow support. Change rules for the new
32649 makedb progra. Some minor improvements to generate smaller files.
32650 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32652 * nss/makedb.c: ...here.
32653 Improve database format to be smaller and require less memory at
32655 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32657 * nss/nss_db/db-netgrp.c: Likewise.
32658 * nss/nss_db/db-open.c: Likewise.
32659 * nss/nss_files/flies-XXX.x: Adjust comments.
32660 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32661 * nss/nss_files/files-grp.c: Likewise.
32662 * nss/nss_files/files-hosts.c: Likewise.
32663 * nss/nss_files/files-network.c: Likewise.
32664 * nss/nss_files/files-proto.c: Likewise.
32665 * nss/nss_files/files-pwd.c: Likewise.
32666 * nss/nss_files/files-rpc.c: Likewise.
32667 * nss/nss_files/files-service.c: Likewise.
32668 * nss/nss_files/files-sgrp.c: Likewise.
32669 * nss/nss_files/files-spwd.c: Likewise.
32670 * nss/nss_db/db-alias.c: Removed.
32671 * nss/nss_db/dummy-db.h: Removed.
32673 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32675 * nss/makedb.c: Rewritten to not use database library.
32676 * nss/Makefile: Update to build new makedb program.
32678 2011-06-14 Andreas Jaeger <aj@suse.de>
32680 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32681 memset declaration.
32683 2011-06-10 Andreas Schwab <schwab@redhat.com>
32685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32688 2011-06-10 Roland McGrath <roland@hack.frob.com>
32690 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32691 * elf/Makefile ($(objpfx)ld.so): Likewise.
32693 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32694 Don't list ld.so twice in dependencies.
32696 * posix/bug-regex31.c: Include <stdlib.h>.
32698 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32700 * nis/nss_compat/compat-spwd.c
32701 (getspent_next_nss_netgr): Remove unused variable.
32702 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32704 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32705 nonmembers" output to use the right array.
32707 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32709 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32711 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32712 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32713 * catgets/gencat.c (read_input_file): Likewise.
32714 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32716 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32717 variable definition inside #if's controlling its use.
32719 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32721 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32723 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32725 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32728 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32730 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32731 * configure: Regenerated.
32733 * Makerules: Revert last change.
32734 * elf/Makefile: Likewise.
32736 2011-06-09 Roland McGrath <roland@hack.frob.com>
32738 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32739 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32740 (reloc-link): Likewise.
32742 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32744 * elf/Makefile: Add rules to build pldd.
32745 * elf/pldd.c: New file.
32746 * elf/pldd-xx.c: New file.
32748 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32750 * version.h: Update for 2.15 development version.
32752 2011-06-07 David S. Miller <davem@davemloft.net>
32754 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32756 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32757 elf_machine_lazy_rel): Likewise.
32758 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32760 elf_machine_lazy_rel): Likewise.
32761 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32762 dl_hwcap via passed in argument.
32763 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32766 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32768 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32770 2011-06-06 Roland McGrath <roland@hack.frob.com>
32773 * manual/fdl-1.1.texi: New file, verbatim from:
32774 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32775 * manual/lgpl-2.1.texi: New file, verbatim from:
32776 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32777 * manual/Makefile (licenses): New variable, list those new file names.
32779 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32781 * manual/fdl.texi: File removed.
32782 * manual/lesser.texi: File removed.
32783 * manual/libc.texinfo (Copying, Documentation License):
32784 Use new @include file names, put @appendix directive before @include.
32786 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32789 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32790 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32791 (mq_open): Add __NTH.
32793 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32796 Assume Intel Core i3/i5/i7 processor if AVX is available.
32798 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32803 2011-05-31 Andreas Schwab <schwab@redhat.com>
32805 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32806 memory. Use alloca_account. Fix memory leak when retrying.
32808 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32810 * version.h (RELEASE): Bump for 2.14 release.
32811 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32813 * config.make.in (RANLIB): Remove entry.
32815 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32817 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32818 (libc.pot): Work around missing support for .ksh extension in xgettext.
32821 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32822 if both request failed.
32823 (send_dg): In case of server errors clear resplen or *resplen2.
32826 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32827 when there are multiple maps.
32828 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32829 (_dl_fini): Remove test here.
32831 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32833 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32836 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32837 bit from old_res_options.
32838 (gaih_inet): Likewise.
32841 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32844 * resolv/res_init.c (res_setoptions): Make the code more compact.
32847 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32851 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32853 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32856 * malloc/malloc.h: Declare malloc hook variables as volatile.
32858 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32862 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32863 raise in the comment.
32864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32866 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32868 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32871 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32872 grow the buffers more if it already has to be sufficient.
32873 (build_wcs_upper_buffer): Likewise.
32874 * posix/regexec.c (check_matching): Likewise.
32875 (clean_state_log_if_needed): Likewise.
32876 (extend_buffers): Don't enlarge buffers beyond size of the input
32878 Patches mostly by Emil Wojak <emil@wojak.eu>.
32879 * posix/bug-regex32.c: New file.
32880 * posix/Makefile (tests): Add bug-regex32.
32882 * locale/findlocale.c (_nl_find_locale): Return right away if
32883 _nl_explode_name failed.
32884 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32886 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32888 * debug/xtrace.sh: Unify messages.
32889 * malloc/memusage.sh: Likewise.
32892 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32893 time symbol from vDSO. Substitute with vsyscall if not available.
32894 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32897 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32898 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32900 Add sendmmsg and internal_sendmmsg.
32901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32903 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32905 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32906 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32909 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32912 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32913 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32915 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32919 * iconvdata/Makefile (tests): Add bug-iconv9.
32920 * iconvdata/bug-iconv9.c: New file.
32922 2011-05-27 Andreas Schwab <schwab@redhat.com>
32925 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32927 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32930 (struct user_regs_struct): Change intcs field back to cs.
32932 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32934 * po/ja.po: Update from translation team.
32936 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32939 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32940 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32942 2011-05-20 Andreas Schwab <schwab@redhat.com>
32944 * stdlib/longlong.h: Update from GCC.
32946 2011-05-23 Andreas Schwab <schwab@redhat.com>
32948 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32950 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32951 Add parameter name.
32952 (__sysconf): Pass it down.
32954 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32957 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32960 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32961 add in in __libc_use_alloca calls. Adjust callers.
32962 (glob): Use malloc in some situations.
32964 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32965 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32968 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32970 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32971 and CLOCK_BOOTTIME_ALARM.
32974 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32977 * string/_strerror.c (__strerror_r): Print negative errors as signed
32981 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32982 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32983 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32985 * configure.in: Fix typo in redirection and correct removal of test
32986 files in two cases.
32989 * locale/setlocale.c (new_composite_name): Fix test to check for
32990 identical name of all categories.
32993 * libio/filedoalloc.c (local_isatty): New function.
32994 (_IO_file_doallocate): Use local_isatty.
32995 * stdio-common/perror.c (perror): In case a new stream is used
32996 forward the stream error.
32997 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33000 2011-05-20 Ulrich Drepper <drepper@gmail.com>
33003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33005 * include/alloca.h (extend_alloca_account): Define.
33008 * posix/regex.h: Fix comments with documentation of user-accessible
33009 fields after compilation and describe correct free'ing of pattern
33010 after re_compile_pattern.
33011 Patch by Reuben Thomas <rrt@sc3d.org>.
33013 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33015 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33016 and -mno-altivec to prevent the compiler from using Altivec and/or
33017 VSX instructions when the corresponding registers are not available.
33019 2011-05-19 Andreas Schwab <schwab@redhat.com>
33021 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33023 2011-05-19 Ulrich Drepper <drepper@gmail.com>
33025 * libio/freopen.c (freopen): Use __dup2, not dup2.
33026 * libio/freopen64.c (freopen64): Likewise.
33028 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33031 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33032 * math/Makefile (tests): Add test-powl.
33033 (CFLAGS-test-powl.c): Define.
33034 * math/test-powl.c: New file.
33036 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33038 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33040 2011-05-17 Ulrich Drepper <drepper@gmail.com>
33043 * iconvdata/gb18030.c: Update to GB18020-2005.
33045 2011-05-16 Ulrich Drepper <drepper@gmail.com>
33047 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33048 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33049 Patch by Aharon Robbins <arnold@skeeve.com>.
33052 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33056 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33057 through underflows.
33060 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33061 point to strings before performing equality test for error_one_per_line
33065 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33068 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33069 (struct user_fpregs_struct): Avoid __uint*_t types.
33072 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33073 symbol info. Use it instead of calling _dl_addr locally.
33074 (lock_and_info): New function.
33075 (tr_freehook): Call lock_and_info and pass symbol info as additional
33076 parameter to tr_where.
33077 (tr_mallochook): Likewise.
33078 (tr_reallochook): Likewise.
33079 (tr_memalignhook): Likewise.
33081 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33082 used and couldn't be at all thread-safe.
33084 2011-05-15 Ulrich Drepper <drepper@gmail.com>
33086 * libio/freopen.c (freopen): Don't close old file descriptor
33087 before the new one is opened. Instead dup the new file descriptor
33088 to the old one after the new stream is created.
33089 * libio/freopen64.c (freopen64): Likewise.
33090 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33091 * libio/fileops.c (_IO_new_file_close_it): Handle new
33092 _IO_FLAGS2_NOCLOSE flag.
33093 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33094 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33095 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33096 _IO_FLAGS2_NOCLOSE flag.
33097 * include/unistd.h: Add hidden_proto for dup3.
33098 Define __have_dup3.
33099 * io/dup3.c: Define hidden symbol.
33100 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33103 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33104 when an incomplete long option is used.
33105 * posix/tst-getopt_long1.c: New file.
33106 * posix/Makefile (tests): Add tst-getopt_long1.
33109 * scripts/config.guess: Update from autoconf-2.68.
33110 * scripts/config.sub: Likewise.
33113 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33115 (has_cpuclock): ...this. New function.
33116 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33117 macro here based on has_cpuclock code.
33120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33121 First byte (not low byte) is now always NUL.
33122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33125 Use non-cancelable interfaces.
33128 * locale/iso-639.def: Add entry for Sorani.
33131 * include/stdlib.h: Move include protection to the right place.
33132 Define abort_msg_s. Declare __abort_msg with it.
33133 * stdlib/abort.c (__abort_msg): Adjust type.
33134 * assert/assert.c (__assert_fail_base): New function. Majority
33135 of code from __assert_fail. Allocate memory for __abort_msg with
33137 (__assert_fail): Now call __assert_fail_base.
33138 * assert/assert-perr.c: Remove bulk of implementation. Use
33139 __assert_fail_base.
33140 * include/assert.hL Declare __assert_fail_base.
33141 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33143 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33145 2011-05-14 Ulrich Drepper <drepper@gmail.com>
33149 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33150 until all modules are registered in the DTV.
33151 * elf/Makefile: Add rules to build and run tst-tls19.
33152 * elf/tst-tls19.c: New file.
33153 * elf/tst-tls19mod1.c: New file.
33154 * elf/tst-tls19mod2.c: New file.
33155 * elf/tst-tls19mod3.c: New file.
33156 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33159 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33163 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33164 two-byte sequence errors.
33165 * iconvdata/Makefile (tests): Add bug-iconv8.
33166 * iconvdata/bug-iconv8.c: New file.
33169 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33172 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33175 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33176 (dummy_getcfa): New function.
33177 (init): Get _Unwind_GetCFA address, use dummy if not found.
33178 (backtrace_helper): In recursion check, also check whether CFA changes.
33179 (__backtrace): Completely initialize arg.
33181 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33182 storing incomplete byte sequence in state object. Avoid testing for
33183 guaranteed too small input if we know there is enough data available.
33185 2011-05-11 Andreas Schwab <schwab@redhat.com>
33187 * Makeconfig (+link-pie): Indent.
33188 * Rules (binaries-pie): Define if $(have-fpie) and
33190 (binaries-shared): Also filter out $(binaries-pie).
33191 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33192 * nscd/Makefile (others-pie): Add nscd.
33193 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33194 ($(objpfx)nscd): Remove command override.
33195 * login/Makefile (others-pie): Add pt_chown.
33196 ($(objpfx)pt_chown): Remove command override.
33197 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33198 remove command overrides.
33200 2011-05-13 Ulrich Drepper <drepper@gmail.com>
33202 * libio/tst_putwc.c: Fix error messages.
33205 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33206 currently writing and seek to current position when not.
33207 * libio/Makefile (tests): Add bug-fclose1.
33208 * libio/bug-fclose1.c: New file.
33210 2011-05-12 Ulrich Drepper <drepper@gmail.com>
33213 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33214 don't set DF_1_NODELETE here.
33215 (do_lookup_x): When entering new entry test for copy relocation
33216 and if necessary set DF_1_NODELETE flag.
33217 * elf/tst-unique4.cc: New file.
33218 * elf/tst-unique4.h: New file.
33219 * elf/tst-unique4lib.cc: New file.
33220 * elf/Makefile: Add rules to build and run tst-unique4.
33221 Patch by Piotr Bury <pbury@goahead.com>.
33223 2011-05-11 Ulrich Drepper <drepper@gmail.com>
33226 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33229 * misc/mntent_r.c (addmntent): Flush the stream after the output
33232 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33233 (is_trusted_path_normalize): Skip initial colon. Append slash
33234 to empty buffer. Duplicate is_trusted_path code but allow
33235 constructed patch to be prefix.
33236 (is_dst): Allow $ORIGIN followed by /.
33237 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33238 Correct testing of result of is_trusted_path_normalize
33239 (decompose_rpath): Fix warning.
33241 2011-05-10 Ulrich Drepper <drepper@gmail.com>
33244 * grp/initgroups.c (internal_getgrouplist): When we found the service
33245 list through the initgroups entry in nsswitch.conf do not always
33246 continue on a successful lookup. Don't always use the
33247 __nss_group_database value if it is set.
33248 * nss/nsswitch.conf (initgroups): Change action for successful db
33249 lookup to continue for compatibility.
33251 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33254 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33256 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33258 * iconvdata/tst-tables.sh: Likewise.
33259 * iconvdata/cp770.c: New file.
33260 * iconvdata/cp771.c: New file.
33261 * iconvdata/cp772.c: New file.
33262 * iconvdata/cp773.c: New file.
33263 * iconvdata/cp774.c: New file.
33264 * iconvdata/testdata/CP770: New file.
33265 * iconvdata/testdata/CP770..UTF8: New file.
33266 * iconvdata/testdata/CP771: New file.
33267 * iconvdata/testdata/CP771..UTF8: New file.
33268 * iconvdata/testdata/CP772: New file.
33269 * iconvdata/testdata/CP772..UTF8: New file.
33270 * iconvdata/testdata/CP773: New file.
33271 * iconvdata/testdata/CP773..UTF8: New file.
33272 * iconvdata/testdata/CP774: New file.
33273 * iconvdata/testdata/CP774..UTF8: New file.
33275 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33277 * iconvdata/gen-8bit-gap.sh: Likewise.
33278 * iconvdata/gen-8bit.sh: Likewise.
33280 * locale/iso-639.def: Add ary entry.
33283 * locale/C-translit.h.in: Add U20A1 transliteration.
33286 * locale/iso-639.def: Add wae entry.
33287 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33290 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33294 * locale/C-translit.h.in: Add entry for U20B9.
33295 Patch by pravin.d.s@gmail.com.
33297 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33300 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33301 ENAMETOOLONG use generic getcwd.
33302 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33303 in rtld. Use *stat64.
33304 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33305 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33306 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33307 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33308 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33309 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33310 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33311 __fstatat64 macros.
33312 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33313 * dirent/rewinddir.c: Add libc_hidden_def.
33314 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33315 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33317 * include/dirent.h (__alloc_dir): Add flags parameter.
33318 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33319 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33321 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33322 from fdopendir if O_CLOEXEC is already set.
33324 2011-03-15 Alan Modra <amodra@gmail.com>
33326 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33327 l_tls_firstbyte_offset non-zero. Save padding offset in
33328 l_tls_firstbyte_offset for later use.
33329 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33330 freeing static tls block.
33332 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33334 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33335 where #ifdef was intended. The intent is to prevent ARG_MAX from
33336 being defined by the kernel headers.
33338 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33341 * resolv/resolv.h: Define RES_NOTLDQUERY.
33342 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33343 no-tld-query and set RES_NOTLDQUERY.
33344 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33345 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33346 modern BIND to search name as TLD unless forbidden.
33348 2011-05-07 Petr Baudis <pasky@suse.cz>
33349 Ulrich Drepper <drepper@gmail.com>
33352 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33353 (is_trusted_path): ...to here.
33354 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33355 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33356 using is_trusted_path_normalize() in setuid scripts.
33358 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33360 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33361 __BEGIN/__END_DECLS.
33363 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33365 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33366 NSS_STATUS_NOTFOUND if no record was found.
33368 2011-05-05 Andreas Schwab <schwab@redhat.com>
33370 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33371 (headers-not-in-tirpc): Remove rpc/netdb.h
33372 * resolv/netdb.h: Revert last change.
33374 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33376 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33377 circular dependency between libgcc.a and libc.a.
33379 2011-05-05 Andreas Schwab <schwab@redhat.com>
33381 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33382 * nis/Makefile: Don't install rpcsvc/*.
33383 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33384 instead of <rpc/types.h>.
33385 (MAXHOSTNAMELEN): Define.
33387 2011-05-03 Andreas Schwab <schwab@redhat.com>
33389 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33391 2011-04-28 Maciej Babinski <mbabinski@google.com>
33394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33395 gethostbyname4_r when IPv6 results are possible.
33397 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33400 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33401 _PC_PIPE_BUF handling.
33403 2011-04-30 Bruno Haible <bruno@clisp.org>
33406 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33407 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33409 * inet/getnameinfo.c (getnameinfo): Likewise.
33411 2011-04-29 Ulrich Drepper <drepper@gmail.com>
33413 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33414 to groups setting in database lookup.
33415 * nss/nsswitch.conf: Add initgroups entry.
33417 2011-04-22 Ulrich Drepper <drepper@gmail.com>
33420 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33422 Patch by Eric Blake <eblake@redhat.com>.
33424 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33426 * sunrpc/Makefile (need-export-routines): Add svc_run.
33427 (routines): Remove svc_run.
33428 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33429 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33430 * sunrpc/svc_run.c (svc_run): Likewise.
33431 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33433 2011-04-21 Ulrich Drepper <drepper@gmail.com>
33435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33436 problem in reallocation in last patch.
33438 2011-04-20 Ulrich Drepper <drepper@gmail.com>
33440 * sunrpc/Makefile: Move inclusion of Rules.
33442 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33444 * nss/nss_files/files-initgroups.c: New file.
33445 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33446 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33447 _nss_files_initgroups_dyn.
33449 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33451 * elf/elf.h (R_ARM_IRELATIVE): Define.
33453 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33455 * po/ru.po: Update from translation team.
33457 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33459 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33462 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33465 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33466 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33471 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33475 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33479 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33482 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33484 * stdlib/bug-getcontext.c: New file.
33485 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33487 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33489 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33490 instructions into .machine "z9-109".
33491 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33492 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33494 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33496 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33497 between environment variables and auxiliary vector.
33499 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33501 * Makefile: Add rules to build linkobj/libc.so.
33502 * include/libc-symbols.h: Define libc_hidden_nolink.
33503 * include/rpc/auth.h: Mark functions which are to be hidden.
33504 * include/rpc/auth_des.h: Likewise.
33505 * include/rpc/auth_unix.h: Likewise.
33506 * include/rpc/clnt.h: Likewise.
33507 * include/rpc/des_crypt.h: Likewise.
33508 * include/rpc/key_prot.h: Likewise.
33509 * include/rpc/pmap_clnt.h: Likewise.
33510 * include/rpc/pmap_prot.h: Likewise.
33511 * include/rpc/pmap_rmt.h: Likewise.
33512 * include/rpc/rpc_msg.h: Likewise.
33513 * include/rpc/svc.h: Likewise.
33514 * include/rpc/svc_auth.h: Likewise.
33515 * include/rpc/xdr.h: Likewise.
33516 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33517 * nss/Makefile: Likewise.
33518 * sunrpc/Makefile: Don't install headers. Build library with normal
33519 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33520 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33521 for the compat linking library. Remove use of INTDEF/INTUSE.
33522 * sunrpc/auth_none.c: Likewise.
33523 * sunrpc/auth_unix.c: Likewise.
33524 * sunrpc/authdes_prot.c: Likewise.
33525 * sunrpc/authuxprot.c: Likewise.
33526 * sunrpc/clnt_gen.c: Likewise.
33527 * sunrpc/clnt_perr.c: Likewise.
33528 * sunrpc/clnt_raw.c: Likewise.
33529 * sunrpc/clnt_simp.c: Likewise.
33530 * sunrpc/clnt_tcp.c: Likewise.
33531 * sunrpc/clnt_udp.c: Likewise.
33532 * sunrpc/clnt_unix.c: Likewise.
33533 * sunrpc/des_crypt.c: Likewise.
33534 * sunrpc/des_soft.c: Likewise.
33535 * sunrpc/get_myaddr.c: Likewise.
33536 * sunrpc/key_call.c: Likewise.
33537 * sunrpc/key_prot.c: Likewise.
33538 * sunrpc/netname.c: Likewise.
33539 * sunrpc/pm_getmaps.c: Likewise.
33540 * sunrpc/pm_getport.c: Likewise.
33541 * sunrpc/pmap_clnt.c: Likewise.
33542 * sunrpc/pmap_prot.c: Likewise.
33543 * sunrpc/pmap_prot2.c: Likewise.
33544 * sunrpc/pmap_rmt.c: Likewise.
33545 * sunrpc/publickey.c: Likewise.
33546 * sunrpc/rpc_cmsg.c: Likewise.
33547 * sunrpc/rpc_common.c: Likewise.
33548 * sunrpc/rpc_dtable.c: Likewise.
33549 * sunrpc/rpc_prot.c: Likewise.
33550 * sunrpc/rpc_thread.c: Likewise.
33551 * sunrpc/rtime.c: Likewise.
33552 * sunrpc/svc.c: Likewise.
33553 * sunrpc/svc_auth.c: Likewise.
33554 * sunrpc/svc_authux.c: Likewise.
33555 * sunrpc/svc_raw.c: Likewise.
33556 * sunrpc/svc_run.c: Likewise.
33557 * sunrpc/svc_simple.c: Likewise.
33558 * sunrpc/svc_tcp.c: Likewise.
33559 * sunrpc/svc_udp.c: Likewise.
33560 * sunrpc/svc_unix.c: Likewise.
33561 * sunrpc/svcauth_des.c: Likewise.
33562 * sunrpc/xcrypt.c: Likewise.
33563 * sunrpc/xdr.c: Likewise.
33564 * sunrpc/xdr_array.c: Likewise.
33565 * sunrpc/xdr_float.c: Likewise.
33566 * sunrpc/xdr_intXX_t.c: Likewise.
33567 * sunrpc/xdr_mem.c: Likewise.
33568 * sunrpc/xdr_rec.c: Likewise.
33569 * sunrpc/xdr_ref.c: Likewise.
33570 * sunrpc/xdr_sizeof.c: Likewise.
33571 * sunrpc/xdr_stdio.c: Likewise.
33573 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33576 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33577 * sysdeps/ia64/dl-tls.h: Likewise.
33578 * sysdeps/powerpc/dl-tls.h: Likewise.
33579 * sysdeps/s390/dl-tls.h: Likewise.
33580 * sysdeps/sh/dl-tls.h: Likewise.
33581 * sysdeps/sparc/dl-tls.h: Likewise.
33582 * sysdeps/x86_64/dl-tls.h: Likewise.
33583 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33585 2011-03-14 Andreas Schwab <schwab@redhat.com>
33587 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33588 rpath element also skip the following colon.
33589 (expand_dynamic_string_token): Add is_path parameter and pass
33590 down to DL_DST_REQUIRED and _dl_dst_substitute.
33591 (decompose_rpath): Call expand_dynamic_string_token with
33592 non-zero is_path. Ignore empty rpaths.
33593 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33596 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33601 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33604 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33605 Patch by Filipe David Manana <fdmanana@apache.org>.
33607 2011-04-07 Andreas Schwab <schwab@redhat.com>
33609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33610 Maintain aligned stack.
33611 (CHECK_RSP): Remove unused macro.
33613 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33615 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33618 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33620 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33622 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33624 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33627 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33628 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33629 * sysdeps/x86_64/memmove.c: New file.
33630 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33631 (memcpy): Renamed to ...
33632 (__new_memcpy): This.
33633 (memcpy): Provide GLIBC_2_14 memcpy.
33634 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33635 (memcpy): Provide GLIBC_2_2_5 memcpy.
33637 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33640 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33642 2011-03-30 Andreas Schwab <schwab@redhat.com>
33644 * misc/syncfs.c: New file.
33645 * misc/Makefile (routines): Add syncfs.
33646 * posix/unistd.h: Declare syncfs.
33647 * sysdeps/unix/syscalls.list: Add syncfs.
33649 2011-04-01 Andreas Schwab <schwab@redhat.com>
33651 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33654 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33658 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33659 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33661 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33664 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33665 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33671 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33672 sync_file_range.c with -fexceptions.
33673 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33674 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33675 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33676 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33677 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33678 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33680 sync_file_range as cancellation point
33681 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33682 now a wrapper around __call_sync_file_range with cancellation handling.
33683 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33684 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33685 function name to __call_sync_file_range.
33686 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33687 Add call_sync_file_range.
33689 2011-04-01 Andreas Schwab <schwab@redhat.com>
33691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33694 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33696 * iconv/iconv.h: Fix typo in comment.
33697 * io/fcntl.h: Likewise.
33698 * libio/stdio.h: Likewise.
33699 * posix/spawn.h: Likewise.
33700 * posix/unistd.h: Likewise.
33701 * stdlib/stdlib.h: Likewise.
33702 * time/time.h: Likewise.
33703 * wcsmbs/wchar.h: Likewise.
33705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33706 open_by_handle): Add.
33707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33708 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33709 Augment a few comments.
33710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33715 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33718 * io/fcntl.h (AT_EMPTY_PATH): Define.
33720 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33722 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33723 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33724 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33726 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33727 * Versions.def: Add GLIBC_2.14.
33728 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33731 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33733 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33735 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33737 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33740 * string/test-strncmp.c (do_page_test): New function.
33741 (check2): Likewise.
33742 (test_main): Call check2.
33743 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33745 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33748 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33749 Handle cache information in CPU leaf 4.
33750 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33752 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33755 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33756 character representation.
33757 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33759 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33761 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33762 END(__isnan) to END(__isnanf) to match function entry point/label
33763 EALIGN(__isnanf,...).
33765 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33767 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33769 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33772 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33773 copy from the symbol referenced in the relocation to initialize the
33775 Patch by Piotr Bury <pbury@goahead.com>.
33776 * elf/Makefile: Add rules to build and tst-unique3.
33777 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33778 * elf/tst-unique3.cc: New file.
33779 * elf/tst-unique3.h: New file.
33780 * elf/tst-unique3lib.cc: New file.
33781 * elf/tst-unique3lib2.cc: New file.
33783 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33785 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33787 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33788 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33791 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33793 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33794 to-be-loaded object along a path to loader is ld.so.
33796 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33797 Ulrich Drepper <drepper@gmail.com>
33799 * sysdeps/x86_64/memset.S: After aligning destination, code
33800 branches to different locations depending on the value of
33801 misalignment, when multiarch is enabled. Fix this.
33803 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33805 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33806 Set _x86_64_preferred_memory_instruction for AMD processsors.
33807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33808 Set bit_Prefer_SSE_for_memop for AMD processors.
33810 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33812 * libio/fmemopen.c (fmemopen): Optimize a bit.
33814 2011-03-03 Andreas Schwab <schwab@redhat.com>
33816 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33818 2011-03-03 Roland McGrath <roland@redhat.com>
33820 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33822 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33824 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33825 __bzero_ultra1 instead of __memset_ultra1.
33827 2011-02-23 Andreas Schwab <schwab@redhat.com>
33828 Ulrich Drepper <drepper@gmail.com>
33831 * include/link.h (struct link_map): Add l_orig_initfini.
33832 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33833 returning unsuccessfully.
33834 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33835 close of a file loaded at startup, restore the original l_initfini
33837 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33838 list, store the pointer.
33839 * elf/Makefile ($(objpfx)noload-mem): New rule.
33840 (noload-ENV): Define.
33841 (tests): Add $(objpfx)noload-mem.
33842 * elf/noload.c: Include <memcheck.h>.
33843 (main): Call mtrace. Close all opened handles.
33845 2011-02-17 Andreas Schwab <schwab@redhat.com>
33848 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33849 dependencies are missing.
33851 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33853 Fix __if_freereq crash: Unlike the generic version which uses free,
33855 * sysdeps/mach/hurd/ifreq.h: New file.
33857 2011-01-27 Petr Baudis <pasky@suse.cz>
33858 Ulrich Drepper <drepper@gmail.com>
33861 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33862 to extend_alloca().
33863 * stdio-common/bug23.c: New file.
33864 * stdio-common/Makefile (tests): Add bug23.
33866 2010-09-28 Andreas Schwab <schwab@redhat.com>
33867 Ulrich Drepper <drepper@gmail.com>
33870 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33871 before performing relro protection. At old place add assertion
33872 to make sure nothing changed.
33874 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33875 Glauber de Oliveira Costa <glommer@gmail.com>
33877 * elf/elf.h: Add new ARM TLS relocs.
33879 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33882 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33884 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33886 * sysdeps/wordsize-64/tst-writev.c: New file.
33888 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33890 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33891 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33892 insns in _dl_start to prevent a TOC reference before relocs are
33895 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33898 * Makeconfig: Remove RANLIB definition.
33899 * Makerules: Don't use RANLIB.
33900 * aclocal.m4: Remove ranlib test.
33901 * configure.in: No need to check for ranlib.
33902 * elf/rtld-Rules: Don't use RANLIB.
33904 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33906 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33908 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33909 inclusion protection macro.
33911 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33912 SIGRTMIN and SIGRTMAX and print information in that case only when
33913 SIGRTMIN is defined.
33915 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33917 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33918 arginfo fn returning -1.
33920 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33921 and thousands string is zero terminated.
33923 2011-02-03 Andreas Schwab <schwab@redhat.com>
33925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33926 sysdeps/unix/sysv/linux/bits/socket.h.
33928 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33930 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33931 (__CPU_COUNT): Remove old macros.
33932 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33933 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33934 (__CPU_ALLOC, __CPU_FREE): Add macros.
33935 (__sched_cpualloc, __sched_cpufree): Add declarations.
33937 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33939 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33940 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33941 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33942 (readdhstai): Return value of addhstaiX call.
33943 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33944 (addgrbyX): Return value returned by cache_addgr.
33945 (readdgrbyname): Return value returned by addgrbyX.
33946 (readdgrbygid): Likewise.
33947 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33948 (addpwbyX): Return value returned by cache_addpw.
33949 (readdpwbyname): Return value returned by addhstbyX.
33950 (readdpwbyuid): Likewise.
33951 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33952 (addservbyX): Return value returned by cache_addserv.
33953 (readdservbyname): Return value returned by addservbyX:
33954 (readdservbyport): Likewise.
33955 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33956 (addhstbyX): Return value returned by cache_addhst.
33957 (readdhstbyname): Return value returned by addhstbyX.
33958 (readdhstbyaddr): Likewise.
33959 (readdhstbynamev6): Likewise.
33960 (readdhstbyaddrv6): Likewise.
33961 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33962 (readdinitgroups): Return value returned by addinitgroupsX.
33963 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33964 (prune_cache): Keep track of timeout value of re-added entries.
33965 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33966 * nscd/nscd.h: Adjust prototypes of readd* functions.
33968 2011-02-04 Roland McGrath <roland@redhat.com>
33970 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33971 (nis_stats): Likewise.
33972 * nis/nis_modify.c (nis_modify): Likewise.
33973 * nis/nis_remove.c (nis_remove): Likewise.
33974 * nis/nis_add.c (nis_add): Likewise.
33976 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33978 * posix/fnmatch_loop.c: Add some consts.
33980 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33982 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33985 * config.make.in (config-cflags-novzeroupper): Define.
33986 * configure.in: Substitute libc_cv_cc_novzeroupper.
33987 * elf/Makefile (AVX-CFLAGS): Define.
33988 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33989 (CFLAGS-tst-auditmod4a.c): Likewise.
33990 (CFLAGS-tst-auditmod4b.c): Likewise.
33991 (CFLAGS-tst-auditmod6b.c): Likewise.
33992 (CFLAGS-tst-auditmod6c.c): Likewise.
33993 (CFLAGS-tst-auditmod7b.c): Likewise.
33994 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33996 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33998 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33999 function to the callback.
34000 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34002 2011-02-02 Andreas Schwab <schwab@redhat.com>
34004 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34007 2011-01-19 Ulrich Drepper <drepper@gmail.com>
34010 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34012 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34014 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34017 * elf/Makefile: Add rules to build and run new test.
34018 * elf/tst-initorder.c: New file.
34019 * elf/tst-initorder.exp: New file.
34020 * elf/tst-initordera1.c: New file.
34021 * elf/tst-initordera2.c: New file.
34022 * elf/tst-initordera3.c: New file.
34023 * elf/tst-initordera4.c: New file.
34024 * elf/tst-initorderb1.c: New file.
34025 * elf/tst-initorderb2.c: New file.
34026 * elf/tst-order-a1.c: New file.
34027 * elf/tst-order-a2.c: New file.
34028 * elf/tst-order-a3.c: New file.
34029 * elf/tst-order-a4.c: New file.
34030 * elf/tst-order-b1.c: New file.
34031 * elf/tst-order-b2.c: New file.
34032 * elf/tst-order-main.c: New file.
34033 New test case by George Gensure <werkt0@gmail.com>.
34035 2010-10-01 Andreas Schwab <schwab@redhat.com>
34037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34038 decoding ACE if AI_CANONIDN.
34040 2011-01-18 Ulrich Drepper <drepper@gmail.com>
34042 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34044 2011-01-17 Ulrich Drepper <drepper@gmail.com>
34046 * version.h (RELEASE): Bump for 2.13 release.
34047 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34049 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34053 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34055 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34056 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34058 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34060 * posix/getconf.c: Update copyright year.
34061 * catgets/gencat.c: Likewise.
34062 * csu/version.c: Likewise.
34063 * debug/catchsegv.sh: Likewise.
34064 * debug/xtrace.sh: Likewise.
34065 * elf/ldconfig.c: Likewise.
34066 * elf/ldd.bash.in: Likewise.
34067 * elf/sprof.c (print_version): Likewise.
34068 * iconv/iconv_prog.c: Likewise.
34069 * iconv/iconvconfig.c: Likewise.
34070 * locale/programs/locale.c: Likewise.
34071 * locale/programs/localedef.c: Likewise.
34072 * malloc/memusage.sh: Likewise.
34073 * malloc/mtrace.pl: Likewise.
34074 * nscd/nscd.c (print_version): Likewise.
34075 * nss/getent.c: Likewise.
34077 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34078 PF_CAIF, and PF_ALG.
34079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34081 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34083 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34084 (modules-names): Use them.
34085 (ifunc-test-modules, ifunc-pie-tests): Define.
34086 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34087 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34088 (test-extras): Likewise.
34089 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34090 $(compile-command.c).
34091 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34092 (all-built-dso): Define.
34093 (check-textrel.out, check-execstack.out): Depend on it.
34095 * configure.in: Don't override --enable-multi-arch.
34097 2011-01-15 Ulrich Drepper <drepper@gmail.com>
34100 * nscd/hstcache.c (tryagain): Define.
34101 (cache_addhst): Return tryagain not notfound for temporary errors.
34102 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34105 2011-01-14 Ulrich Drepper <drepper@gmail.com>
34108 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34109 to make the syscall.
34110 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34113 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34114 and fall back to matching as normal character if the string ends before
34115 the matching ']' is found. This is what POSIX requires.
34116 * posix/testfnm.c: Adjust test result.
34117 * posix/globtest.sh: Adjust test result. Add new test.
34118 * posix/tst-fnmatch.input: Likewise.
34119 * posix/tst-fnmatch2.c: Add new test.
34121 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34123 * elf/Makefile (check-execstack): Revert last change. Depend on
34125 (check-execstack.h): New target.
34126 (generated): Add check-execstack.h.
34127 * elf/check-execstack.c: Include "check-execstack.h".
34128 (main): Revert last change.
34129 (handle_file): Return zero if GNU_STACK is absent and
34130 DEFAULT_STACK_PERMS doesn't include PF_X.
34132 2011-01-13 Ulrich Drepper <drepper@gmail.com>
34134 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34135 in child fails because the descriptor is already closed.
34136 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34137 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34138 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34141 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34145 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34146 temporary buffer used to handle multi lookups locally.
34147 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34149 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34151 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34154 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34156 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34157 alignment for SSE2.
34159 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34162 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34163 characters. When rounding increased number of integer digits recompute
34165 * stdio-common/tst-grouping.c: New file.
34166 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34168 2011-01-09 Ulrich Drepper <drepper@gmail.com>
34170 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34171 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34173 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34175 * bits/select.h: Likewise.
34177 2011-01-08 Ulrich Drepper <drepper@gmail.com>
34179 * po/ja.po: Update from translation team.
34181 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
34184 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34185 implementation just like for lxstat, fxstatat, et al.
34187 2010-12-27 Jim Meyering <meyering@redhat.com>
34190 * posix/regexec.c (build_trtable): Return failure indication upon
34191 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34193 2010-12-25 Ulrich Drepper <drepper@gmail.com>
34196 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34197 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34198 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34199 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34202 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34205 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34206 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34208 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34210 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34211 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34212 script has SORT_BY_INIT_PRIORITY.
34213 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34214 NO_CTORS_DTORS_SECTIONS is defined.
34215 * elf/soinit.c: Likewise.
34216 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34217 NO_CTORS_DTORS_SECTIONS is defined.
34218 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34219 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34220 * sysdeps/sh/init-first.c: Likewise.
34221 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34223 2010-12-24 Ulrich Drepper <drepper@gmail.com>
34225 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34226 always use the slow path.
34228 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34230 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34231 similar rule which adds the sysdep directories to the header search in
34232 order to pick up the correct platform stackinfo.h.
34233 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34234 perform test if it is, otherwise return successfully without testing.
34235 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34236 DEFAULT_STACK_PERMS define in stackinfo.h.
34237 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34238 defined in stackinfo.h.
34239 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34240 DEFAULT_STACK_PERMS defined in stackinfo.h.
34241 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34242 * sysdeps/ia64/stackinfo.h: Likewise.
34243 * sysdeps/s390/stackinfo.h: Likewise.
34244 * sysdeps/sh/stackinfo.h: Likewise.
34245 * sysdeps/sparc/stackinfo.h: Likewise.
34246 * sysdeps/x86_64/stackinfo.h: Likewise.
34247 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34248 PF_X for powerpc64. Retain PF_X for powerpc32.
34250 2010-12-19 Ulrich Drepper <drepper@gmail.com>
34252 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34254 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34255 GETDENTS_64BIT_ALIGNED.
34257 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34259 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34261 2010-12-10 Andreas Schwab <schwab@redhat.com>
34263 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34266 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34267 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34269 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34270 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34272 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34275 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34278 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34280 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34282 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34284 * po/it.po: Update from translation team.
34286 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34291 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34293 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34295 2010-11-24 Andreas Schwab <schwab@redhat.com>
34297 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34299 (gaih_getanswer_slice): Likewise.
34301 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34305 2010-05-31 Petr Baudis <pasky@suse.cz>
34308 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34309 silently even in the chroot mode.
34311 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34313 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34314 last patch a bit. Pretty printing
34316 2010-05-31 Petr Baudis <pasky@suse.cz>
34319 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34320 initialization of skip_initgroups_dyn.
34322 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34324 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34325 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34327 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34329 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34331 2010-11-11 Andreas Schwab <schwab@redhat.com>
34333 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34334 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34335 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34336 ($(objpfx)tst-fnmatch-mem): New rule.
34337 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34338 * posix/tst-fnmatch.c (main): Call mtrace.
34340 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34343 Support Intel processor model 6 and model 0x2c.
34345 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34347 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34350 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34353 * string/test-strncasecmp.c (check_result): New function.
34354 (do_one_test): Use it.
34355 (check1): New function.
34356 (test_main): Use it.
34357 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34358 Support strcasecmp and strncasecmp.
34360 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34363 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34366 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34368 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34372 * sysdeps/x86_64/multiarch/bzero.S: New file.
34373 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34374 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34375 * sysdeps/x86_64/multiarch/memset.S: New file.
34376 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34378 Set bit_Prefer_SSE_for_memop for Intel processors.
34379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34381 (index_Prefer_SSE_for_memop): Define.
34382 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34384 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34386 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34387 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34389 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34392 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34393 (__x86_64_raw_data_cache_size_half): Likewise.
34394 (__x86_64_raw_shared_cache_size): Likewise.
34395 (__x86_64_raw_shared_cache_size_half): Likewise.
34397 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34398 (__x86_64_raw_data_cache_size_half): Likewise.
34399 (__x86_64_raw_shared_cache_size): Likewise.
34400 (__x86_64_raw_shared_cache_size_half): Likewise.
34401 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34402 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34403 and __x86_64_raw_shared_cache_size_half. Round
34404 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34405 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34406 to multiple of 256 bytes.
34408 2010-11-03 Ulrich Drepper <drepper@gmail.com>
34411 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34412 of inacessible symlinks. Verify result of symlink before returning it.
34413 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34414 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34416 2010-10-28 Erich Ritz <erichritz@gmail.com>
34418 * math/math.h (isinf): Fix typo in comment.
34420 2010-11-01 Ulrich Drepper <drepper@gmail.com>
34422 * po/da.po: Update from translation team.
34424 2010-10-26 Ulrich Drepper <drepper@gmail.com>
34426 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34427 is added to the list.
34429 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34430 Ulrich Drepper <drepper@gmail.com>
34432 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34433 the global list here. Move code to...
34434 (_dl_add_to_namespace_list): ...here. New function.
34435 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34436 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34437 * elf/dl-load.c (lose): Don't remove the element from the list.
34438 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34439 (_dl_map_object): Likewise.
34441 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34444 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34445 into all bytes of SSE register.
34446 Patch by Richard Li <richardpku@gmail.com>.
34448 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34451 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34454 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34456 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34457 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34458 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34464 2010-10-22 Andreas Schwab <schwab@redhat.com>
34466 * include/dlfcn.h (__RTLD_SECURE): Define.
34467 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34468 mode & __RTLD_SECURE instead.
34469 (open_path): Rename preloaded parameter to secure.
34470 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34471 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34472 * elf/dl-deps.c (openaux): Likewise.
34473 * elf/rtld.c (struct map_args): Remove is_preloaded.
34474 (map_doit): Don't use it.
34475 (dl_main): Likewise.
34476 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34477 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34479 2010-09-09 Andreas Schwab <schwab@redhat.com>
34481 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34482 (sysd-rules-targets): Remove duplicates.
34483 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34484 rtld-%.$o dependency.
34486 2010-10-18 Andreas Schwab <schwab@redhat.com>
34488 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34489 _dl_map_object do it.
34491 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34493 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34494 fast fma builtins, define the macros in the C99 standard.
34495 (FP_FAST_FMAF): Likewise.
34496 (FP_FAST_FMAL): Likewise.
34497 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34499 * bits/mathdef.h: Update copyright year.
34500 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34502 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34504 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34505 builtins, define the macros in the C99 standard.
34506 (FP_FAST_FMAF): Likewise.
34507 (FP_FAST_FMAL): Likewise.
34508 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34510 (FP_FAST_FMAF): Likewise.
34512 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34515 * math/libm-test.inc (fma_test): Some new testcases.
34516 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34518 y and infinite z. Do multiplication by C already in long double.
34519 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34521 y and infinite z. Do bitwise or of inexact bit into u.d.
34522 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34523 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34524 * sysdeps/i386/fpu/s_fma.S: Removed.
34525 * sysdeps/i386/fpu/s_fmal.S: Removed.
34527 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34530 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34531 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34532 computation is not scheduled after fetestexcept. Fix value
34533 of minimum denormal long double.
34535 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34538 * math/libm-test.inc (fma_test): Add some more tests.
34539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34542 2010-10-15 Andreas Schwab <schwab@redhat.com>
34544 * scripts/data/localplt-s390-linux-gnu.data: New file.
34545 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34547 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34550 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34551 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34553 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34555 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34557 if one of x and y is very large and the other is subnormal.
34558 * sysdeps/s390/fpu/s_fmaf.c: New file.
34559 * sysdeps/s390/fpu/s_fma.c: New file.
34560 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34561 * sysdeps/powerpc/fpu/s_fma.S: New file.
34562 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34563 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34564 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34566 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34569 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34571 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34572 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34573 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34574 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34575 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34576 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34577 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34579 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34582 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34583 * posix/bug-regex31.input: Add test case.
34585 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34587 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34588 * posix/bug-regex31.input: New file.
34591 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34592 (parse_sub_exp): Fix last change, use postorder.
34594 * posix/bug-regex31.c: New file.
34595 * posix/Makefile: Add rules to build and run bug-regex31.
34597 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34600 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34603 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34604 to have entries in sys_siglist.
34607 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34610 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34613 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34614 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34615 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34616 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34617 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34618 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34619 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34620 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34621 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34622 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34623 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34624 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34625 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34626 * math/ftestexcept.c (fetestexcept): Likewise.
34627 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34628 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34629 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34630 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34631 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34632 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34633 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34635 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34638 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34641 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34643 * string/bug-strstr1.c: New file.
34644 * string/Makefile: Add rules to build and run bug-strstr1.
34646 2010-10-05 Eric Blake <eblake@redhat.com>
34649 * string/str-two-way.h (two_way_long_needle): Always clear memory
34650 when skipping input due to the shift table.
34652 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34655 * malloc/mcheck.c: Handle large requests.
34658 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34659 for strncmp and strncasecmp.
34660 * string/stratcliff.c: Add tests for strcmp and strncmp.
34661 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34663 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34665 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34668 2010-09-30 Andreas Jaeger <aj@suse.de>
34670 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34671 (CGROUP_SUPER_MAGIC): Define.
34672 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34673 Handle btrfs and cgroup file systems.
34674 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34677 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34679 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34680 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34682 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34685 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34686 trying to locate the ELF header.
34688 2010-09-27 Andreas Schwab <schwab@redhat.com>
34691 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34692 Mask out sign-bit copies when constructing f_fsid.
34694 2010-09-24 Petr Baudis <pasky@suse.cz>
34696 * debug/stack_chk_fail_local.c: Add missing licence exception.
34697 * debug/warning-nop.c: Likewise.
34699 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34701 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34702 implementing getdents64 using getdents syscall, set d_type if
34703 __ASSUME_GETDENTS32_D_TYPE.
34705 2010-09-16 Andreas Schwab <schwab@redhat.com>
34707 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34708 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34710 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34713 * posix/unistd.h: Undo change of feature selection for ftruncate from
34716 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34718 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34721 2010-09-20 Andreas Schwab <schwab@redhat.com>
34723 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34725 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34727 2010-09-14 Andreas Schwab <schwab@redhat.com>
34729 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34730 variables after CHECK_SP call.
34731 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34733 2010-09-13 Andreas Schwab <schwab@redhat.com>
34734 Ulrich Drepper <drepper@redhat.com>
34736 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34737 re-relocationg ld.so.
34738 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34739 _dl_init_paths call.
34740 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34743 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34745 * resolv/res_init.c (__res_vinit): Count the default server we added.
34747 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34748 Ulrich Drepper <drepper@redhat.com>
34751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34752 (____longjmp_chk): Use %ebx for saving value across system call.
34755 2010-09-06 Andreas Schwab <schwab@redhat.com>
34757 * manual/Makefile: Don't mix pattern rules with normal rules.
34759 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34761 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34763 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34764 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34765 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34766 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34770 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34773 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34774 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34776 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34778 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34779 * sysdeps/x86_64/addmul_1.S: Likewise.
34780 * sysdeps/x86_64/lshift.S: Likewise.
34781 * sysdeps/x86_64/mul_1.S: Likewise.
34782 * sysdeps/x86_64/rshift.S: Likewise.
34783 * sysdeps/x86_64/sub_n.S: Likewise.
34784 * sysdeps/x86_64/submul_1.S: Likewise.
34786 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34788 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34789 Define __sched_param instead of SCHED_* and sched_param when
34790 <bits/sched.h> is included with __need_schedparam defined.
34791 * bits/sched.h [__need_schedparam]
34792 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34793 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34794 (__defined_schedparam): Define to 1.
34795 (__sched_param): New structure, identical to sched_param.
34796 (__need_schedparam): Undefine.
34798 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34800 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34801 (epoll_create1): Declare.
34803 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34805 2010-08-31 Andreas Schwab <schwab@redhat.com>
34808 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34809 shifting retval into place.
34811 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34813 * nis/rpcsvc/nis.h: Update copyright notice.
34814 * nis/rpcsvc/nis.x: Likewise.
34815 * nis/rpcsvc/nis_callback.h: Likewise.
34816 * nis/rpcsvc/nis_callback.x: Likewise.
34817 * nis/rpcsvc/nis_object.x: Likewise.
34818 * nis/rpcsvc/nis_tags.h: Likewise.
34819 * nis/rpcsvc/yp.h: Likewise.
34820 * nis/rpcsvc/yp.x: Likewise.
34821 * nis/rpcsvc/ypupd.h: Likewise.
34822 * nis/yp_xdr.c: Likewise.
34823 * nis/ypupdate_xdr.c: Likewise.
34825 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34826 mainly the body of pmap_getport. Add parameters to specify timeouts.
34827 (pmap_getport): Use __libc_rpc_getport.
34828 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34829 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34830 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34832 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34837 2010-08-27 Roland McGrath <roland@redhat.com>
34839 * sysdeps/i386/i686/multiarch/Makefile
34840 (CFLAGS-varshift.c): New variable.
34842 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34844 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34845 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34849 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34851 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34853 * sysdeps/x86_64/strlen.S: Unroll the loop.
34854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34855 strlen-sse2 strlen-sse2-bsf.
34856 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34857 __strlen_no_bsf if bit_Slow_BSF is set.
34858 (__strlen_sse42): Removed.
34859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34860 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34862 2010-08-25 Roland McGrath <roland@redhat.com>
34864 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34865 * sysdeps/x86_64/multiarch/varshift.c: New file.
34866 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34867 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34868 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34869 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34871 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34874 strlen-sse2 strlen-sse2-bsf.
34875 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34876 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34877 (__strlen_sse2): Removed.
34878 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34881 bit_Slow_BSF for Atom.
34882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34883 (index_Slow_BSF): Define.
34884 (HAS_SLOW_BSF): Define.
34886 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34889 * resolv/res_init.c (__res_vinit): When no server address at all
34890 is given default to loopback.
34892 2010-08-24 Roland McGrath <roland@redhat.com>
34894 * configure.in: Remove config-name.h generation.
34895 * configure: Regenerated.
34896 * config-name.in: File removed.
34897 * scripts/config-uname.sh: New file.
34898 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34899 ($(objdir)config-name.h): New target.
34901 * sunrpc/rpc_parse.h: Avoid nested comment.
34903 2010-08-24 Richard Henderson <rth@redhat.com>
34904 Ulrich Drepper <drepper@redhat.com>
34905 H.J. Lu <hongjiu.lu@intel.com>
34907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34909 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34910 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34911 _mm_alignr_epi8 with _mm_loadu_si128.
34912 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34913 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34914 (__m128i_shift_right): Removed.
34915 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34916 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34917 * sysdeps/x86_64/multiarch/varshift.h: New file.
34918 * sysdeps/x86_64/multiarch/varshift.S: New file.
34920 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34922 * configure.in: Move assembler checks to before sysdep dir checking.
34924 2010-08-20 Petr Baudis <pasky@suse.cz>
34926 * LICENSES: Sync the sunrpc license.
34928 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34930 * sunrpc/auth_des.c: Update copyright notice once again.
34931 * sunrpc/auth_none.c: Likewise.
34932 * sunrpc/auth_unix.c: Likewise.
34933 * sunrpc/authdes_prot.c: Likewise.
34934 * sunrpc/authuxprot.c: Likewise.
34935 * sunrpc/bindrsvprt.c: Likewise.
34936 * sunrpc/clnt_gen.c: Likewise.
34937 * sunrpc/clnt_perr.c: Likewise.
34938 * sunrpc/clnt_raw.c: Likewise.
34939 * sunrpc/clnt_simp.c: Likewise.
34940 * sunrpc/clnt_tcp.c: Likewise.
34941 * sunrpc/clnt_udp.c: Likewise.
34942 * sunrpc/clnt_unix.c: Likewise.
34943 * sunrpc/des_crypt.c: Likewise.
34944 * sunrpc/des_soft.c: Likewise.
34945 * sunrpc/get_myaddr.c: Likewise.
34946 * sunrpc/getrpcport.c: Likewise.
34947 * sunrpc/key_call.c: Likewise.
34948 * sunrpc/key_prot.c: Likewise.
34949 * sunrpc/openchild.c: Likewise.
34950 * sunrpc/pm_getmaps.c: Likewise.
34951 * sunrpc/pm_getport.c: Likewise.
34952 * sunrpc/pmap_clnt.c: Likewise.
34953 * sunrpc/pmap_prot.c: Likewise.
34954 * sunrpc/pmap_prot2.c: Likewise.
34955 * sunrpc/pmap_rmt.c: Likewise.
34956 * sunrpc/rpc/auth.h: Likewise.
34957 * sunrpc/rpc/auth_unix.h: Likewise.
34958 * sunrpc/rpc/clnt.h: Likewise.
34959 * sunrpc/rpc/des_crypt.h: Likewise.
34960 * sunrpc/rpc/key_prot.h: Likewise.
34961 * sunrpc/rpc/netdb.h: Likewise.
34962 * sunrpc/rpc/pmap_clnt.h: Likewise.
34963 * sunrpc/rpc/pmap_prot.h: Likewise.
34964 * sunrpc/rpc/pmap_rmt.h: Likewise.
34965 * sunrpc/rpc/rpc.h: Likewise.
34966 * sunrpc/rpc/rpc_des.h: Likewise.
34967 * sunrpc/rpc/rpc_msg.h: Likewise.
34968 * sunrpc/rpc/svc.h: Likewise.
34969 * sunrpc/rpc/svc_auth.h: Likewise.
34970 * sunrpc/rpc/types.h: Likewise.
34971 * sunrpc/rpc/xdr.h: Likewise.
34972 * sunrpc/rpc_clntout.c: Likewise.
34973 * sunrpc/rpc_cmsg.c: Likewise.
34974 * sunrpc/rpc_common.c: Likewise.
34975 * sunrpc/rpc_cout.c: Likewise.
34976 * sunrpc/rpc_dtable.c: Likewise.
34977 * sunrpc/rpc_hout.c: Likewise.
34978 * sunrpc/rpc_main.c: Likewise.
34979 * sunrpc/rpc_parse.c: Likewise.
34980 * sunrpc/rpc_parse.h: Likewise.
34981 * sunrpc/rpc_prot.c: Likewise.
34982 * sunrpc/rpc_sample.c: Likewise.
34983 * sunrpc/rpc_scan.c: Likewise.
34984 * sunrpc/rpc_scan.h: Likewise.
34985 * sunrpc/rpc_svcout.c: Likewise.
34986 * sunrpc/rpc_tblout.c: Likewise.
34987 * sunrpc/rpc_util.c: Likewise.
34988 * sunrpc/rpc_util.h: Likewise.
34989 * sunrpc/rpcinfo.c: Likewise.
34990 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34991 * sunrpc/rpcsvc/key_prot.x: Likewise.
34992 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34993 * sunrpc/rpcsvc/mount.x: Likewise.
34994 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34995 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34996 * sunrpc/rpcsvc/rex.x: Likewise.
34997 * sunrpc/rpcsvc/rstat.x: Likewise.
34998 * sunrpc/rpcsvc/rusers.x: Likewise.
34999 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35000 * sunrpc/rpcsvc/spray.x: Likewise.
35001 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35002 * sunrpc/rtime.c: Likewise.
35003 * sunrpc/svc.c: Likewise.
35004 * sunrpc/svc_auth.c: Likewise.
35005 * sunrpc/svc_authux.c: Likewise.
35006 * sunrpc/svc_raw.c: Likewise.
35007 * sunrpc/svc_run.c: Likewise.
35008 * sunrpc/svc_simple.c: Likewise.
35009 * sunrpc/svc_tcp.c: Likewise.
35010 * sunrpc/svc_udp.c: Likewise.
35011 * sunrpc/svc_unix.c: Likewise.
35012 * sunrpc/svcauth_des.c: Likewise.
35013 * sunrpc/xcrypt.c: Likewise.
35014 * sunrpc/xdr.c: Likewise.
35015 * sunrpc/xdr_array.c: Likewise.
35016 * sunrpc/xdr_float.c: Likewise.
35017 * sunrpc/xdr_mem.c: Likewise.
35018 * sunrpc/xdr_rec.c: Likewise.
35019 * sunrpc/xdr_ref.c: Likewise.
35020 * sunrpc/xdr_sizeof.c: Likewise.
35021 * sunrpc/xdr_stdio.c: Likewise.
35023 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35026 2010-08-19 Andreas Schwab <schwab@redhat.com>
35028 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35030 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
35032 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35033 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35034 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35035 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35036 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35037 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35038 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35039 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35040 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35041 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35042 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35043 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35044 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35045 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35047 2010-07-26 Anton Blanchard <anton@samba.org>
35049 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35050 * malloc/arena.c (heap_trim): Likewise.
35052 2010-08-16 Ulrich Drepper <drepper@redhat.com>
35054 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35057 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35059 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35061 * sysdeps/i386/elf/Makefile: New file.
35063 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35065 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35066 from fanotify_init.
35067 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35070 2010-08-15 Ulrich Drepper <drepper@redhat.com>
35072 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35074 * sysdeps/multiarch/strcmp.S: Likewise.
35076 2010-08-14 Ulrich Drepper <drepper@redhat.com>
35078 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35079 strncase_l-nonascii.
35080 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35081 Add strncase_l-ssse3.
35082 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35083 * sysdeps/x86_64/strcmp.S: Likewise.
35084 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35085 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35086 * sysdeps/x86_64/strncase.S: New file.
35087 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35088 * sysdeps/x86_64/strncase_l.S: New file.
35089 * string/Makefile (strop-tests): Add strncasecmp.
35090 * string/test-strncasecmp.c: New file.
35092 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35095 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35096 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35098 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35100 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35102 2010-08-12 Ulrich Drepper <drepper@redhat.com>
35104 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35105 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35106 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35108 2010-05-01 Alan Modra <amodra@gmail.com>
35110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35111 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35112 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35113 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35114 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35115 tidying. Don't tail-call __sigjmp_save for static lib.
35116 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35118 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35119 (CALL_MCOUNT): Add eh info, and nop after bl.
35120 (TAIL_CALL_SYSCALL_ERROR): New macro.
35121 (PSEUDO_RET): Use it.
35122 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35123 Correct save location of integer regs and cr.
35124 (_dl_profile_resolve): Correct cr save location. Delete nops
35125 after bl when SHARED. Reduce cfi size a little by better
35126 placement of cfi directives.
35127 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35128 make a stack frame. Instead use parm save area as a temp.
35129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35130 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35132 Don't make a stack frame for parent, use parm save area.
35133 Increase child stack frame to 112 bytes. Don't save unused reg,
35134 and adjust reg usage. Set up cfi on error recovery and
35135 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35137 (__makecontext): Add dummy nop after jump to exit.
35138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35139 Use correct parm save area and cr save, reduce stack frame.
35140 Correct cfi for possible PSEUDO_RET frame setup.
35141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35142 Branch to local label emitted by PSEUDO_RET rather than
35145 2010-08-12 Andreas Schwab <schwab@redhat.com>
35148 * locale/programs/locale.c (print_assignment): New function.
35149 (show_locale_vars): Use it.
35151 2010-08-11 Ulrich Drepper <drepper@redhat.com>
35153 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35155 (struct statfs64): Likewise.
35156 (_STATFS_F_FLAGS): Define.
35157 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35158 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35159 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35160 (ST_VALID): Define locally.
35161 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35162 __statvfs_getflags, use the provided value.
35163 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35164 __ASSUME_STATFS_F_FLAGS.
35166 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35168 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35169 Add sys/fanotify.h.
35170 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35171 fanotify_mask for GLIBC_2.13.
35172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35173 fanotify_init and fanotify_mark.
35174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35175 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35177 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35179 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35180 prlimit64 for GLIBC_2.13.
35181 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35186 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35187 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35188 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35191 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35194 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35195 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35197 * nss/Makefile: Add rules to build and run tst-nss-test1.
35198 * shlib-versions: Add entry for libnss_test1.
35199 * nss/nss_test1.c: New file.
35200 * nss/tst-nss-test1.c: New file.
35202 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35203 (__nss_configure_lookup): Set appropriate entry in
35204 __nss_configure_lookup to true.
35205 * nss/nsswitch.h: Define enum with indeces of databases in
35206 databases and __nss_database_custom arrays. Declare
35207 __nss_database_custom.
35208 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35209 to avoid using nscd when custom rules are installed.
35210 * nss/getXXbyYY_r.c: Likewise.
35211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35213 * nss/nss_files/files-parse.c: Whitespace fixes.
35215 2010-08-09 Ulrich Drepper <drepper@redhat.com>
35218 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35219 * posix/fnmatch_loop.c: Likewise.
35221 2010-07-17 Andi Kleen <ak@linux.intel.com>
35223 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35224 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35225 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35226 * Versions.def [GLIBC_2.13]: Add.
35228 2010-08-06 Ulrich Drepper <drepper@redhat.com>
35230 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35231 Also fail if tpwd after pwuid call is NULL.
35233 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35235 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35236 when converting to ms.
35238 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35240 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35241 EOPNOTSUPP errors with ENOTTY.
35242 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35243 EOPNOTSUPP errors with ENOTTY.
35245 2010-07-31 Ulrich Drepper <drepper@redhat.com>
35247 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35248 Add strcasecmp_l-ssse3.
35249 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35251 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35252 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35253 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35255 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35257 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35259 * string/Makefile (strop-tests): Add strcasecmp.
35260 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35261 strcasecmp_l-nonascii.
35262 (gen-as-const-headers): Add locale-defines.sym.
35263 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35264 * sysdeps/x86_64/strcasecmp.S: New file.
35265 * sysdeps/x86_64/strcasecmp_l.S: New file.
35266 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35267 * sysdeps/x86_64/locale-defines.sym: New file.
35268 * string/test-strcasecmp.c: New file.
35270 * string/test-strcasestr.c: Test both ends of the range of characters.
35271 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35273 2010-07-29 Roland McGrath <roland@redhat.com>
35276 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35278 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35280 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35283 2010-07-27 Andreas Schwab <schwab@redhat.com>
35285 * manual/memory.texi (Malloc Tunable Parameters): Document
35288 2010-07-26 Roland McGrath <roland@redhat.com>
35291 * configure.in (-fgnu89-inline check): Set and substitute
35292 gnu89_inline, not libc_cv_gnu89_inline.
35293 * configure: Regenerated.
35294 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35296 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35298 * string/test-strnlen.c: New file.
35299 * string/Makefile (strop-tests): Add strnlen.
35300 * string/tester.c (test_strnlen): Add a few more test cases.
35301 * string/tst-strlen.c: Better error reporting.
35303 * sysdeps/x86_64/strnlen.S: New file.
35305 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35308 lower-latency instructions.
35310 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35312 * string/test-strcasestr.c: New file.
35313 * string/test-strstr.c: New file.
35314 * string/Makefile (strop-tests): Add strstr and strcasestr.
35315 * string/str-two-way.h: Don't undefine MAX.
35316 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35318 2010-07-21 Andreas Schwab <schwab@redhat.com>
35320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35321 strcasestr-nonascii.
35322 (CFLAGS-strcasestr-nonascii.c): Define.
35323 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35324 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35325 Remove unused attribute.
35327 2010-07-20 Roland McGrath <roland@redhat.com>
35329 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35330 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35331 ld.so.cache was broken. With it, there is no way to disable dsocaps
35332 like LD_HWCAP_MASK can disable hwcaps.
35334 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35336 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35338 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35340 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35341 call in strcasestr.
35342 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35343 __strcasestr_sse42_nonascii.
35344 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35345 strcasestr-nonascii.c.
35346 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35348 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35350 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35351 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35352 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35353 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35355 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35360 2010-07-06 Andreas Schwab <schwab@redhat.com>
35363 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35366 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35369 _PC_PIPE_BUF using F_GETPIPE_SZ.
35371 2010-07-05 Roland McGrath <roland@redhat.com>
35373 * manual/arith.texi (Rounding Functions): Fix rint description
35374 implicit in round description.
35376 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35378 * elf/Makefile: Fix linking for a few tests to make recent linker
35381 2010-06-30 Andreas Schwab <schwab@redhat.com>
35383 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35384 $(common-objpfx)libc_nonshared.a.
35386 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35388 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35389 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35390 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35391 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35392 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35393 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35394 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35395 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35410 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35411 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35412 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35413 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35414 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35415 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35416 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35417 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35418 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35419 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35420 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35421 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35437 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35439 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35440 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35441 * string/memmove.c (memmove): Renamed to ...
35442 (MEMMOVE): ...this. Default to memmove.
35443 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35444 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35447 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35448 mempcpy-ssse3-back memmove-ssse3-back.
35449 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35452 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35453 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35454 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35455 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35456 * sysdeps/x86_64/multiarch/memmove.c: New file.
35457 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35458 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35459 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35460 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35461 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35464 (index_Fast_Copy_Backward): Define.
35465 (HAS_ARCH_FEATURE): Define.
35466 (HAS_FAST_REP_STRING): Define.
35467 (HAS_FAST_COPY_BACKWARD): Define.
35469 2010-06-21 Andreas Schwab <schwab@redhat.com>
35471 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35472 Restore proper fallback handling.
35474 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35477 * posix/group_member.c (__group_member): Correct checking loop.
35479 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35480 OOM in getpwuid_r correctly. Return error number when the caller
35481 should return, otherwise -1.
35482 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35483 call returning > 0 value.
35484 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35486 2010-06-07 Andreas Schwab <schwab@redhat.com>
35488 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35489 libc_nonshared.a from targets in modules-names.
35491 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35493 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35496 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35503 2010-06-02 Andreas Schwab <schwab@redhat.com>
35505 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35507 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35509 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35511 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35516 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35518 2010-06-14 Roland McGrath <roland@redhat.com>
35520 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35522 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35524 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35525 __REDIRECT followed by __THROW.
35526 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35527 * posix/getopt.h (getopt): Likewise.
35529 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35531 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35532 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35533 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35535 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35536 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35538 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35542 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35546 Properly check family and model.
35548 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35550 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35552 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35554 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35556 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35558 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35561 2010-05-19 Andreas Schwab <schwab@redhat.com>
35563 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35566 2010-05-21 Andreas Schwab <schwab@redhat.com>
35568 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35569 and internal_recvmmsg.
35570 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35571 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35572 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35573 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35575 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35576 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35577 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35579 2010-05-20 Andreas Schwab <schwab@redhat.com>
35581 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35583 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35585 POWER7 optimizations.
35586 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35587 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35589 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35591 * version.h: Update for 2.13 development version.
35593 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35595 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35596 exceptions. Return 0.
35598 2010-05-07 Roland McGrath <roland@redhat.com>
35600 * elf/ldconfig.c (main): Add a const.
35602 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35604 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35605 (args_options): Add no-idn option.
35606 (ahosts_keys_int): Add idn_flags to ai_flags.
35607 (parse_option): Handle 'i' option to clear idn_flags.
35609 * malloc/malloc.c (_int_free): Possible race in the most recently
35610 added check. Only act on the data if no current modification
35613 See ChangeLog.17 for earlier changes.