1 2013-11-28 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
5 round-to-nearest then adjust result for other rounding modes.
6 * include/fenv.h (fegetround): Use libm_hidden_proto.
7 * math/fegetround.c (fegetround): Use libm_hidden_def.
8 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
13 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
16 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21 * nss/Versions (libnss_files): Add
22 _nss_files_gethostbyname3_r.
23 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25 (HOST_DB_LOOKUP): Remove macro.
26 (_nss_files_gethostbyname_r): Implement function without the
28 (_nss_files_gethostbyname2_r): Likewise.
30 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
32 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
34 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
36 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
46 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47 __fe_nomask_env_priv and attribute_hidden.
48 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49 (libc_feupdateenv_test_ppc): Likewise.
50 (libc_feresetround_ppc): Likewise.
51 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
52 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55 (__fe_nomask_env): Likewise.
56 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
58 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
60 * string/Makefile: Remove ifunc tests.
61 * string/test-string.h: Define TEST_IFUNC.
62 * string/test-bcopy-ifunc.c: Remove.
63 * string/test-bzero-ifunc.c: Likewise.
64 * string/test-memccpy-ifunc.c: Likewise.
65 * string/test-memchr-ifunc.c: Likewise.
66 * string/test-memcmp-ifunc.c: Likewise.
67 * string/test-memcpy-ifunc.c: Likewise.
68 * string/test-memmem-ifunc.c: Likewise.
69 * string/test-memmove-ifunc.c: Likewise.
70 * string/test-mempcpy-ifunc.c: Likewise.
71 * string/test-memrchr-ifunc.c: Likewise.
72 * string/test-memset-ifunc.c: Likewise.
73 * string/test-rawmemchr-ifunc.c: Likewise.
74 * string/test-stpcpy-ifunc.c: Likewise.
75 * string/test-stpncpy-ifunc.c: Likewise.
76 * string/test-strcasecmp-ifunc.c: Likewise.
77 * string/test-strcasestr-ifunc.c: Likewise.
78 * string/test-strcat-ifunc.c: Likewise.
79 * string/test-strchr-ifunc.c: Likewise.
80 * string/test-strchrnul-ifunc.c: Likewise.
81 * string/test-strcmp-ifunc.c: Likewise.
82 * string/test-strcpy-ifunc.c: Likewise.
83 * string/test-strcspn-ifunc.c: Likewise.
84 * string/test-strlen-ifunc.c: Likewise.
85 * string/test-strncasecmp-ifunc.c: Likewise.
86 * string/test-strncat-ifunc.c: Likewise.
87 * string/test-strncmp-ifunc.c: Likewise.
88 * string/test-strncpy-ifunc.c: Likewise.
89 * string/test-strnlen-ifunc.c: Likewise.
90 * string/test-strpbrk-ifunc.c: Likewise.
91 * string/test-strrchr-ifunc.c: Likewise.
92 * string/test-strspn-ifunc.c: Likewise.
93 * string/test-strstr-ifunc.c: Likewise.
95 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
97 * benchtests/Makefile: Remove ifunc tests.
98 * benchtests/bench-string.h: Define TEST_IFUNC.
99 * benchtests/bench-bcopy-ifunc.c: Remove.
100 * benchtests/bench-bzero-ifunc.c: Likewise.
101 * benchtests/bench-memccpy-ifunc.c: Likewise.
102 * benchtests/bench-memchr-ifunc.c: Likewise.
103 * benchtests/bench-memcmp-ifunc.c: Likewise.
104 * benchtests/bench-memcpy-ifunc.c: Likewise.
105 * benchtests/bench-memmem-ifunc.c: Likewise.
106 * benchtests/bench-memmove-ifunc.c: Likewise.
107 * benchtests/bench-mempcpy-ifunc.c: Likewise.
108 * benchtests/bench-memrchr-ifunc.c: Likewise.
109 * benchtests/bench-memset-ifunc.c: Likewise.
110 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
111 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
112 * benchtests/bench-stpcpy-ifunc.c: Likewise.
113 * benchtests/bench-stpncpy-ifunc.c: Likewise.
114 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
115 * benchtests/bench-strcasestr-ifunc.c: Likewise.
116 * benchtests/bench-strcat-ifunc.c: Likewise.
117 * benchtests/bench-strchr-ifunc.c: Likewise.
118 * benchtests/bench-strchrnul-ifunc.c: Likewise.
119 * benchtests/bench-strcmp-ifunc.c: Likewise.
120 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
121 * benchtests/bench-strcpy-ifunc.c: Likewise.
122 * benchtests/bench-strcspn-ifunc.c: Likewise.
123 * benchtests/bench-strlen-ifunc.c: Likewise.
124 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
125 * benchtests/bench-strncat-ifunc.c: Likewise.
126 * benchtests/bench-strncmp-ifunc.c: Likewise.
127 * benchtests/bench-strncpy-ifunc.c: Likewise.
128 * benchtests/bench-strnlen-ifunc.c: Likewise.
129 * benchtests/bench-strpbrk-ifunc.c: Likewise.
130 * benchtests/bench-strrchr-ifunc.c: Likewise.
131 * benchtests/bench-strsep-ifunc.c: Likewise.
132 * benchtests/bench-strspn-ifunc.c: Likewise.
133 * benchtests/bench-strstr-ifunc.c: Likewise.
135 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
137 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
139 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
141 * resolv/netdb.h: Use __glibc_reserved instead __unused.
142 * rt/aio.h: Likewise.
143 * sysdeps/gnu/bits/utmp.h: Likewise.
144 * sysdeps/gnu/bits/utmpx.h: Likewise.
145 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
146 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
147 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
148 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
149 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
150 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
151 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
152 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
153 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
154 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
155 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
156 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
157 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
159 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
160 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
161 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
162 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
163 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
164 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
165 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
166 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
167 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
168 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
169 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
170 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
171 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
172 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
173 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
174 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
175 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
176 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
177 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
178 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
179 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
180 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
181 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
182 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
183 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
184 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
185 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
186 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
188 2013-11-25 Carlos O'Donell <carlos@redhat.com>
191 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
192 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
194 2013-11-25 Joseph Myers <joseph@codesourcery.com>
196 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
197 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
200 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
203 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
204 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
205 (__fesetround): Remove define.
206 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
207 rounding and exceptions handling.
208 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
209 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
210 (__fe_nomask_env): Likewise.
211 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
212 __fegetround instead of fegetround.
213 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
214 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
216 2013-11-21 Roland McGrath <roland@hack.frob.com>
218 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
221 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
223 2013-11-21 Meador Inge <meadori@codesourcery.com>
226 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
227 (encrypt_r): Likewise.
228 * malloc/obstack.h (obstack_free): Likewise.
229 * posix/unistd.h (encrypt): Likewise.
231 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
233 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
234 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
235 DL_CALL_DT_FINI() that call the functions directly.
236 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
237 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
238 * elf/dl-fini.c: Likewise.
240 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
242 * malloc/hooks.c (memalign_check): Add alignment rounding.
243 * malloc/malloc.c (_mid_memalign): New function.
244 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
245 Implement by calling _mid_memalign.
246 * manual/probes.texi (Memory Allocation Probes): Remove
247 memory_valloc_retry and memory_pvalloc_retry.
249 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
251 * locale/programs/locarchive.c (open_archive): Add const
252 qualifier to ARCHIVEFNAME and copy default fname to
256 * libio/tst-widetext.input: Rename Oriya to Odia.
257 * locale/iso-639.def: Likewise.
259 * manual/probes.texi (Mathematical Function Probes): Add
260 documentation for sin, cos, asin and acos probes.
261 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
262 (__sin32): Add slowasin probe.
263 (__cos32): Add slowacos probe.
264 (__mpsin): Add slowsin probe.
265 (__mpcos): Add slowcos probe.
267 2013-11-19 Joseph Myers <joseph@codesourcery.com>
270 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
271 thread-local __sim_exceptions_thread and global
272 __sim_exceptions_global.
273 (__sim_disabled_exceptions): Change to thread-local
274 __sim_disabled_exceptions_thread and global
275 __sim_disabled_exceptions_global.
276 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
277 and global __sim_round_mode_global.
278 (__simulate_exceptions): Use thread-local floating-point state and
279 set global state from it as needed.
280 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
281 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
282 __sim_round_mode_thread.
283 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
284 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
285 and global __sim_exceptions_global.
286 (__sim_disabled_exceptions): Change to thread-local
287 __sim_disabled_exceptions_thread and global
288 __sim_disabled_exceptions_global.
289 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
290 and global __sim_round_mode_global.
291 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
292 (SIM_SET_GLOBAL): Likewise.
293 * sysdeps/powerpc/soft-fp/sfp-machine.h
294 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
295 __sim_round_mode_thread.
296 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
297 __sim_disabled_exceptions_thread.
298 (__sim_exceptions): Change to __sim_exceptions_thread.
299 (__sim_disabled_exceptions): Change to
300 __sim_disabled_exceptions_thread.
301 (__sim_round_mode): Change to __sim_round_mode_thread.
302 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
303 thread-local floating-point state and set global state from it as
305 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
306 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
307 (__sim_disabled_exceptions): Remove extern declaration.
308 (feenableexcept): Use thread-local floating-point state and set
309 global state from it as needed.
310 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
312 (__sim_disabled_exceptions): Likewise.
313 (__sim_round_mode): Likewise.
314 (__fegetenv): Use thread-local floating-point state.
315 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
316 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
317 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
318 floating-point state and set global state from it as needed.
319 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
320 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
321 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
323 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
324 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
326 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
327 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
328 Use __sim_round_mode_thread.
329 * math/test-fenv-tls.c: New file.
330 * math/Makefile (tests): Add test-fenv-tls.
331 ($(objpfx)test-fenv-tls): Depend on
332 $(common-objpfx)nptl/libpthread.so.
334 2013-11-19 Andreas Schwab <schwab@suse.de>
336 * locale/programs/locale.c (show_info): Decode wordarray elements.
337 * locale/categories.def (LC_MONETARY): Add element for
338 _NL_MONETARY_CRNCYSTR.
339 * locale/C-monetary.c (conversion_rate): New variable.
340 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
343 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
345 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
346 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
348 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
350 * elf/Makefile (tst-auxv): New test.
351 * elf/tst-auxv.c: New
352 * elf/rtld.c (dl_main): Adjust AT_EXECFN
354 2013-11-18 Joseph Myers <joseph@codesourcery.com>
356 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
357 (hidden_proto): Caller changed.
358 (hidden_tls_proto): New macro.
359 (libc_hidden_tls_proto): Likewise.
360 (rtld_hidden_tls_proto): Likewise.
361 (libm_hidden_tls_proto): Likewise.
362 (libresolv_hidden_tls_proto): Likewise.
363 (librt_hidden_tls_proto): Likewise.
364 (libdl_hidden_tls_proto): Likewise.
365 (libnss_files_hidden_tls_proto): Likewise.
366 (libnsl_hidden_tls_proto): Likewise.
367 (libnss_nisplus_hidden_tls_proto): Likewise.
368 (libutil_hidden_tls_proto): Likewise.
370 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
373 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
374 (decompose_rpath): Defer expansion to fillin_rpath.
375 (_dl_init_paths): Pass linkmap to fillin_rpath.
377 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
379 * benchtests/Makefile: Add strsep.
380 * benchtests/bench-strsep.c: New file: strsep benchtest.
381 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
383 2013-11-18 Andreas Schwab <schwab@suse.de>
385 * locale/programs/locale.c (show_info) [case byte]: Check for
386 '\377' instead of '\177'.
387 * locale/C-monetary.c (not_available): Always use "\377".
388 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
389 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
390 detect unavailable sign_posn locale elements.
391 * locale/localeconv.c (__localeconv): For grouping and
392 mon_grouping handle "\177" and "\377" like no grouping.
393 (INT_ELEM): New macro. Use it to set all numeric members.
394 * locale/programs/ld-monetary.c (monetary_read)
395 <tok_mon_grouping>: Normalize single -1 to the empty string.
396 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
399 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
402 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
404 * stdio-common/tst-sscanf.c (struct test): Add testcase.
406 2013-11-16 Joseph Myers <joseph@codesourcery.com>
408 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
409 (NO_TEST_INLINE): Update value.
410 (ERRNO_UNCHANGED): Likewise.
411 (ERRNO_EDOM): Likewise.
412 (ERRNO_ERANGE): Likewise.
413 (IGNORE_RESULT): Likewise.
414 (check_float_internal): Check signs of NaN results if
416 (check_complex): Pass TEST_NAN_SIGN flag through to second
417 check_float_internal call.
418 (copysign_test_data): Add tests with quiet NaNs as second
419 argument. Use TEST_NAN_SIGN.
420 (fabs_test_data): Add test of negative quiet NaN argument. Use
422 (signbit_test_data): Add tests of quiet NaN argument.
423 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
425 * math/gen-libm-test.pl (show_exceptions): Take extra argument
427 (parse_args): Handle function results specified as IGNORE.
428 * math/libm-test.inc (IGNORE_RESULT): New macro.
429 (check_float_internal): Do not check numerical result if flag
431 (check_complex): Pass through IGNORE_RESULT to second
432 check_float_internal call.
433 (check_int): Do not check numerical result if flag IGNORE_RESULT
435 (check_long): Likewise.
436 (check_bool): Likewise.
437 (check_longlong): Likewise.
438 (lrint_test_data): Add tests of infinite and NaN arguments.
439 (lrint_tonearest_test_data): Likewise.
440 (lrint_towardzero_test_data): Likewise.
441 (lrint_downward_test_data): Likewise.
442 (lrint_upward_test_data): Likewise.
443 (llrint_test_data): Likewise.
444 (llrint_tonearest_test_data): Likewise.
445 (llrint_towardzero_test_data): Likewise.
446 (llrint_downward_test_data): Likewise.
447 (llrint_upward_test_data): Likewise.
448 (lround_test_data): Likewise.
449 (llround_test_data): Likewise.
451 * math/libm-test.inc (NO_TEST_INLINE): New macro.
452 (ERRNO_UNCHANGED): Update value.
453 (ERRNO_EDOM): Likewise.
454 (ERRNO_ERANGE): Likewise.
455 (NO_TEST_INLINE_FLOAT): New macro.
456 (NO_TEST_INLINE_DOUBLE): Likewise.
457 (enable_test): New function.
458 (RUN_TEST_f_f): Check enable_test before running test.
459 (RUN_TEST_2_f): Likewise.
460 (RUN_TEST_fff_f): Likewise.
461 (RUN_TEST_c_f): Likewise.
462 (RUN_TEST_f_f1): Likewise.
463 (RUN_TEST_fF_f1): Likewise.
464 (RUN_TEST_fI_f1): Likewise.
465 (RUN_TEST_ffI_f1): Likewise.
466 (RUN_TEST_c_c): Likewise.
467 (RUN_TEST_cc_c): Likewise.
468 (RUN_TEST_f_i): Likewise.
469 (RUN_TEST_f_i_tg): Likewise.
470 (RUN_TEST_ff_i_tg): Likewise.
471 (RUN_TEST_f_b): Likewise.
472 (RUN_TEST_f_b_tg): Likewise.
473 (RUN_TEST_f_l): Likewise.
474 (RUN_TEST_f_L): Likewise.
475 (RUN_TEST_fFF_11): Likewise.
476 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
478 (cosh_test_data): Likewise.
479 (exp_test_data): Likewise.
480 (expm1_test_data): Likewise.
481 (hypot_test_data): Likewise.
482 (pow_test_data): Likewise.
483 (sinh_test_data): Likewise.
484 (tanh_test_data): Likewise.
485 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
488 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
489 tests with quiet NaN input and output.
490 (acosh_test_data): Likewise.
491 (asin_test_data): Likewise.
492 (asinh_test_data): Likewise.
493 (atan_test_data): Likewise.
494 (atanh_test_data): Likewise.
495 (atan2_test_data): Likewise.
496 (cbrt_test_data): Likewise.
497 (cos_test_data): Likewise.
498 (cosh_test_data): Likewise.
499 (erf_test_data): Likewise.
500 (erfc_test_data): Likewise.
501 (exp_test_data): Likewise.
502 (exp10_test_data): Likewise.
503 (exp2_test_data): Likewise.
504 (expm1_test_data): Likewise.
505 (hypot_test_data): Likewise.
506 (j0_test_data): Likewise.
507 (j1_test_data): Likewise.
508 (jn_test_data): Likewise.
509 (lgamma_test_data): Likewise.
510 (log_test_data): Likewise.
511 (log10_test_data): Likewise.
512 (log1p_test_data): Likewise.
513 (log2_test_data): Likewise.
514 (pow_test_data): Likewise.
515 (scalb_test_data): Likewise.
516 (sin_test_data): Likewise.
517 (sincos_test_data): Likewise.
518 (sinh_test_data): Likewise.
519 (tan_test_data): Likewise.
520 (tanh_test_data): Likewise.
521 (tgamma_test_data): Likewise.
522 (y0_test_data): Likewise.
523 (y1_test_data): Likewise.
524 (yn_test_data): Likewise.
527 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
528 argument being NaN and avoid computations with second argument in
530 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
531 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
532 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
534 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
536 * locale/iso-639.def: Add Chitwani Tharu (the).
538 2013-11-14 Andreas Schwab <schwab@suse.de>
540 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
541 word instead of empty string.
543 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
546 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
548 (__fe_nomask_env): Likewise.
550 2013-11-13 Steve Ellcey <sellcey@mips.com>
552 * benchtests/bench-timing.h: Include time.h.
554 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
557 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
559 * sysdeps/unix/sysv/linux/configure: Regenerated.
561 2013-11-13 Joseph Myers <joseph@codesourcery.com>
564 * stdlib/strtod_l.c (round_and_return): Do not consider
565 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
566 exponent one less than half the least subnormal exponent.
567 * stdlib/test-strtod-round-data: Add more tests.
568 * stdlib/tst-strtod-round.c (tests): Regenerated.
570 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
573 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
574 (__fe_mask_env): Likewise.
575 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
576 libm_hidden_proto and add function prototype.
577 (__fe_mask_env): Add function prototype.
578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
579 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
581 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
583 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
585 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
587 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
588 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
590 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
592 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
595 2013-11-11 David S. Miller <davem@davemloft.net>
598 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
599 symbol in the non-vis3 case in static builds.
600 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
601 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
602 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
603 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
605 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
608 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
611 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
613 * benchtests/Makefile: Add bench-strtod.
614 * benchtests/bench-strtod.c: New file: strtod benchtest
616 2013-11-11 Andreas Schwab <schwab@suse.de>
619 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
620 terminating NUL in key length.
622 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
624 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
625 Add artificial ODP entry for vDSO symbol for PPC64.
626 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
627 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
629 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
632 * nss/getent.c (services_keys): Recognize services starting with digit.
634 2013-11-06 David S. Miller <davem@davemloft.net>
637 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
638 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
640 2013-11-06 Will Newton <will.newton@linaro.org>
642 * manual/memory.texi (Malloc Examples): Remove register
643 keyword from examples.
645 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
647 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
649 2013-11-04 Joseph Myers <joseph@codesourcery.com>
651 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
652 depending on [__GCC_IEC_559 > 0].
653 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
654 depending on [__GCC_IEC_559_COMPLEX > 0].
656 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
658 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
661 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
663 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
665 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
668 * malloc/malloc (malloc_info): Do not handle first bin as
671 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
673 * locale/iso-639.def: Add Central Nahuatl (nhn).
675 2013-11-01 Bruno Haible <bruno@clisp.org>
678 * manual/math.texi (BSD Random): Specify range upper bound as
681 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
683 * locale/iso-639.def: Add Meadow Mari (mhr).
685 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
687 [BZ #14752], [BZ #15763]
688 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
690 * rt/tst_shm.c: Add test for escaping directory.
692 2013-10-31 Andreas Schwab <schwab@suse.de>
695 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
696 followed by 'x' as part of digit sequence.
697 * stdio-common/tst-sscanf.c (double_tests2): New tests.
699 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
702 * configure.ac: allow GNU Make 4.0 and greater.
703 * configure: Regenerated.
705 2013-10-30 Will Newton <will.newton@linaro.org>
708 * malloc/hooks.c (memalign_check): Limit alignment to the
709 maximum representable power of two.
710 * malloc/malloc.c (__libc_memalign): Likewise.
711 * malloc/tst-memalign.c (do_test): Add test for very
712 large alignment values.
713 * malloc/tst-posix_memalign.c (do_test): Likewise.
715 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
718 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
719 (munmap_chunk): Likewise.
720 (mremap_chunk): Likewise.
722 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
725 * stdlib/div.c (div): Remove obsolete code.
726 * stdlib/ldiv.c (ldiv): Likewise.
727 * stdlib/lldiv.c (lldiv): Likewise.
729 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
732 * nss/nss_files/files-XXX.c (get_contents_ret): New
734 (get_contents): New function.
735 (internal_getent): Use it. Expand size of LINEBUFLEN.
737 2013-10-30 Mike Frysinger <vapier@gentoo.org>
739 * configure.in: Moved to ...
740 * configure.ac: ... here. Change reference to configure.in
742 * sysdeps/arm/preconfigure.ac: ... here.
743 configure.in to configure.ac.
744 * sysdeps/gnu/configure.in: Moved to ...
745 * sysdeps/gnu/configure.ac: ... here.
746 * sysdeps/i386/configure.in: Moved to ...
747 * sysdeps/i386/configure.ac: ... here.
748 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
749 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
750 * sysdeps/mach/configure.in: Moved to ...
751 * sysdeps/mach/configure.ac: ... here.
752 * sysdeps/mach/hurd/configure.in: Moved to ...
753 * sysdeps/mach/hurd/configure.ac: ... here.
754 * sysdeps/powerpc/configure.in: Moved to ...
755 * sysdeps/powerpc/configure.ac: ... here.
756 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
757 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
758 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
759 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
760 * sysdeps/s390/s390-32/configure.in: Moved to ...
761 * sysdeps/s390/s390-32/configure.ac: ... here.
762 * sysdeps/s390/s390-64/configure.in: Moved to ...
763 * sysdeps/s390/s390-64/configure.ac: ... here.
764 * sysdeps/sh/configure.in: Moved to ...
765 * sysdeps/sh/configure.ac: ... here.
766 * sysdeps/sparc/configure.in: Moved to ...
767 * sysdeps/sparc/configure.ac: ... here.
768 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
769 * sysdeps/unix/sysv/linux/configure.ac: ... here.
770 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
771 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
772 * sysdeps/x86_64/configure.in: Moved to ...
773 * sysdeps/x86_64/configure.ac: ... here.
774 * sysdeps/x86_64/preconfigure.in: Moved to ...
775 * sysdeps/x86_64/preconfigure.ac: ... here.
776 * aclocal.m4: Change reference to configure.in to configure.ac.
777 * config.h.in: Likewise.
778 * manual/install.texi: Likewise.
779 * manual/maint.texi: Likewise.
780 * Makefile: Likewise.
781 * malloc/Makefile: Likewise.
782 * nscd/Makefile: Likewise.
783 * Makeconfig: Change reference to configure.in and
784 preconfigure.in to configure.ac and preconfigure.ac
786 * INSTALL: Regenerated.
787 * configure: Likewise.
788 * sysdeps/gnu/configure: Likewise.
789 * sysdeps/i386/configure: Likewise.
790 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
791 * sysdeps/mach/configure: Likewise.
792 * sysdeps/mach/hurd/configure: Likewise.
793 * sysdeps/powerpc/configure: Likewise.
794 * sysdeps/powerpc/powerpc32/configure: Likewise.
795 * sysdeps/powerpc/powerpc64/configure: Likewise.
796 * sysdeps/s390/s390-32/configure: Likewise.
797 * sysdeps/s390/s390-64/configure: Likewise.
798 * sysdeps/sh/configure: Likewise.
799 * sysdeps/sparc/configure: Likewise.
800 * sysdeps/unix/sysv/linux/configure: Likewise.
801 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
802 * sysdeps/x86_64/configure: Likewise.
803 * sysdeps/x86_64/preconfigure: Likewise.
805 2013-10-29 Andreas Schwab <schwab@suse.de>
807 * stdio-common/Makefile (tst-swscanf-ENV): Define.
809 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
811 * benchtests/pow-inputs: Add new inputs.
813 * benchtests/exp-inputs: Add new inputs.
815 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
816 conditional check for return value.
819 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
821 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
822 to provide a boost for large inputs with word alignment.
823 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
824 implementation based on optimized PPC64 strcpy.
825 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
826 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
827 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
828 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
830 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
833 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
835 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
838 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
839 * time/tst-strptime.c (day_tests): Add testcase.
841 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
844 * manual/pattern.texi: Acknowledge that fnmatch can fail.
846 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
849 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
852 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
855 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
856 heap for large requests.
858 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
861 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
862 result if the result has no associated interface.
863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
864 interface for all 127.X.Y.Z addresses.
866 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
868 * locale/iso-639.def: Add Ligurian (lij)
870 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
873 * sunrpc/rpc_main.c: Document rpcgen -5.
875 2013-10-19 Michael Stahl <mstahl@redhat.com>
877 * elf/rtld.c (do_preload): Print the reason why preloading failed.
879 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
882 * posix/glob.c: Match only directories when trailing slash is present.
883 * posix/tst-gnuglob.c (my_opendir): Do not open files.
884 (main): Add testcase.
886 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
889 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
891 2013-10-18 Carlos O'Donell <carlos@redhat.com>
893 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
894 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
895 AUTH_DES and cindex for FIPS 140-2.
896 (DES Encryption): Add cindex FIPS 46-3.
898 * locale/locarchive.h (struct locarhandle): Add fname.
899 * locale/programs/localedef.c (main): Pass ARGV[remaining]
900 if an optional argument was specified to --list-archive,
902 * locale/programs/locarchive.c (show_archive_content): Take new
903 argument fname and pass it via ah.fname to open_archive.
904 * locale/programs/localedef.h: Update decl.
905 (open_archive): If AH->fname is non-null, open that file
906 rather than the default file name, and don't ignore ENOENT.
907 (create_archive): Set AH.fname to NULL.
908 (delete_locales_from_archive): Likewise.
909 (add_locales_to_archive): Likewise.
910 * locale/programs/locfile.c (write_all_categories): Likewise.
912 2013-10-18 Joseph Myers <joseph@codesourcery.com>
913 Aldy Hernandez <aldyh@redhat.com>
915 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
916 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
917 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
918 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
919 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
920 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
921 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
922 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
923 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
924 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
925 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
926 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
927 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
928 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
929 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
931 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
933 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
935 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
937 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
938 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
940 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
941 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
942 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
943 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
945 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
946 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
947 * sysdeps/powerpc/preconfigure: Likewise.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
950 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
951 Replace contents of file by #include of <fenv_libc.h>.
952 * sysdeps/powerpc/soft-fp/sfp-machine.h
953 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
955 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
956 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
957 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
958 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
959 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
960 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
962 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
963 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
964 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
965 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
966 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
968 Allow copysignl PLT reference to be missing.
970 2013-10-18 Richard Sandiford <richard@codesourcery.com>
971 Joseph Myers <joseph@codesourcery.com
974 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
976 (add_to_tablewc): Assert sequence of wide characters is nonempty.
978 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
980 * elf/tst-tls-dlinfo.c: Don't include tls.h.
981 * elf/tst-tls1.c: Likewise.
982 * elf/tst-tls10.h: Likewise.
983 * elf/tst-tls14.c: Likewise.
984 * elf/tst-tls2.c: Likewise.
985 * elf/tst-tls3.c: Likewise.
986 * elf/tst-tls4.c: Likewise.
987 * elf/tst-tls5.c: Likewise.
988 * elf/tst-tls6.c: Likewise.
989 * elf/tst-tls7.c: Likewise.
990 * elf/tst-tls8.c: Likewise.
991 * elf/tst-tls9.c: Likewise.
992 * elf/tst-tlsmod1.c: Likewise.
993 * elf/tst-tlsmod13.c: Likewise.
994 * elf/tst-tlsmod13a.c: Likewise.
995 * elf/tst-tlsmod14a.c: Likewise.
996 * elf/tst-tlsmod16a.c: Likewise.
997 * elf/tst-tlsmod16b.c: Likewise.
998 * elf/tst-tlsmod2.c: Likewise.
999 * elf/tst-tlsmod3.c: Likewise.
1000 * elf/tst-tlsmod4.c: Likewise.
1001 * elf/tst-tlsmod5.c: Likewise.
1002 * elf/tst-tlsmod6.c: Likewise.
1004 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
1007 * malloc/malloc.c: remove checks for statistics.
1009 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1012 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1013 * inet/tst-network.c: Add testcase.
1015 2013-10-17 Andreas Schwab <schwab@suse.de>
1018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1019 to determine canonical name.
1021 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1023 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1024 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1025 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1026 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1027 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1028 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1029 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1030 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1031 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1032 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1033 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1034 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1035 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1036 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1037 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1038 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1039 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1040 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1041 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1042 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1043 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1046 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1047 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1048 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1049 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1050 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1051 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1052 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1053 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1054 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1055 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1056 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1057 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1058 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1059 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1060 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1061 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1062 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1063 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1064 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1065 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1066 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1067 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1068 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1069 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1070 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1071 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1072 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1073 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1074 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1075 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1076 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1077 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1078 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1080 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1082 2013-10-17 Joseph Myers <joseph@codesourcery.com>
1085 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1086 make result into a quiet NaN.
1088 2013-10-16 Joseph Myers <joseph@codesourcery.com>
1090 * soft-fp/adddf3.c: Fix horizontal whitespace.
1091 * soft-fp/addsf3.c: Likewise.
1092 * soft-fp/addtf3.c: Likewise.
1093 * soft-fp/divdf3.c: Likewise.
1094 * soft-fp/divsf3.c: Likewise.
1095 * soft-fp/divtf3.c: Likewise.
1096 * soft-fp/double.h: Likewise.
1097 * soft-fp/eqdf2.c: Likewise.
1098 * soft-fp/eqsf2.c: Likewise.
1099 * soft-fp/eqtf2.c: Likewise.
1100 * soft-fp/extenddftf2.c: Likewise.
1101 * soft-fp/extended.h: Likewise.
1102 * soft-fp/extendsfdf2.c: Likewise.
1103 * soft-fp/extendsftf2.c: Likewise.
1104 * soft-fp/extendxftf2.c: Likewise.
1105 * soft-fp/fixdfdi.c: Likewise.
1106 * soft-fp/fixdfsi.c: Likewise.
1107 * soft-fp/fixdfti.c: Likewise.
1108 * soft-fp/fixsfdi.c: Likewise.
1109 * soft-fp/fixsfsi.c: Likewise.
1110 * soft-fp/fixsfti.c: Likewise.
1111 * soft-fp/fixtfdi.c: Likewise.
1112 * soft-fp/fixtfsi.c: Likewise.
1113 * soft-fp/fixtfti.c: Likewise.
1114 * soft-fp/fixunsdfdi.c: Likewise.
1115 * soft-fp/fixunsdfsi.c: Likewise.
1116 * soft-fp/fixunsdfti.c: Likewise.
1117 * soft-fp/fixunssfdi.c: Likewise.
1118 * soft-fp/fixunssfsi.c: Likewise.
1119 * soft-fp/fixunssfti.c: Likewise.
1120 * soft-fp/fixunstfdi.c: Likewise.
1121 * soft-fp/fixunstfsi.c: Likewise.
1122 * soft-fp/fixunstfti.c: Likewise.
1123 * soft-fp/floatdidf.c: Likewise.
1124 * soft-fp/floatdisf.c: Likewise.
1125 * soft-fp/floatditf.c: Likewise.
1126 * soft-fp/floatsidf.c: Likewise.
1127 * soft-fp/floatsisf.c: Likewise.
1128 * soft-fp/floatsitf.c: Likewise.
1129 * soft-fp/floattidf.c: Likewise.
1130 * soft-fp/floattisf.c: Likewise.
1131 * soft-fp/floattitf.c: Likewise.
1132 * soft-fp/floatundidf.c: Likewise.
1133 * soft-fp/floatundisf.c: Likewise.
1134 * soft-fp/floatunditf.c: Likewise.
1135 * soft-fp/floatunsidf.c: Likewise.
1136 * soft-fp/floatunsisf.c: Likewise.
1137 * soft-fp/floatunsitf.c: Likewise.
1138 * soft-fp/floatuntidf.c: Likewise.
1139 * soft-fp/floatuntisf.c: Likewise.
1140 * soft-fp/floatuntitf.c: Likewise.
1141 * soft-fp/fmadf4.c: Likewise.
1142 * soft-fp/fmasf4.c: Likewise.
1143 * soft-fp/fmatf4.c: Likewise.
1144 * soft-fp/gedf2.c: Likewise.
1145 * soft-fp/gesf2.c: Likewise.
1146 * soft-fp/getf2.c: Likewise.
1147 * soft-fp/ledf2.c: Likewise.
1148 * soft-fp/lesf2.c: Likewise.
1149 * soft-fp/letf2.c: Likewise.
1150 * soft-fp/muldf3.c: Likewise.
1151 * soft-fp/mulsf3.c: Likewise.
1152 * soft-fp/multf3.c: Likewise.
1153 * soft-fp/negdf2.c: Likewise.
1154 * soft-fp/negsf2.c: Likewise.
1155 * soft-fp/negtf2.c: Likewise.
1156 * soft-fp/op-1.h: Likewise.
1157 * soft-fp/op-2.h: Likewise.
1158 * soft-fp/op-4.h: Likewise.
1159 * soft-fp/op-8.h: Likewise.
1160 * soft-fp/op-common.h: Likewise.
1161 * soft-fp/quad.h: Likewise.
1162 * soft-fp/single.h: Likewise.
1163 * soft-fp/soft-fp.h: Likewise.
1164 * soft-fp/sqrtdf2.c: Likewise.
1165 * soft-fp/sqrtsf2.c: Likewise.
1166 * soft-fp/sqrttf2.c: Likewise.
1167 * soft-fp/subdf3.c: Likewise.
1168 * soft-fp/subsf3.c: Likewise.
1169 * soft-fp/subtf3.c: Likewise.
1170 * soft-fp/truncdfsf2.c: Likewise.
1171 * soft-fp/trunctfdf2.c: Likewise.
1172 * soft-fp/trunctfsf2.c: Likewise.
1173 * soft-fp/trunctfxf2.c: Likewise.
1174 * soft-fp/unorddf2.c: Likewise.
1175 * soft-fp/unordsf2.c: Likewise.
1176 * soft-fp/unordtf2.c: Likewise.
1178 2013-10-15 Joseph Myers <joseph@codesourcery.com>
1180 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1181 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1183 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
1185 * elf/dl-libc.c: Clear initfini list after freeing.
1187 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1189 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1190 * soft-fp/addsf3.c: Likewise.
1191 * soft-fp/addtf3.c: Likewise.
1192 * soft-fp/divdf3.c: Likewise.
1193 * soft-fp/divsf3.c: Likewise.
1194 * soft-fp/divtf3.c: Likewise.
1195 * soft-fp/double.h: Likewise.
1196 * soft-fp/eqdf2.c: Likewise.
1197 * soft-fp/eqsf2.c: Likewise.
1198 * soft-fp/eqtf2.c: Likewise.
1199 * soft-fp/extenddftf2.c: Likewise.
1200 * soft-fp/extended.h: Likewise.
1201 * soft-fp/extendsfdf2.c: Likewise.
1202 * soft-fp/extendsftf2.c: Likewise.
1203 * soft-fp/extendxftf2.c: Likewise.
1204 * soft-fp/fixdfdi.c: Likewise.
1205 * soft-fp/fixdfsi.c: Likewise.
1206 * soft-fp/fixdfti.c: Likewise.
1207 * soft-fp/fixsfdi.c: Likewise.
1208 * soft-fp/fixsfsi.c: Likewise.
1209 * soft-fp/fixsfti.c: Likewise.
1210 * soft-fp/fixtfdi.c: Likewise.
1211 * soft-fp/fixtfsi.c: Likewise.
1212 * soft-fp/fixtfti.c: Likewise.
1213 * soft-fp/fixunsdfdi.c: Likewise.
1214 * soft-fp/fixunsdfsi.c: Likewise.
1215 * soft-fp/fixunsdfti.c: Likewise.
1216 * soft-fp/fixunssfdi.c: Likewise.
1217 * soft-fp/fixunssfsi.c: Likewise.
1218 * soft-fp/fixunssfti.c: Likewise.
1219 * soft-fp/fixunstfdi.c: Likewise.
1220 * soft-fp/fixunstfsi.c: Likewise.
1221 * soft-fp/fixunstfti.c: Likewise.
1222 * soft-fp/floatdidf.c: Likewise.
1223 * soft-fp/floatdisf.c: Likewise.
1224 * soft-fp/floatditf.c: Likewise.
1225 * soft-fp/floatsidf.c: Likewise.
1226 * soft-fp/floatsisf.c: Likewise.
1227 * soft-fp/floatsitf.c: Likewise.
1228 * soft-fp/floattidf.c: Likewise.
1229 * soft-fp/floattisf.c: Likewise.
1230 * soft-fp/floattitf.c: Likewise.
1231 * soft-fp/floatundidf.c: Likewise.
1232 * soft-fp/floatundisf.c: Likewise.
1233 * soft-fp/floatunsidf.c: Likewise.
1234 * soft-fp/floatunsisf.c: Likewise.
1235 * soft-fp/floatuntidf.c: Likewise.
1236 * soft-fp/floatuntisf.c: Likewise.
1237 * soft-fp/floatuntitf.c: Likewise.
1238 * soft-fp/fmadf4.c: Likewise.
1239 * soft-fp/fmasf4.c: Likewise.
1240 * soft-fp/fmatf4.c: Likewise.
1241 * soft-fp/gedf2.c: Likewise.
1242 * soft-fp/gesf2.c: Likewise.
1243 * soft-fp/getf2.c: Likewise.
1244 * soft-fp/ledf2.c: Likewise.
1245 * soft-fp/lesf2.c: Likewise.
1246 * soft-fp/letf2.c: Likewise.
1247 * soft-fp/muldf3.c: Likewise.
1248 * soft-fp/mulsf3.c: Likewise.
1249 * soft-fp/multf3.c: Likewise.
1250 * soft-fp/negdf2.c: Likewise.
1251 * soft-fp/negsf2.c: Likewise.
1252 * soft-fp/negtf2.c: Likewise.
1253 * soft-fp/op-1.h: Likewise.
1254 * soft-fp/op-2.h: Likewise.
1255 * soft-fp/op-4.h: Likewise.
1256 * soft-fp/op-8.h: Likewise.
1257 * soft-fp/op-common.h: Likewise.
1258 * soft-fp/quad.h: Likewise.
1259 * soft-fp/single.h: Likewise.
1260 * soft-fp/soft-fp.h: Likewise.
1261 * soft-fp/sqrtdf2.c: Likewise.
1262 * soft-fp/sqrtsf2.c: Likewise.
1263 * soft-fp/sqrttf2.c: Likewise.
1264 * soft-fp/subdf3.c: Likewise.
1265 * soft-fp/subsf3.c: Likewise.
1266 * soft-fp/subtf3.c: Likewise.
1267 * soft-fp/truncdfsf2.c: Likewise.
1268 * soft-fp/trunctfdf2.c: Likewise.
1269 * soft-fp/trunctfsf2.c: Likewise.
1270 * soft-fp/trunctfxf2.c: Likewise.
1271 * soft-fp/unorddf2.c: Likewise.
1272 * soft-fp/unordsf2.c: Likewise.
1273 * soft-fp/unordtf2.c: Likewise.
1275 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1278 * misc/error.c (error_tail): Fix possible buffer overflow.
1280 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1283 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1286 2013-10-14 P. J. McDermott <pj@pehjota.net>
1289 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1290 testing pipefail option.
1292 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1294 * soft-fp/double.h: Indent preprocessor directives inside #if.
1295 * soft-fp/extended.h: Likewise.
1296 * soft-fp/op-2.h: Likewise.
1297 * soft-fp/op-4.h: Likewise.
1298 * soft-fp/op-common.h: Likewise.
1299 * soft-fp/quad.h: Likewise.
1300 * soft-fp/single.h: Likewise.
1301 * soft-fp/soft-fp.h: Likewise.
1303 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1305 * iconv/iconv_prog.c: Fix typos.
1306 * stdio-common/psiginfo-data.h: Likewise.
1308 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1311 * locale/setlocale.c: Fix typo.
1313 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1316 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1317 signaling NaN arguments.
1318 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1319 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1322 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1324 * soft-fp/gesf2.c (__gesf2): Likewise.
1325 * soft-fp/getf2.c (__getf2): Likewise.
1326 * soft-fp/ledf2.c (__ledf2): Likewise.
1327 * soft-fp/lesf2.c (__lesf2): Likewise.
1328 * soft-fp/letf2.c (__letf2): Likewise.
1330 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1331 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1332 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1333 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1334 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1335 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1336 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1337 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1338 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1339 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1340 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1341 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1342 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1343 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1344 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1345 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1346 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1347 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1348 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1349 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1350 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1351 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1352 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1353 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1354 * soft-fp/floattidf.c (__floattidf): Likewise.
1355 * soft-fp/floattisf.c (__floattisf): Likewise.
1356 * soft-fp/floattitf.c (__floattitf): Likewise.
1357 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1358 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1359 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1360 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1361 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1362 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1363 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1364 * soft-fp/gesf2.c (__gesf2): Likewise.
1365 * soft-fp/getf2.c (__getf2): Likewise.
1366 * soft-fp/ledf2.c (__ledf2): Likewise.
1367 * soft-fp/lesf2.c (__lesf2): Likewise.
1368 * soft-fp/letf2.c (__letf2): Likewise.
1370 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1371 Undefine and redefine.
1372 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1373 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1374 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1375 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1376 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1377 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1378 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1379 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1380 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1381 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1382 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1383 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1384 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1385 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1386 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1389 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1390 without decrementing exponent if mantissa >= that for the
1392 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1393 denominator, not >. Decrement exponent in < case instead of
1394 incrementing in >= case.
1395 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1396 without decrementing exponent if mantissa >= that for the
1399 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1400 computing saturated result for unsigned overflow.
1402 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1403 Jeff Law <law@redhat.com>
1405 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1406 (atan2Mp): Add systemtap probe marker.
1407 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1408 (__ieee754_log): Add systemtap probe marker.
1409 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1410 (atanMp): Add systemtap probe marker.
1411 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1412 (tanMp): Add systemtap probe marker.
1413 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1414 (__slowexp): Add systemtap probe marker.
1415 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1416 (__slowpow): Add systemtap probe marker.
1417 * manual/probes.texi: Document probes.
1419 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1422 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1424 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1426 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1427 written to buffer but not flushed.
1428 * libio/iofwrite_u.c: Likewise.
1429 * libio/iopadn.c: Return bytes returned even if EOF was
1431 * libio/iowpadn.c: Likewise.
1432 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1433 if _IO_padn does not write the whole buffer.
1434 [!COMPILE_WPRINTF] (PAD): Likewise.
1436 2013-10-10 David S. Miller <davem@davemloft.net>
1438 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1441 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1443 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1444 instead of FSF address.
1445 * soft-fp/fixdfti.c: Likewise.
1446 * soft-fp/fixsfti.c: Likewise.
1447 * soft-fp/fixtfti.c: Likewise.
1448 * soft-fp/fixunsdfti.c: Likewise.
1449 * soft-fp/fixunssfti.c: Likewise.
1450 * soft-fp/fixunstfti.c: Likewise.
1451 * soft-fp/floattidf.c: Likewise.
1452 * soft-fp/floattisf.c: Likewise.
1453 * soft-fp/floattitf.c: Likewise.
1454 * soft-fp/floatuntidf.c: Likewise.
1455 * soft-fp/floatuntisf.c: Likewise.
1456 * soft-fp/floatuntitf.c: Likewise.
1457 * soft-fp/trunctfxf2.c: Likewise.
1459 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1460 * soft-fp/fixdfti.c: Likewise.
1461 * soft-fp/fixsfti.c: Likewise.
1462 * soft-fp/fixtfti.c: Likewise.
1463 * soft-fp/fixunsdfti.c: Likewise.
1464 * soft-fp/fixunssfti.c: Likewise.
1465 * soft-fp/fixunstfti.c: Likewise.
1466 * soft-fp/floattidf.c: Likewise.
1467 * soft-fp/floattisf.c: Likewise.
1468 * soft-fp/floattitf.c: Likewise.
1469 * soft-fp/floatuntidf.c: Likewise.
1470 * soft-fp/floatuntisf.c: Likewise.
1471 * soft-fp/floatuntitf.c: Likewise.
1472 * soft-fp/trunctfxf2.c: Likewise.
1474 2013-10-10 David S. Miller <davem@davemloft.net>
1476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1478 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1480 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1481 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1482 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1483 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1484 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1485 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1486 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1488 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1489 for NaNs before doing comparisons on argument.
1490 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1493 2013-10-10 Will Newton <will.newton@linaro.org>
1495 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1496 passed to _int_memalign does not overflow.
1498 2013-10-10 Torvald Riegel <triegel@redhat.com>
1500 * scripts/bench.pl: Add include-sources directive.
1501 * benchtests/README: Update documentation.
1503 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1505 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1506 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1507 instead of FP_INIT_ROUNDMODE.
1508 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1509 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1512 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1513 copy class of input value.
1514 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1515 not handle exceptions.
1516 * soft-fp/negsf2.c (__negsf2): Likewise.
1517 * soft-fp/negtf2.c (__negtf2): Likewise.
1518 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1520 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1522 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1523 semicolon. From Linux kernel.
1525 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1527 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1529 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1532 * manual/socket.texi: Added statement about buffer
1533 for gethostbyname2_r.
1535 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1537 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1538 Use .p2align directive instead, throughout.
1539 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1540 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1541 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1542 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1543 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1544 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1545 * sysdeps/x86_64/strchr.S: Likewise.
1546 * sysdeps/x86_64/strrchr.S: Likewise.
1548 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1550 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1552 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1554 * sysdeps/generic/math_private.h (__mpsin1): Remove
1556 (__mpcos1): Likewise.
1557 (__mpsin): New argument __range_reduce.
1558 (__mpcos): Likewise.
1559 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1560 (slow): Use __mpsin and __mpcos.
1567 (bsloww1): Likewise.
1568 (bsloww2): Likewise.
1571 (csloww1): Likewise.
1572 (csloww2): Likewise.
1573 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1574 range_reduce. Merge in __mpsin1.
1575 (__mpcos): Likewise.
1577 (__mpcos1): Likewise.
1579 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1581 * locale/loadlocale.c (_nl_intern_locale_data): Use
1583 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1584 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1585 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1586 obstack data is appropriately aligned.
1587 (obstack_int32_grow_fast): Likewise.
1588 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1589 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1590 (add_locale_uint32_array): Likewise.
1592 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1594 * benchtests/Makefile: Remove ARGLIST and RET variables.
1595 ($(objpfx)bench-%.c): Pass only function name to the script.
1596 * benchtests/README: Update documentation.
1597 * benchtests/acos-inputs: Add new directives.
1598 * benchtests/acosh-inputs: Likewise.
1599 * benchtests/asin-inputs: Likewise.
1600 * benchtests/asinh-inputs: Likewise.
1601 * benchtests/atan-inputs: Likewise.
1602 * benchtests/atanh-inputs: Likewise.
1603 * benchtests/cos-inputs: Likewise.
1604 * benchtests/cosh-inputs: Likewise.
1605 * benchtests/exp-inputs: Likewise.
1606 * benchtests/log-inputs: Likewise.
1607 * benchtests/pow-inputs: Likewise.
1608 * benchtests/rint-inputs: Likewise.
1609 * benchtests/sin-inputs: Likewise.
1610 * benchtests/sinh-inputs: Likewise.
1611 * benchtests/tan-inputs: Likewise.
1612 * benchtests/tanh-inputs: Likewise.
1613 * scripts/bench.pl: Add support for new directives.
1615 2013-10-07 Alan Modra <amodra@gmail.com>
1617 * README: Fix careless merge.
1619 2013-10-05 Alan Modra <amodra@gmail.com>
1621 * NEWS: Mention powerpc64le support and bugs fixed.
1622 * README: Both big-endian and little-endian powerpc64 supported.
1624 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1626 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1627 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1628 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1629 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1631 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1633 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1636 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1638 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1639 Move -mhard-float appending from
1640 ports/sysdeps/powerpc/powerpc32/Makefile.
1641 [$(with-fp) = yes] (ASFLAGS): Likewise.
1642 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1643 * sysdeps/powerpc/nofpu: Move directory from
1644 ports/sysdeps/powerpc/nofpu.
1645 * sysdeps/powerpc/soft-fp: Move directory from
1646 ports/sysdeps/powerpc/soft-fp.
1647 * sysdeps/powerpc/powerpc32/405: Move directory from
1648 ports/sysdeps/powerpc/powerpc32/405.
1649 * sysdeps/powerpc/powerpc32/440: Move directory from
1650 ports/sysdeps/powerpc/powerpc32/440.
1651 * sysdeps/powerpc/powerpc32/464: Move directory from
1652 ports/sysdeps/powerpc/powerpc32/464.
1653 * sysdeps/powerpc/powerpc32/476: Move directory from
1654 ports/sysdeps/powerpc/powerpc32/476.
1655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1656 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1658 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1660 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1662 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1664 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1665 * README: Update for powerpc-*-linux-gnu software floating point
1668 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1669 case to powerpc/powerpc32*.
1670 * sysdeps/unix/sysv/linux/configure: Regenerated.
1672 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1673 (_FPU_MASK_OM): Define as 0x04.
1674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1682 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1685 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1688 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1689 and setcontext_e500.
1691 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1693 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1695 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1697 * manual/threads.texi (Default Thread Attributes): Fix typo.
1699 2013-10-04 Will Newton <will.newton@linaro.org>
1701 * malloc/Makefile: Add tst-memalign.
1702 * malloc/tst-memalign.c: New file.
1704 * malloc/tst-posix_memalign.c: Add comments.
1705 (do_test): Add comments and call free on all potentially
1706 allocated pointers. Add space after cast.
1708 * malloc/tst-pvalloc.c: Add comments.
1709 (do_test): Add comments and call free on all potentially
1710 allocated pointers. Remove duplicate check for NULL pointer.
1711 Add space after cast.
1713 * malloc/tst-valloc.c: Add comments.
1714 (do_test): Add comments and call free on all potentially
1715 allocated pointers. Remove duplicate check for NULL pointer.
1716 Add space after cast.
1718 2013-10-04 Alan Modra <amodra@gmail.com>
1720 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1721 Use stdint types in rather than __attribute__((mode())).
1722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1724 2013-10-04 Alan Modra <amodra@gmail.com>
1726 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1727 Correct handling of unaligned relocs for little-endian.
1728 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1730 2013-10-04 Alan Modra <amodra@gmail.com>
1732 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1733 * configure: Regenerate.
1734 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1735 * shlib-versions: Likewise.
1737 2013-10-04 Alan Modra <amodra@gmail.com>
1739 * string/tester.c (test_memrchr): Increment reported test cycle.
1741 2013-10-04 Alan Modra <amodra@gmail.com>
1743 * string/test-memcpy.c (do_one_test): When reporting errors, print
1744 string address and don't overrun end of string.
1746 2013-10-04 Alan Modra <amodra@gmail.com>
1748 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1749 insrdi. Make better use of reg selection to speed exit slightly.
1750 Schedule entry path a little better. Remove useless "are we done"
1751 checks on entry to main loop. Handle wrapping around zero address.
1752 Correct main loop count. Handle single left-over word from main
1753 loop inline rather than by using loop_small. Remove extra word
1754 case in loop_small caused by wrong loop count. Add little-endian
1756 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1757 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1759 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1760 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1761 support. Avoid rlwimi.
1762 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1764 2013-10-04 Alan Modra <amodra@gmail.com>
1766 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1768 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1769 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1770 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1771 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1772 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1773 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1775 2013-10-04 Alan Modra <amodra@gmail.com>
1777 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1778 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1779 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1780 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1781 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1782 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1783 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1784 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1785 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1786 use of regs. Use power7 mtocrf. Tidy function tails.
1788 2013-10-04 Alan Modra <amodra@gmail.com>
1790 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1791 Formatting. Consistently use rXXX register defines or rN defines.
1792 Use early exit labels that avoid restoring unused non-volatile regs.
1793 Make cr field use more consistent with rWORDn compares. Rename
1794 regs used as shift registers for unaligned loop, using rN defines
1795 for short lifetime/multiple use regs.
1796 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1797 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1798 addi 1,1,64 to pop stack frame. Simplify return value code.
1799 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1801 2013-10-04 Alan Modra <amodra@gmail.com>
1803 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1804 support. Correct typos, formatting. Optimize tail. Use insrdi
1806 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1807 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1808 little-endian support. Correct typos.
1809 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1811 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1812 in loop and entry code to keep "and." results.
1813 (strchr): Add little-endian support. Comment. Move cntlzd
1815 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1817 2013-10-04 Alan Modra <amodra@gmail.com>
1819 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1820 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1821 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1822 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1824 2013-10-04 Alan Modra <amodra@gmail.com>
1826 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1827 (rTMP): Define as r11.
1828 (strcmp): Add little-endian support. Optimise tail.
1829 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1830 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1831 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1832 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1833 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1834 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1835 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1837 2013-10-04 Alan Modra <amodra@gmail.com>
1839 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1840 little-endian support. Remove unnecessary "are we done" tests.
1841 Handle "s" wrapping around zero and extremely large "size".
1842 Correct main loop count. Handle single left-over word from main
1843 loop inline rather than by using small_loop. Correct comments.
1844 Delete "zero" tail, use "end_max" instead.
1845 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1847 2013-10-04 Alan Modra <amodra@gmail.com>
1849 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1850 support. Don't branch over align.
1851 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1852 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1853 support. Rearrange tmp reg use to suit. Comment.
1854 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1856 2013-10-04 Alan Modra <amodra@gmail.com>
1858 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1860 2013-10-04 Alan Modra <amodra@gmail.com>
1862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1863 conditional form of branch and link when obtaining pc.
1864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1866 2013-10-04 Alan Modra <amodra@gmail.com>
1868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1873 2013-10-04 Alan Modra <amodra@gmail.com>
1875 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1876 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1877 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1878 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1879 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1880 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1881 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1882 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1883 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1884 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1886 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1887 Alistair Popple <alistair@ozlabs.au.ibm.com>
1888 Alan Modra <amodra@gmail.com>
1891 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1892 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1893 _dl_hwcap access for little-endian.
1894 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1895 destroy vmx regs when saving unaligned.
1896 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1897 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1898 destroy vmx regs when saving unaligned.
1900 2013-10-04 Alan Modra <amodra@gmail.com>
1902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1903 Don't use a union to pack hi/low value.
1905 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1907 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1909 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1910 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1911 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1912 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1913 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1915 2013-10-04 Alan Modra <amodra@gmail.com>
1917 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1918 constants to usual value for .cst8 section, and remove redundant
1920 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1921 constant for 0x1p52. Load little-endian words of double from
1922 correct stack offsets.
1924 2013-10-04 Alan Modra <amodra@gmail.com>
1926 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1927 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1928 words of double from correct stack offsets.
1929 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1930 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1931 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1932 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1933 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1934 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1935 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1936 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1937 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1938 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1939 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1940 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1941 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1942 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1943 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1944 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1945 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1947 2013-10-04 Alan Modra <amodra@gmail.com>
1949 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1950 64-bit int/double union.
1951 (_FPU_SETCW): Likewise.
1952 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1953 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1955 2013-10-04 Alan Modra <amodra@gmail.com>
1957 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1958 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1960 2013-10-04 Alan Modra <amodra@gmail.com>
1962 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1963 use vector int constants.
1964 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1966 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1968 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1969 array with long long.
1970 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1971 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1972 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1973 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1974 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1975 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1976 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1977 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1978 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1979 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1980 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1981 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1982 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1984 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
1986 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1987 (__signbit): Likewise. Correct for little-endian.
1988 (__signbitl): Call __signbit.
1989 (lrint): Correct for little-endian.
1990 (lrintf): Call lrint.
1992 2013-10-04 Alan Modra <amodra@gmail.com>
1994 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1995 union 32-bit int array member with 64-bit int array.
1996 (t515, tm256): Double rather than long double.
1997 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1999 2013-10-04 Alan Modra <amodra@gmail.com>
2001 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2003 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2004 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2005 version of math_ldbl.h.
2007 2013-10-04 Alan Modra <amodra@gmail.com>
2009 [BZ #15734], [BZ #15735]
2010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2011 all uses of ieee875 long double macros and unions. Simplify test
2012 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2013 ldbl_extract_mantissa value for ix,iy exponents. Properly
2014 normalize after ldbl_extract_mantissa, and don't add hidden bit
2015 already handled. Don't treat low word of ieee854 mantissa like
2016 low word of IBM long double and mask off bit when testing for
2018 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2019 all uses of ieee875 long double macros and unions. Simplify tests
2020 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2021 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2022 two1022, instead use their values. Recognise that tests for large
2023 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2024 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2025 Rewrite all uses of ieee875 long double macros and unions. Simplify
2026 test for 0.0L and nan. Correct negation.
2027 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2028 ieee875 long double macros and unions. Correct output for large
2029 magnitude x. Correct absolute value calculation.
2030 (__erfcl): Likewise.
2031 * math/libm-test.inc: Add tests for errors discovered in IBM long
2032 double versions of fmodl, remainderl, erfl and erfcl.
2034 2013-10-04 Alan Modra <amodra@gmail.com>
2036 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2037 all uses of ieee854 long double macros and unions. Simplify tests
2038 for long doubles that are fully specified by the high double.
2039 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2041 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2042 Remove dead code too.
2043 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2044 (__ieee754_ynl): Likewise.
2045 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2047 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2048 Remove dead code too.
2049 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2050 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2051 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2052 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2054 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2056 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2057 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2058 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2059 Comment on variable precision.
2060 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2061 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2063 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2066 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2067 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2069 2013-10-04 Alan Modra <amodra@gmail.com>
2071 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2072 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2073 all uses of ieee854 long double macros and unions.
2074 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2075 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2076 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2077 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2078 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2079 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2082 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2083 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2084 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2085 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2086 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2087 Simplify sign and nan test too.
2088 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2089 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2090 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2091 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2093 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2094 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2096 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2101 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2103 2013-10-04 Alan Modra <amodra@gmail.com>
2105 * stdio-common/printf_size.c (__printf_size): Don't use
2106 union ieee854_long_double in fpnum union.
2107 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2108 signbit macro to retrieve sign from long double.
2109 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2110 retrieve sign from long double.
2111 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2112 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2113 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2114 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2115 * math/test-misc.c (main): Don't use union ieee854_long_double.
2117 2013-10-04 Alan Modra <amodra@gmail.com>
2120 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2121 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2122 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2123 calculation. Remove unnecessary test for denormal exponent.
2124 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2125 Correct handling of denormals. Avoid undefined shift behaviour.
2126 Correct normalisation of low mantissa when low double is denormal.
2127 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2128 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2129 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2130 Correct normalisation of low mantissa. Test for overflow of high
2131 mantissa and normalise.
2132 (ldbl_nearbyint): Use more readable constant for two52.
2133 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2134 (__mpn_construct_long_double): Fix test for overflow of high
2135 mantissa and correct normalisation. Avoid undefined shift.
2137 2013-10-04 Alan Modra <amodra@gmail.com>
2139 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2140 (union ibm_extended_long_double): Define as an array of ieee754_double.
2141 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2142 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2143 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2144 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2146 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2147 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2148 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2149 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2151 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2153 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2155 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2156 page size instead of calling getpagesize.
2158 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2159 (LOCFILE_ALIGN_MASK): Likewise.
2160 (LOCFILE_ALIGN_UP): Likewise.
2161 (LOCFILE_ALIGNED_P): Likewise.
2162 * locale/programs/ld-collate.c (collate_output): Use the new
2163 macros instead of __alignof__ (int32_t).
2164 * locale/weight.h (findidx): Likewise.
2166 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
2169 * manual/string.texi: Fix strncat and wcsncat.
2171 2013-10-03 Brooks Moses <bmoses@google.com>
2174 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2175 * Makerules: ...here, and adjust associated comments.
2177 2013-10-02 Will Newton <will.newton@linaro.org>
2179 * malloc/Makefile: Add tst-pvalloc.
2180 * malloc/tst-pvalloc.c: New file.
2182 2013-10-02 Will Newton <will.newton@linaro.org>
2184 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2185 improve test coverage.
2187 2013-10-02 Will Newton <will.newton@linaro.org>
2189 * malloc/Makefile: Add tst-posix_memalign.
2190 * malloc/tst-posix_memalign.c: New file.
2192 2013-10-01 Eric Blake <eblake@redhat.com>
2194 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2195 Use __THROWNL rather than __THROW on static functions.
2197 2013-09-30 Petr Machata <pmachata@redhat.com>
2199 * elf/elf.h (R_AARCH64_ABS16): New macro.
2200 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2201 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2202 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2203 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2204 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2205 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2206 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2207 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2208 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2209 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2210 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2211 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2212 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2213 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2214 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2215 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2216 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2217 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2218 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2219 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2220 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2221 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2222 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2223 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2224 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2225 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2226 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2227 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2228 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2229 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2230 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2231 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2232 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2233 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2234 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2235 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2236 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2237 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2238 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2239 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2240 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2241 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2242 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2243 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2244 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2245 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2246 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2247 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2248 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2249 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2250 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2251 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2252 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2253 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2254 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2255 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2256 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2257 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2258 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2259 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2260 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2261 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2262 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2263 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2264 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2265 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2266 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2267 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2268 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2269 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2270 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2271 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2272 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2273 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2274 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2275 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2276 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2277 (R_AARCH64_TLSDESC_LDR): Likewise.
2278 (R_AARCH64_TLSDESC_ADD): Likewise.
2279 (R_AARCH64_TLSDESC_CALL): Likewise.
2281 2013-09-30 Andreas Schwab <schwab@suse.de>
2284 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2285 the nss database lookup.
2286 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2289 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2291 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2293 2013-09-28 P. J. McDermott <pj@pehjota.net>
2295 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2296 ${Bash-specific parameter/pattern/string} parameter expansion.
2297 * sysdeps/unix/make-syscalls.sh: Likewise.
2299 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2301 * sysdeps/sh/stackguard-macros.h: New file.
2303 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2306 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2307 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2308 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2310 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2312 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2314 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2315 Fix thread ID register.
2317 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2319 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2320 [POSIX || UNIX98]: Require rather than permitting all symbols from
2322 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2323 element of struct sched_param.
2324 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2325 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2326 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2327 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2330 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2332 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2333 argument calculation.
2335 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2337 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2339 [POSIX] (pthread_attr_t): Do not require type.
2340 [POSIX] (pthread_cond_t): Likewise.
2341 [POSIX] (pthread_condattr_t): Likewise.
2342 [POSIX] (pthread_key_t): Likewise.
2343 [POSIX] (pthread_mutex_t): Likewise.
2344 [POSIX] (pthread_mutexattr_t): Likewise.
2345 [POSIX] (pthread_once_t): Likewise.
2346 [POSIX] (pthread_t): Likewise.
2347 [POSIX-based standards] (pthread_atfork): Expect function.
2349 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2350 Richard Sandiford <richard@codesourcery.com>
2352 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2353 (swap_endianness_p): New extern variable.
2354 (set_big_endian): New inline function.
2355 (maybe_swap_uint32): Likewise.
2356 (maybe_swap_uint32_array): Likewise.
2357 (maybe_swap_uint32_obstack): Likewise.
2358 * locale/programs/locfile.c: Include <stdbool.h>.
2359 (swap_endianness_p): New variable.
2360 (add_locale_uint32): Call maybe_swap_uint32.
2361 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2362 (write_locale_data): Call maybe_swap_uint32_array.
2363 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2365 (obstack_int32_grow_fast): Likewise.
2366 (output_weightwc): Call maybe_swap_uint32_obstack.
2367 (collate_output): Likewise.
2368 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2369 (OPT_LITTLE_ENDIAN): Likewise.
2370 (options): Add --little-endian and --big-endian options.
2371 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2372 * locale/programs/locarchive.c: Include "locfile.h".
2376 (create_archive): Use the new macros to access fields of
2377 structures directly mapped from or written to locale archives.
2378 (oldlocrecentcmp): Likewise.
2379 (enlarge_archive): Likewise.
2380 (insert_name): Likewise.
2381 (add_alias): Likewise.
2382 (add_locale): Likewise.
2383 (delete_locales_from_archive): Likewise.
2384 (show_archive_content): Likewise.
2385 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2388 2013-09-24 Roland McGrath <roland@hack.frob.com>
2390 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2391 http://www.gnu.org/doc/freemanuals.texi.
2392 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2394 2013-09-24 Will Newton <will.newton@linaro.org>
2396 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2399 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2401 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2404 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2406 * manual/threads.texi (POSIX Threads): Fix a typo.
2408 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2411 * string/tst-strcoll-overflow.c: New test case.
2412 * string/Makefile (xtests): Add tst-strcoll-overflow.
2413 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2414 cache if string sizes may cause integer overflow.
2417 * string/strcoll_l.c (coll_seq): New members rule, idx,
2418 save_idx and back_us.
2419 (get_next_seq_nocache): New function.
2420 (do_compare_nocache): New function.
2421 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2424 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2427 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2428 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2429 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2432 * elf/Makefile (tests): Add tst-ptrguard1.
2433 (tests-static): Add tst-ptrguard1-static.
2434 (tst-ptrguard1-ARGS): Define.
2435 (tst-ptrguard1-static-ARGS): Define.
2436 * elf/tst-ptrguard1.c: New file.
2437 * elf/tst-ptrguard1-static.c: New file.
2438 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2439 * sysdeps/i386/stackguard-macros.h: Likewise.
2440 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2441 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2442 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2443 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2444 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2445 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2447 2013-09-23 Hector Marco <hecmargi@upv.es>
2448 Ismael Ripoll <iripoll@disca.upv.es>
2449 Carlos O'Donell <carlos@redhat.com>
2452 * sysdeps/generic/stackguard-macros.h: Define
2453 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2454 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2455 Define __pointer_chk_guard_local.
2456 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2457 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2459 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2462 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2464 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2466 * include/string.h (__ffs): Declare as hidden.
2467 * string/ffs.c (__ffs): Define as hidden.
2468 * sysdeps/i386/ffs.c (__ffs): Likewise.
2469 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2470 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2471 * sysdeps/s390/ffs.c (__ffs): Likewise.
2472 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2474 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2476 * NEWS: Mention malloc probes.
2478 * malloc/arena.c (new_heap): New memory_heap_new probe.
2479 (grow_heap): New memory_heap_more probe.
2480 (shrink_heap): New memory_heap_less probe.
2481 (heap_trim): New memory_heap_free probe.
2482 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2483 (systrim): New memory_sbrk_less probe.
2484 * manual/probes.texi: Document them.
2486 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2487 * manual/probes.texi: Document it.
2489 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2490 (__libc_realloc): Add memory_realloc_retry probe.
2491 (__libc_memalign): Add memory_memalign_retry probe.
2492 (__libc_valloc): Add memory_valloc_retry probe.
2493 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2494 (__libc_calloc): Add memory_calloc_retry probe.
2495 * manual/probes.texi: Document them.
2497 * malloc/arena.c (get_free_list): Add probe
2498 memory_arena_reuse_free_list.
2499 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2500 and memory_arena_reuse.
2501 (arena_get2) [!PER_THREAD]: Likewise.
2502 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2503 memory_arena_reuse_realloc.
2504 * manual/probes.texi: Document them.
2506 * malloc/malloc.c (__libc_free): Add
2507 memory_mallopt_free_dyn_thresholds probe.
2508 (__libc_mallopt): Add multiple memory_mallopt probes.
2509 * manual/probes.texi: Document them.
2511 * malloc/malloc.c: Include stap-probe.h.
2512 (__libc_mallopt): Add memory_mallopt probe.
2513 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2514 * manual/probes.texi: New.
2515 * manual/Makefile (chapters): Add probes.
2516 * manual/threads.texi: Set next node.
2518 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2521 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2522 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2523 Add `Chinese' to `nan' entry name.
2525 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2527 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2528 (POLYNOMIAL): Likewise.
2529 (TAYLOR_SINCOS): Likewise.
2530 (TAYLOR_SLOW): Likewise.
2531 (__sin): Use TAYLOR_SINCOS.
2533 (slow): Use TAYLOR_SLOW.
2538 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2540 * stdlib/strtod_l.c: Fix buffer overrun.
2542 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2544 * benchtests/Makefile (bench): Add sincos.
2545 * benchtests/bench-sincos.c: New file.
2547 * math/libm-test.inc (cos_test_data): New test inputs.
2548 (sin_test_data): Likewise.
2550 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2558 (bsloww1): Likewise.
2559 (bsloww2): Likewise.
2561 (csloww1): Likewise.
2562 (csloww2): Likewise.
2564 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2569 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2573 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2575 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2576 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2577 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2578 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2579 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2580 * elf/cache.c (print_entry): Handle the new cache flags.
2582 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2583 Aldy Hernandez <aldyh@redhat.com>
2585 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2586 Change condition to [_SOFT_FLOAT].
2587 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2588 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2590 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2591 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2593 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2594 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2595 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2596 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2597 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2598 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2599 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2600 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2602 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2605 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2607 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2608 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2609 (__longjmp): Use LOAD_GP to load saved GPRs.
2610 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2611 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2612 (__sigsetjmp): Use SAVE_GP to save GPRs.
2614 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2615 Do not append -msoft-float.
2616 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2618 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2620 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2622 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2625 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2626 (_FPU_GETCW): Use initial "__" on variable and field names but not
2627 on macro parameter name.
2628 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2629 parentheses around reference to macro parameter.
2631 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2633 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2635 (ctype_startup): Use uint32_t in cast and sizeof for
2638 2013-09-11 Jia Liu <proljc@gmail.com>
2640 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2642 [__FreeBSD__]: Likewise.
2644 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2646 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2647 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2648 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2649 (strchr): Remove __strchr_sse42 ifunc selection.
2650 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2651 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2653 2013-09-11 Will Newton <will.newton@linaro.org>
2655 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2656 parameter to RES. Remove hardcoded 1000 value.
2657 * benchtests/bench-skeleton.c (main): Pass RES parameter
2658 to TIMING_INIT and multiply result by 1000.
2660 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2664 2013-09-11 Andreas Schwab <schwab@suse.de>
2666 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2668 (O_TMPFILE) [__USE_GNU]: Define.
2669 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2672 2013-09-11 Will Newton <will.newton@linaro.org>
2675 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2678 2013-09-11 Will Newton <will.newton@linaro.org>
2681 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2684 2013-09-11 Will Newton <will.newton@linaro.org>
2687 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2690 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2692 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2693 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2694 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2695 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2698 2013-09-10 Allan McRae <allan@archlinux.org>
2701 * manual/arith.texi (Parsing of Floats): Clarify
2705 * manual/install.texi (Running make install): Mention
2707 * INSTALL: Regenerated.
2709 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2711 * csu/init-first.c (_init): Remove the !SHARED condition around
2712 FPU control word initialization.
2713 * elf/dl-support.c (_dl_fpu_control): New variable.
2714 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2715 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2716 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2717 * math/test-fpucw-static.c: New file.
2718 * math/test-fpucw-ieee.c: New file.
2719 * math/test-fpucw-ieee-static.c: New file.
2720 * math/Makefile (tests): Add `test-fpucw-ieee' and
2722 (tests-static): New variable.
2723 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2725 [($(build-shared),yes)]
2726 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2728 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2731 2013-09-09 Allan McRae <allan@archlinux.org>
2734 * manual/string.texi (Collation Functions): Fix typo in
2736 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2739 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2742 * libio/memstream.c (open_memstream): Fix memory leak.
2743 * libio/wmemstream.c (open_wmemstream): Likewise.
2746 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2748 2013-09-09 Will Newton <will.newton@linaro.org>
2750 * malloc/Makefile: Add tst-realloc to tests.
2751 * malloc/tst-realloc.c: New file.
2753 2013-09-09 Allan McRae <allan@archlinux.org>
2756 * COPYING: Update from GNU website to fix FSF address.
2757 * COPYING.LIB: Likewise.
2759 2013-09-06 David S. Miller <davem@davemloft.net>
2761 * po/zh_TW.po: Update Chinese (traditional) translation from
2762 translation project.
2764 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2765 Joseph Myers <joseph@codesourcery.com>
2767 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2769 (obstack_chunk_alloc): New macro.
2770 (obstack_chunk_free): Likewise.
2771 (record_offset): New function.
2772 (init_locale_data): Likewise.
2773 (align_locale_data): Likewise.
2774 (add_locale_empty): Likewise.
2775 (add_locale_raw_data): Likewise.
2776 (add_locale_raw_obstack): Likewise.
2777 (add_locale_string): Likewise.
2778 (add_locale_wstring): Likewise.
2779 (add_locale_uint32): Likewise.
2780 (add_locale_uint32_array): Likewise.
2781 (add_locale_char): Likewise.
2782 (start_locale_structure): Likewise.
2783 (end_locale_structure): Likewise.
2784 (start_locale_prelude): Likewise.
2785 (end_locale_prelude): Likewise.
2786 (write_locale_data): Take locale_file structure rather than an
2788 * locale/programs/locfile.h: Include "obstack.h".
2789 (struct locale_file): Change to store locale file contents instead
2791 (init_locale_data): New prototype.
2792 (align_locale_data): Likewise.
2793 (add_locale_empty): Likewise.
2794 (add_locale_raw_data): Likewise.
2795 (add_locale_raw_obstack): Likewise.
2796 (add_locale_string): Likewise.
2797 (add_locale_wstring): Likewise.
2798 (add_locale_uint32): Likewise.
2799 (add_locale_uint32_array): Likewise.
2800 (add_locale_char): Likewise.
2801 (start_locale_structure): Likewise.
2802 (end_locale_structure): Likewise.
2803 (start_locale_prelude): Likewise.
2804 (end_locale_prelude): Likewise.
2805 (write_locale_data): Update prototype.
2806 * locale/programs/3level.h (struct TABLE): Remove result field.
2807 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2808 Use new locale_file interface.
2809 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2810 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2811 * locale/programs/ld-address.c (address_output): Use new
2812 locale_file interface.
2813 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2815 (collate_finish): Don't call collseq_table_finalize.
2816 (collate_output): Use new locale_file interface.
2817 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2819 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2820 (TABLE): Move defines earlier in file.
2821 (ELEMENT): Likewise.
2822 (DEFAULT): Likewise.
2823 (wctrans_table_add): Move macro and inline function earlier in
2825 (struct wctype_table): Move type earlier in file.
2826 (add_locale_wctype_table): New static prototype.
2827 (struct locale_ctype_t): Use logical types instead of struct iovec
2828 pointers for members.
2829 (ctype_output): Use new locale_file interface.
2830 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2831 new locale_file interface.
2832 (allocate_arrays): Update for use of new locale_file interface.
2833 * locale/programs/ld-identification.c (identification_output): Use
2834 new locale_file interface.
2835 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2836 * locale/programs/ld-messages.c (messages_output): Likewise.
2837 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2838 * locale/programs/ld-name.c (name_output): Likewise.
2839 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2840 * locale/programs/ld-paper.c (paper_output): Likewise.
2841 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2842 * locale/programs/ld-time.c (time_output): Likewise.
2844 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2846 * benchtests/Makefile: Add memrchr benchmark.
2847 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2848 benchmark as memrchr.
2849 * benchtests/bench-memrchr-ifunc.c: New file.
2850 * benchtests/bench-memrchr.c: New file.
2852 2013-09-06 Will Newton <will.newton@linaro.org>
2854 * benchtests/Makefile (string-bench): Add memcpy.
2856 2013-09-05 Carlos O'Donell <carlos@redhat.com>
2857 Cong Wang <amwang@redhat.com>
2859 * sysdeps/unix/sysv/linux/bits/in.h
2860 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2861 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2862 before __USE_KERNEL_IPV6_DEFS uses.
2863 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2865 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2866 sockaddr_in6, or ipv6_mreq.
2868 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2870 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2871 memory access for final bytes in some large inputs.
2872 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2874 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2876 * string/test-memrchr.c: New file.
2877 * string/test-memrchr-ifunc.c: New file.
2878 * string/Makefile: Add new memrchr testcase.
2880 2013-09-05 Mike Frysinger <vapier@gentoo.org>
2882 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2883 fanotify_init returns EPERM.
2885 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2887 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2889 (top level): Treat second token from macro or constant entries for
2890 allowed headers as allowed.
2891 * include/complex.h: Condition internal declarations on
2893 * include/fenv.h: Condition include of <stdbool.h> and internal
2894 declarations on [!_ISOMAC].
2896 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2899 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2901 2013-09-04 Joseph Myers <joseph@codesourcery.com>
2903 * configure.in (--enable-versioning): Remove configure option.
2904 (libc_cv_asm_symver_directive): Remove configure test.
2905 (libc_cv_ld_version_script_option): Likewise.
2906 (VERSIONING): Remove variable and AC_SUBST.
2907 (DO_VERSIONING): Remove AC_DEFINE.
2908 * configure: Regenerated.
2909 * config.h.in (DO_VERSIONING): Remove macro.
2910 * Makerules [$(versioning) = yes]: Change conditionals to
2911 [$(build-shared) = yes].
2912 * config.make.in (versioning): Remove variable.
2913 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2914 [$(build-shared) = yes].
2915 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2916 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2917 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2918 [$(build-shared) = yes].
2919 * extra-lib.mk [$(versioning) = yes]: Likewise.
2920 * hurd/Makefile [$(versioning) = yes]: Likewise.
2921 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2923 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2925 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2926 [SHARED && !NO_HIDDEN].
2927 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2929 [SHARED && DO_VERSIONING]: Likewise..
2930 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2931 [$(build-shared) = yes].
2932 * manual/install.texi (--disable-versioning): Remove
2934 * INSTALL: Regenerated.
2935 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2937 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2938 [$(build-shared) = yes].
2939 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2940 * sysdeps/i386/i686/multiarch/strstr-c.c
2941 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2942 [SHARED && !NO_HIDDEN].
2943 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2944 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2945 * sysdeps/powerpc/powerpc32/dl-machine.c
2946 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2947 * sysdeps/powerpc/powerpc32/sysdep.h
2948 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2949 to [SHARED && PIC && !NO_HIDDEN].
2950 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2951 conditional to [SHARED].
2953 2013-09-04 Will Newton <will.newton@linaro.org>
2955 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2956 * benchtests/bench-string.h: Include bench-timing.h instead
2957 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2958 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2959 call to HP_TIMING_DIFF_INIT.
2960 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2961 instead of hp-timing.h macros.
2962 * benchtests/bench-memchr.c: Likewise.
2963 * benchtests/bench-memcmp.c: Likewise.
2964 * benchtests/bench-memcpy.c: Likewise.
2965 * benchtests/bench-memmem.c: Likewise.
2966 * benchtests/bench-memmove.c: Likewise.
2967 * benchtests/bench-memset.c: Likewise.
2968 * benchtests/bench-rawmemchr.c: Likewise.
2969 * benchtests/bench-strcasecmp.c: Likewise.
2970 * benchtests/bench-strcasestr.c: Likewise.
2971 * benchtests/bench-strcat.c: Likewise.
2972 * benchtests/bench-strchr.c: Likewise.
2973 * benchtests/bench-strcmp.c: Likewise.
2974 * benchtests/bench-strcpy.c: Likewise.
2975 * benchtests/bench-strcpy_chk.c: Likewise.
2976 * benchtests/bench-strlen.c: Likewise.
2977 * benchtests/bench-strncasecmp.c: Likewise.
2978 * benchtests/bench-strncat.c: Likewise.
2979 * benchtests/bench-strncmp.c: Likewise.
2980 * benchtests/bench-strncpy.c: Likewise.
2981 * benchtests/bench-strnlen.c: Likewise.
2982 * benchtests/bench-strpbrk.c: Likewise.
2983 * benchtests/bench-strrchr.c: Likewise.
2984 * benchtests/bench-strspn.c: Likewise.
2985 * benchtests/bench-strstr.c: Likewise.
2987 2013-09-04 Will Newton <will.newton@linaro.org>
2989 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2991 2013-09-03 Joseph Myers <joseph@codesourcery.com>
2994 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2995 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2996 * math/libm-test.inc (lgamma_test_data): Add more tests.
2997 * sysdeps/i386/fpu/libm-test-ulps: Update.
2998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3000 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3002 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3006 Add strcmp-sse2-unaligned
3007 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3009 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3011 * Versions.def (libc): Add GLIBC_2.19.
3013 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3015 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3016 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3018 2013-09-02 Joseph Myers <joseph@codesourcery.com>
3021 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3022 intermediate calculations in recurrence.
3023 (__ieee754_ynf): Likewise.
3024 * math/libm-test.inc (jn_test_data): Do not allow spurious
3025 underflow exception. Add more tests.
3026 (yn_test_data): Add more tests.
3027 * sysdeps/i386/fpu/libm-test-ulps: Update.
3028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3030 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
3032 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3034 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3036 * csu/init-first.c: Fix then/than typos.
3037 * locale/programs/ld-collate.c: Likewise.
3038 * locale/programs/linereader.h: Likewise.
3039 * manual/charset.texi: Likewise.
3040 * manual/filesys.texi: Likewise.
3041 * manual/stdio.texi: Likewise.
3042 * manual/string.texi: Likewise.
3043 * stdlib/fmtmsg.c: Likewise.
3044 * sysdeps/i386/stpncpy.S: Likewise.
3045 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3046 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3047 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3048 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3050 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3052 * elf/dl-open.c: Fix typos.
3053 * iconvdata/gbbig5.c: Likewise.
3054 * iconvdata/iso-2022-jp.c: Likewise.
3055 * iconv/gconv_int.h: Likewise.
3056 * iconv/loop.c: Likewise.
3057 * nis/rpcsvc/nis.h: Likewise.
3058 * resolv/ns_name.c: Likewise.
3059 * stdio-common/vfscanf.c: Likewise.
3060 * streams/stropts.h: Likewise.
3061 * sunrpc/rpc_thread.c: Likewise.
3062 * sysdeps/i386/strpbrk.S: Likewise.
3063 * sysdeps/ieee754/k_standard.c: Likewise.
3064 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3065 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3066 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3067 * sysdeps/mach/hurd/profil.c: Likewise.
3068 * sysdeps/s390/dl-procinfo.h: Likewise.
3069 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3070 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3071 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3072 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3073 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3075 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3077 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3080 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3082 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3084 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3085 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3087 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3088 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3089 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3090 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3091 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3093 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3094 Roland McGrath <roland@hack.frob.com>
3096 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3097 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3099 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3101 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3102 __executable_start symbol instead of _start.
3104 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3106 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3107 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3109 * sysdeps/gnu/ldsodefs.h: ... this new file.
3111 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3112 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3113 instead of ELFOSABI_LINUX.
3115 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3116 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3117 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3118 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3120 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3121 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3122 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3124 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3125 (ibm_extended_long_double): Add ieee_nan member.
3126 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3127 (do_test): New function.
3129 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3131 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3132 functions, renamed from truncdfsf_test, trunctfsf_test,
3134 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3136 (do_test): Run all these.
3138 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3140 * argp/argp-help.c: Fix typos.
3141 * argp/argp-parse.c: Likewise.
3142 * debug/backtracesyms.c: Likewise.
3143 * elf/elf.h: Likewise.
3144 * malloc/malloc.c: Likewise.
3145 * nis/nis_print.c: Likewise.
3146 * resolv/res_comp.c: Likewise.
3147 * stdlib/stdlib.h: Likewise.
3148 * sunrpc/clnt_tcp.c: Likewise.
3149 * sunrpc/clnt_udp.c: Likewise.
3150 * sunrpc/clnt_unix.c: Likewise.
3151 * sysdeps/unix/bsd/ptsname.c: Likewise.
3152 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3160 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3162 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3164 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3165 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3167 2013-08-27 Mike Frysinger <vapier@gentoo.org>
3170 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3171 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3172 ($(objpfx)bug-dl-leaf): New rule.
3173 ($(objpfx)bug-dl-leaf.so): Likewise.
3174 ($(objpfx)bug-dl-leaf.out): Likewise.
3175 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3176 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3177 * dlfcn/bug-dl-leaf.c: New test.
3178 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3179 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3180 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3181 (dlclose): Likewise.
3182 (dlmopen): Likewise.
3184 2013-08-27 Roland McGrath <roland@hack.frob.com>
3186 * include/netdb.h [!_ISOMAC]:
3187 Don't include <tls.h>.
3188 (h_errno, __libc_h_errno): Move declaration and macros out of
3191 * include/resolv.h [_RESOLV_H_]:
3192 Don't include <tls.h>.
3193 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3194 * resolv/res_libc.c: Don't include <tls.h>.
3195 (_res): Use __attribute__ ((nocommon)) in place of
3196 __attribute__ ((section (".bss"))).
3198 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3199 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3201 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3203 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3204 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3206 * resolv/res_mkquery.c: Include <sys/time.h>.
3208 * inet/ifreq.c: Moved to ...
3209 * sysdeps/unix/ifreq.c: ... here.
3210 * inet/ifreq.c: New file, true stub version.
3212 * socket/sa_len.c: New file.
3213 * socket/Makefile (aux): Add it.
3214 * sysdeps/unix/sysv/linux/Makefile
3215 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3216 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3217 and #include <socket/sa_len.c>.
3218 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3219 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3221 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3222 * bits/socket.h: ... here.
3224 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3225 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3226 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3228 2013-08-27 Andreas Schwab <schwab@suse.de>
3231 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3232 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3233 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3234 * string/test-strcasecmp.c (test_main): Run tests in several
3236 * string/test-strncasecmp.c (test_main): Likewise.
3238 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3239 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3240 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3241 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3242 (__strncasecmp_ssse3) [PIC]: Likewise.
3244 2013-08-26 Roland McGrath <roland@hack.frob.com>
3246 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3248 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3249 instead of explicitly declaring xdecrypt.
3250 * nis/nss_nis/nis-publickey.c: Likewise.
3252 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3255 * nscd/aicache.c: Include res_hconf.h.
3256 (addhstaiX): Initialize res_hconf.
3258 2013-08-26 Andreas Schwab <schwab@suse.de>
3260 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3261 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3263 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3265 * nscd/aicache.c (addhstaiX): Fix indentation.
3267 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3269 * configure.ac: Quote $build_pt_chown test.
3270 * configure: Regenerated.
3272 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3275 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3276 * math/s_cexpf.c (__cexpf): Likewise.
3277 * math/s_cexpl.c (__cexpl): Likewise.
3278 * math/libm-test.inc (cexp_test_data): Correct expected return
3279 value for NaN + i0. Add another test.
3281 2013-08-22 David S. Miller <davem@davemloft.net>
3283 * po/ca.po: Update Catalan translation from translation project.
3284 * po/uk.po: Add Ukrainian translations from translation project.
3286 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3289 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3290 is infinite, not alongside NaN test.
3291 * math/s_fdimf.c (__fdimf): Likewise.
3292 * math/s_fdiml.c (__fdiml): Likewise.
3293 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3296 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3298 * argp/argp-help.c: Fix typos.
3299 * crypt/speeds.c: Likewise.
3300 * csu/check_fds.c: Likewise.
3301 * elf/dl-load.c: Likewise.
3302 * elf/dl-open.c: Likewise.
3303 * elf/reldep3.c: Likewise.
3304 * elf/reldep.c: Likewise.
3305 * elf/sprof.c: Likewise.
3306 * iconv/iconv_charmap.c: Likewise.
3307 * iconv/skeleton.c: Likewise.
3308 * iconv/strtab.c: Likewise.
3309 * io/lockf64.c: Likewise.
3310 * libio/libioP.h: Likewise.
3311 * resolv/gai_notify.c: Likewise.
3312 * resolv/ns_name.c: Likewise.
3313 * resolv/ns_samedomain.c: Likewise.
3314 * resolv/res_send.c: Likewise.
3315 * stdlib/random.c: Likewise.
3316 * sunrpc/rpc/xdr.h: Likewise.
3317 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3318 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3319 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3320 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3321 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3322 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3324 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3325 * sysdeps/mach/hurd/check_fds.c: Likewise.
3326 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3327 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3328 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3329 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3330 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3331 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3332 * sysdeps/pthread/aio_notify.c: Likewise.
3333 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3334 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3335 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3337 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3339 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3341 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3342 version if bit_Slow_SSE4_2 is set.
3343 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3344 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3346 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3349 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3350 trampoline stack frame information.
3351 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3352 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3353 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3354 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3355 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3356 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3357 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3358 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3360 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3361 interrupting a syscall and set with option SA_SIGINFO.
3363 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3366 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3367 argument is infinite.
3368 * math/s_cprojf.c (__cprojf): Likewise.
3369 * math/s_cprojl.c (__cprojl): Likewise.
3370 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3371 * math/libm-test.inc (cproj_test_data): Add more tests.
3373 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3375 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3376 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3377 size. Use __ffs to determine corresponding shift.
3379 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3380 Roland McGrath <roland@hack.frob.com>
3382 * Makefile (INSTALL): Remove trailing blank lines from output of
3385 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3387 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3388 Align 32 bit compat elf_greg to 8 bytes.
3390 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3392 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3394 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3396 * string/strcoll_l.c (coll_seq): New structure.
3397 (get_next_seq_cached): New function.
3398 (get_next_seq): New function.
3399 (do_compare): New function.
3400 (STRCOLL): Use GNU style definition. Simplify implementation
3401 by using get_next_seq, get_next_seq_cached and do_compare.
3403 2013-08-16 Florian Weimer <fweimer@redhat.com>
3407 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3409 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3411 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3412 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3413 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3415 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3416 GETDENTS_64BIT_ALIGNED.
3417 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3418 * manual/filesys.texi (Reading/Closing Directory): Document
3419 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3421 * manual/conf.texi (Limits for Files): Add portability note to
3423 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3425 2013-08-13 Andreas Schwab <schwab@suse.de>
3428 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3430 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3431 LDBL_MAX_EXP >= 16384]: Add tests for it.
3433 2013-08-12 David S. Miller <davem@davemloft.net>
3435 * version.h (RELEASE): Set to "development".
3436 (VERSION): Set to "2.18.90".
3437 * NEWS: Add 2.19 section.
3439 2013-08-03 David S. Miller <davem@davemloft.net>
3441 * po/ko.po: Update Korean translation from translation project.
3443 2013-08-01 David S. Miller <davem@davemloft.net>
3445 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3446 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3449 2013-07-30 David S. Miller <davem@davemloft.net>
3451 * po/fr.po: Update French translation from translation project.
3453 2013-07-28 David S. Miller <davem@davemloft.net>
3455 * po/cs.po: Update Czech translation from translation project.
3457 * po/sv.po: Update Swedish translation from translation project.
3459 2013-07-27 David S. Miller <davem@davemloft.net>
3461 * po/eo.po: Update Esperanto translation from translation project.
3463 * po/vi.po: Update Vietnamese translation from translation project.
3465 * po/de.po: Update German translation from translation project.
3467 2013-07-26 David S. Miller <davem@davemloft.net>
3469 * po/bg.po: Update Bulgarian translation from translation project.
3471 * po/nl.po: Update Dutch translation from translation project.
3472 * po/pl.po: Update Polish translation from translation project.
3473 * po/ru.po: Update Russian translation from translation project.
3475 2013-07-24 David S. Miller <davem@davemloft.net>
3477 * po/libc.pot: Update.
3479 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3481 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3483 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3484 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3485 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3487 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3489 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3491 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3492 Andreas Schwab <schwab@suse.de>
3493 Roland McGrath <roland@hack.frob.com>
3494 Joseph Myers <joseph@codesourcery.com>
3495 Carlos O'Donell <carlos@redhat.com>
3498 * config.h.in: Define HAVE_PT_CHOWN.
3499 * config.make.in (build-pt-chown): New variable.
3500 * configure.in (--enable-pt_chown): New configure option.
3501 * configure: Regenerate.
3502 * login/Makefile: Include Makeconfig. Build pt_chown only if
3503 build-pt-chown is enabled.
3504 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3505 pt_chown to fix pty ownership.
3506 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3508 * manual/install.texi (Configuring and compiling): Mention
3509 --enable-pt_chown. Add @findex for grantpt.
3510 * INSTALL: Regenerate.
3512 2013-07-20 David S. Miller <davem@davemloft.net>
3514 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3515 difference between 32-bit and 64-bit.
3517 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3520 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3521 Avoid system header dependency with -ffreestanding.
3522 ($(objpfx)bits/syscall%d): Likewise.
3524 2013-07-13 David S. Miller <davem@davemloft.net>
3526 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3527 underflows from atanl/atan2l due to bug 15319.
3528 (casinh_test_data): Likewise.
3530 2013-07-07 David S. Miller <davem@davemloft.net>
3532 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3534 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3536 * sysdeps/i386/fpu/libm-test-ulps: Update.
3537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3539 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3541 * configure.in (--enable-lock-elision): Fix message text.
3542 * INSTALL: Regenerate.
3543 * configure: Regenerate.
3545 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3549 2013-07-03 Andreas Jaeger <aj@suse.de>
3551 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3553 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3554 (ptrace_peeksiginfo_args): Add.
3555 (__ptrace_peeksiginfo_flags): Add.
3556 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3557 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3558 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3560 2013-07-03 Allan McRae <allan@archlinux.org>
3562 * sysdeps/i386/fpu/libm-test-ulps: Update.
3564 2013-07-02 David S. Miller <davem@davemloft.net>
3566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3568 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3570 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3572 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3574 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3577 2013-07-02 Andi Kleen <ak@linux.intel.com>
3579 * config.h.in (ENABLE_LOCK_ELISION): Add.
3580 * configure.in (--enable-lock-elision): Add option.
3581 * manual/install.texi: Document --enable lock elision.
3582 * configure: Regenerate
3583 * INSTALL: Regenerate.
3585 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3587 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3588 SSE4.2 strcasecmp for libc.a.
3589 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3591 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3594 * soft-fp/op-common.h (_FP_FMA): New macro.
3595 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3596 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3597 (_FP_MUL_MEAT_1_imm): ... here.
3598 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3599 (_FP_MUL_MEAT_1_wide): ... here.
3600 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3601 (_FP_MUL_MEAT_1_hard): ... here.
3602 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3603 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3604 (_FP_MUL_MEAT_2_wide): ... here.
3605 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3606 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3607 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3608 (_FP_MUL_MEAT_2_gmp): ... here.
3609 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3610 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3611 (_FP_MUL_MEAT_4_wide): ... here.
3612 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3613 (_FP_MUL_MEAT_4_gmp): ... here.
3614 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3615 (_FP_WFRACBITS_DW_S): Likewise.
3616 (_FP_WFRACXBITS_DW_S): Likewise.
3617 (_FP_HIGHBIT_DW_S): Likewise.
3618 (FP_FMA_S): Likewise.
3619 (_FP_FRAC_HIGH_DW_S): Likewise.
3620 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3621 (_FP_WFRACBITS_DW_D): Likewise.
3622 (_FP_WFRACXBITS_DW_D): Likewise.
3623 (_FP_HIGHBIT_DW_D): Likewise.
3624 (FP_FMA_D): Likewise.
3625 (_FP_FRAC_HIGH_DW_D): Likewise.
3626 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3627 (_FP_WFRACBITS_DW_E): Likewise.
3628 (_FP_WFRACXBITS_DW_E): Likewise.
3629 (_FP_HIGHBIT_DW_E): Likewise.
3630 (FP_FMA_E): Likewise.
3631 (_FP_FRAC_HIGH_DW_E): Likewise.
3632 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3633 (_FP_WFRACBITS_DW_Q): Likewise.
3634 (_FP_WFRACXBITS_DW_Q): Likewise.
3635 (_FP_HIGHBIT_DW_Q): Likewise.
3636 (FP_FMA_Q): Likewise.
3637 (_FP_FRAC_HIGH_DW_Q): Likewise.
3638 * soft-fp/fmasf4.c: New file.
3639 * soft-fp/fmadf4.c: Likewise.
3640 * soft-fp/fmatf4.c: Likewise.
3642 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3645 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3647 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3649 (index_Slow_SSE4_2): Likewise.
3650 (index_Prefer_PMINUB_for_stringop): Likewise.
3651 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3652 bit_Slow_SSE4_2 is set.
3653 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3654 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3656 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3658 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3659 rtld_global._dl_hwcap2.
3660 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3662 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3663 POWER8 feature descriptions defined in _dl_hwcap2.
3664 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3665 string handling for POWER8 feature bits.
3666 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3667 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3668 _dl_powerpc_cap_flags.
3669 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3670 * sysdeps/powerpc/rtld-global-offsets.sym
3671 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3672 _dl_hwcap2 in the rtld_global_ro structure.
3674 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3676 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3677 hardware capabilities in support of AT_HWCAP2.
3678 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3679 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3681 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3682 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3683 explicitly the unknown a_type display mechanism is used.
3684 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3685 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3687 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3688 to macro prototype for AT_HWCAP2 support.
3689 * sysdeps/i386/dl-procinfo.h: Likewise.
3690 * sysdeps/s390/dl-procinfo.h: Likewise.
3691 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3692 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3693 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3694 return -1 for unknown a_type display fallback.
3695 * sysdeps/sparc/dl-procinfo.h: Likewise.
3696 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3697 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3699 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3701 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3702 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3704 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3707 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3708 mprotect making __stack_prot writable.
3710 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3711 Joseph Myers <joseph@codesourcery.com>
3713 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3714 as being properly aligned.
3716 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3718 * dlfcn/modstatic5.c: New file.
3719 * dlfcn/tststatic5.c: New file.
3720 * dlfcn/Makefile (tests): Add tststatic5.
3721 (tests-static): Likewise.
3722 (modules-names): Add modstatic5.
3723 (tststatic5-ENV): New variable.
3724 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3727 * elf/dl-support.c (_dl_main_map): New variable.
3728 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3729 (_dl_nns, _dl_load_adds): Set to 1.
3730 (_dl_initial_searchlist): Refer to _dl_main_map.
3731 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3732 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3733 call to _dl_get_origin.
3734 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3736 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3737 * dlfcn/modstatic3.c: New file.
3738 * dlfcn/tststatic3.c: New file.
3739 * dlfcn/tststatic4.c: New file.
3740 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3741 (tests-static): Likewise.
3742 (modules-names): Add modstatic3.
3743 (tststatic3-ENV, tststatic4-ENV): New variables.
3744 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3745 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3747 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3749 * configure.in (CC): Require GCC version 4.4 or later.
3750 * configure: Regenerated.
3751 * manual/install.texi (Tools for Compilation): Update GCC version
3753 * INSTALL: Regenerated.
3755 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3758 * string/test-memcmp.c (check2): New.
3759 (main): Call check2.
3761 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3763 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3766 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3768 (dl_open_worker) [!SHARED]: ... here.
3770 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3772 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3774 2013-06-25 Richard Henderson <rth@redhat.com>
3776 * locale/programs/locarchive.c: Include <libc-internal.h>
3778 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3780 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3781 trailing whitespace removed.
3783 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3786 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3787 * locale/programs/locarchive.c: Include libc-mmap.h.
3788 (prepare_address_space): Take two new outputs (the mmap base and len).
3789 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3791 (create_archive): Declare new mmap base and len values for
3792 prepare_address_space, and store the result in ah.
3793 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3794 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3795 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3796 Declare new mmap base and len values for
3797 prepare_address_space, and store the result in new_ah.
3798 (open_archive): Declare new mmap base and len values for
3799 prepare_address_space, and store the result in ah.
3800 (close_archive): If ah->mmap_base is not NULL, use that and
3801 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3802 * sysdeps/generic/libc-mmap.h: New file.
3804 2013-06-24 Mike Frysinger <vapier@gentoo.org>
3806 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3807 (ALIGN_UP): Likewise.
3808 (PTR_ALIGN_DOWN): Likewise.
3809 (PTR_ALIGN_UP): Likewise.
3811 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3813 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3814 entry mapped to PPC_PLATFORM_POWER8.
3815 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3817 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3818 (_dl_string_platform): Add case for exporting platform position for
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3821 search path to sysdeps/powerpc/powerpc32/power8 directory.
3822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3823 search path to sysdeps/powerpc/powerpc64/power8 directory.
3824 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3826 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3829 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3831 * INSTALL: Regenerate.
3833 * nscd/connections.c (nscd_init): Fix comment.
3835 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3837 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3840 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3841 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3843 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3845 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3847 (DL_DST_REQ_STATIC): Remove macro.
3849 2013-06-21 Joseph Myers <joseph@codesourcery.com>
3852 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3853 with a shift of 0 bits.
3855 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3857 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3860 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3863 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3865 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3867 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3868 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3869 accepts -fno-tree-loop-distribute-patterns.
3870 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3871 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3873 * string/memset.c (memset): Likewise.
3874 * string/test-memmove.c (simple_memmove): Disable loop transformation
3876 * string/test-memset.c (simple_memset): Likewise.
3877 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3878 * benchtests/bench-memset.c (simple_memset): Likewise.
3879 * configure: Regenerated.
3881 2013-06-20 Joseph Myers <joseph@codesourcery.com>
3883 * math/test-misc.c (main): Ignore fesetround failure when failures
3884 of subsequent rounding tests would be ignored.
3887 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3888 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3889 * math/fegetenv.c (__fegetenv): Return 0.
3890 * math/fegetexcept.c (fegetexcept): Return 0.
3891 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3893 * math/feholdexcpt.c (feholdexcept): Return 0.
3894 * math/fesetenv.c (__fesetenv): Return 0.
3895 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3896 argument FE_TONEAREST.
3897 * math/feupdateenv.c (__feupdateenv): Return 0.
3898 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3900 2013-06-18 Roland McGrath <roland@hack.frob.com>
3902 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3903 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3904 ($(objpfx)rtld-%.os rules): Use them.
3906 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3908 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3911 2013-06-17 Roland McGrath <roland@hack.frob.com>
3913 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3914 length of target pattern, then descending length of dependency pattern.
3915 * configure.in (AWK): Require gawk 3.1.2 or newer.
3916 * manual/install.texi (Tools for Compilation): Say that we do.
3917 * configure: Regenerated.
3919 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3920 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3921 * scripts/sysd-rules.awk: ... this new script.
3922 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3923 than a glob-style pattern.
3925 2013-06-17 Joseph Myers <joseph@codesourcery.com>
3927 * math/test-misc.c (main): Do not treat incorrectly rounded
3928 conversions as failure unless ROUNDING_TESTS passes.
3930 2013-06-15 Joseph Myers <joseph@codesourcery.com>
3933 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3934 restore exception state around main square root computation, then
3935 check for inexactness explicitly.
3937 * math/libm-test.inc (fma_test_data): Add another test.
3939 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3941 * manual/threads.texi (Non-POSIX Extensions): New document
3942 node. Document pthread_getattr_default_np and
3943 pthread_setattr_default_np.
3945 * Versions.def (libpthread): Add GLIBC_2.18.
3946 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3955 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3966 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3968 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3969 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3971 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3972 H.J. Lu <hjl.tools@gmail.com>
3975 * sysdeps/x86_64/rtld-memset.c: Remove file.
3976 * sysdeps/x86_64/rtld-memset.S: New file.
3978 2013-06-14 Joseph Myers <joseph@codesourcery.com>
3980 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3981 (test_in_one_mode): Take arguments for whether the rounding mode
3982 is supported for each floating-point type.
3983 (do_test): Pass new arguments to test_in_one_mode using
3986 2013-06-13 Roland McGrath <roland@hack.frob.com>
3988 * posix/tst-waitid.c (do_test): Distinguish different instances of
3989 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3990 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3991 before entering the kernel for waitpid.
3993 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3995 * NEWS: Fix note on clock function precision. Text by Roland
3998 2013-06-13 Roland McGrath <roland@hack.frob.com>
4000 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4001 it into place only when and if the sanity check passes.
4003 2013-06-13 Joseph Myers <joseph@codesourcery.com>
4005 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4006 output for whether conversion result is exact. Take argument
4007 indicating whether type is IBM long double.
4008 (round_for_all): Change need_exact field to ibm_ld.
4009 * stdlib/tst-strtod-round.c (struct exactness): New type.
4010 (struct test): Change bool ld_ok field to struct exactness exact.
4011 (TEST): Update all definitions for change to field.
4012 (tests): Regenerate array contents.
4013 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4014 field value. Check for IBM long double here.
4015 (do_test): Update calls to test_in_one_mode.
4017 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4020 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4021 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4023 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4026 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4027 generated by the compiler on loop optimizations.
4028 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4029 general definitions.
4031 2013-06-12 Joseph Myers <joseph@codesourcery.com>
4033 * math/bug-nextafter.c: Include <math-tests.h>.
4034 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4036 * math/bug-nexttoward.c: Include <math-tests.h>.
4037 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4039 * math/test-misc.c: Include <math-tests.h>.
4040 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4043 2013-06-12 Andreas Jaeger <aj@suse.de>
4045 * po/ia.po: Update Interlingua translation from translation
4048 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4050 * include/fenv.h: Include stdbool.h.
4051 (struct rm_ctx): New structure.
4052 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4054 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4055 (SET_RESTORE_ROUNDF): Likewise.
4056 (SET_RESTORE_ROUNDL): Likewise.
4057 (SET_RESTORE_ROUND_NOEX): Likewise.
4058 (SET_RESTORE_ROUND_NOEXF): Likewise.
4059 (SET_RESTORE_ROUND_NOEXL): Likewise.
4060 (SET_RESTORE_ROUND_53BIT): Likewise.
4061 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4062 (libc_feresetround_noexf_ctx): Likewise.
4063 (libc_feresetround_noexl_ctx): Likewise.
4064 (libc_feholdsetround_53bit_ctx): Likewise.
4065 (libc_feresetround_53bit_ctx): Likewise.
4066 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4067 (libc_feholdexcept_setround_sse_ctx): New function.
4068 (libc_fesetenv_sse_ctx): Likewise.
4069 (libc_feupdateenv_sse_ctx): Likewise.
4070 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4071 (libc_feholdexcept_setround_387_ctx): Likewise.
4072 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4073 (libc_feholdsetround_387_prec_ctx): Likewise.
4074 (libc_feholdsetround_387_ctx): Likewise.
4075 (libc_feholdsetround_387_53bit_ctx): Likewise.
4076 (libc_feholdsetround_sse_ctx): Likewise.
4077 (libc_feresetround_sse_ctx): Likewise.
4078 (libc_feresetround_387_ctx): Likewise.
4079 (libc_feupdateenv_387_ctx): Likewise.
4080 (libc_feholdexcept_setroundf_ctx): Define macro.
4081 (libc_fesetenvf_ctx): Likewise.
4082 (libc_feupdateenvf_ctx): Likewise.
4083 (libc_feholdsetroundf_ctx): Likewise.
4084 (libc_feresetroundf_ctx): Likewise.
4085 (libc_feholdexcept_setround_ctx): Likewise.
4086 (libc_fesetenv_ctx): Likewise.
4087 (libc_feupdateenv_ctx): Likewise.
4088 (libc_feholdsetround_ctx): Likewise.
4089 (libc_feresetround_ctx): Likewise.
4090 (libc_feholdexcept_setroundl_ctx): Likewise.
4091 (libc_feupdateenvl_ctx): Likewise.
4092 (libc_feholdsetroundl_ctx): Likewise.
4093 (libc_feresetroundl_ctx): Likewise.
4094 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4095 (libc_feresetround_53bit_ctx): Likewise.
4097 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4099 * locale/iso-639.def: Convert to UTF-8.
4101 2013-06-11 Joseph Myers <joseph@codesourcery.com>
4103 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4104 (EXCEPTION_TESTS_double): Likewise.
4105 (EXCEPTION_TESTS_long_double): Likewise.
4106 (EXCEPTION_TESTS): Likewise.
4107 * math/libm-test.inc (test_exceptions): Only test exceptions if
4108 EXCEPTION_TESTS (FLOAT).
4110 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4112 * benchtests/Makefile (string-bench): Add strcpy_chk and
4114 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4115 * benchtests/bench-stpcpy_chk.c: New file.
4116 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4117 * benchtests/bench-strcpy_chk.c: New file.
4118 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4120 (do_test): Likewise.
4122 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4124 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4125 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4126 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4127 with tabs where appropriate.
4128 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4130 [PPC_PLATFORM_PPC440]: Likewise.
4131 [PPC_PLATFORM_PPC464]: Likewise.
4132 [PPC_PLATFORM_PPC476]: Likewise.
4133 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4134 ppc464, and ppc476 platform strings merging from ports/
4137 2013-06-11 Andreas Schwab <schwab@suse.de>
4140 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4141 (from_ucs4_idx): Regenerate.
4142 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4143 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4144 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4145 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4146 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4147 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4148 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4149 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4150 from FROM_LOOP and TO_LOOP specific macros.
4151 (BODY): Handle combining characters.
4152 * iconvdata/BIG5HKSCS.irreversible: Update.
4153 * iconvdata/BIG5HKSCS.precomposed: New file.
4154 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4156 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4158 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4160 * include/sys/time.h: Fix indentation and add copyright header.
4162 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4163 (do_test): Likewise.
4164 * string/test-memchr.c (do_one_test): Likewise.
4165 (do_test): Likewise.
4166 * string/test-memcmp.c (do_one_test): Likewise.
4167 (do_test): Likewise.
4168 * string/test-memcpy.c (do_one_test): Likewise.
4169 (do_test): Likewise.
4170 * string/test-memmem.c (do_one_test): Likewise.
4171 (do_test): Likewise.
4172 (do_random_tests): Likewise.
4173 * string/test-memmove.c (do_one_test): Likewise.
4174 (do_test): Likewise.
4175 * string/test-memset.c (do_one_test): Likewise.
4176 (do_test): Likewise.
4177 * string/test-rawmemchr.c (do_one_test): Likewise.
4178 (do_test): Likewise.
4179 * string/test-strcasecmp.c (do_one_test): Likewise.
4180 (do_test): Likewise.
4181 * string/test-strcasestr.c (do_one_test): Likewise.
4182 (do_test): Likewise.
4183 * string/test-strcat.c (do_one_test): Likewise.
4184 (do_test): Likewise.
4185 * string/test-strchr.c (do_one_test): Likewise.
4186 (do_test): Likewise.
4187 * string/test-strcmp.c (do_one_test): Likewise.
4188 (do_test): Likewise.
4189 * string/test-strcpy.c (do_one_test): Likewise.
4190 (do_test): Likewise.
4191 * string/test-string.h: Likewise.
4192 (test_init): Likewise.
4193 * string/test-strlen.c (do_one_test): Likewise.
4194 (do_test): Likewise.
4195 * string/test-strncasecmp.c (do_one_test): Likewise.
4196 (do_test): Likewise.
4197 * string/test-strncat.c (do_one_test): Likewise.
4198 (do_test): Likewise.
4199 * string/test-strncmp.c (do_one_test): Likewise.
4200 (do_test_limit): Likewise.
4201 (do_test): Likewise.
4202 * string/test-strncpy.c (do_one_test): Likewise.
4203 (do_test): Likewise.
4204 * string/test-strnlen.c (do_one_test): Likewise.
4205 (do_test): Likewise.
4206 * string/test-strpbrk.c (do_one_test): Likewise.
4207 (do_test): Likewise.
4208 * string/test-strrchr.c (do_one_test): Likewise.
4209 (do_test): Likewise.
4210 * string/test-strspn.c (do_one_test): Likewise.
4211 (do_test): Likewise.
4212 * string/test-strstr.c (do_one_test): Likewise.
4213 (do_test): Likewise.
4215 * benchtests/Makefile (string-bench): Add string benchmarks.
4216 * benchtests/bench-bcopy-ifunc.c: New file.
4217 * benchtests/bench-bcopy.c: New file.
4218 * benchtests/bench-bzero-ifunc.c: New file.
4219 * benchtests/bench-bzero.c: New file.
4220 * benchtests/bench-memccpy-ifunc.c: New file.
4221 * benchtests/bench-memccpy.c: New file.
4222 * benchtests/bench-memchr-ifunc.c: New file.
4223 * benchtests/bench-memchr.c: New file.
4224 * benchtests/bench-memcmp-ifunc.c: New file.
4225 * benchtests/bench-memcmp.c: New file.
4226 * benchtests/bench-memmem-ifunc.c: New file.
4227 * benchtests/bench-memmem.c: New file.
4228 * benchtests/bench-memmove-ifunc.c: New file.
4229 * benchtests/bench-memmove.c: New file.
4230 * benchtests/bench-mempcpy-ifunc.c: New file.
4231 * benchtests/bench-mempcpy.c: New file.
4232 * benchtests/bench-memset-ifunc.c: New file.
4233 * benchtests/bench-memset.c: New file.
4234 * benchtests/bench-rawmemchr-ifunc.c: New file.
4235 * benchtests/bench-rawmemchr.c: New file.
4236 * benchtests/bench-stpcpy-ifunc.c: New file.
4237 * benchtests/bench-stpcpy.c: New file.
4238 * benchtests/bench-stpncpy-ifunc.c: New file.
4239 * benchtests/bench-stpncpy.c: New file.
4240 * benchtests/bench-strcasecmp-ifunc.c: New file.
4241 * benchtests/bench-strcasecmp.c: New file.
4242 * benchtests/bench-strcasestr-ifunc.c: New file.
4243 * benchtests/bench-strcasestr.c: New file.
4244 * benchtests/bench-strcat-ifunc.c: New file.
4245 * benchtests/bench-strcat.c: New file.
4246 * benchtests/bench-strchr-ifunc.c: New file.
4247 * benchtests/bench-strchr.c: New file.
4248 * benchtests/bench-strchrnul-ifunc.c: New file.
4249 * benchtests/bench-strchrnul.c: New file.
4250 * benchtests/bench-strcmp-ifunc.c: New file.
4251 * benchtests/bench-strcmp.c: New file.
4252 * benchtests/bench-strcpy-ifunc.c: New file.
4253 * benchtests/bench-strcpy.c: New file.
4254 * benchtests/bench-strcspn-ifunc.c: New file.
4255 * benchtests/bench-strcspn.c: New file.
4256 * benchtests/bench-strlen-ifunc.c: New file.
4257 * benchtests/bench-strlen.c: New file.
4258 * benchtests/bench-strncasecmp-ifunc.c: New file.
4259 * benchtests/bench-strncasecmp.c: New file.
4260 * benchtests/bench-strncat-ifunc.c: New file.
4261 * benchtests/bench-strncat.c: New file.
4262 * benchtests/bench-strncmp-ifunc.c: New file.
4263 * benchtests/bench-strncmp.c: New file.
4264 * benchtests/bench-strncpy-ifunc.c: New file.
4265 * benchtests/bench-strncpy.c: New file.
4266 * benchtests/bench-strnlen-ifunc.c: New file.
4267 * benchtests/bench-strnlen.c: New file.
4268 * benchtests/bench-strpbrk-ifunc.c: New file.
4269 * benchtests/bench-strpbrk.c: New file.
4270 * benchtests/bench-strrchr-ifunc.c: New file.
4271 * benchtests/bench-strrchr.c: New file.
4272 * benchtests/bench-strspn-ifunc.c: New file.
4273 * benchtests/bench-strspn.c: New file.
4274 * benchtests/bench-strstr-ifunc.c: New file.
4275 * benchtests/bench-strstr.c: New file.
4277 * benchtests/Makefile: Disable parallel execution of targets.
4278 (string-bench): Add memcpy.
4279 (benchset): New variable to store a list of benchmark sets.
4280 (bench-func): Renamed from bench.
4281 (bench-set): New target.
4282 (bench): Depend on bench-func and bench-set.
4283 * benchtests/README: Add section on benchmark sets.
4284 * benchtests/bench-memcpy-ifunc.c: New file.
4285 * benchtests/bench-memcpy.c: New file.
4286 * benchtests/bench-string.h: New file.
4288 2013-06-11 Andreas Schwab <schwab@suse.de>
4291 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4292 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4293 values in the triple.
4294 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4295 terminator in the group key.
4297 2013-06-11 Andreas Jaeger <aj@suse.de>
4299 * po/zh_TW.po: Update Chinese (traditional) translation from
4300 translation project.
4302 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4304 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4305 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4306 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4307 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4308 (clock_getcpuclockid): Likewise.
4309 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4310 Add weak_alias and libc_hidden_def.
4311 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4312 * rt/clock_gettime.c (clock_gettime): Rename to
4313 __clock_gettime. Add weak_alias and libc_hidden_def.
4314 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4315 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4316 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4317 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4318 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4320 * rt/clock_settime.c (clock_settime): Rename to
4321 __clock_settime. Add weak_alias and libc_hidden_def.
4322 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4324 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4326 * mach/err_boot.sub: Remove trailing whitespace.
4327 * mach/err_ipc.sub: Likewise.
4328 * mach/err_mach.sub: Likewise.
4330 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4331 (ROUNDING_TESTS_double): Likewise.
4332 (ROUNDING_TESTS_long_double): Likewise.
4333 (ROUNDING_TESTS): Likewise.
4334 * math/libm-test.inc: Include <math-tests.h>.
4335 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4336 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4337 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4338 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4340 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4342 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4345 2013-06-08 Joseph Myers <joseph@codesourcery.com>
4347 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4348 otherwise empty TRANS lines.
4349 * sysdeps/gnu/errlist.c: Regenerated.
4351 * catgets/gencat.c (error_print): Use (void) in function
4353 * crypt/crypt_util.c (__init_des): Likewise.
4354 * crypt/speeds.c (Stop): Likewise.
4356 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4357 * inet/ruserpass.c (token): Likewise.
4358 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4359 * intl/localealias.c (extend_alias_table): Likewise.
4360 * intl/plural-exp.c (init_germanic_plural): Likewise.
4361 * libio/fcloseall.c (__fcloseall): Likewise.
4362 * libio/genops.c (_IO_flush_all): Likewise.
4363 (_IO_flush_all_linebuffered): Likewise.
4364 (_IO_cleanup): Likewise.
4365 (_IO_iter_begin): Likewise.
4366 (_IO_iter_end): Likewise.
4367 (_IO_list_lock): Likewise.
4368 (_IO_list_unlock): Likewise.
4369 (_IO_list_resetlock): Likewise.
4370 * libio/getchar.c (getchar): Likewise.
4371 * libio/getchar_u.c (getchar_unlocked): Likewise.
4372 * libio/getwchar.c (getwchar): Likewise.
4373 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4374 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4375 * login/getpt.c (__getpt): Likewise.
4376 * login/tst-utmp.c (main): Likewise.
4377 * malloc/hooks.c (__malloc_check_init): Likewise.
4378 * malloc/malloc.c (__malloc_stats): Likewise.
4379 * malloc/mtrace.c (tr_break): Likewise.
4381 (muntrace): Likewise.
4382 * misc/fstab.c (endfsent): Likewise.
4383 * misc/getclktck.c (__getclktck): Likewise.
4384 * misc/getdtsz.c (__getdtablesize): Likewise.
4385 * misc/gethostid.c (gethostid): Likewise.
4386 * misc/getpagesize.c (__getpagesize): Likewise.
4387 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4388 (__get_nprocs): Likewise.
4389 (__get_phys_pages): Likewise.
4390 (__get_avphys_pages): Likewise.
4391 * misc/getttyent.c (getttyent): Likewise.
4392 (setttyent): Likewise.
4393 (endttyent): Likewise.
4394 * misc/getusershell.c (getusershell): Likewise.
4395 (endusershell): Likewise.
4396 (setusershell): Likewise.
4397 (initshells): Likewise.
4398 * misc/hsearch.c (__hdestroy): Likewise.
4399 * misc/sync.c (sync): Likewise.
4400 * misc/syslog.c (closelog_internal): Likewise.
4401 (closelog): Likewise.
4402 * misc/ttyslot.c (ttyslot): Likewise.
4403 * misc/vhangup.c (vhangup): Likewise.
4404 * posix/fork.c (__fork): Likewise.
4405 * posix/getegid.c (__getegid): Likewise.
4406 * posix/geteuid.c (__geteuid): Likewise.
4407 * posix/getgid.c (__getgid): Likewise.
4408 * posix/getpid.c (__getpid): Likewise.
4409 * posix/getppid.c (__getppid): Likewise.
4410 * posix/getuid.c (__getuid): Likewise.
4411 * posix/pause.c (pause): Likewise.
4412 * posix/setpgrp.c (setpgrp): Likewise.
4413 * posix/setsid.c (__setsid): Likewise.
4414 * posix/test-vfork.c (noop): Likewise.
4415 * resolv/gethnamaddr.c (_endhtent): Likewise.
4416 (_gethtent): Likewise.
4417 (ht_endhostent): Likewise.
4418 (gethostent): Likewise.
4419 (dns_service): Likewise.
4420 * stdlib/drand48.c (drand48): Likewise.
4421 * stdlib/lrand48.c (lrand48): Likewise.
4422 * stdlib/mrand48.c (mrand48): Likewise.
4423 * stdlib/rand.c (rand): Likewise.
4424 * stdlib/random.c (__random): Likewise.
4425 * stdlib/setenv.c (clearenv): Likewise.
4426 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4427 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4428 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4429 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4430 (__get_nprocs): Likewise.
4431 (__get_phys_pages): Likewise.
4432 (__get_avphys_pages): Likewise.
4433 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4434 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4435 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4436 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4437 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4438 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4439 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4440 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4441 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4442 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4443 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4444 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4445 * sysdeps/posix/clock.c (clock): Likewise.
4446 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4447 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4448 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4449 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4450 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4451 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4452 (__get_nprocs_conf): Likewise.
4453 (__get_phys_pages): Likewise.
4454 (__get_avphys_pages): Likewise.
4455 * time/clock.c (clock): Likewise.
4456 * time/tzset.c (__tzname_max): Likewise.
4458 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4460 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4461 (__bswap_32): Do not use "register".
4462 * crypt/crypt.c (_ufc_doit_r): Likewise.
4463 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4464 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4465 * gmon/gmon.c (__monstartup): Likewise.
4466 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4467 * hurd/hurdmalloc.c (more_memory): Likewise.
4470 (realloc): Likewise.
4471 (malloc_fork_prepare): Likewise.
4472 (malloc_fork_parent): Likewise.
4473 (malloc_fork_child): Likewise.
4474 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4475 (_svcauth_des): Likewise.
4476 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4477 * inet/inet_net.c (inet_network): Likewise.
4478 * inet/inet_netof.c (inet_netof): Likewise.
4479 * inet/rcmd.c (__validuser2_sa): Likewise.
4480 * io/fts.c (fts_open): Likewise.
4481 (fts_load): Likewise.
4482 (fts_close): Likewise.
4483 (fts_read): Likewise.
4484 (fts_children): Likewise.
4485 (fts_build): Likewise.
4486 (fts_stat): Likewise.
4487 (fts_sort): Likewise.
4488 (fts_alloc): Likewise.
4489 (fts_lfree): Likewise.
4490 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4491 (_IO_file_xsgetn): Likewise.
4492 (_IO_file_xsgetn_mmap): Likewise.
4493 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4494 (_IO_cookie_write): Likewise.
4495 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4496 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4497 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4498 * malloc/obstack.c (_obstack_begin): Likewise.
4499 (_obstack_begin_1): Likewise.
4500 (_obstack_newchunk): Likewise.
4501 (_obstack_allocated_p): Likewise.
4502 (obstack_free): Likewise.
4503 (_obstack_memory_used): Likewise.
4504 * misc/getttyent.c (getttynam): Likewise.
4505 (getttyent): Likewise.
4508 * misc/getusershell.c (initshells): Likewise.
4509 * misc/syslog.c (__vsyslog_chk): Likewise.
4510 * misc/ttyslot.c (ttyslot): Likewise.
4511 * nis/nis_hash.c (__nis_hash): Likewise.
4512 * posix/fnmatch_loop.c (FCT): Likewise.
4513 * posix/getconf.c (print_all): Likewise.
4515 * posix/getopt.c (exchange): Likewise.
4516 * posix/glob.c (globfree): Likewise.
4517 (prefix_array): Likewise.
4518 (__glob_pattern_type): Likewise.
4519 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4520 (NS_GET32): Likewise.
4521 (NS_PUT16): Likewise.
4522 (NS_PUT32): Likewise.
4523 * resolv/gethnamaddr.c (getanswer): Likewise.
4524 (gethostbyname2): Likewise.
4525 (gethostbyaddr): Likewise.
4526 (_gethtent): Likewise.
4527 (_gethtbyname2): Likewise.
4528 (_gethtbyaddr): Likewise.
4529 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4530 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4531 * resolv/res_init.c (__res_vinit): Likewise.
4532 (net_mask): Likewise.
4533 * resolv/res_mkquery.c (outchar): Likewise.
4535 * stdio-common/printf_fp.c (outchar): Likewise.
4537 * stdio-common/printf_fphex.c (outchar): Likewise.
4539 * stdio-common/printf_size.c (outchar): Likewise.
4541 * stdio-common/test_rdwr.c (main): Likewise.
4542 * stdio-common/tfformat.c (matches): Likewise.
4543 * stdio-common/vfprintf.c (outchar): Likewise.
4544 (printf_unknown): Likewise.
4545 (buffered_vfprintf): Likewise.
4546 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4547 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4548 (ReadFile): Likewise.
4549 * stdlib/qsort.c (SWAP): Likewise.
4550 (_quicksort): Likewise.
4551 * stdlib/setenv.c (__add_to_environ): Likewise.
4552 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4553 * stdlib/strtol_l.c (__strtol_l): Likewise.
4554 * stdlib/tst-strtod.c (main): Likewise.
4555 * stdlib/tst-strtol.c (main): Likewise.
4556 * stdlib/tst-strtoll.c (main): Likewise.
4557 * string/bits/string2.h (__strcmp_cc): Likewise.
4558 (__strcmp_cg): Likewise.
4559 (__strcspn_c1): Likewise.
4560 (__strcspn_c2): Likewise.
4561 (__strcspn_c3): Likewise.
4562 (__strspn_c1): Likewise.
4563 (__strspn_c2): Likewise.
4564 (__strspn_c3): Likewise.
4565 (__strsep_1c): Likewise.
4566 (__strsep_2c): Likewise.
4567 (__strsep_3c): Likewise.
4568 * string/memccpy.c (__memccpy): Likewise.
4569 * string/stpcpy.c (__stpcpy): Likewise.
4570 * string/strcmp.c (strcmp): Likewise.
4571 * string/strrchr.c (strrchr): Likewise.
4572 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4574 * sysdeps/mach/hurd/getcwd.c
4575 (_hurd_canonicalize_directory_name_internal): Likewise.
4576 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4577 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4578 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4579 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4580 Likewise, in both definitions.
4581 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4583 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4584 64] (__bswap_64): Likewise.
4585 * time/test_time.c (main): Likewise.
4586 * time/tzfile.c (__tzfile_read): Likewise.
4587 (__tzfile_compute): Likewise.
4588 * time/tzset.c (__tzset_parse_tz): Likewise.
4589 (tzset_internal): Likewise.
4590 (compute_change): Likewise.
4591 * wcsmbs/wcscat.c (__wcscat): Likewise.
4592 * wcsmbs/wcschr.c (wcschr): Likewise.
4593 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4594 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4595 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4596 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4597 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4598 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4599 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4600 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4601 * wcsmbs/wmemset.c (wmemset): Likewise.
4603 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4605 * scripts/config.guess: Update to version 2013-05-16.
4606 * scripts/config.sub: Update to version 2013-04-24.
4607 * scripts/install-sh: Update to version 2011-11-20.07.
4608 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4609 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4611 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4613 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4614 * elf/sln.c: Likewise.
4615 * hurd/hurd/ioctl.h: Likewise.
4616 * hurd/hurdmalloc.c: Likewise.
4617 * hurd/xattr.c: Likewise.
4618 * include/shlib-compat.h: Likewise.
4619 * inet/ruserpass.c: Likewise.
4620 * libio/iofgets_u.c: Likewise.
4621 * libio/iofgetws_u.c: Likewise.
4622 * locale/programs/ld-identification.c: Likewise.
4623 * locale/programs/ld-time.c: Likewise.
4624 * mach/msg-destroy.c: Likewise.
4625 * nss/nss_files/files-netgrp.c: Likewise.
4626 * resolv/res_data.c: Likewise.
4627 * soft-fp/op-1.h: Likewise.
4628 * soft-fp/op-2.h: Likewise.
4629 * soft-fp/op-4.h: Likewise.
4630 * soft-fp/op-common.h: Likewise.
4631 * stdio-common/printf_fphex.c: Likewise.
4632 * stdlib/strtod_l.c: Likewise.
4633 * sunrpc/rpc/clnt.h: Likewise.
4634 * sysdeps/generic/framestate.c: Likewise.
4635 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4636 * sysdeps/i386/bsd-setjmp.S: Likewise.
4637 * sysdeps/i386/__longjmp.S: Likewise.
4638 * sysdeps/i386/setjmp.S: Likewise.
4639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4640 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4657 * sysdeps/ieee754/support.c: Likewise.
4658 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4659 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4660 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4661 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4662 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4663 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4664 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4665 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4666 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4667 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4668 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4669 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4670 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4671 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4672 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4673 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4674 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4677 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4679 * posix/transbug.c: Remove executable mode.
4681 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4683 * crypt/speeds.c: Remove trailing whitespace.
4684 * dlfcn/default.c: Likewise.
4685 * elf/ifuncdep2.c: Likewise.
4686 * elf/ifuncmain1.c: Likewise.
4687 * elf/ifuncmain1vis.c: Likewise.
4688 * elf/testobj.h: Likewise.
4689 * elf/tst-stackguard1.c: Likewise.
4690 * gmon/sys/gmon.h: Likewise.
4691 * hurd/hurdmsg.c: Likewise.
4692 * hurd/new-fd.c: Likewise.
4693 * hurd/ports-get.c: Likewise.
4694 * iconvdata/ibm1008_420.c: Likewise.
4695 * inet/tst-getni1.c: Likewise.
4696 * inet/tst-getni2.c: Likewise.
4697 * libio/ioungetc.c: Likewise.
4698 * libio/wfiledoalloc.c: Likewise.
4699 * manual/libm-err-tab.pl: Likewise.
4700 * math/w_dremf.c: Likewise.
4701 * misc/ftruncate.c: Likewise.
4702 * posix/bug-glob2.c: Likewise.
4703 * posix/tst-pcre.c: Likewise.
4704 * posix/wait4.c: Likewise.
4705 * resolv/README: Likewise.
4706 * resolv/res_debug.h: Likewise.
4707 * resolv/tst-inet_ntop.c: Likewise.
4708 * setjmp/bug269-setjmp.c: Likewise.
4709 * soft-fp/extended.h: Likewise.
4710 * soft-fp/op-1.h: Likewise.
4711 * soft-fp/op-2.h: Likewise.
4712 * soft-fp/op-4.h: Likewise.
4713 * soft-fp/op-8.h: Likewise.
4714 * soft-fp/testit.c: Likewise.
4715 * stdio-common/bug16.c: Likewise.
4716 * stdlib/random.c: Likewise.
4717 * sunrpc/rpcsvc/rquota.x: Likewise.
4718 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4719 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4720 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4721 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4722 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4723 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4724 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4725 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4726 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4727 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4728 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4737 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4744 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4745 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4747 * sysdeps/ieee754/s_lib_version.c: Likewise.
4748 * sysdeps/mach/hurd/check_fds.c: Likewise.
4749 * sysdeps/mach/hurd/getsockname.c: Likewise.
4750 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4751 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4752 * sysdeps/powerpc/bits/link.h: Likewise.
4753 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4754 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4755 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4756 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4757 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4758 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4759 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4760 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4761 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4762 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4763 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4764 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4765 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4766 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4767 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4768 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4769 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4770 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4771 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4772 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4773 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4774 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4775 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4776 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4777 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4778 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4779 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4780 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4781 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4782 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4783 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4784 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4785 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4786 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4787 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4788 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4789 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4790 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4791 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4792 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4793 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4794 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4795 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4796 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4797 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4798 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4799 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4800 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4801 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4802 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4804 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4805 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4806 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4807 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4808 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4809 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4810 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4811 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4812 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4813 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4814 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4815 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4816 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4817 * sysdeps/powerpc/sysdep.h: Likewise.
4818 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4819 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4820 * sysdeps/sh/dl-trampoline.S: Likewise.
4821 * sysdeps/sh/memset.S: Likewise.
4822 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4823 * sysdeps/sh/strlen.S: Likewise.
4824 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4825 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4826 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4827 * sysdeps/sparc/sparc32/rem.S: Likewise.
4828 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4829 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4830 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4831 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4832 * sysdeps/sparc/sparc32/urem.S: Likewise.
4833 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4834 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4835 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4836 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4837 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4838 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4839 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4840 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4841 * sysdeps/unix/bsd/times.c: Likewise.
4842 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4843 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4847 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4848 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4849 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4850 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4851 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4852 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4853 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4854 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4855 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4856 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4857 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4858 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4859 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4860 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4861 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4862 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4863 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4864 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4865 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4866 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4867 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4868 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4869 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4870 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4871 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4872 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4873 * sysdeps/x86_64/strcspn.S: Likewise.
4875 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4877 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4878 generated file. Regenerate properly from gen-translit.pl.
4879 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4880 locale/C-translit.h.
4882 2013-06-05 Andreas Schwab <schwab@suse.de>
4885 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4886 week as 6 instead of -1.
4887 * time/tst-strptime.c (day_tests): Add test case.
4889 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4891 * sysdeps/generic/math_private.h
4892 (libc_feholdexcept_setround_53bit): Replace with
4893 libc_feholdsetround_53bit.
4894 (libc_feupdateenv_53bit): Replace with
4895 libc_feresetround_53bit.
4896 (SET_RESTORE_ROUND_53BIT): Adjust.
4898 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4900 * string/test-strchrnul.c: Add copyright header.
4902 * posix/tst-getaddrinfo4.c: Increase test timeout.
4904 2013-06-03 Carlos O'Donell <carlos@redhat.com>
4907 * math/libm-test.inc (MAX_EXP): Remove
4909 (ulp): Use MIN_EXP - MANT_DIG.
4910 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4912 2013-05-31 Carlos O'Donell <carlos@redhat.com>
4914 * po/be.po: Revert last change.
4915 * po/zh_CN.po: Likewise.
4916 * po/header.pot: Likewise.
4918 2013-05-31 Joseph Myers <joseph@codesourcery.com>
4920 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4921 link-libc-deps to empty as target-specific variable.
4922 * Makerules (link-libc-args): New variable.
4923 (libc-for-link): Likewise.
4924 (link-libc-deps): Likewise.
4925 (lib%.so): Depend on $(link-libc-deps). Link with
4927 (build-module): Link with $(link-libc-args).
4928 (build-module-asneeded): Likewise.
4929 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4931 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4932 target-specific variable.
4933 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4934 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4935 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4937 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4939 ($(objpfx)libpcprofile.so): Likewise.
4940 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4942 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4943 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4944 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4946 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4947 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4948 * login/Makefile ($(objpfx)libutil.so): Likewise.
4949 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4950 * math/Makefile ($(objpfx)libm.so): Likewise.
4951 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4952 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4953 variable instead of depending directly on libc.
4954 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4955 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4957 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4959 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4960 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4961 ($(objpfx)libanl.so): Likewise.
4962 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4964 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4966 * sysdeps/i386/fpu/Makefile: Remove file.
4967 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4968 ($(objpfx)libm.so): Remove dependency on ld.so.
4970 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
4973 * nis/yp_xdr.c (XDRMAXNAME): Define.
4974 (XDRMAXRECORD): Define.
4975 (xdr_domainname): Use XDRMAXNAME.
4976 (xdr_mapname): Likewise.
4977 (xdr_peername): Likewise.
4978 (xdr_keydat): Use XDRMAXRECORD.
4979 (xdr_valdat): Likewise.
4981 2013-05-30 Jeff Law <law@redhat.com>
4984 * manual/errno.texi (ESTALE): Update to account for more than
4985 just NFS file systems.
4986 * sysdeps/gnu/errlist.c: Regenerated.
4988 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4991 * elf/Makefile (tests): Add tst-null-argv.
4992 (modules-names): Add tst-null-argv-lib.
4993 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4994 (tst-null-argv-ENV): Set environment for tst-null-argv.
4995 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4996 (RTLD_PROGNAME): New macro.
4997 * elf/tst-null-argv.c: New test case.
4998 * elf/tst-null-argv-lib.c: Library for test case.
4999 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5000 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5001 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5002 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5003 * elf/dl-init.c (call_init): Likewise.
5004 (_dl_init): Likewise.
5005 * elf/dl-load.c (print_search_path): Likewise.
5006 (_dl_map_object): Likewise.
5007 * elf/dl-lookup.c (do_lookup_x): Likewise.
5008 (add_dependency): Likewise.
5009 (_dl_lookup_symbol_x): Likewise.
5010 (_dl_debug_bindings): Likewise.
5011 * elf/dl-open.c (_dl_show_scope): Likewise.
5012 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5013 * elf/dl-version.c (match_symbol): Likewise.
5014 (_dl_check_map_versions): Likewise.
5015 * elf/rtld.c (dl_main): Likewise.
5016 (print_unresolved): Use RTLD_PROGNAME.
5017 (print_missing_version): Likewise.
5018 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5019 (elf_machine_rela): Likewise.
5020 * sysdeps/powerpc/powerpc32/dl-machine.c
5021 (__process_machine_rela): Likewise.
5022 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5026 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5028 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5029 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5031 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5033 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5035 2013-05-28 Carlos O'Donell <carlos@redhat.com>
5037 * po/be.po: Add descriptive title.
5038 * po/zh_CN.po: Likewise.
5039 * po/header.pot: Likewise.
5041 2013-05-28 Mike Frysinger <vapier@gentoo.org>
5043 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5045 (enlarge_archive): Likewise.
5047 2013-05-28 Ben North <ben@redfrontdoor.org>
5049 * manual/arith.texi (frexp): It is the magnitude of the return
5050 value which lies in [0.5, 1), not the return value itself.
5052 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5056 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5058 * stdio-common/bug26.c (main): Correct fscanf template.
5060 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5061 declare _dl_skip_args.
5063 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5066 * manual/platform.texi: Add missing @end deftypefun.
5068 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5071 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5072 bit of mantissa of 2^16382.
5073 * math/libm-test.inc (hypot_test_data): Add more tests.
5075 * math/libm-test.inc: Add drem and pow10 to list of tested
5077 (pow10_test): New function.
5078 (drem_test): Likewise.
5079 (drem_test_tonearest): Likewise.
5080 (drem_test_towardzero): Likewise.
5081 (drem_test_downward): Likewise.
5082 (drem_test_upward): Likewise.
5083 (main): Call the new functions.
5085 * math/libm-test.inc (finite_test_data): Remove.
5086 (finite_test): Run tests from isfinite_test_data.
5087 (gamma_test_data): Remove.
5088 (gamma_test): Run tests from lgamma_test_data.
5089 * sysdeps/i386/fpu/libm-test-ulps: Update.
5090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5092 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5094 * manual/platform.texi: Add PowerPC PPR function set documentation.
5095 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5098 2013-05-24 Carlos O'Donell <carlos@redhat.com>
5100 * math/libm-test.inc (MAX_EXP): Define.
5102 (ulp): New function.
5103 (check_float_internal): Use ULPDIFF.
5104 (cpow_test): Disable failing test.
5105 (check_ulp): Test ulp() implemetnation.
5106 (main): Call check_ulp before starting tests.
5108 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5110 * math/gen-libm-test.pl (generate_testfile): Do not handle
5111 START_DATA and END_DATA.
5112 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5114 (acos_tonearest_test_data): Likewise.
5115 (acos_towardzero_test_data): Likewise.
5116 (acos_downward_test_data): Likewise.
5117 (acos_upward_test_data): Likewise.
5118 (acosh_test_data): Likewise.
5119 (asin_test_data): Likewise.
5120 (asin_tonearest_test_data): Likewise.
5121 (asin_towardzero_test_data): Likewise.
5122 (asin_downward_test_data): Likewise.
5123 (asin_upward_test_data): Likewise.
5124 (asinh_test_data): Likewise.
5125 (atan_test_data): Likewise.
5126 (atanh_test_data): Likewise.
5127 (atan2_test_data): Likewise.
5128 (cabs_test_data): Likewise.
5129 (cacos_test_data): Likewise.
5130 (cacosh_test_data): Likewise.
5131 (carg_test_data): Likewise.
5132 (casin_test_data): Likewise.
5133 (casinh_test_data): Likewise.
5134 (catan_test_data): Likewise.
5135 (catanh_test_data): Likewise.
5136 (cbrt_test_data): Likewise.
5137 (ccos_test_data): Likewise.
5138 (ccosh_test_data): Likewise.
5139 (ceil_test_data): Likewise.
5140 (cexp_test_data): Likewise.
5141 (cimag_test_data): Likewise.
5142 (clog_test_data): Likewise.
5143 (clog10_test_data): Likewise.
5144 (conj_test_data): Likewise.
5145 (copysign_test_data): Likewise.
5146 (cos_test_data): Likewise.
5147 (cos_tonearest_test_data): Likewise.
5148 (cos_towardzero_test_data): Likewise.
5149 (cos_downward_test_data): Likewise.
5150 (cos_upward_test_data): Likewise.
5151 (cosh_test_data): Likewise.
5152 (cosh_tonearest_test_data): Likewise.
5153 (cosh_towardzero_test_data): Likewise.
5154 (cosh_downward_test_data): Likewise.
5155 (cosh_upward_test_data): Likewise.
5156 (cpow_test_data): Likewise.
5157 (cproj_test_data): Likewise.
5158 (creal_test_data): Likewise.
5159 (csin_test_data): Likewise.
5160 (csinh_test_data): Likewise.
5161 (csqrt_test_data): Likewise.
5162 (ctan_test_data): Likewise.
5163 (ctan_tonearest_test_data): Likewise.
5164 (ctan_towardzero_test_data): Likewise.
5165 (ctan_downward_test_data): Likewise.
5166 (ctan_upward_test_data): Likewise.
5167 (ctanh_test_data): Likewise.
5168 (ctanh_tonearest_test_data): Likewise.
5169 (ctanh_towardzero_test_data): Likewise.
5170 (ctanh_downward_test_data): Likewise.
5171 (ctanh_upward_test_data): Likewise.
5172 (erf_test_data): Likewise.
5173 (erfc_test_data): Likewise.
5174 (exp_test_data): Likewise.
5175 (exp_tonearest_test_data): Likewise.
5176 (exp_towardzero_test_data): Likewise.
5177 (exp_downward_test_data): Likewise.
5178 (exp_upward_test_data): Likewise.
5179 (exp10_test_data): Likewise.
5180 (exp2_test_data): Likewise.
5181 (expm1_test_data): Likewise.
5182 (fabs_test_data): Likewise.
5183 (fdim_test_data): Likewise.
5184 (finite_test_data): Likewise.
5185 (floor_test_data): Likewise.
5186 (fma_test_data): Likewise.
5187 (fma_towardzero_test_data): Likewise.
5188 (fma_downward_test_data): Likewise.
5189 (fma_upward_test_data): Likewise.
5190 (fmax_test_data): Likewise.
5191 (fmin_test_data): Likewise.
5192 (fmod_test_data): Likewise.
5193 (fpclassify_test_data): Likewise.
5194 (frexp_test_data): Likewise.
5195 (gamma_test_data): Likewise.
5196 (hypot_test_data): Likewise.
5197 (ilogb_test_data): Likewise.
5198 (isfinite_test_data): Likewise.
5199 (isgreater_test_data): Likewise.
5200 (isgreaterequal_test_data): Likewise.
5201 (isinf_test_data): Likewise.
5202 (isless_test_data): Likewise.
5203 (islessequal_test_data): Likewise.
5204 (islessgreater_test_data): Likewise.
5205 (isnan_test_data): Likewise.
5206 (isnormal_test_data): Likewise.
5207 (issignaling_test_data): Likewise.
5208 (isunordered_test_data): Likewise.
5209 (j0_test_data): Likewise.
5210 (j1_test_data): Likewise.
5211 (jn_test_data): Likewise.
5212 (ldexp_test_data): Likewise.
5213 (lgamma_test_data): Likewise.
5214 (lrint_test_data): Likewise.
5215 (lrint_tonearest_test_data): Likewise.
5216 (lrint_towardzero_test_data): Likewise.
5217 (lrint_downward_test_data): Likewise.
5218 (lrint_upward_test_data): Likewise.
5219 (llrint_test_data): Likewise.
5220 (llrint_tonearest_test_data): Likewise.
5221 (llrint_towardzero_test_data): Likewise.
5222 (llrint_downward_test_data): Likewise.
5223 (llrint_upward_test_data): Likewise.
5224 (log_test_data): Likewise.
5225 (log10_test_data): Likewise.
5226 (log1p_test_data): Likewise.
5227 (log2_test_data): Likewise.
5228 (logb_test_data): Likewise.
5229 (logb_downward_test_data): Likewise.
5230 (lround_test_data): Likewise.
5231 (llround_test_data): Likewise.
5232 (modf_test_data): Likewise.
5233 (nearbyint_test_data): Likewise.
5234 (nextafter_test_data): Likewise.
5235 (nexttoward_test_data): Likewise.
5236 (pow_test_data): Likewise.
5237 (pow_tonearest_test_data): Likewise.
5238 (pow_towardzero_test_data): Likewise.
5239 (pow_downward_test_data): Likewise.
5240 (pow_upward_test_data): Likewise.
5241 (remainder_test_data): Likewise.
5242 (remainder_tonearest_test_data): Likewise.
5243 (remainder_towardzero_test_data): Likewise.
5244 (remainder_downward_test_data): Likewise.
5245 (remainder_upward_test_data): Likewise.
5246 (remquo_test_data): Likewise.
5247 (rint_test_data): Likewise.
5248 (rint_tonearest_test_data): Likewise.
5249 (rint_towardzero_test_data): Likewise.
5250 (rint_downward_test_data): Likewise.
5251 (rint_upward_test_data): Likewise.
5252 (round_test_data): Likewise.
5253 (scalb_test_data): Likewise.
5254 (scalbn_test_data): Likewise.
5255 (scalbln_test_data): Likewise.
5256 (signbit_test_data): Likewise.
5257 (sin_test_data): Likewise.
5258 (sin_tonearest_test_data): Likewise.
5259 (sin_towardzero_test_data): Likewise.
5260 (sin_downward_test_data): Likewise.
5261 (sin_upward_test_data): Likewise.
5262 (sincos_test_data): Likewise.
5263 (sinh_test_data): Likewise.
5264 (sinh_tonearest_test_data): Likewise.
5265 (sinh_towardzero_test_data): Likewise.
5266 (sinh_downward_test_data): Likewise.
5267 (sinh_upward_test_data): Likewise.
5268 (sqrt_test_data): Likewise.
5269 (tan_test_data): Likewise.
5270 (tan_tonearest_test_data): Likewise.
5271 (tan_towardzero_test_data): Likewise.
5272 (tan_downward_test_data): Likewise.
5273 (tan_upward_test_data): Likewise.
5274 (tanh_test_data): Likewise.
5275 (tgamma_test_data): Likewise.
5276 (trunc_test_data): Likewise.
5277 (y0_test_data): Likewise.
5278 (y1_test_data): Likewise.
5279 (yn_test_data): Likewise.
5280 (significand_test_data): Likewise.
5282 * math/gen-libm-test.pl (@functions): Remove variable.
5283 (generate_testfile): Don't handle START and END lines.
5284 * math/libm-test.inc (START): New macro.
5286 (END_COMPLEX): Likewise.
5287 (acos_test): Use END macro without arguments.
5288 (acos_test_tonearest): Likewise.
5289 (acos_test_towardzero): Likewise.
5290 (acos_test_downward): Likewise.
5291 (acos_test_upward): Likewise.
5292 (acosh_test): Likewise.
5293 (asin_test): Likewise.
5294 (asin_test_tonearest): Likewise.
5295 (asin_test_towardzero): Likewise.
5296 (asin_test_downward): Likewise.
5297 (asin_test_upward): Likewise.
5298 (asinh_test): Likewise.
5299 (atan_test): Likewise.
5300 (atanh_test): Likewise.
5301 (atan2_test): Likewise.
5302 (cabs_test): Likewise.
5303 (cacos_test): Use END_COMPLEX macro without arguments.
5304 (cacosh_test): Likewise.
5305 (carg_test): Use END macro without arguments.
5306 (casin_test): Use END_COMPLEX macro without arguments.
5307 (casinh_test): Likewise.
5308 (catan_test): Likewise.
5309 (catanh_test): Likewise.
5310 (cbrt_test): Use END macro without arguments.
5311 (ccos_test): Use END_COMPLEX macro without arguments.
5312 (ccosh_test): Likewise.
5313 (ceil_test): Use END macro without arguments.
5314 (cexp_test): Use END_COMPLEX macro without arguments.
5315 (cimag_test): Use END macro without arguments.
5316 (clog_test): Use END_COMPLEX macro without arguments.
5317 (clog10_test): Likewise.
5318 (conj_test): Likewise.
5319 (copysign_test): Use END macro without arguments.
5320 (cos_test): Likewise.
5321 (cos_test_tonearest): Likewise.
5322 (cos_test_towardzero): Likewise.
5323 (cos_test_downward): Likewise.
5324 (cos_test_upward): Likewise.
5325 (cosh_test): Likewise.
5326 (cosh_test_tonearest): Likewise.
5327 (cosh_test_towardzero): Likewise.
5328 (cosh_test_downward): Likewise.
5329 (cosh_test_upward): Likewise.
5330 (cpow_test): Use END_COMPLEX macro without arguments.
5331 (cproj_test): Likewise.
5332 (creal_test): Use END macro without arguments.
5333 (csin_test): Use END_COMPLEX macro without arguments.
5334 (csinh_test): Likewise.
5335 (csqrt_test): Likewise.
5336 (ctan_test): Likewise.
5337 (ctan_test_tonearest): Likewise.
5338 (ctan_test_towardzero): Likewise.
5339 (ctan_test_downward): Likewise.
5340 (ctan_test_upward): Likewise.
5341 (ctanh_test): Likewise.
5342 (ctanh_test_tonearest): Likewise.
5343 (ctanh_test_towardzero): Likewise.
5344 (ctanh_test_downward): Likewise.
5345 (ctanh_test_upward): Likewise.
5346 (erf_test): Use END macro without arguments.
5347 (erfc_test): Likewise.
5348 (exp_test): Likewise.
5349 (exp_test_tonearest): Likewise.
5350 (exp_test_towardzero): Likewise.
5351 (exp_test_downward): Likewise.
5352 (exp_test_upward): Likewise.
5353 (exp10_test): Likewise.
5354 (exp2_test): Likewise.
5355 (expm1_test): Likewise.
5356 (fabs_test): Likewise.
5357 (fdim_test): Likewise.
5358 (finite_test): Likewise.
5359 (floor_test): Likewise.
5360 (fma_test): Likewise.
5361 (fma_test_towardzero): Likewise.
5362 (fma_test_downward): Likewise.
5363 (fma_test_upward): Likewise.
5364 (fmax_test): Likewise.
5365 (fmin_test): Likewise.
5366 (fmod_test): Likewise.
5367 (fpclassify_test): Likewise.
5368 (frexp_test): Likewise.
5369 (gamma_test): Likewise.
5370 (hypot_test): Likewise.
5371 (ilogb_test): Likewise.
5372 (isfinite_test): Likewise.
5373 (isgreater_test): Likewise.
5374 (isgreaterequal_test): Likewise.
5375 (isinf_test): Likewise.
5376 (isless_test): Likewise.
5377 (islessequal_test): Likewise.
5378 (islessgreater_test): Likewise.
5379 (isnan_test): Likewise.
5380 (isnormal_test): Likewise.
5381 (issignaling_test): Likewise.
5382 (isunordered_test): Likewise.
5383 (j0_test): Likewise.
5384 (j1_test): Likewise.
5385 (jn_test): Likewise.
5386 (ldexp_test): Likewise.
5387 (lgamma_test): Likewise.
5388 (lrint_test): Likewise.
5389 (lrint_test_tonearest): Likewise.
5390 (lrint_test_towardzero): Likewise.
5391 (lrint_test_downward): Likewise.
5392 (lrint_test_upward): Likewise.
5393 (llrint_test): Likewise.
5394 (llrint_test_tonearest): Likewise.
5395 (llrint_test_towardzero): Likewise.
5396 (llrint_test_downward): Likewise.
5397 (llrint_test_upward): Likewise.
5398 (log_test): Likewise.
5399 (log10_test): Likewise.
5400 (log1p_test): Likewise.
5401 (log2_test): Likewise.
5402 (logb_test): Likewise.
5403 (logb_test_downward): Likewise.
5404 (lround_test): Likewise.
5405 (llround_test): Likewise.
5406 (modf_test): Likewise.
5407 (nearbyint_test): Likewise.
5408 (nextafter_test): Likewise.
5409 (nexttoward_test): Likewise.
5410 (pow_test): Likewise.
5411 (pow_test_tonearest): Likewise.
5412 (pow_test_towardzero): Likewise.
5413 (pow_test_downward): Likewise.
5414 (pow_test_upward): Likewise.
5415 (remainder_test): Likewise.
5416 (remainder_test_tonearest): Likewise.
5417 (remainder_test_towardzero): Likewise.
5418 (remainder_test_downward): Likewise.
5419 (remainder_test_upward): Likewise.
5420 (remquo_test): Likewise.
5421 (rint_test): Likewise.
5422 (rint_test_tonearest): Likewise.
5423 (rint_test_towardzero): Likewise.
5424 (rint_test_downward): Likewise.
5425 (rint_test_upward): Likewise.
5426 (round_test): Likewise.
5427 (scalb_test): Likewise.
5428 (scalbn_test): Likewise.
5429 (scalbln_test): Likewise.
5430 (signbit_test): Likewise.
5431 (sin_test): Likewise.
5432 (sin_test_tonearest): Likewise.
5433 (sin_test_towardzero): Likewise.
5434 (sin_test_downward): Likewise.
5435 (sin_test_upward): Likewise.
5436 (sincos_test): Likewise.
5437 (sinh_test): Likewise.
5438 (sinh_test_tonearest): Likewise.
5439 (sinh_test_towardzero): Likewise.
5440 (sinh_test_downward): Likewise.
5441 (sinh_test_upward): Likewise.
5442 (sqrt_test): Likewise.
5443 (tan_test): Likewise.
5444 (tan_test_tonearest): Likewise.
5445 (tan_test_towardzero): Likewise.
5446 (tan_test_downward): Likewise.
5447 (tan_test_upward): Likewise.
5448 (tanh_test): Likewise.
5449 (tgamma_test): Likewise.
5450 (trunc_test): Likewise.
5451 (y0_test): Likewise.
5452 (y1_test): Likewise.
5453 (yn_test): Likewise.
5454 (significand_test): Likewise.
5456 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5459 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5461 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5464 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5465 __ppc_mdoio and __ppc_mdoom.
5466 * manual/platform.texi: Document new functions __ppc_yield,
5467 __ppc_mdoio and __ppc_mdoom.
5469 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5471 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5472 (main): Mention "tls" pseudo-hwcap is legacy.
5473 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5475 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5477 * math/gen-libm-test.pl (parse_args): Output only string of
5478 arguments as text for test name, not full call or descriptions of
5479 tests for extra outputs.
5480 (generate_testfile): Do not pass function name to parse_args.
5481 Generate this_func variable from START.
5482 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5484 (struct test_ff_f_data): Likewise.
5485 (test_ff_f_data_nexttoward): Likewise.
5486 (struct test_fi_f_data): Likewise.
5487 (struct test_fl_f_data): Likewise.
5488 (struct test_if_f_data): Likewise.
5489 (struct test_fff_f_data): Likewise.
5490 (struct test_c_f_data): Likewise.
5491 (struct test_f_f1_data): Likewise. Remove field extra_name.
5492 (struct test_fF_f1_data): Likewise.
5493 (struct test_ffI_f1_data): Likewise.
5494 (struct test_c_c_data): Rename test_name field to arg_str.
5495 (struct test_cc_c_data): Likewise.
5496 (struct test_f_i_data): Likewise.
5497 (struct test_ff_i_data): Likewise.
5498 (struct test_f_l_data): Likewise.
5499 (struct test_f_L_data): Likewise.
5500 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5502 (COMMON_TEST_SETUP): New macro.
5503 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5504 (COMMON_TEST_CLEANUP): Likewise.
5505 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5506 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5508 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5509 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5511 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5512 (RUN_TEST_fff_f): Take argument string. Call new setup and
5514 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5515 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5517 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5518 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5520 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5521 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5523 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5524 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5526 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5527 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5529 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5530 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5532 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5533 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5535 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5536 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5538 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5539 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5541 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5542 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5544 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5545 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5547 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5548 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5550 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5551 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5553 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5554 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5556 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5557 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5559 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5561 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5563 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5564 to _sifields.sigfault.
5565 (si_addr_lsb): Define new macro.
5566 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5567 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5568 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5570 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5573 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5575 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5577 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5580 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5582 * math/gen-libm-test.pl (parse_args): Do not include expected
5583 result in test name.
5584 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5585 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5586 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5587 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5588 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5591 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5593 * benchtests/Makefile: Sort function entries.
5595 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5596 tanh, asinh, acosh, atanh.
5597 * benchtests/acos-inputs: New file.
5598 * benchtests/acosh-inputs: New file.
5599 * benchtests/asin-inputs: New file.
5600 * benchtests/asinh-inputs: New file.
5601 * benchtests/atanh-inputs: New file.
5602 * benchtests/cosh-inputs: New file.
5603 * benchtests/log-inputs: New file.
5604 * benchtests/sinh-inputs: New file.
5605 * benchtests/tanh-inputs: New file.
5607 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5610 * posix/tst-getaddrinfo4.c: New test.
5611 * posix/Makefile (tests): Add it.
5613 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5616 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5617 when no services were used.
5618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5619 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5621 2013-05-21 Andreas Schwab <schwab@suse.de>
5624 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5625 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5627 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5628 redundant variable declarations and reallocation of buffer when
5629 parsing as IPv6 address. Always set NSS status when called from
5630 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5631 buffer too small. Correct computation of needed size.
5632 * nss/Makefile (tests): Add test-digits-dots.
5633 * nss/test-digits-dots.c: New test.
5635 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5637 * benchtests/Makefile: Remove instructions for adding
5639 * benchtests/README: New file to explain how to execute and
5640 enhance the benchmark tests.
5642 2013-05-21 Andreas Schwab <schwab@suse.de>
5645 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5646 * setjmp/tst-sigsetjmp.c: New test.
5648 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5650 * sysdeps/x86_64/memset.S (memset): New implementation.
5651 (__bzero): Likewise.
5652 (__memset_tail): New function.
5654 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5656 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5657 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5658 __memcpy_sse2_unaligned ifunc selection.
5659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5660 Add memcpy-sse2-unaligned.S.
5661 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5662 Add: __memcpy_sse2_unaligned.
5664 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5667 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5668 math_force_eval before restoring floating-point envrionment.
5669 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5670 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5672 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5674 (__nearbyintl): Use math_force_eval before restoring
5675 floating-point environment.
5676 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5678 * math/gen-libm-test.pl (special_functions): Remove.
5679 (parse_args): Don't handle TEST_extra. Handle functions with no
5681 * math/libm-test.inc (struct test_sincos_data): Replace with
5682 struct test_fFF_11_data.
5683 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5684 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5685 (sincos_test_data): Change element type to struct
5686 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5687 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5688 RUN_TEST_LOOP_sincos.
5689 * math/README.libm-test: Don't mention special handling of
5690 individual functions.
5691 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5692 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5693 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5694 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5695 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5698 * math/gen-libm-test.pl (get_variable): Remove function.
5699 (parse_args): Don't show pointer parameters to call in test
5700 names. Use "extra output N" in test names for extra outputs
5701 rather than naming variables.
5703 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5706 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5707 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5708 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5710 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5712 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5715 * math/gen-libm-test.pl (@tests): Remove variable.
5717 (new_test): Remove function.
5718 (show_exceptions): New function.
5719 (special_functions): Use show_exceptions instead of new_test.
5720 (parse_args): Likewise.
5721 (generate_testfile): Pass only function name in generated call to
5722 print_max_error or print_complex_max_error.
5723 (get_ulps): Do not handle complex tests specially.
5724 (output_test): Rename to ...
5725 (get_all_ulps_for_test): ... this. Return a string rather than
5726 printing to a file. Require ulps to be present.
5727 (output_ulps): Generate arrays rather than #defines.
5728 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5729 (struct ulp_data): New type.
5730 (BUILD_COMPLEX_ULP): Remove macro.
5731 (compare_ulp_data): New function.
5732 (find_ulps): Likewise.
5733 (find_test_ulps): Likewise.
5734 (find_function_ulps): Likewise.
5735 (find_complex_function_ulps): Likewise.
5736 (print_max_error): Determine allowed ulps using
5738 (print_complex_max_error): Determine allowed ulps using
5739 find_complex_function_ulps.
5740 (check_float_internal): Determine max ulps using find_test_ulps.
5741 (check_float): Do not take max_ulp parameter. Update call to
5742 check_float_internal.
5743 (check_complex): Likewise.
5744 (check_int): Do not take max_ulp parameter.
5745 (check_long): Likewise.
5746 (check_bool): Likewise.
5747 (check_longlong): Likewise.
5748 (struct test_f_f_data): Remove max_ulp field.
5749 (struct test_ff_f_data): Likewise.
5750 (struct test_ff_f_data_nexttoward): Likewise.
5751 (struct test_fi_f_data): Likewise.
5752 (struct test_fl_f_data): Likewise.
5753 (struct test_if_f_data): Likewise.
5754 (struct test_fff_f_data): Likewise.
5755 (struct test_c_f_data): Likewise.
5756 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5757 (struct test_fF_f1_data): Likewise.
5758 (struct test_ffI_f1_data): Likewise.
5759 (struct test_c_c_data): Remove max_ulp field.
5760 (struct test_cc_c_data): Likewise.
5761 (struct test_f_i_data): Likewise.
5762 (struct test_ff_i_data): Likewise.
5763 (struct test_f_l_data): Likewise.
5764 (struct test_f_L_data): Likewise.
5765 (struct test_sincos_data): Likewise.
5766 (RUN_TEST_f_f): Do not handle ulps.
5767 (RUN_TEST_LOOP_f_f): Likewise.
5768 (RUN_TEST_2_f): Likewise.
5769 (RUN_TEST_LOOP_2_f): Likewise.
5770 (RUN_TEST_fff_f): Likewise.
5771 (RUN_TEST_LOOP_fff_f): Likewise.
5772 (RUN_TEST_c_f): Likewise.
5773 (RUN_TEST_LOOP_c_f): Likewise.
5774 (RUN_TEST_f_f1): Likewise.
5775 (RUN_TEST_LOOP_f_f1): Likewise.
5776 (RUN_TEST_fF_f1): Likewise.
5777 (RUN_TEST_LOOP_fF_f1): Likewise.
5778 (RUN_TEST_fI_f1): Likewise.
5779 (RUN_TEST_LOOP_fI_f1): Likewise.
5780 (RUN_TEST_ffI_f1): Likewise.
5781 (RUN_TEST_LOOP_ffI_f1): Likewise.
5782 (RUN_TEST_c_c): Likewise.
5783 (RUN_TEST_LOOP_c_c): Likewise.
5784 (RUN_TEST_cc_c): Likewise.
5785 (RUN_TEST_LOOP_cc_c): Likewise.
5786 (RUN_TEST_f_i): Likewise.
5787 (RUN_TEST_LOOP_f_i): Likewise.
5788 (RUN_TEST_f_i_tg): Likewise.
5789 (RUN_TEST_LOOP_f_i_tg): Likewise.
5790 (RUN_TEST_ff_i_tg): Likewise.
5791 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5792 (RUN_TEST_f_b): Likewise.
5793 (RUN_TEST_LOOP_f_b): Likewise.
5794 (RUN_TEST_f_b_tg): Likewise.
5795 (RUN_TEST_LOOP_f_b_tg): Likewise.
5796 (RUN_TEST_f_l): Likewise.
5797 (RUN_TEST_LOOP_f_l): Likewise.
5798 (RUN_TEST_f_L): Likewise.
5799 (RUN_TEST_LOOP_f_L): Likewise.
5800 (RUN_TEST_sincos): Likewise.
5801 (RUN_TEST_LOOP_sincos): Likewise.
5803 2013-05-17 Joseph Myers <joseph@codesourcery.com>
5807 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5808 main case of finite arguments, set rounding mode to FE_TONEAREST
5809 and discard exceptions.
5810 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5812 (remainder_tonearest_test_data): New variable.
5813 (remainder_test_tonearest): New function.
5814 (remainder_towardzero_test_data): New variable.
5815 (remainder_test_towardzero): New function.
5816 (remainder_downward_test_data): New variable.
5817 (remainder_test_downward): New function.
5818 (remainder_upward_test_data): New variable.
5819 (remainder_test_upward): New function.
5820 (main): Call the new test functions.
5822 * math/libm-test.inc (struct test_f_f1_data): Remove field
5824 (struct test_fF_f1_data): Likewise.
5825 (struct test_ffI_f1_data): Likewise.
5826 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5827 based on value of EXTRA_EXPECTED.
5828 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5829 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5830 EXTRA_VAR based on value of EXTRA_EXPECTED.
5831 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5832 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5833 EXTRA_VAR based on value of EXTRA_EXPECTED.
5834 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5835 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5836 EXTRA_VAR based on value of EXTRA_EXPECTED.
5837 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5838 * math/gen-libm-test.pl (parse_args): Don't output initializers
5839 for extra output values.
5841 * math/libm-test.inc (check_int): Expect result to be exactly
5842 equal to expected value and do not handle ulps.
5843 (check_long): Likewise.
5844 (check_longlong): Likewise.
5846 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5848 (cimag_test_data): Likewise.
5849 (conj_test_data): Likewise.
5850 (copysign_test_data): Likewise.
5851 (cproj_test_data): Likewise.
5852 (creal_test_data): Likewise.
5853 (fabs_test_data): Likewise.
5854 (fdim_test_data): Likewise.
5855 (finite_test_data): Likewise.
5856 (floor_test_data): Likewise.
5857 (fmax_test_data): Likewise.
5858 (fmin_test_data): Likewise.
5859 (fmod_test_data): Likewise.
5860 (fpclassify_test_data): Likewise.
5861 (frexp_test_data): Likewise.
5862 (ilogb_test_data): Likewise.
5863 (isfinite_test_data): Likewise.
5864 (isgreater_test_data): Likewise.
5865 (isgreaterequal_test_data): Likewise.
5866 (isinf_test_data): Likewise.
5867 (isless_test_data): Likewise.
5868 (islessequal_test_data): Likewise.
5869 (islessgreater_test_data): Likewise.
5870 (isnan_test_data): Likewise.
5871 (isnormal_test_data): Likewise.
5872 (issignaling_test_data): Likewise.
5873 (isunordered_test_data): Likewise.
5874 (ldexp_test_data): Likewise.
5875 (lrint_test_data): Likewise.
5876 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5877 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5878 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5879 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5880 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5881 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5883 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5884 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5885 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5886 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5888 (lrint_downward_test_data): Test for "inexact" exceptions.
5889 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5890 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5891 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5893 (lrint_upward_test_data): Test for "inexact" exceptions.
5894 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5896 (llrint_test_data): Test for "inexact" exceptions.
5897 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5898 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5899 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5900 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5901 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5902 (llrint_downward_test_data): Test for "inexact" exceptions.
5903 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5904 (llrint_upward_test_data): Test for "inexact" exceptions.
5905 (logb_test_data): Likewise.
5906 (logb_downward_test_data): Likewise.
5907 (nextafter_test_data): Likewise.
5908 (nexttoward_test_data): Likewise.
5909 (remainder_test_data): Likewise.
5910 (remquo_test_data): Likewise.
5911 (scalbn_test_data): Likewise.
5912 (scalbln_test_data): Likewise.
5913 (signbit_test_data): Likewise.
5914 (sqrt_test_data): Likewise.
5915 (significand_test_data): Likewise.
5917 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5920 * benchtests/bench-modf.c (struct args): Mark arg0 as
5922 * scripts/bench.pl: Mark members of struct args as volatile.
5924 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5927 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5928 negative infinity on POWER6 or lower.
5929 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5931 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5934 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5935 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5936 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5937 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5938 (_FP_SETQNAN): New macro.
5939 (_FP_SETQNAN_SEMIRAW): Likewise.
5940 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5941 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5942 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5943 (FP_EXTEND): Use _FP_FRAC_SNANP.
5944 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5945 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5947 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5949 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5952 2013-05-16 Joseph Myers <joseph@codesourcery.com>
5954 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5955 with DIVIDE_BY_ZERO_EXCEPTION.
5956 (gamma_test_data): Likewise.
5957 (lgamma_test_data): Likewise.
5958 (log_test_data): Likewise.
5959 (log10_test_data): Likewise.
5960 (log2_test_data): Likewise.
5961 (tgamma_test_data): Likewise.
5963 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5964 (acos_test_tonearest): Likewise.
5965 (acos_test_towardzero): Likewise.
5966 (acos_test_downward): Likewise.
5967 (acos_test_upward): Likewise.
5968 (acosh_test): Likewise.
5969 (asin_test): Likewise.
5970 (asin_test_tonearest): Likewise.
5971 (asin_test_towardzero): Likewise.
5972 (asin_test_downward): Likewise.
5973 (asin_test_upward): Likewise.
5974 (asinh_test): Likewise.
5975 (atan_test): Likewise.
5976 (atanh_test): Likewise.
5977 (atan2_test): Likewise.
5978 (cabs_test): Likewise.
5979 (cacos_test): Likewise.
5980 (cacosh_test): Likewise.
5981 (casin_test): Likewise.
5982 (casinh_test): Likewise.
5983 (catan_test): Likewise.
5984 (catanh_test): Likewise.
5985 (cbrt_test): Likewise.
5986 (ccos_test): Likewise.
5987 (ccosh_test): Likewise.
5988 (cexp_test): Likewise.
5989 (clog_test): Likewise.
5990 (clog10_test): Likewise.
5991 (cos_test): Likewise.
5992 (cos_test_tonearest): Likewise.
5993 (cos_test_towardzero): Likewise.
5994 (cos_test_downward): Likewise.
5995 (cos_test_upward): Likewise.
5996 (cosh_test): Likewise.
5997 (cosh_test_tonearest): Likewise.
5998 (cosh_test_towardzero): Likewise.
5999 (cosh_test_downward): Likewise.
6000 (cosh_test_upward): Likewise.
6001 (cpow_test): Likewise.
6002 (csin_test): Likewise.
6003 (csinh_test): Likewise.
6004 (csqrt_test): Likewise.
6005 (ctan_test): Likewise.
6006 (ctan_test_tonearest): Likewise.
6007 (ctan_test_towardzero): Likewise.
6008 (ctan_test_downward): Likewise.
6009 (ctan_test_upward): Likewise.
6010 (ctanh_test): Likewise.
6011 (ctanh_test_tonearest): Likewise.
6012 (ctanh_test_towardzero): Likewise.
6013 (ctanh_test_downward): Likewise.
6014 (ctanh_test_upward): Likewise.
6015 (erf_test): Likewise.
6016 (erfc_test): Likewise.
6017 (exp_test): Likewise.
6018 (exp_test_tonearest): Likewise.
6019 (exp_test_towardzero): Likewise.
6020 (exp_test_downward): Likewise.
6021 (exp_test_upward): Likewise.
6022 (exp10_test): Likewise.
6023 (exp2_test): Likewise.
6024 (expm1_test): Likewise.
6025 (fmod_test): Likewise.
6026 (gamma_test): Likewise.
6027 (hypot_test): Likewise.
6028 (j0_test): Likewise.
6029 (j1_test): Likewise.
6030 (jn_test): Likewise.
6031 (lgamma_test): Likewise.
6032 (log_test): Likewise.
6033 (log10_test): Likewise.
6034 (log1p_test): Likewise.
6035 (log2_test): Likewise.
6036 (logb_test_downward): Likewise.
6037 (pow_test): Likewise.
6038 (pow_test_tonearest): Likewise.
6039 (pow_test_towardzero): Likewise.
6040 (pow_test_downward): Likewise.
6041 (pow_test_upward): Likewise.
6042 (remainder_test): Likewise.
6043 (remquo_test): Likewise.
6044 (sin_test): Likewise.
6045 (sin_test_tonearest): Likewise.
6046 (sin_test_towardzero): Likewise.
6047 (sin_test_downward): Likewise.
6048 (sin_test_upward): Likewise.
6049 (sincos_test): Likewise.
6050 (sinh_test): Likewise.
6051 (sinh_test_tonearest): Likewise.
6052 (sinh_test_towardzero): Likewise.
6053 (sinh_test_downward): Likewise.
6054 (sinh_test_upward): Likewise.
6055 (sqrt_test): Likewise.
6056 (tan_test): Likewise.
6057 (tan_test_tonearest): Likewise.
6058 (tan_test_towardzero): Likewise.
6059 (tan_test_downward): Likewise.
6060 (tan_test_upward): Likewise.
6061 (tanh_test): Likewise.
6062 (tgamma_test): Likewise.
6063 (y0_test): Likewise.
6064 (y1_test): Likewise.
6065 (yn_test): Likewise.
6067 * math/gen-libm-test.pl (adjust_arg): Remove function.
6068 (special_function): Remove argument $in_func. Only handle
6069 generating output for tables of tests, not inside functions.
6070 (parse_args): Likewise.
6071 (generate_testfile): Remove variable $in_func. Update call to
6073 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6074 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6075 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6076 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6077 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6078 (MAX_VALUE_INIT): Rename macro to max_value.
6079 (MIN_VALUE_INIT): Rename macro to min_value.
6080 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6081 (plus_zero): Remove variable.
6082 (minus_zero): Likewise.
6083 (plus_infty): Likewise.
6084 (minus_infty): Likewise.
6085 (qnan_value): Likewise.
6086 (max_value): Likewise.
6087 (min_value): Likewise.
6088 (min_subnorm_value): Likewise.
6090 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6092 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6093 uint64_t or uint32_t usage.
6094 * crypt/sha256-block.c: Likewise.
6095 * crypt/sha256-crypt.c: Likewise.
6096 * crypt/sha256.c: Likewise.
6097 * crypt/sha512-block.c: Likewise.
6098 * crypt/sha512-crypt.c: Likewise.
6099 * crypt/sha512.c: Likewise.
6100 * debug/backtrace-tst.c: Likewise.
6101 * debug/pcprofiledump.c: Likewise.
6102 * elf/cache.c: Likewise.
6103 * elf/dl-cache.c: Likewise.
6104 * elf/dl-misc.c: Likewise.
6105 * elf/dl-profile.c: Likewise.
6106 * elf/dl-support.c: Likewise.
6107 * elf/ldconfig.c: Likewise.
6108 * elf/sprof.c: Likewise.
6109 * iconv/dummy-repertoire.c: Likewise.
6110 * iconv/iconv_charmap.c: Likewise.
6111 * iconv/skeleton.c: Likewise.
6112 * iconvdata/8bit-generic.c: Likewise.
6113 * iconvdata/cp737.h: Likewise.
6114 * iconvdata/cp775.h: Likewise.
6115 * iconvdata/ibm1008.h: Likewise.
6116 * iconvdata/ibm1025.h: Likewise.
6117 * iconvdata/ibm1046.h: Likewise.
6118 * iconvdata/ibm1097.h: Likewise.
6119 * iconvdata/ibm1112.h: Likewise.
6120 * iconvdata/ibm1122.h: Likewise.
6121 * iconvdata/ibm1123.h: Likewise.
6122 * iconvdata/ibm1124.h: Likewise.
6123 * iconvdata/ibm1129.h: Likewise.
6124 * iconvdata/ibm1130.h: Likewise.
6125 * iconvdata/ibm1132.h: Likewise.
6126 * iconvdata/ibm1133.h: Likewise.
6127 * iconvdata/ibm1137.h: Likewise.
6128 * iconvdata/ibm1140.h: Likewise.
6129 * iconvdata/ibm1141.h: Likewise.
6130 * iconvdata/ibm1142.h: Likewise.
6131 * iconvdata/ibm1143.h: Likewise.
6132 * iconvdata/ibm1144.h: Likewise.
6133 * iconvdata/ibm1145.h: Likewise.
6134 * iconvdata/ibm1146.h: Likewise.
6135 * iconvdata/ibm1147.h: Likewise.
6136 * iconvdata/ibm1148.h: Likewise.
6137 * iconvdata/ibm1149.h: Likewise.
6138 * iconvdata/ibm1153.h: Likewise.
6139 * iconvdata/ibm1154.h: Likewise.
6140 * iconvdata/ibm1155.h: Likewise.
6141 * iconvdata/ibm1156.h: Likewise.
6142 * iconvdata/ibm1157.h: Likewise.
6143 * iconvdata/ibm1158.h: Likewise.
6144 * iconvdata/ibm1160.h: Likewise.
6145 * iconvdata/ibm1161.h: Likewise.
6146 * iconvdata/ibm1162.h: Likewise.
6147 * iconvdata/ibm1163.h: Likewise.
6148 * iconvdata/ibm1164.h: Likewise.
6149 * iconvdata/ibm1166.h: Likewise.
6150 * iconvdata/ibm1167.h: Likewise.
6151 * iconvdata/ibm12712.h: Likewise.
6152 * iconvdata/ibm1390.h: Likewise.
6153 * iconvdata/ibm1399.h: Likewise.
6154 * iconvdata/ibm16804.h: Likewise.
6155 * iconvdata/ibm4517.h: Likewise.
6156 * iconvdata/ibm4899.h: Likewise.
6157 * iconvdata/ibm4909.h: Likewise.
6158 * iconvdata/ibm4971.h: Likewise.
6159 * iconvdata/ibm5347.h: Likewise.
6160 * iconvdata/ibm803.h: Likewise.
6161 * iconvdata/ibm856.h: Likewise.
6162 * iconvdata/ibm901.h: Likewise.
6163 * iconvdata/ibm902.h: Likewise.
6164 * iconvdata/ibm9030.h: Likewise.
6165 * iconvdata/ibm9066.h: Likewise.
6166 * iconvdata/ibm921.h: Likewise.
6167 * iconvdata/ibm922.h: Likewise.
6168 * iconvdata/ibm9448.h: Likewise.
6169 * iconvdata/isiri-3342.h: Likewise.
6170 * iconvdata/jis0201.h: Likewise.
6171 * include/link.h: Likewise.
6172 * include/netdb.h: Likewise.
6173 * inet/check_native.c: Likewise.
6174 * inet/check_pf.c: Likewise.
6175 * inet/getipv4sourcefilter.c: Likewise.
6176 * inet/getnameinfo.c: Likewise.
6177 * inet/getsourcefilter.c: Likewise.
6178 * inet/htonl.c: Likewise.
6179 * inet/setipv4sourcefilter.c: Likewise.
6180 * inet/setsourcefilter.c: Likewise.
6181 * inet/test-inet6_opt.c: Likewise.
6182 * inet/tst-network.c: Likewise.
6183 * locale/C-collate.c: Likewise.
6184 * locale/C-ctype.c: Likewise.
6185 * locale/C-time.c: Likewise.
6186 * locale/C-translit.h: Likewise.
6187 * locale/loadarchive.c: Likewise.
6188 * locale/programs/3level.h: Likewise.
6189 * locale/programs/charmap.c: Likewise.
6190 * locale/programs/charmap.h: Likewise.
6191 * locale/programs/ld-address.c: Likewise.
6192 * locale/programs/ld-collate.c: Likewise.
6193 * locale/programs/ld-ctype.c: Likewise.
6194 * locale/programs/ld-identification.c: Likewise.
6195 * locale/programs/ld-measurement.c: Likewise.
6196 * locale/programs/ld-messages.c: Likewise.
6197 * locale/programs/ld-monetary.c: Likewise.
6198 * locale/programs/ld-name.c: Likewise.
6199 * locale/programs/ld-numeric.c: Likewise.
6200 * locale/programs/ld-paper.c: Likewise.
6201 * locale/programs/ld-telephone.c: Likewise.
6202 * locale/programs/ld-time.c: Likewise.
6203 * locale/programs/linereader.c: Likewise.
6204 * locale/programs/locale.c: Likewise.
6205 * locale/programs/locarchive.c: Likewise.
6206 * locale/programs/locfile.h: Likewise.
6207 * locale/programs/repertoire.c: Likewise.
6208 * locale/programs/simple-hash.c: Likewise.
6209 * locale/programs/simple-hash.h: Likewise.
6210 * malloc/memusage.c: Likewise.
6211 * malloc/memusagestat.c: Likewise.
6212 * nis/nis_defaults.c: Likewise.
6213 * nis/nis_hash.c: Likewise.
6214 * nis/nis_print.c: Likewise.
6215 * nis/nis_xdr.c: Likewise.
6216 * nscd/connections.c: Likewise.
6217 * nscd/hstcache.c: Likewise.
6218 * nscd/nscd_gethst_r.c: Likewise.
6219 * nscd/nscd_getserv_r.c: Likewise.
6220 * nscd/nscd_helper.c: Likewise.
6221 * nscd/servicescache.c: Likewise.
6222 * nss/makedb.c: Likewise.
6223 * nss/nss_db/db-XXX.c: Likewise.
6224 * nss/nss_db/db-initgroups.c: Likewise.
6225 * nss/nss_db/db-netgrp.c: Likewise.
6226 * nss/nss_files/files-network.c: Likewise.
6227 * nss/nss_files/files-parse.c: Likewise.
6228 * posix/bug-regex5.c: Likewise.
6229 * posix/fnmatch_loop.c: Likewise.
6230 * posix/regcomp.c: Likewise.
6231 * posix/regexec.c: Likewise.
6232 * posix/tst-rfc3484-2.c: Likewise.
6233 * posix/tst-rfc3484-3.c: Likewise.
6234 * posix/tst-rfc3484.c: Likewise.
6235 * resolv/nss_dns/dns-canon.c: Likewise.
6236 * resolv/nss_dns/dns-network.c: Likewise.
6237 * resolv/res_init.c: Likewise.
6238 * resolv/res_mkquery.c: Likewise.
6239 * resolv/tst-aton.c: Likewise.
6240 * stdlib/cxa_atexit.c: Likewise.
6241 * stdlib/cxa_finalize.c: Likewise.
6242 * stdlib/gen-fpioconst.c: Likewise.
6243 * stdlib/strtol_l.c: Likewise.
6244 * string/tst-endian.c: Likewise.
6245 * sunrpc/auth_des.c: Likewise.
6246 * sunrpc/clnt_udp.c: Likewise.
6247 * sunrpc/rtime.c: Likewise.
6248 * sunrpc/svcauth_des.c: Likewise.
6249 * sunrpc/xdr.c: Likewise.
6250 * sunrpc/xdr_intXX_t.c: Likewise.
6251 * sunrpc/xdr_rec.c: Likewise.
6252 * sysdeps/generic/ldconfig.h: Likewise.
6253 * sysdeps/generic/ldsodefs.h: Likewise.
6254 * sysdeps/generic/memusage.h: Likewise.
6255 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6256 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6257 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6258 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6259 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6261 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6262 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6263 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6265 * sysdeps/posix/getaddrinfo.c: Likewise.
6266 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6267 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6268 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6269 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6270 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6271 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6272 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6273 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6274 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6275 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6276 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6277 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6278 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6279 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6280 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6281 * sysdeps/x86_64/dl-tls.h: Likewise.
6282 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6283 * time/alt_digit.c: Likewise.
6284 * time/era.c: Likewise.
6285 * wcsmbs/tst-c16c32-1.c: Likewise.
6287 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6289 * math/libm-test.inc (struct test_sincos_data): New type.
6290 (RUN_TEST_LOOP_sincos): New macro.
6291 (sincos_test_data): New variable.
6292 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6294 2013-05-16 Richard Henderson <rth@redhat.com>
6296 * math/atest-exp2.c (LIMB64): New macro.
6297 (CONSTSZ): New macro.
6298 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6300 (print_mpn_fp): ... to function scope.
6301 (read_mpn_hex): Remove.
6303 (exp2_mpn): Use mp_log2.
6304 (main): Use mp_exp1.
6306 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6308 * math/libm-test.inc: Remove comment about not testing "inexact"
6310 (INEXACT_EXCEPTION): New macro.
6311 (NO_INEXACT_EXCEPTION): Likewise.
6312 (INVALID_EXCEPTION_OK): Update value.
6313 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6314 (OVERFLOW_EXCEPTION_OK): Likewise.
6315 (UNDERFLOW_EXCEPTION_OK): Likewise.
6316 (IGNORE_ZERO_INF_SIGN): Likewise.
6317 (ERRNO_UNCHANGED): Likewise.
6318 (ERRNO_EDOM): Likewise.
6319 (ERRNO_ERANGE): Likewise.
6320 (test_exceptions): Handle testing "inexact" exceptions.
6321 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6322 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6323 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6324 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6326 (rint_towardzero_test_data): Likewise.
6327 (rint_downward_test_data): Likewise.
6328 (rint_upward_test_data): Likewise.
6330 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6331 with OVERFLOW_EXCEPTION.
6332 (exp10_test_data): Likewise.
6333 (exp2_test_data): Likewise.
6334 (expm1_test_data): Likewise.
6335 (lgamma_test_data): Likewise.
6336 (pow_test_data): Likewise.
6337 (tgamma_test_data): Likewise.
6338 (yn_test_data): Remove duplicate test of overflow.
6340 * math/libm-test.inc (struct test_cc_c_data): New type.
6341 (RUN_TEST_LOOP_cc_c): New macro.
6342 (cpow_test_data): New variable.
6343 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6345 * math/libm-test.inc (struct test_f_L_data): New type.
6346 (RUN_TEST_LOOP_f_L): New macro.
6347 (llrint_test_data): New variable.
6348 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6349 (llrint_tonearest_test_data): New variable.
6350 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6351 (llrint_towardzero_test_data): New variable.
6352 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6353 (llrint_downward_test_data): New variable.
6354 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6355 (llrint_upward_test_data): New variable.
6356 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6357 (llround_test_data): New variable.
6358 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6360 2013-05-13 Peter Collingbourne <pcc@google.com>
6362 * math/atest-exp2.c (get_log2): Remove const attribute.
6364 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6366 * math/libm-test.inc (struct test_f_l_data): New type.
6367 (RUN_TEST_LOOP_f_l): New macro.
6368 (lrint_test_data): New variable.
6369 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6370 (lrint_tonearest_test_data): New variable.
6371 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6372 (lrint_towardzero_test_data): New variable.
6373 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6374 (lrint_downward_test_data): New variable.
6375 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6376 (lrint_upward_test_data): New variable.
6377 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6378 (lround_test_data): New variable.
6379 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6381 2013-05-15 Peter Collingbourne <pcc@google.com>
6383 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6384 (EXTRACT_WORDS64) Use where appropriate.
6385 (INSERT_WORDS64) Likewise.
6387 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6388 constraints with x constraints.
6389 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6391 * malloc/obstack.c (_obstack_compat): Add initializer.
6393 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6395 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6396 si_trapno and add si_addr_lsb to _sifields.sigfault.
6397 (si_trapno): Remove macro.
6398 (si_addr_lsb): Define new macro.
6399 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6401 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6403 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6404 instead of TEST_f_l.
6405 (llrint_test_tonearest): Likewise.
6406 (llrint_test_towardzero): Likewise.
6407 (llrint_test_downward): Likewise.
6408 (llrint_test_upward): Likewise.
6409 (llround_test): Likewise.
6411 * math/libm-test.inc (struct test_f_i_data): Add comment.
6412 (RUN_TEST_LOOP_f_b): New macro.
6413 (RUN_TEST_LOOP_f_b_tg): Likewise.
6414 (finite_test_data): New variable.
6415 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6416 (isfinite_test_data): New variable.
6417 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6418 (isinf_test_data): New variable.
6419 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6420 (isnan_test_data): New variable.
6421 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6422 (isnormal_test_data): New variable.
6423 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6424 (issignaling_test_data): New variable.
6425 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6426 (signbit_test_data): New variable.
6427 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6429 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6430 with INVALID_EXCEPTION.
6431 (acosh_test_data): Likewise.
6432 (asin_test_data): Likewise.
6433 (atanh_test_data): Likewise.
6434 (fmod_test_data): Likewise.
6435 (log_test_data): Likewise.
6436 (log10_test_data): Likewise.
6437 (log2_test_data): Likewise.
6438 (pow_test_data): Likewise.
6439 (sqrt_test_data): Likewise.
6440 (y0_test_data): Likewise.
6441 (y1_test_data): Likewise.
6442 (yn_test_data): Likewise.
6444 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6447 * math/libm-test.inc (struct test_ff_i_data): New type.
6448 (RUN_TEST_LOOP_ff_i_tg): New macro.
6449 (isgreater_test_data): New variable.
6450 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6451 (isgreaterequal_test_data): New variable.
6452 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6453 (isless_test_data): New variable.
6454 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6455 (islessequal_test_data): New variable.
6456 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6457 (islessgreater_test_data): New variable.
6458 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6459 (isunordered_test_data): New variable.
6460 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6462 2013-05-14 David S. Miller <davem@davemloft.net>
6464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6466 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6468 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6470 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6472 (struct test_f_i_data): Change type of max_ulp to int.
6474 * math/libm-test.inc (test_ffI_f1_data): New type.
6475 (RUN_TEST_LOOP_ffI_f1): New macro.
6476 (remquo_test_data): New variable.
6477 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6479 * setjmp/tst-setjmp-fp.c: New file.
6480 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6481 (link-libm): New variable.
6482 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6484 * math/libm-test.inc (struct test_f_i_data): New type.
6485 (RUN_TEST_LOOP_f_i): New macro.
6486 (RUN_TEST_LOOP_f_i_tg): Likewise.
6487 (fpclassify_test_data): New variable.
6488 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6489 (ilogb_test_data): New variable.
6490 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6492 * math/libm-test.inc (scalbln_test): Correct function name in END
6495 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6496 (RUN_TEST_LOOP_fI_f1): New macro.
6497 (frexp_test_data): New variable.
6498 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6500 * math/libm-test.inc (struct test_fF_f1_data): New type.
6501 (RUN_TEST_LOOP_fF_f1): New macro.
6502 (modf_test_data): New variable.
6503 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6505 * math/libm-test.inc (struct test_f_f1_data): New type.
6506 (RUN_TEST_LOOP_f_f1): New macro.
6507 (gamma_test_data): New variable.
6508 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6509 (lgamma_test_data): New variable.
6510 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6512 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6514 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6515 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6516 (main): Comment "tls" pseudo-hwcap.
6518 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6520 * math/libm-test.inc (struct test_fl_f_data): New type.
6521 (RUN_TEST_LOOP_fl_f): New variable.
6522 (scalbln_test_data): New variable.
6523 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6525 * math/libm-test.inc (struct test_fi_f_data): New type.
6526 (RUN_TEST_LOOP_fi_f): New macro.
6527 (ldexp_test_data): New variable.
6528 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6529 (scalbn_test_data): New variable.
6530 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6532 * math/libm-test.inc (struct test_c_f_data): New type.
6533 (RUN_TEST_LOOP_c_f): New macro.
6534 (cabs_test_data): New variable.
6535 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6536 (carg_test_data): New variable.
6537 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6538 (cimag_test_data): New variable.
6539 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6540 (creal_test_data): New variable.
6541 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6543 * math/libm-test.inc (struct test_if_f_data): New type.
6544 (RUN_TEST_LOOP_if_f): New macro.
6545 (jn_test_data): New variable.
6546 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6547 (yn_test_data): New variable.
6548 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6550 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6552 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6554 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6555 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6557 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6559 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6560 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6561 (bench-deps): Add bench-timing.h.
6562 * benchtests-bench-skeleton.c: Include bench-timing.h.
6563 (main): Use TIMING_* macros instead of clock_gettime.
6564 * benchtests/bench-timing.h: New file.
6567 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6568 Renamed from _LIB_VERSION.
6569 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6571 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6573 * math/libm-test.inc (struct test_fff_f_data): New type.
6574 (RUN_TEST_LOOP_fff_f): New macro.
6575 (fma_test_data): New variable.
6576 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6577 (fma_towardzero_test_data): New variable.
6578 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6579 (fma_downward_test_data): New variable.
6580 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6581 (fma_upward_test_data): New variable.
6582 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6584 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6585 (struct test_c_c_data): New type.
6586 (RUN_TEST_LOOP_c_c): New macro.
6587 (cacos_test_data): New variable.
6588 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6589 (cacosh_test_data): New variable.
6590 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6591 (casin_test_data): New variable.
6592 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6593 (casinh_test_data): New variable.
6594 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6595 (catan_test_data): New variable.
6596 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6597 (catanh_test_data): New variable.
6598 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6599 (ccos_test_data): New variable.
6600 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6601 (ccosh_test_data): New variable.
6602 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6603 (cexp_test_data): New variable.
6604 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6605 (clog_test_data): New variable.
6606 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6607 (clog10_test_data): New variable.
6608 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6609 (conj_test_data): New variable.
6610 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6611 (cproj_test_data): New variable.
6612 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6613 (csin_test_data): New variable.
6614 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6615 (csinh_test_data): New variable.
6616 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6617 (csqrt_test_data): New variable.
6618 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6619 (ctan_test_data): New variable.
6620 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6621 (ctan_tonearest_test_data): New variable.
6622 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6623 (ctan_towardzero_test_data): New variable.
6624 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6625 (ctan_downward_test_data): New variable.
6626 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6627 (ctan_upward_test_data): New variable.
6628 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6629 (ctanh_test_data): New variable.
6630 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6631 (ctanh_tonearest_test_data): New variable.
6632 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6633 (ctanh_towardzero_test_data): New variable.
6634 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6635 (ctanh_downward_test_data): New variable.
6636 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6637 (ctanh_upward_test_data): New variable.
6638 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6639 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6642 * math/libm-test.inc (struct test_ff_f_data): New type.
6643 (struct test_ff_f_data_nexttoward): Likewise.
6644 (RUN_TEST_LOOP_2_f): New macro.
6645 (RUN_TEST_LOOP_ff_f): Likewise.
6646 (atan2_test_data): New variable.
6647 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6648 (copysign_test_data): New variable.
6649 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6650 (fdim_test_data): New variable.
6651 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6652 (fmax_test_data): New variable.
6653 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6654 (fmin_test_data): New variable.
6655 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6656 (fmod_test_data): New variable.
6657 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6658 (hypot_test_data): New variable.
6659 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6660 (nextafter_test_data): New variable.
6661 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6662 (nexttoward_test_data): New variable.
6663 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6664 (pow_test_data): New variable.
6665 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6666 (pow_tonearest_test_data): New variable.
6667 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6668 (pow_towardzero_test_data): New variable.
6669 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6670 (pow_downward_test_data): New variable.
6671 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6672 (pow_upward_test_data): New variable.
6673 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6674 (remainder_test_data): New variable.
6675 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6676 (scalb_test_data): New variable.
6677 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6678 * sysdeps/i386/fpu/libm-test-ulps: Update.
6680 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6682 * math/libm-test.inc (fma_test): Use max_value instead of local
6684 (nextafter_test): Likewise.
6686 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6687 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6688 (acos_downward_test_data): New variable.
6689 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6690 (acos_upward_test_data): New variable.
6691 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6692 (acosh_test_data): New variable.
6693 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6694 (asin_test_data): New variable.
6695 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6696 (asin_tonearest_test_data): New variable.
6697 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6698 (asin_towardzero_test_data): New variable.
6699 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6700 (asin_downward_test_data): New variable.
6701 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6702 (asin_upward_test_data): New variable.
6703 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6704 (asinh_test_data): New variable.
6705 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6706 (atan_test_data): New variable.
6707 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6708 (atanh_test_data): New variable.
6709 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6710 (cbrt_test_data): New variable.
6711 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6712 (ceil_test_data): New variable.
6713 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6714 (cos_test_data): New variable.
6715 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6716 (cos_tonearest_test_data): New variable.
6717 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6718 (cos_towardzero_test_data): New variable.
6719 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6720 (cos_downward_test_data): New variable.
6721 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6722 (cos_upward_test_data): New variable.
6723 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6724 (cosh_test_data): New variable.
6725 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6726 (cosh_tonearest_test_data): New variable.
6727 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6728 (cosh_towardzero_test_data): New variable.
6729 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6730 (cosh_downward_test_data): New variable.
6731 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6732 (cosh_upward_test_data): New variable.
6733 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6734 (erf_test_data): New variable.
6735 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6736 (erfc_test_data): New variable.
6737 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6738 (exp_test_data): New variable.
6739 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6740 (exp_tonearest_test_data): New variable.
6741 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6742 (exp_towardzero_test_data): New variable.
6743 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6744 (exp_downward_test_data): New variable.
6745 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6746 (exp_upward_test_data): New variable.
6747 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6748 (exp10_test_data): New variable.
6749 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6750 (exp2_test_data): New variable.
6751 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6752 (expm1_test_data): New variable.
6753 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6754 (fabs_test_data): New variable.
6755 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6756 (floor_test_data): New variable.
6757 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6758 (j0_test_data): New variable.
6759 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6760 (j1_test_data): New variable.
6761 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6762 (log_test_data): New variable.
6763 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6764 (log10_test_data): New variable.
6765 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6766 (log1p_test_data): New variable.
6767 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6768 (log2_test_data): New variable.
6769 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6770 (logb_test_data): New variable.
6771 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6772 (logb_downward_test_data): New variable.
6773 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6774 (nearbyint_test_data): New variable.
6775 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6776 (rint_test_data): New variable.
6777 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6778 (rint_tonearest_test_data): New variable.
6779 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6780 (rint_towardzero_test_data): New variable.
6781 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6782 (rint_downward_test_data): New variable.
6783 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6784 (rint_upward_test_data): New variable.
6785 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6786 (round_test_data): New variable.
6787 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6788 (sin_test_data): New variable.
6789 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6790 (sin_tonearest_test_data): New variable.
6791 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6792 (sin_towardzero_test_data): New variable.
6793 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6794 (sin_downward_test_data): New variable.
6795 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6796 (sin_upward_test_data): New variable.
6797 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6798 (sinh_test_data): New variable.
6799 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6800 (sinh_tonearest_test_data): New variable.
6801 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6802 (sinh_towardzero_test_data): New variable.
6803 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6804 (sinh_downward_test_data): New variable.
6805 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6806 (sinh_upward_test_data): New variable.
6807 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6808 (sqrt_test_data): New variable.
6809 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6810 (tan_test_data): New variable.
6811 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6812 (tan_tonearest_test_data): New variable.
6813 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6814 (tan_towardzero_test_data): New variable.
6815 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6816 (tan_downward_test_data): New variable.
6817 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6818 (tan_upward_test_data): New variable.
6819 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6820 (tanh_test_data): New variable.
6821 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6822 (tgamma_test_data): New variable.
6823 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6824 (trunc_test_data): New variable.
6825 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6826 (y0_test_data): New variable.
6827 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6828 (y1_test_data): New variable.
6829 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6830 (significand_test_data): New variable.
6831 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6833 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6836 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6838 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6840 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6842 2013-05-10 Andreas Jaeger <aj@suse.de>
6845 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6846 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6848 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6850 * math/gen-libm-test.pl (adjust_arg): New function.
6851 (special_functions): Handle generating output in both functions
6853 (parse_args): Likewise.
6854 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6855 $in_func argument to parse_args.
6856 * math/libm-test.inc (struct test_f_f_data): New type.
6857 (IF_ROUND_INIT_): New macro.
6858 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6859 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6860 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6861 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6862 (ROUND_RESTORE_): Likewise.
6863 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6864 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6865 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6866 (ROUND_RESTORE_FE_UPWARD): Likewise.
6867 (RUN_TEST_LOOP_f_f): New macro.
6868 (acos_test_data): New variable.
6869 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6870 (acos_tonearest_test_data): New variable.
6871 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6873 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6875 * benchtests/bench-skeleton.c (startup): Fix coding style.
6877 2013-05-10 Joseph Myers <joseph@codesourcery.com>
6880 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6881 negative infinity argument.
6882 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6883 negative infinity argument.
6884 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6885 negative infinity argument.
6886 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6889 2013-05-10 Florian Weimer <fweimer@redhat.com>
6891 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6892 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6893 * iconv/iconv_prog.c (main): Likewise.
6894 * locale/programs/charmap-dir.c (charmap_readdir)
6895 (fopen_uncompressed): Likewise.
6896 * locale/programs/locfile.c (siblings_uncached)
6897 (write_locale_data): Use lstat64 instead of lstat.
6898 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6901 2013-05-10 Andreas Jaeger <aj@suse.de>
6904 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6908 2013-05-09 Carlos O'Donell <carlos@redhat.com>
6910 * elf/dl-close.c (_dl_close_worker): Add comments.
6912 2013-05-09 Joseph Myers <joseph@codesourcery.com>
6915 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6917 (__ieee754_rem_pio2l): Update comments.
6920 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6922 (__ieee754_rem_pio2l): Update comments.
6924 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6925 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6927 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6930 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6931 (M_PI_34_LOG10El): Likewise.
6932 (M_PI2_LOG10El): Likewise.
6933 (M_PI4_LOG10El): Likewise.
6934 (M_PI_LOG10El): Likewise.
6936 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6940 2013-05-08 Joseph Myers <joseph@codesourcery.com>
6942 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6943 (MINUS_ZERO_INIT): Likewise.
6944 (PLUS_INFTY_INIT): Likewise.
6945 (MINUS_INFTY_INIT): Likewise.
6946 (QNAN_VALUE_INIT): Likewise.
6947 (MAX_VALUE_INIT): Likewise.
6948 (MIN_VALUE_INIT): Likewise.
6949 (MIN_SUBNORM_VALUE_INIT): Likewise.
6950 (plus_zero): Initialize with PLUS_ZERO_INIT.
6951 (minus_zero): Initialize with MINUS_ZERO_INIT.
6952 (plus_infty): Initialize with PLUS_INFTY_INIT.
6953 (minus_infty): Initialize with MINUS_INFTY_INIT.
6954 (qnan_value): Initialize with QNAN_VALUE_INIT.
6955 (max_value): Initialize with MAX_VALUE_INIT.
6956 (min_value): Initialize with MIN_VALUE_INIT.
6957 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6959 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6960 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6961 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6962 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6964 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6965 (RUN_TEST_2_f): Likewise.
6966 (RUN_TEST_ff_f): Likewise.
6967 (RUN_TEST_fi_f): Likewise.
6968 (RUN_TEST_fl_f): Likewise.
6969 (RUN_TEST_fff_f): Likewise.
6970 (RUN_TEST_c_f): Likewise.
6971 (RUN_TEST_f_f1): Likewise.
6972 (RUN_TEST_fF_f1): Likewise.
6973 (RUN_TEST_fI_f1): Likewise.
6974 (RUN_TEST_ffI_f1): Likewise.
6975 (RUN_TEST_c_c): Likewise.
6976 (RUN_TEST_cc_c): Likewise.
6977 (RUN_TEST_f_i): Likewise.
6978 (RUN_TEST_f_i_tg): Likewise.
6979 (RUN_TEST_ff_i_tg): Likewise.
6980 (RUN_TEST_f_b): Likewise.
6981 (RUN_TEST_f_b_tg): Likewise.
6982 (RUN_TEST_f_l): Likewise.
6983 (RUN_TEST_f_L): Likewise.
6984 (RUN_TEST_sincos): Likewise.
6985 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6986 whether to show exceptions. Do not include ");\n" in return
6988 (special_functions): Output call to RUN_TEST_sincos instead of
6989 check_float calls. Update calls to new_test.
6990 (parse_args): Output call to single RUN_TEST_* macro instead of
6991 check_* calls and other assignments. Update calls to new_test.
6997 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6998 input to result for tgamma overflow.
6999 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7000 (gamma_coeff): New variable.
7001 (NCOEFF): New macro.
7002 (gamma_positive): New function.
7003 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7004 underflow here. Use gamma_positive instead of exp (lgamma) for
7006 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7007 (gamma_coeff): New variable.
7008 (NCOEFF): New macro.
7009 (gammaf_positive): New function.
7010 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7011 underflow here. Use gamma_positive instead of exp (lgamma) for
7013 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7014 (gamma_coeff): New variable.
7015 (NCOEFF): New macro.
7016 (gammal_positive): New function.
7017 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7018 underflow here. Use gamma_positive instead of exp (lgamma) for
7020 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7021 (gamma_coeff): New variable.
7022 (NCOEFF): New macro.
7023 (gammal_positive): New function.
7024 (__ieee754_gammal_r): Handle positive infinity, overflow and
7025 underflow here. Handle NaN the same as positive infinity. Remove
7026 check x < 0xffffffff for negative integers. Use gamma_positive
7027 instead of exp (lgamma) for other arguments.
7028 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7029 (gamma_coeff): New variable.
7030 (NCOEFF): New macro.
7031 (gammal_positive): New function.
7032 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7033 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7034 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7035 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7036 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7037 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7038 * sysdeps/generic/math_private.h (__gamma_productf): New
7040 (__gamma_product): Likewise.
7041 (__gamma_productl): Likewise.
7042 * math/Makefile (libm-calls): Add gamma_product.
7043 * math/libm-test.inc (tgamma_test): Add more tests.
7044 * sysdeps/i386/fpu/libm-test-ulps: Update.
7045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7047 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
7049 * benchtests/bench-skeleton.c (main): Preheat CPU.
7051 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7053 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7055 2013-05-07 Roland McGrath <roland@hack.frob.com>
7057 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7058 and _dl_skip_args_internal.
7060 2013-05-07 Carlos O'Donell <carlos@redhat.com>
7062 * manual/message.texi (Message Translation): Talk about users.
7063 Message to key mapping impacts design.
7065 2013-05-06 Roland McGrath <roland@hack.frob.com>
7067 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7069 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7071 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7072 * sysdeps/wordsize-64/glob64.c: ... here.
7074 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7075 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7078 * debug/getlogin_r_chk.c: Moved to ...
7079 * login/getlogin_r_chk.c: ... here.
7080 * debug/Makefile (routines): Move getlogin_r_chk to ...
7081 * login/Makefile (routines): ... here.
7082 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7083 * login/Versions (libc: GLIBC_2.4): ... here.
7085 * io/poll.c (__poll): Renamed from poll.
7086 Add libc_hidden_def.
7087 (poll): Define as weak alias.
7089 * debug/ptsname_r_chk.c: Moved to ...
7090 * login/ptsname_r_chk.c: ... here.
7091 * debug/Makefile (routines): Move ptsname_r_chk to ...
7092 * login/Makefile (routines): ... here.
7093 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7094 * login/Versions (libc: GLIBC_2.4): ... here.
7096 * posix/getlogin.c: Moved to ...
7097 * login/getlogin.c: ... here.
7098 * posix/getlogin_r.c: Moved to ...
7099 * login/getlogin_r.c: ... here.
7100 * posix/getlogin_r.c: Moved to ...
7101 * login/getlogin_r.c: ... here.
7102 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7103 * login/Makefile (routines): ... here.
7104 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7105 * login/Versions (libc: GLIBC_2.0): ... here.
7107 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7108 (setrlimit): Define as weak alias.
7110 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7111 Call __ names for open, ftruncate, and close.
7112 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7113 (truncate): Define as weak alias.
7115 2013-05-06 Joseph Myers <joseph@codesourcery.com>
7117 * math/gen-libm-test.pl (parse_args): Initialize x before each
7118 test of frexp, modf and remquo.
7120 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7123 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7127 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7129 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7131 2013-05-06 Roland McGrath <roland@hack.frob.com>
7133 * elf/dl-writev.h: New file.
7134 * elf/dl-misc.c: Include it.
7135 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7136 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7138 2013-05-04 Joseph Myers <joseph@codesourcery.com>
7140 * math/libm-test.inc (noXFails): Remove variable.
7141 (noXPasses): Likewise.
7142 (BUILD_COMPLEX_INT): Remove macro.
7143 (print_screen): Remove xfail argument.
7144 (print_screen_max_error): Likewise.
7145 (update_stats): Likewise.
7146 (print_max_error): Likewise. Update calls to other affected
7148 (print_complex_max_error): Likewise.
7149 (test_single_exception): Update calls to print_screen.
7150 (test_single_errno): Likewise.
7151 (check_float_internal): Remove xfail argument. Update calls to
7152 other affected functions.
7153 (check_float): Likewise.
7154 (check_complex): Likewise.
7155 (check_int): Likewise.
7156 (check_long): Likewise.
7157 (check_bool): Likewise.
7158 (check_longlong): Likewise.
7159 (main): Don't print noXFails and noXPasses.
7160 * math/gen-libm-test.pl (top level): Don't mention expected
7161 failure handling in comment.
7162 (new_test): Don't handle expected failures.
7163 (parse_args): Don't mention expected failure handling in comment.
7164 (generate_testfile): Don't handle expected failures.
7165 (parse_ulps): Likewise.
7166 (print_ulps_file): Likewise.
7167 (get_failure): Remove function.
7168 (output_test): Don't handle expected failures.
7169 * make/README.libm-test: Don't mention expected failure handling.
7171 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7172 (minus_zero): Likewise.
7173 (plus_infty): Likewise.
7174 (minus_infty): Likewise.
7175 (qnan_value): Likewise.
7176 (max_value): Likewise.
7177 (min_value): Likewise.
7178 (min_subnorm_value): Likewise.
7179 (initialize): Do not initialize those variables dynamically.
7181 2013-05-03 Roland McGrath <roland@hack.frob.com>
7183 * io/open.c (__open_2): Moved to ...
7184 * io/open_2.c: ... this new file.
7185 * io/open64.c (__open64_2): Moved to ...
7186 * io/open64_2.c: ... this new file.
7187 * io/openat.c (__openat_2): Moved to ...
7188 * io/openat_2.c: ... this new file.
7189 * io/openat64.c (__openat64_2): Moved to ...
7190 * io/openat64_2.c: ... this new file.
7191 * io/Makefile (routines): Add them.
7192 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7193 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7194 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7195 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7196 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7197 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7198 (__openat64): Add hidden_ver.
7199 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7200 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7202 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7203 Separately conditionalize setting of GLRO(dl_sysinfo) so
7204 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7205 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7207 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7209 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7210 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7212 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7213 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7214 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7215 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7216 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7218 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7220 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7223 * math/libm-test.inc (hypot_test): Do not use
7224 IGNORE_ZERO_INF_SIGN.
7226 2013-05-03 Andreas Jaeger <aj@suse.de>
7228 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7230 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7231 (PF_MAX): Adjust for VSOCK change.
7233 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7237 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7240 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7241 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7242 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7244 2013-05-02 David S. Miller <davem@davemloft.net>
7246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7248 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7250 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7252 2013-05-01 Roland McGrath <roland@hack.frob.com>
7254 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7256 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7259 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7260 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7261 Use __attribute__ ((__gnu_inline__)).
7262 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7263 Don't use __attribute__ ((__gnu_inline__)).
7265 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7268 * math/s_catan.c (__catan): Handle small real or imaginary part of
7269 input specially to avoid spurious underflow.
7270 * math/s_catanf.c (__catanf): Likewise.
7271 * math/s_catanh.c (__catanh): Likewise.
7272 * math/s_catanhf.c (__catanhf): Likewise.
7273 * math/s_catanhl.c (__catanhl): Likewise.
7274 * math/s_catanl.c (__catanl): Likewise.
7275 * math/libm-test.inc (catan_test): Add more tests.
7276 (catanh_test): Likewise.
7277 * sysdeps/i386/fpu/libm-test-ulps: Update.
7278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7280 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7284 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7287 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7288 accurately for denominator in atan2.
7289 * math/s_catanf.c (__catanf): Likewise.
7290 * math/s_catanh.c (__catanh): Likewise.
7291 * math/s_catanhf.c (__catanhf): Likewise.
7292 * math/s_catanhl.c (__catanhl): Likewise.
7293 * math/s_catanl.c (__catanl): Likewise.
7294 * math/libm-test.inc (catan_test): Add more tests.
7295 (catanh_test): Likewise.
7296 * sysdeps/i386/fpu/libm-test-ulps: Update.
7297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7299 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7301 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7303 * benchtests/Makefile (bench): Remove slow benchmarks.
7304 * benchtests/atan-inputs: Add slow benchmark inputs.
7305 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7306 (BENCH_FUNC): Accept variant offset.
7308 * benchtests/bench-skeleton.c (main): Run benchmark for each
7310 * benchtests/cos-inputs: Add slow benchmark inputs.
7311 * benchtests/exp-inputs: Likewise.
7312 * benchtests/pow-inputs: Likewise.
7313 * benchtests/sin-inputs: Likewise.
7314 * benchtests/slowatan-inputs: Remove.
7315 * benchtests/slowatan.c: Remove.
7316 * benchtests/slowcos-inputs: Remove.
7317 * benchtests/slowcos.c: Remove.
7318 * benchtests/slowexp-inputs: Remove.
7319 * benchtests/slowexp.c: Remove.
7320 * benchtests/slowpow-inputs: Remove.
7321 * benchtests/slowpow.c: Remove.
7322 * benchtests/slowsin-inputs: Remove.
7323 * benchtests/slowsin.c: Remove.
7324 * benchtests/slowtan-inputs: Remove.
7325 * benchtests/slowtan.c: Remove.
7326 * benchtests/tan-inputs: Add slow benchmark inputs.
7327 * scripts/bench.pl: Parse comments and directives.
7329 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7331 ($(objpfx)bench-%.c): Remove *-ITER.
7332 * benchtests/bench-modf.c: Remove definition of ITER.
7333 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7334 (main): Loop for DURATION seconds instead of fixed number of
7336 * scripts/bench.pl: Don't expect iterations in parameters.
7338 2013-04-29 Roland McGrath <roland@hack.frob.com>
7340 * io/fchdir.c (__fchdir): Renamed from fchdir.
7341 (fchdir): Define as weak alias.
7343 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7345 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7346 (ERRNO_EDOM): Likewise.
7347 (ERRNO_ERANGE): Likewise.
7348 (noErrnoTests): New variable.
7349 (init_max_error): Set errno to 0.
7350 (test_single_errno): New function.
7351 (test_errno): Likewise.
7352 (check_float_internal): Call test_errno. Set errno to 0.
7353 (check_complex): Refer to errno tests in comment.
7354 (check_int): Call test_errno. Set errno to 0.
7355 (check_long): Likewise.
7356 (check_bool): Likewise.
7357 (check_longlong): Likewise.
7358 (cos_test): Use ERRNO_* flags for errno tests instead of
7360 (expm1_test): Likewise.
7361 (fmod_test): Likewise.
7362 (ilogb_test): Likewise.
7363 (lgamma_test): Likewise.
7364 (pow_test): Likewise.
7365 (remainder_test): Likewise.
7366 (sin_test): Likewise.
7367 (tan_test): Likewise.
7368 (yn_test): Likewise.
7369 (initialize): Set errno to 0.
7370 (main): Print number of errno tests.
7371 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7373 2013-04-29 Andreas Jaeger <aj@suse.de>
7376 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7380 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7381 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7385 * stdlib/random.c (__initstate): Return NULL if
7389 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7390 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7393 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7397 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7399 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7400 of individual tests.
7401 (casin_test): Likewise.
7402 (casinh_test): Likewise.
7404 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7407 * math/s_catan.c (__catan): Handle arguments with large real or
7408 imaginary part separately without squaring.
7409 * math/s_catanf.c (__catanf): Likewise.
7410 * math/s_catanh.c (__catanh): Likewise.
7411 * math/s_catanhf.c (__catanhf): Likewise.
7412 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7414 (__catanhl): Handle arguments with large real or imaginary part
7415 separately without squaring.
7416 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7418 (__catanl): Handle arguments with large real or imaginary part
7419 separately without squaring.
7420 * math/libm-test.inc (catan_test): Add more tests.
7421 (catanh_test): Likewise.
7422 * sysdeps/i386/fpu/libm-test-ulps: Update.
7423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7425 2013-04-27 Andreas Jaeger <aj@suse.de>
7428 * stdlib/stdlib.h: Update guards for qecvt.
7429 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7432 2013-04-27 Allan McRae <allan@archlinux.org>
7434 * sysdeps/i386/fpu/libm-test-ulps: Update.
7436 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7439 * math/s_catan.c: Include <float.h>.
7440 (__catan): Ensure underflow exception occurs for underflowed
7442 * math/s_catanf.c: Include <float.h>.
7443 (__catanf): Ensure underflow exception occurs for underflowed
7445 * math/s_catanh.c: Include <float.h>.
7446 (__catanh): Ensure underflow exception occurs for underflowed
7448 * math/s_catanhf.c: Include <float.h>.
7449 (__catanhf): Ensure underflow exception occurs for underflowed
7451 * math/s_catanhl.c: Include <float.h>.
7452 (__catanhl): Ensure underflow exception occurs for underflowed
7454 * math/s_catanl.c: Include <float.h>.
7455 (__catanl): Ensure underflow exception occurs for underflowed
7457 * math/libm-test.inc (catan_test): Add more tests.
7458 (catanh_test): Likewise.
7461 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7463 * math/s_ccoshf.c (__ccoshf): Likewise.
7464 * math/s_ccoshl.c (__ccoshl): Likewise.
7465 * math/s_csin.c (__csin): Likewise.
7466 * math/s_csinf.c (__csinf): Likewise.
7467 * math/s_csinh.c (__csinh): Likewise.
7468 * math/s_csinhf.c (__csinhf): Likewise.
7469 * math/s_csinhl.c (__csinhl): Likewise.
7470 * math/s_csinl.c (__csinl): Likewise.
7471 * math/libm-test.inc (ccos_test): Add more tests.
7472 (ccosh_test): Likewise.
7473 (csin_test): Likewise.
7474 (csinh_test): Likewise.
7476 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7478 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7479 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7480 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7481 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7482 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7483 powerpc/power5+/fpu folders.
7484 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7487 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7491 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7493 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7494 additions to variable.
7495 [$(config-machine) = x86_64] (modules-names): Likewise.
7496 ($(objpfx)tst-audit3): Remove dependency.
7497 ($(objpfx)tst-audit3.out): Likewise.
7498 ($(objpfx)tst-audit4): Likewise.
7499 ($(objpfx)tst-audit4.out): Likewise.
7500 ($(objpfx)tst-audit5): Likewise.
7501 ($(objpfx)tst-audit5.out): Likewise.
7502 ($(objpfx)tst-audit6): Likewise.
7503 ($(objpfx)tst-audit6.out): Likewise.
7504 ($(objpfx)tst-audit7): Likewise.
7505 ($(objpfx)tst-audit7.out): Likewise.
7506 (tst-audit3-ENV): Remove variable.
7507 (tst-audit4-ENV): Likewise.
7508 (tst-audit5-ENV): Likewise.
7509 (tst-audit6-ENV): Likewise.
7510 (tst-audit7-ENV): Likewise.
7511 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7512 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7513 addition to variable.
7514 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7515 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7516 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7517 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7518 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7519 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7520 tst-audit3, tst-audit4 and tst-audit5.
7521 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7522 tst-audit6 and tst-audit7.
7523 [$(subdir) = elf] (modules-names): Add audit modules for those
7525 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7526 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7527 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7528 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7529 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7530 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7531 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7532 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7533 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7534 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7535 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7536 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7537 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7538 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7539 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7540 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7542 [$(subdir) = elf && $(config-cflags-avx) = yes]
7543 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7544 [$(subdir) = elf && $(config-cflags-avx) = yes]
7545 (CFLAGS-tst-auditmod4a.c): Likewise.
7546 [$(subdir) = elf && $(config-cflags-avx) = yes]
7547 (CFLAGS-tst-auditmod4b.c): Likewise.
7548 [$(subdir) = elf && $(config-cflags-avx) = yes]
7549 (CFLAGS-tst-auditmod6b.c): Likewise.
7550 [$(subdir) = elf && $(config-cflags-avx) = yes]
7551 (CFLAGS-tst-auditmod6c.c): Likewise.
7552 [$(subdir) = elf && $(config-cflags-avx) = yes]
7553 (CFLAGS-tst-auditmod7b.c): Likewise.
7554 * elf/tst-audit3.c: Move to ...
7555 * sysdeps/x86_64/tst-audit3.c: ... here.
7556 * elf/tst-audit4.c: Move to ...
7557 * sysdeps/x86_64/tst-audit4.c: ... here.
7558 * elf/tst-audit5.c: Move to ...
7559 * sysdeps/x86_64/tst-audit5.c: ... here.
7560 * elf/tst-audit6.c: Move to ...
7561 * sysdeps/x86_64/tst-audit6.c: ... here.
7562 * elf/tst-audit7.c: Move to ...
7563 * sysdeps/x86_64/tst-audit7.c: ... here.
7564 * elf/tst-auditmod3a.c: Move to ...
7565 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7566 * elf/tst-auditmod3b.c: Move to ...
7567 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7568 * elf/tst-auditmod4a.c: Move to ...
7569 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7570 * elf/tst-auditmod4b.c: Move to ...
7571 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7572 * elf/tst-auditmod5a.c: Move to ...
7573 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7574 * elf/tst-auditmod5b.c: Move to ...
7575 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7576 * elf/tst-auditmod6a.c: Move to ...
7577 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7578 * elf/tst-auditmod6b.c: Move to ...
7579 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7580 * elf/tst-auditmod6c.c: Move to ...
7581 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7582 * elf/tst-auditmod7a.c: Move to ...
7583 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7584 * elf/tst-auditmod7b.c: Move to ...
7585 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7587 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7590 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7591 define unconditionally.
7592 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7593 define unconditionally.
7594 (INT8_C, INT16_C, etc.): Likewise.
7596 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7598 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7599 __ehdr_start with hidden visibility.
7601 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7603 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7605 * math/libm-test.inc (cos_test): Use accurate hex constants.
7606 (sincost_test): Likewise.
7608 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7610 * math/libm-test.inc (catan_test): Add more tests.
7611 (catanh_test): Likewise.
7613 * math/s_catanf.c (__catanf): Use suffixed floating-point
7615 * math/s_catanhf.c (__catanhf): Likewise.
7616 * math/s_catanhl.c (__catanhl): Likewise.
7617 * math/s_catanl.c (__catanl): Likewise.
7620 * math/s_catan.c (__catan): Calculate imaginary part of result
7621 with log1p not log unless computing log of number close to 0.
7622 * math/s_catanf.c (__catanf): Likewise.
7623 * math/s_catanl.c (__catanl): Likewise.
7624 * math/s_catanh.c (__catanh): Calculate real part of result with
7625 log1p not log unless computing log of number close to 0.
7626 * math/s_catanhf.c (__catanhf): Likewise.
7627 * math/s_catanhl.c (__catanhl): Likewise.
7628 * math/libm-test.inc (catan_test): Add more tests.
7629 (catanh_test): Likewise.
7630 * sysdeps/i386/fpu/libm-test-ulps: Update.
7631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7633 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7635 * benchtests/Makefile: Mention files in which fast and slow
7636 paths of math functions are implemented.
7638 2013-04-23 Roland McGrath <roland@hack.frob.com>
7640 * sysdeps/posix/timespec_get.c: New file.
7642 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7644 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7646 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7648 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7649 powerpc/power5/fpu folders.
7650 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7651 * benchtests/Makefile: Add modf testcase.
7652 * benchtests/bench-modf.c: New file: Benchmark test for mo
7654 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7657 * time/Makefile (tests): Add tst-strptime-whitespace.
7658 * time/strptime_l.c (get_number): Use ISSPACE.
7659 (__strptime_internal): Likewise.
7660 * time/tst-strptime-whitespace.c: New test case.
7662 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7664 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7666 (_nss_files_init): Set it here.
7668 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7670 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7671 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7674 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7676 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7678 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7680 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7683 2013-04-21 David S. Miller <davem@davemloft.net>
7685 * po/ru.po: Update Russion translation from translation project.
7687 2013-04-17 Adam Conrad <adconrad@0c3.net>
7689 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7692 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7694 * configure.in: Remove i386 configure warning. Remove i386 case.
7695 * configure: Regenerate.
7696 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7697 Add example to error message.
7698 * sysdeps/i386/configure: Regenerate.
7700 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7702 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7704 * benchtests/cos-inputs: New file.
7705 * benchtests/slowcos-inputs: New file.
7706 * benchtests/slowcos.c: New file.
7707 * benchtests/slowtan-inputs: New file.
7708 * benchtests/slowtan.c: New file.
7709 * benchtests/tan-inputs: New file.
7711 2013-04-16 Roland McGrath <roland@hack.frob.com>
7713 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7716 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7718 * benchtests/Makefile: Include cppflags-iterator.mk to add
7719 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7721 * Makefile.in (bench-clean): New target.
7722 * benchtests/Makefile (bench-clean): Likewise.
7724 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7726 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7728 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7730 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7732 2013-04-15 Andreas Schwab <schwab@suse.de>
7734 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7735 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7736 * nscd/pwdcache.c (cache_addpw): Likewise.
7737 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7740 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7742 * benchtests/Makefile (bench): Write all output to
7743 bench-out.tmp together.
7745 2013-04-15 Andreas Schwab <schwab@suse.de>
7747 * nscd/nscd.c (main): Don't fork again after closing files.
7749 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7751 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7753 * benchtests/Rules (bench-deps): Collect dependencies into a
7754 single variable. Add Makefile to dependencies.
7755 ($(objpfx)bench-%.c): Depend on bench-deps.
7757 2013-04-12 Roland McGrath <roland@hack.frob.com>
7758 Xavier Roche <roche+kml2@exalead.com>
7761 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7762 just that it's a file descriptor.
7763 * manual/llio.texi (Synchronizing AIO Operations): Update description
7764 for EBADF error from aio_fsync.
7766 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7768 * Rules (bench): Move target definition...
7769 * benchtests/Makefile: ... here.
7771 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7773 * math/libm-test.inc (cos_test): Fix PI/2 test.
7774 (sincos_test): Likewise.
7775 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7776 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7778 2013-04-11 Andreas Schwab <schwab@suse.de>
7781 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7782 accept exponent character only when digits were seen.
7783 * stdio-common/Makefile (tests): Add bug26.
7784 * stdio-common/bug26.c: New file.
7787 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7790 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7792 * Makeconfig (rtld-prefix): Define built linker prefix.
7793 * Rules (run-bench): Use it.
7794 * math/Makefile (run-regen-ulps): Likewise.
7796 * Rules (bench): Remove eval.
7798 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7799 Roland McGrath <roland@hack.frob.com>
7800 Ondrej Bilka <neleai@seznam.cz>
7803 * time/getdate.c: Include ctype.h and alloca.h.
7804 (__getdate_r): Trim leading and trailing spaces of input.
7805 * time/tst-getdate.c (tests): Add tests with leading and
7808 2013-04-08 Roland McGrath <roland@hack.frob.com>
7811 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7812 when computing value.
7814 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7816 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7817 Use testrun.sh to run libm tests.
7820 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7822 2013-04-06 Marko Myllynen <myllynen@redhat.com>
7825 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7827 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7829 * Makefile.in (regen-ulps): New target.
7830 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7831 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7832 [ifneq (no,$(PERL)] (regen-ulps): New target.
7833 [ifeq (no,$(PERL)] (regen-ulps): New target.
7834 * math/libm-test.inc (ulps_file_name): Define.
7835 (output_dir): New variable.
7836 (options): Add "output-dir" option.
7837 (parse_opt): Handle 'o' case.
7838 (main): If output_dir is non-NULL use it as a prefix
7840 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7842 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7845 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7846 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7847 fail configure if __sync_val_compare_and_swap is not inlined.
7848 * sysdeps/i386/configure: Regenerate.
7849 * configure.in: Build for i686 when configured for i386.
7850 * configure: Regenerate.
7851 * README: Remove i386 reference.
7853 2013-04-06 Carlos O'Donell <carlos@redhat.com>
7855 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7858 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7860 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7861 (lmsnanval): New variables.
7862 (F): Add conversion tests.
7863 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7864 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7866 * stdio-common/tstdiomisc.c (F): Properly collect individual
7870 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7871 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7872 Instead, use input NaN values or generate a qNaN by arithmetic
7873 operation. Also fix bugs to comply with the standard.
7874 * math/libm-test.inc (remainder_test): Add more tests.
7877 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7878 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7879 input NaN values or generate a qNaN by arithmetic operation.
7881 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7884 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7887 2013-04-03 Joseph Myers <joseph@codesourcery.com>
7890 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7892 * math/s_cexpf.c (__cexpf): Likewise.
7893 * math/s_cexpl.c (__cexpl): Likewise.
7894 * math/libm-test.inc (cexp_test): Add more tests.
7896 2013-04-03 Andreas Schwab <schwab@suse.de>
7899 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7900 order arrays from heap if bigger than alloca cutoff.
7902 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7904 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7905 (SNAN_TESTS_double): Refer to GCC PR56831.
7906 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7909 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7911 * Rules (bench): Move bench.out after the run is complete.
7913 * Rules (bench): Echo currently running benchmark.
7915 * benchtests/Makefile (bench): Add atan and slowatan.
7916 * benchtests/atan-inputs: New file.
7917 * benchtests/slowatan-inputs: New file.
7918 * benchtests/slowatan.c: New file.
7920 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7921 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7925 * sysdeps/unix/sysv/linux/kernel-features.h
7926 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7927 __ASSUME_XFS_RESTRICTED_CHOWN.
7928 * sysdeps/unix/sysv/linux/pathconf.c
7929 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7930 Save and restore errno.
7932 2013-04-02 Joseph Myers <joseph@codesourcery.com>
7935 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7936 arguments using __kernel_casinh.
7937 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7938 arguments using __kernel_casinhf.
7939 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7940 arguments using __kernel_casinhl.
7941 * math/libm-test.inc (cacosh_test): Add more tests.
7942 * sysdeps/i386/fpu/libm-test-ulps: Update.
7943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7945 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7947 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7948 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7950 * bench/Makefile (bench): Add sin and slowsin.
7951 * benchtests/sin-inputs: New file.
7952 * benchtests/slowsin-inputs: New file.
7953 * benchtests/slowsin.c: New file.
7955 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7956 (bench): Add slowexp and slowpow.
7957 (exp-ITER): Increase iterations.
7958 (pow-ITER): Likewise.
7959 * benchtests/exp-inputs: Change input.
7960 * benchtests/pow-inputs: Likewise.
7961 * benchtests/slowexp-inputs: New file.
7962 * benchtests/slowexp.c: New file.
7963 * benchtests/slowpow-inputs: New file.
7964 * benchtests/slowpow.c: New file.
7966 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7968 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7970 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7971 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7972 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7973 * benchtests/Makefile: Add rint benchtest.
7974 * benchtests/rint-inputs: Input for rint benchtest.
7976 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7978 * Versions.def (libm): Add GLIBC_2.18.
7979 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7980 hidden libm prototypes.
7981 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7982 * math/Makefile (libm-calls): Add s_issignaling.
7983 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7984 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7985 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7987 * math/math.h [__USE_GNU] (issignaling): New macro.
7988 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7989 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7990 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7991 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7992 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7993 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7994 * manual/arith.texi (issignaling): New section.
7995 * manual/libm-err-tab.pl (@all_functions): Update comment.
7996 * math/gen-libm-test.pl (parse_args): Apply special handling for
7998 * math/libm-test.inc (print_float, issignaling_test): New
8000 (check_float_internal): Add issignaling checks.
8001 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8003 * sysdeps/powerpc/math-tests.h: New file.
8004 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8006 * math/test-snan.c (TEST_FUNC): Likewise.
8008 2013-03-30 David S. Miller <davem@davemloft.net>
8010 * po/de.po: Update from translation team.
8012 2013-03-30 Joseph Myers <joseph@codesourcery.com>
8015 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8016 imaginary part less than 1.0 and real part less than 0.5
8018 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8019 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8020 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8021 (cacos_test): Add more tests.
8022 (casin_test): Likewise.
8023 (casinh_test): Likewise.
8024 * sysdeps/i386/fpu/libm-test-ulps: Update.
8025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8027 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8029 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8032 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8033 (__pow_mp): Replace ONE and MONE with their values.
8034 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8035 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8036 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8037 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8038 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8039 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8041 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8043 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8044 (__pow_mp): Replace ZERO and MZERO with their values.
8045 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8046 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8047 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8048 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8049 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8050 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8053 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8055 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8057 2013-03-28 Roland McGrath <roland@hack.frob.com>
8059 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8060 Declare with __attribute__ ((weak)).
8061 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8062 Call __call_tls_dtors only if it's not NULL.
8064 2013-03-28 Roland McGrath <roland@hack.frob.com>
8066 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8067 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8068 magic __ehdr_start linker symbol if it's defined.
8069 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8070 them up here if it was already done.
8072 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8073 (_dl_aux_init): Use const in cast when setting it.
8074 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8075 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8076 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8078 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8080 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8081 * csu/libc-tls.c: Nor here.
8082 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8084 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8085 (__libc_message): Never call vsyslog.
8087 2013-03-28 Alan Modra <amodra@gmail.com>
8089 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8091 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8094 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8097 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8101 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8104 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8105 Don't add gid passed as argument.
8107 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8109 2013-03-27 Joseph Myers <joseph@codesourcery.com>
8112 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8113 imaginary part between 1.0 and 1.5 and real part less than 0.5
8115 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8116 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8117 * math/libm-test.inc (cacos_test): Add more tests.
8118 (casin_test): Likewise.
8119 (casinh_test): Likewise.
8120 * sysdeps/i386/fpu/libm-test-ulps: Update.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8123 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8125 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8129 (__dbl_mp): Likewise.
8130 (add_magnitudes): Likewise.
8131 (sub_magnitudes): Likewise.
8139 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8141 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8142 (__dubcos): Likewise.
8143 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8144 (__ieee754_acos): Likewise.
8145 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8146 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8148 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8149 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8151 (my_log2): Likewise.
8152 (checkint): Likewise.
8153 * sysdeps/ieee754/dbl-64/e_remainder.c
8154 (__ieee754_remainder): Likewise.
8155 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8156 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8158 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8160 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8161 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8162 MANTISSA_STORE_T to store computations on mantissa. Use
8163 macros for rounding and division.
8165 (__dbl_mp): Likewise.
8166 (add_magnitudes): Likewise.
8167 (sub_magnitudes): Likewise.
8170 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8171 powers of two in terms of TWOPOW macro.
8172 (mp_no): Make type of mantissa as MANTISSA_T.
8173 [!RADIXI]: Define RADIXI.
8174 [!TWO52]: Define TWO52.
8175 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8177 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8179 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8180 llroundl symbol when building for PPC32.
8182 2013-03-24 Mark H Weaver <mhw@netris.org>
8184 * manual/arith.texi (Normalization Functions): Fix prototypes for
8185 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8187 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8190 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8191 high value to check if expl overflow.
8192 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8193 to check for underflow and overflow.
8194 * math/libm-test.inc: Add exp test.
8196 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8199 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8202 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8204 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8207 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8209 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8210 wrap blocks consisting of several statements.
8212 * sysdeps/generic/math-tests.h: New file.
8213 * sysdeps/i386/fpu/math-tests.h: Likewise.
8214 * math/test-snan.c: Include it.
8215 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8217 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8220 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8221 (__ieee754_j0l): Do not improve calculations using cos of twice
8222 input for inputs above LDBL_MAX / 2.0L.
8223 (__ieee754_y0l): Likewise.
8224 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8225 (__ieee754_j1l): Do not improve calculations using cos of twice
8226 input for inputs above LDBL_MAX / 2.0L.
8227 (__ieee754_y1l): Likewise.
8228 * math/libm-test.inc (j0_test): Add another test.
8229 (j1_test): Likewise.
8230 (y0_test): Likewise.
8231 (y1_test): Likewise.
8232 * sysdeps/i386/fpu/libm-test-ulps: Update.
8234 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8236 * Rules ($(objpfx)bench-%.c): Include code from a C source
8239 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8242 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8243 imaginary part 1.0 and real part less than 0.5 specially.
8244 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8245 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8246 * math/libm-test.inc (cacos_test): Add more tests.
8247 (casin_test): Likewise.
8248 (casinh_test): Likewise.
8249 * sysdeps/i386/fpu/libm-test-ulps: Update.
8250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8252 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8254 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8255 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8257 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8259 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8260 * config.make.in (config-cflags-sse4): Remove variable.
8261 (config-cflags-avx): Likewise.
8262 (config-cflags-sse2avx): Likewise.
8263 (config-cflags-novzeroupper): Likewise.
8264 (config-asflags-i686): Likewise.
8265 (have-mfma4): Likewise.
8266 (have-as-vis3): Likewise.
8268 * configure.in (MIG): Do not AC_SUBST.
8269 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8270 (libc_cv_cc_sse4): Do not AC_SUBST.
8271 (libc_cv_cc_avx): Likewise.
8272 (libc_cv_cc_sse2avx): Likewise.
8273 (libc_cv_cc_novzeroupper): Likewise.
8274 (libc_cv_cc_fma4): Likewise.
8275 (libc_cv_as_i686): Likewise.
8276 (libc_cv_sparc_as_vis3): Likewise.
8277 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8279 (config-asflags-i686): Likewise.
8280 (config-cflags-avx): Likewise.
8281 (config-cflags-sse2avx): Likewise.
8282 (have-mfma4): Likewise.
8283 (config-cflags-novzeroupper): Likewise.
8284 * sysdeps/mach/configure.in (MIG): Likewise.
8285 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8286 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8288 (config-cflags-avx): Likewise.
8289 (config-cflags-sse2avx): Likewise.
8290 (have-mfma4): Likewise.
8291 (config-cflags-novzeroupper): Likewise.
8292 * configure: Regenerated.
8293 * sysdeps/i386/configure: Likewise.
8294 * sysdeps/mach/configure: Likewise.
8295 * sysdeps/sparc/configure: Likewise.
8296 * sysdeps/x86_64/configure: Likewise.
8298 2013-03-20 Roland McGrath <roland@hack.frob.com>
8301 * locale/programs/localedef.c (options): Put N_ translation marker
8302 on argument names, not just descriptions.
8304 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8306 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8308 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8311 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8313 2013-03-19 Roland McGrath <roland@hack.frob.com>
8315 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8316 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8317 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8318 [!BEFORE_ABORT] (before_abort): New function.
8319 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8320 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8321 (writev_for_fatal): New function.
8322 (WRITEV_FOR_FATAL): New macro; call that.
8323 (backtrace_and_maps): New function.
8324 (BEFORE_ABORT): New macro; call that.
8325 (struct str_list): Type removed.
8326 (__libc_message, __libc_fatal): Functions removed.
8327 Include <sysdeps/posix/libc_fatal.c> instead.
8329 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8331 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8333 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8336 2013-03-19 Andreas Schwab <schwab@suse.de>
8338 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8339 * sysdeps/gnu/configure: Regenerate.
8341 * configure.in: Substitute libc_cv_rtlddir.
8342 * configure: Regenerate.
8343 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8344 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8345 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8346 * elf/Makefile (install-others, CFLAGS-interp.c)
8347 (ldso_install, common-ldd-rewrite): Likewise.
8348 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8349 $(inst_slibdir)/$(rtld-installed-name).
8350 * scripts/rellns-sh: Add -p option.
8351 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8354 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8356 * manual/nptl.texi: Renamed to ...
8357 * manual/threads.texi: ... this.
8358 * manual/Makefile (chapters): Update.
8360 2013-03-18 Roland McGrath <roland@hack.frob.com>
8363 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8364 on argument names, not just descriptions.
8365 * malloc/memusagestat.c (options): Likewise.
8366 * nss/getent.c (options): Likewise.
8368 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
8371 * iconv/iconv_prog.c (options): Put N_ translation marker
8372 on argument names, not just descriptions.
8373 * iconv/iconvconfig.c (options): Likewise.
8375 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8377 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8378 implementation which is faster on all x86_64 architectures.
8379 Tested on AMD, Intel Nehalem, SNB, IVB.
8380 * sysdeps/x86_64/strnlen.S: Likewise.
8382 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8383 Remove all multiarch strlen and strnlen versions.
8384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8385 Remove strlen and strnlen related parts.
8387 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8389 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8391 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8392 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8393 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8394 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8395 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8396 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8398 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8400 * manual/memory.texi (Malloc Tunable Parameters):
8401 Sort parameters alphabetically. Add comments for missing entries.
8403 2013-03-17 David S. Miller <davem@davemloft.net>
8405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8407 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8410 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8411 for arguments at most half maximum finite value.
8412 * math/libm-test.inc (j0_test): Add more tests.
8413 (j1_test): Likewise.
8414 (y0_test): Likewise.
8415 (y1_test): Likewise.
8416 * sysdeps/i386/fpu/libm-test-ulps: Update.
8417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8420 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8421 1 / x and functions P and Q for arguments above 0x1p256L.
8422 (__ieee754_y0l): Likewise.
8423 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8424 (__ieee754_y1l): Likewise.
8425 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8426 (j1_test): Likewise.
8427 (y0_test): Likewise.
8428 (y1_test): Likewise.
8430 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8432 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8435 2013-03-15 Roland McGrath <roland@hack.frob.com>
8437 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8438 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8439 zero since it's initialized to EXEC_PAGESIZE.
8441 * sysdeps/unix/sysv/linux/ldsodefs.h
8442 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8443 * sysdeps/generic/ldsodefs.h: ... here.
8445 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8447 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8449 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8451 * math/test-snan.c: Renamed from
8452 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8453 * math/Makefile (tests): Add test-snan.
8454 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8457 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8458 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8460 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8461 __builtin_nan family of functions.
8462 * math/libm-test.inc (initialize): Initialize qnan_value with
8463 __builtin_nan family of functions.
8464 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8466 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8468 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8469 storage class. Initialize qNaN_var and sNaN_var with
8470 __builtin_nan and __builtin_nans families of functions,
8473 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8474 (sqrt_test): Remove duplicate test with qNaN input.
8475 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8476 (round_test, signbit_test, significand_test): Note missing +/-Inf
8477 as well as qNaN tests.
8479 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8480 qNaN_var. Fix a few strings, too.
8481 * math/libm-test.inc (nan_value): Rename to qnan_value.
8482 * math/gen-libm-test.pl (%beautify): Adjust to that.
8483 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8484 * math/test-misc.c (main): Likewise.
8485 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8486 to __qnan_bytes, and __qnan_union, respectively.
8487 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8489 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8490 and lqnanval, respectively.
8491 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8492 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8493 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8494 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8496 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8497 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8500 * math/test-misc.c (main): Fix copy'n'pastos.
8501 * misc/tst-efgcvt.c (special): Likewise.
8503 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8504 Remove declarations.
8506 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8508 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8509 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8510 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8511 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8513 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8515 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8516 macro to return vdso values correctly in IFUNC implementations.
8517 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8518 Optimization by using IFUNC.
8520 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8521 Richard Henderson <rth@redhat.com>
8522 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8524 * Makefile.in (bench): New target.
8525 * NEWS: Mention the benchmark framework.
8526 * Rules (bench): Likewise.
8527 (binaries-bench): Generate binaries for functions to
8529 * benchtests/Makefile: New makefile for benchmark tests.
8530 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8532 * benchtests/exp-inputs: New input file for EXP function.
8533 * benchtests/pow-inputs: New input file for POW function.
8534 * scripts/bench.pl: New script to generate source files for
8537 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8539 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8540 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8541 computations on mantissa. Use macros for rounding and
8544 (__dbl_mp): Likewise.
8545 (add_magnitudes): Likewise.
8546 (sub_magnitudes): Likewise.
8549 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8550 powers of two in terms of TWOPOW macro.
8551 (mp_no): Make type of mantissa as MANTISSA_T.
8552 [!RADIXI]: Define RADIXI.
8553 [!TWO52]: Define TWO52.
8554 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8556 * manual/nptl.texi (cindex): Modify threads to pthreads.
8558 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8560 * sysdeps/x86_64/preconfigure: Regenerated.
8562 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8565 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8567 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8568 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8570 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8571 * math/libm-test.inc (j0_test): Do not allow one spurious
8572 underflow exception.
8573 (y1_test): Likewise.
8575 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8577 * manual/Makefile (chapters): Add nptl.
8578 * manual/debug.texi (Debugging Support): Add link to Threads
8580 * manual/nptl.texi: New file.
8582 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8584 2013-03-14 Petr Baudis <pasky@ucw.cz>
8586 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8587 for non-NULL pointer before the memory validity test. Pointed
8588 out by Holger Brunck <holger.brunck@keymile.com>.
8590 2013-03-13 Andreas Schwab <schwab@suse.de>
8592 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8595 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8597 * timezone/zic.c: Update from tzcode 2013b.
8599 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8601 * manual/install.texi (Configuring and compiling):
8602 Mention i686 and i586.
8603 * INSTALL: Regenerate.
8605 2013-03-12 Roland McGrath <roland@hack.frob.com>
8607 * sysdeps/init_array/elf-init.c: New file.
8609 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8610 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8612 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8613 __gmon_start__ as global, but as static with a .preinit_array pointer.
8614 * sysdeps/init_array/gmon-start.c: New file. Use that.
8615 * sysdeps/init_array/crti.S: New file, empty except for comments.
8616 * sysdeps/init_array/crtn.S: Likewise.
8618 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8620 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8623 Remove Prefer_SSE_for_memop.
8624 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8625 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8626 HAS_PREFER_SSE_FOR_MEMOP.
8627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8629 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8630 Remove bzero, memset ifunc support.
8631 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8632 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8633 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8634 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8636 2013-03-11 Andreas Schwab <schwab@suse.de>
8639 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8642 (GLIBC_2.16): Remove pthread_atfork.
8644 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8646 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8647 (ptestcases.h): Likewise.
8649 2013-03-08 Roland McGrath <roland@hack.frob.com>
8651 * Makeconfig ($(common-objpfx)config.status): Depend on
8652 sysdeps/*/preconfigure{,.in} too.
8654 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8656 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8657 (__free_hook): Use void * instead of __malloc_ptr_t.
8658 (__malloc_hook): Likewise.
8659 (__realloc_hook): Likewise.
8660 (__memalign_hook): Likewise.
8661 (__after_morecore_hook): Likewise.
8662 * malloc/arena.c (save_malloc_hook): Likewise.
8663 (save_free_hook): Likewise.
8664 * malloc/hooks.c (malloc_hook_ini): Likewise.
8665 (realloc_hook_ini): Likewise.
8666 (memalign_hook_ini): Likewise.
8667 * malloc/malloc.c (malloc_hook_ini): Likewise.
8668 (realloc_hook_ini): Likewise.
8669 (memalign_hook_ini): Likewise.
8670 (__free_hook): Likewise.
8671 (__malloc_hook): Likewise.
8672 (__realloc_hook): Likewise.
8673 (__memalign_hook): Likewise.
8674 (__libc_malloc): Likewise.
8675 (__libc_free): Likewise.
8676 (__libc_realloc): Likewise.
8677 (__libc_memalign): Likewise.
8678 (__libc_valloc): Likewise.
8679 (__libc_pvalloc): Likewise.
8680 (__libc_calloc): Likewise.
8681 (__posix_memalign): Likewise.
8682 * malloc/morecore.c (__sbrk): Likewise.
8683 (__default_morecore): Likewise.
8685 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8687 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8688 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8691 * malloc/malloc.h (__malloc_size_t): Remove macro.
8692 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8694 (old_memalign_hook): Likewise.
8695 (old_realloc_hook): Likewise.
8696 (struct hdr): Likewise.
8698 (mallochook): Likewise.
8699 (memalignhook): Likewise.
8700 (reallochook): Likewise.
8701 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8702 (tr_old_realloc_hook): Likewise.
8703 (tr_old_memalign_hook): Likewise.
8704 (tr_mallochook): Likewise.
8705 (tr_reallochook): Likewise.
8706 (tr_memalignhook): Likewise.
8708 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8710 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8711 default_ldbl_pack and using as default implementation.
8712 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8714 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8715 redundant definition.
8716 (ldbl_insert_mantissa): Likewise.
8717 (ldbl_canonicalize): Likewise.
8718 (ldbl_nearbyint): Likewise.
8719 (ldbl_pack): Rename to ldbl_pack_ppc.
8720 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8721 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8722 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8724 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8727 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8728 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8729 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8731 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8732 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8733 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8735 2013-03-07 Andreas Jaeger <aj@suse.de>
8737 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8740 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8742 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8743 Include mpa.h and declare __MPEXP.
8744 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8745 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8746 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8747 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8748 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8749 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8750 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8752 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8753 (__slowpow): Use long double EXPL and LOGL functions to
8755 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8756 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8758 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8759 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8760 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8762 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8763 intermediate variable to calculate exponent.
8765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8769 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8770 [!NO__SQR]: Define __sqr.
8771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8772 and NO__SQR. Remove all code except __mul and __sqr. Include
8773 sysdeps/ieee754/dbl-64/mpa.c.
8774 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8777 * posix/Makefile (tests): Add tst-pathconf.
8778 * posix/tst-pathconf.c: New test case.
8779 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8781 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8783 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
8785 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8787 2013-03-06 Andreas Jaeger <aj@suse.de>
8789 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8790 definition via __MAP_ANONYMOUS.
8792 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8793 it's not part of Linux headers.
8795 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8796 (MAP_HUGE_MASK): Define.
8798 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8800 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8801 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8803 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8804 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8806 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8807 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8809 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8811 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8812 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8813 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8814 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8815 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8816 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8818 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8822 Handle f2fs and efivarfs.
8824 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8827 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8828 (EFIVARFS_MAGIC): Add.
8829 (F2FS_LINK_MAX): Add.
8831 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8833 * stdio-common/vfprintf.c: Replace __builtin_expect with
8836 2013-03-06 Joseph Myers <joseph@codesourcery.com>
8839 * sysdeps/generic/bp-sym.h: Remove file.
8840 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8841 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8842 <bp-sym.h> and <bp-asm.h>.
8843 (__longjmp): Don't use BP_SYM.
8844 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8846 (memcpy): Don't use BP_SYM.
8847 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8848 <bp-sym.h> and <bp-asm.h>.
8849 (memcpy): Don't use BP_SYM.
8850 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8852 (memcpy): Don't use BP_SYM.
8853 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8855 (memset): Don't use BP_SYM.
8856 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8857 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8858 (__bzero): Don't use BP_SYM.
8859 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8860 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8861 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8862 <bp-sym.h> and <bp-asm.h>.
8863 (memcmp): Don't use BP_SYM. Remove comment about bounded
8865 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8866 <bp-sym.h> and <bp-asm.h>.
8867 (memcpy): Don't use BP_SYM.
8868 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8869 <bp-sym.h> and <bp-asm.h>.
8870 (memset): Don't use BP_SYM.
8871 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8872 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8873 (__bzero): Don't use BP_SYM.
8874 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8875 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8876 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8877 <bp-sym.h> and <bp-asm.h>.
8878 (strncmp): Don't use BP_SYM. Remove comment about bounded
8880 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8881 <bp-sym.h> and <bp-asm.h>.
8882 (memcpy): Don't use BP_SYM.
8883 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8884 <bp-sym.h> and <bp-asm.h>.
8885 (memset): Don't use BP_SYM.
8886 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8887 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8888 (__bzero): Don't use BP_SYM.
8889 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8890 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8891 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8892 <bp-sym.h> and <bp-asm.h>.
8893 (__memchr): Don't use BP_SYM.
8894 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8895 <bp-sym.h> and <bp-asm.h>.
8896 (memcmp): Don't use BP_SYM. Remove comment about bounded
8898 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8899 <bp-sym.h> and <bp-asm.h>.
8900 (memcpy): Don't use BP_SYM.
8901 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8902 <bp-sym.h> and <bp-asm.h>.
8903 (__mempcpy): Don't use BP_SYM.
8904 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8905 <bp-sym.h> and <bp-asm.h>.
8906 (__memrchr): Don't use BP_SYM.
8907 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8908 <bp-sym.h> and <bp-asm.h>.
8909 (memset): Don't use BP_SYM.
8910 (__bzero): Likewise.
8911 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8912 <bp-sym.h> and <bp-asm.h>.
8913 (__rawmemchr): Don't use BP_SYM.
8914 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8915 <bp-sym.h> and <bp-asm.h>.
8916 (__STRCMP): Don't use BP_SYM.
8917 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8918 <bp-sym.h> and <bp-asm.h>.
8919 (strchr): Don't use BP_SYM.
8920 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8921 <bp-sym.h> and <bp-asm.h>.
8922 (__strchrnul): Don't use BP_SYM.
8923 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8924 <bp-sym.h> and <bp-asm.h>.
8925 (strlen): Don't use BP_SYM.
8926 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8927 <bp-sym.h> and <bp-asm.h>.
8928 (strncmp): Don't use BP_SYM. Remove comment about bounded
8930 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8931 <bp-sym.h> and <bp-asm.h>.
8932 (__strnlen): Don't use BP_SYM.
8933 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8934 <bp-sym.h> and <bp-asm.h>.
8935 (__GI__setjmp): Don't use BP_SYM.
8936 (_setjmp): Likewise.
8937 (__sigsetjmp): Likewise.
8938 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8939 (L(start_addresses)): Don't use BP_SYM.
8941 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8943 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8944 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8945 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8946 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8947 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8949 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8950 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8951 about bounded pointers.
8952 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8953 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8954 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8956 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8957 about bounded pointers. Remove GKM FIXME comments.
8958 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8959 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8961 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8962 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8963 Remove GKM FIXME comments.
8964 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8965 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8966 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8968 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8969 about bounded pointers. Remove GKM FIXME comment.
8970 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8972 (strncmp): Don't use BP_SYM. Remove comment about bounded
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8975 <bp-sym.h> and <bp-asm.h>.
8976 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8978 <bp-sym.h> and <bp-asm.h>.
8979 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8982 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8984 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8987 2013-03-05 David S. Miller <davem@davemloft.net>
8989 * po/es.po: Update from translation team.
8991 2013-03-05 Andreas Jaeger <aj@suse.de>
8993 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8994 <bits/mman-linux.h>.
8995 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8997 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8998 <bits/mman-linux.h> to end of file.
8999 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9001 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9002 <bits/mman-linux.h> to end of file.
9003 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9005 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9006 <bits/mman-linux.h> to end of file.
9008 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9009 (MCL_CURRENT, MCL_FUTURE): Define here.
9011 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9014 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9016 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9018 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9020 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9021 fourth parameter needed for rt_sigprocmask syscall.
9022 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9023 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9024 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9025 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9026 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9027 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9029 2013-03-04 Joseph Myers <joseph@codesourcery.com>
9032 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9033 comment about bounded pointers.
9034 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9035 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9037 2013-03-04 Andreas Jaeger <aj@suse.de>
9039 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9042 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9043 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9044 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9045 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9046 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9047 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9049 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9052 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9053 __ieee754_sqrl instead of __sqrl.
9055 2013-03-01 Joseph Myers <joseph@codesourcery.com>
9057 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9058 * sysdeps/powerpc/fpu_control.h: ... here.
9059 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9060 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9061 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9062 * sysdeps/powerpc/bits/mathinline.h: ... here.
9064 2013-03-01 Roland McGrath <roland@hack.frob.com>
9066 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9067 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9068 to just [NEED_DL_SYSINFO_DSO].
9069 * elf/dl-support.c: Likewise.
9070 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9071 * elf/rtld.c (dl_main): Likewise.
9072 * elf/setup-vdso.h (setup_vdso): Likewise.
9073 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9074 * sysdeps/unix/sysv/linux/dl-sysdep.c
9075 (_dl_discover_osversion): Likewise.
9077 2013-03-01 Carlos O'Donell <carlos@redhat.com>
9079 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9080 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9082 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9084 * NEWS: Mention libm performance improvements and non-x86 PI
9087 * csu/libc-start.c (__pthread_initialize_minimal): Change
9089 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9091 2013-02-28 Joseph Myers <joseph@codesourcery.com>
9094 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9095 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9096 <bp-sym.h> and <bp-asm.h>.
9097 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9098 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9100 (memcpy): Don't use BP_SYM.
9101 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9103 (__mpn_add_n): Don't use BP_SYM.
9104 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9105 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9107 (__mpn_addmul_1): Don't use BP_SYM.
9108 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9109 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9111 (_setjmp): Don't use BP_SYM.
9112 (__novmx_setjmp): Likewise.
9113 (__GI__setjmp): Likewise.
9114 (__vmx_setjmp): Likewise.
9115 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9117 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9118 (__bzero): Don't use BP_SYM.
9119 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9120 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9121 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9122 <bp-sym.h> and <bp-asm.h>.
9123 (memcpy): Don't use BP_SYM.
9124 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9125 <bp-sym.h> and <bp-asm.h>.
9126 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9127 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9128 <bp-sym.h> and <bp-asm.h>.
9129 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9130 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9132 (__mpn_lshift): Don't use BP_SYM.
9133 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9134 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9136 (memset): Don't use BP_SYM.
9137 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9138 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9139 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9141 (__mpn_mul_1): Don't use BP_SYM.
9142 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9143 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9144 <bp-sym.h> and <bp-asm.h>.
9145 (memcmp): Don't use BP_SYM.
9146 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9147 <bp-sym.h> and <bp-asm.h>.
9148 (memcpy): Don't use BP_SYM.
9149 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9150 <bp-sym.h> and <bp-asm.h>.
9151 (memset): Don't use BP_SYM.
9152 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9153 <bp-sym.h> and <bp-asm.h>.
9154 (strncmp): Don't use BP_SYM.
9155 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9156 <bp-sym.h> and <bp-asm.h>.
9157 (memcpy): Don't use BP_SYM.
9158 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9159 <bp-sym.h> and <bp-asm.h>.
9160 (memset): Don't use BP_SYM.
9161 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9162 <bp-sym.h> and <bp-asm.h>.
9163 (__memchr): Don't use BP_SYM.
9164 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9165 <bp-sym.h> and <bp-asm.h>.
9166 (memcmp): Don't use BP_SYM.
9167 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9168 <bp-sym.h> and <bp-asm.h>.
9169 (memcpy): Don't use BP_SYM.
9170 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9171 <bp-sym.h> and <bp-asm.h>.
9172 (__mempcpy): Don't use BP_SYM.
9173 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9174 <bp-sym.h> and <bp-asm.h>.
9175 (__memrchr): Don't use BP_SYM.
9176 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9177 <bp-sym.h> and <bp-asm.h>.
9178 (memset): Don't use BP_SYM.
9179 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9180 <bp-sym.h> and <bp-asm.h>.
9181 (__rawmemchr): Don't use BP_SYM.
9182 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9183 <bp-sym.h> and <bp-asm.h>.
9184 (__STRCMP): Don't use BP_SYM.
9185 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9186 <bp-sym.h> and <bp-asm.h>.
9187 (strchr): Don't use BP_SYM.
9188 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9189 <bp-sym.h> and <bp-asm.h>.
9190 (__strchrnul): Don't use BP_SYM.
9191 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9192 <bp-sym.h> and <bp-asm.h>.
9193 (strlen): Don't use BP_SYM.
9194 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9195 <bp-sym.h> and <bp-asm.h>.
9196 (strncmp): Don't use BP_SYM.
9197 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9198 <bp-sym.h> and <bp-asm.h>.
9199 (__strnlen): Don't use BP_SYM.
9200 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9202 (__mpn_rshift): Don't use BP_SYM.
9203 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9204 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9205 <bp-sym.h> and <bp-asm.h>.
9206 (__sigsetjmp): Don't use BP_SYM.
9207 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9208 (L(start_addresses)): Don't use BP_SYM.
9210 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9212 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9213 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9214 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9215 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9217 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9218 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9219 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9220 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9222 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9224 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9225 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9227 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9229 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9230 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9231 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9233 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9235 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9237 (strncmp): Don't use BP_SYM,
9238 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9240 (__mpn_sub_n): Don't use BP_SYM.
9241 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9242 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9244 (__mpn_submul_1): Don't use BP_SYM.
9245 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9247 <bp-sym.h> and <bp-asm.h>.
9248 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9250 <bp-sym.h> and <bp-asm.h>.
9251 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9254 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9257 Use ZK to minimize writes to Z.
9258 (sub_magnitudes): Simplify code a bit.
9259 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9260 Use ZK to minimize writes to Z.
9261 (sub_magnitudes): Simplify code a bit.
9263 2013-02-27 Roland McGrath <roland@hack.frob.com>
9265 * csu/gmon-start.c: Add special exception to license text.
9267 2013-02-27 Richard Henderson <rth@redhat.com>
9269 * scripts/config.guess: Update from config.git.
9270 * scripts/config.sub: Likewise.
9272 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9274 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9276 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9278 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9280 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9282 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9284 2013-02-26 Roland McGrath <roland@hack.frob.com>
9286 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9287 [$(build-shared = yes].
9289 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9291 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9292 (__mul): Reduce iterations for calculating mantissa.
9294 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9296 (__mpranred): Likewise.
9299 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9300 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9302 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9304 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9305 Define __attribute__.
9307 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9309 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9311 * posix/regex_internal.h (__attribute): Remove.
9312 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9313 (re_string_context_at): Likewise.
9314 (bitset_not): Use __attribute__ and mark function as possibly
9316 (bitset_merge): Likewise.
9317 (bitset_mask): Likewise.
9318 (re_string_char_size_at): Likewise.
9319 (re_string_wchar_at): Likewise.
9320 (re_string_elem_size_at): Likewise.
9322 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9324 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9328 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9333 (__dbl_mp): Likewise.
9334 (add_magnitudes): Likewise.
9335 (sub_magnitudes): Likewise.
9339 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9342 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9345 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9348 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9349 up changes with default code.
9350 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9353 2013-02-24 Allan McRae <allan@archlinux.org>
9355 * manual/socket.texi (The Internet Namespace): Order menu items
9356 to match that in the file.
9358 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9359 node listing of the info page menu.
9361 2013-02-21 Joseph Myers <joseph@codesourcery.com>
9364 * sysdeps/i386/bp-asm.h: Remove file.
9365 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9366 (PARMS): Do not use macros from bp-asm.h.
9370 (__mpn_add_n): Do not use BP_SYM
9371 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9373 (PARMS): Do not use macros from bp-asm.h.
9376 (__mpn_addmul_1): Do not use BP_SYM
9377 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9379 (PARMS): Do not use macros from bp-asm.h.
9381 (_setjmp): Likewise. Do not use BP_SYM.
9382 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9384 (PARMS): Do not use macros from bp-asm.h.
9386 (setjmp): Likewise. Do not use BP_SYM.
9387 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9389 (PARMS): Do not use macros from bp-asm.h.
9390 (__frexp): Do not use BP_SYM.
9392 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9394 (PARMS): Do not use macros from bp-asm.h.
9395 (__frexpf): Do not use BP_SYM.
9397 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9399 (PARMS): Do not use macros from bp-asm.h.
9400 (__frexpl): Do not use BP_SYM.
9402 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9404 (PARMS): Do not use macros from bp-asm.h.
9405 (__remquo): Do not use BP_SYM.
9407 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9409 (PARMS): Do not use macros from bp-asm.h.
9410 (__remquof): Do not use BP_SYM.
9411 (remquof): Likewise.
9412 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9414 (PARMS): Do not use macros from bp-asm.h.
9415 (__remquol): Do not use BP_SYM.
9416 (remquol): Likewise.
9417 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9419 (PARMS): Do not use macros from bp-asm.h.
9422 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9423 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9425 (PARMS): Do not use macros from bp-asm.h.
9426 (strlen): Do not use BP_SYM.
9427 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9429 (PARMS): Do not use macros from bp-asm.h.
9433 (__mpn_add_n): Do not use BP_SYM.
9434 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9436 (PARMS): Do not use macros from bp-asm.h.
9439 (__mpn_addmul_1): Do not use BP_SYM.
9440 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9443 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9445 (PARMS): Do not use macros from bp-asm.h.
9448 (__mpn_lshift): Do not use BP_SYM.
9449 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9451 (PARMS): Do not use macros from bp-asm.h.
9455 (memcpy): Likewise. Do not use BP_SYM.
9456 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9457 libc_hidden_def and weak_alias.
9458 (mempcpy): Do not use BP_SYM in weak_alias.
9459 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9461 (PARMS): Do not use macros from bp-asm.h.
9464 [!BZERO_P] (CHR): Likewise.
9465 (memset): Likewise. Do not use BP_SYM.
9466 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9468 (PARMS): Do not use macros from bp-asm.h.
9471 (__mpn_mul_1): Do not use BP_SYM.
9472 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9474 (PARMS): Do not use macros from bp-asm.h.
9477 (__mpn_rshift): Do not use BP_SYM.
9478 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9480 (PARMS): Do not use macros from bp-asm.h.
9483 (strchr): Likewise. Do not use BP_SYM.
9484 (index): Do not use BP_SYM in weak_alias.
9485 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9487 (PARMS): Do not use macros from bp-asm.h.
9490 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9491 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9493 (PARMS): Do not use macros from bp-asm.h.
9494 (strlen): Do not use BP_SYM.
9495 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9497 (PARMS): Do not use macros from bp-asm.h.
9501 (__mpn_sub_n): Do not use BP_SYM.
9502 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9504 (PARMS): Do not use macros from bp-asm.h.
9507 (__mpn_submul_1): Do not use BP_SYM.
9508 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9510 (PARMS): Do not use macros from bp-asm.h.
9514 (__mpn_add_n): Do not use BP_SYM.
9515 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9518 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9520 (PARMS): Do not use macros from bp-asm.h.
9523 (memcmp): Do not use BP_SYM.
9524 (bcmp): Do not use BP_SYM in weak_alias.
9525 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9527 (PARMS): Do not use macros from bp-asm.h.
9531 (memcpy): Likewise. Do not use BP_SYM.
9532 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9534 (PARMS): Do not use macros from bp-asm.h.
9538 (memmove): Likewise. Do not use BP_SYM.
9539 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9541 (PARMS): Do not use macros from bp-asm.h.
9545 (__mempcpy): Likewise. Do not use BP_SYM.
9546 (mempcpy): Do not use BP_SYM in weak_alias.
9547 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9549 (PARMS): Do not use macros from bp-asm.h.
9552 [!BZERO_P] (CHR): Likewise.
9553 (memset): Likewise. Do not use BP_SYM.
9554 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9556 (PARMS): Do not use macros from bp-asm.h.
9558 (strcmp): Do not use BP_SYM.
9559 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9561 (PARMS): Do not use macros from bp-asm.h.
9564 [USE_AS_STRTOK_R] (SAVE): Likewise.
9565 (FUNCTION): Likewise. Do not use BP_SYM.
9566 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9568 (strtok_r): Likewise.
9569 (__GI___strtok_r): Likewise.
9570 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9571 (PARMS): Do not use macros from bp-asm.h.
9574 (__mpn_lshift): Do not use BP_SYM.
9575 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9576 (PARMS): Do not use macros from bp-asm.h.
9579 (__memchr): Do not use BP_SYM.
9580 (memchr): Do not use BP_SYM in weak_alias.
9581 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9582 (PARMS): Do not use macros from bp-asm.h.
9585 (memcmp): Do not use BP_SYM.
9586 (bcmp): Do not use BP_SYM in weak_alias.
9587 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9588 (PARMS): Do not use macros from bp-asm.h.
9591 (__mpn_mul_1): Do not use BP_SYM.
9592 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9594 (PARMS): Do not use macros from bp-asm.h.
9597 (__rawmemchr): Do not use BP_SYM.
9598 (rawmemchr): Do not use BP_SYM in weak_alias.
9599 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9600 (PARMS): Do not use macros from bp-asm.h.
9603 (__mpn_rshift): Do not use BP_SYM.
9604 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9605 (PARMS): Do not use macros from bp-asm.h.
9607 (__sigsetjmp): Likewise. Do not use BP_SYM.
9608 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9609 (_start): Do not use BP_SYM.
9610 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9611 (PARMS): Do not use macros from bp-asm.h.
9614 (__stpcpy): Likewise. Do not use BP_SYM.
9615 (stpcpy): Do not use BP_SYM in weak_alias.
9616 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9618 (PARMS): Do not use macros from bp-asm.h.
9622 (__stpncpy): Likewise. Do not use BP_SYM.
9623 (stpncpy): Do not use BP_SYM in weak_alias.
9624 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9625 (PARMS): Do not use macros from bp-asm.h.
9628 (strchr): Likewise. Do not use BP_SYM.
9629 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9631 (PARMS): Do not use macros from bp-asm.h.
9634 (__strchrnul): Likewise. Do not use BP_SYM.
9635 (strchrnul): Do not use BP_SYM in weak_alias.
9636 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9638 (PARMS): Do not use macros from bp-asm.h.
9640 (strcspn): Do not use BP_SYM.
9641 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9643 (PARMS): Do not use macros from bp-asm.h.
9646 (strpbrk): Likewise. Do not use BP_SYM.
9647 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9649 (PARMS): Do not use macros from bp-asm.h.
9652 (strrchr): Likewise. Do not use BP_SYM.
9653 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9654 (PARMS): Do not use macros from bp-asm.h.
9656 (strspn): Do not use BP_SYM.
9657 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9658 (PARMS): Do not use macros from bp-asm.h.
9662 (FUNCTION): Likewise. Do not use BP_SYM.
9663 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9665 (strtok_r): Likewise.
9666 (__GI___strtok_r): Likewise.
9667 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9668 (PARMS): Do not use macros from bp-asm.h.
9672 (__mpn_sub_n): Do not use BP_SYM.
9673 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9675 (PARMS): Do not use macros from bp-asm.h.
9678 (__mpn_submul_1): Do not use BP_SYM.
9679 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9681 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9683 (PARMS): Do not use macros from bp-asm.h.
9688 (__clone): Do not use BP_SYM.
9689 (clone): Do not use BP_SYM in weak_alias.
9690 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9692 (PARMS): Do not use macros from bp-asm.h.
9694 (__mmap64): Do not use BP_SYM.
9695 (mmap64): Do not use BP_SYM in weak_alias.
9696 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9697 <bp-sym.h> and <bp-asm.h>.
9698 (PARMS): Do not use macros from bp-asm.h.
9699 (__posix_fadvise64_l64): Do not use BP_SYM.
9700 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9701 (PARMS): Do not use macros from bp-asm.h.
9703 (semtimedop): Do not use BP_SYM.
9704 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9707 2013-02-21 Allan McRae <allan@archlinux.org>
9709 * manual/message.texi (Charset conversion in gettext):
9710 Move @end statement to beginning of line.
9712 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9719 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9724 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9726 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9727 tail-call to the resolved function if pltexit isn't needed.
9729 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9732 or Y being zero as being unlikely.
9733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9736 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9738 * manual/nss.texi (System Databases and Name Service Switch):
9739 Remove frobnicate @pxref.
9741 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9743 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9744 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9746 2013-02-20 Petr Machata <pmachata@redhat.com>
9748 * elf/elf.h (R_ARM_TARGET1): New macro.
9749 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9750 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9751 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9752 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9753 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9754 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9755 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9756 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9757 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9758 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9759 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9760 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9761 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9762 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9763 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9764 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9765 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9766 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9767 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9768 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9769 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9770 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9771 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9772 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9773 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9774 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9775 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9776 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9777 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9778 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9779 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9780 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9781 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9782 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9783 (R_ARM_THM_GOT_BREL12): Likewise.
9784 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9785 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9786 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9787 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9788 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9789 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9790 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9791 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9792 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9794 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9796 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9797 __attribute_used__ to __attribute__ ((unused)).
9799 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9801 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9803 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9807 2013-02-19 Joseph Myers <joseph@codesourcery.com>
9810 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9812 (ENTER): Remove both macro definitions.
9814 (CHECK_BOUNDS_LOW): Likewise.
9815 (CHECK_BOUNDS_HIGH): Likewise.
9816 (CHECK_BOUNDS_BOTH): Likewise.
9817 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9818 (RETURN_BOUNDED_POINTER): Likewise.
9819 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9820 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9821 (POP_ERRNO_LOCATION_RETURN): Likewise.
9822 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9823 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9824 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9826 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9827 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9828 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9829 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9830 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9831 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9832 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9833 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9834 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9835 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9836 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9837 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9838 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9839 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9841 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9842 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9844 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9845 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9846 * sysdeps/i386/i586/memset.S (memset): Likewise.
9847 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9848 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9849 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9851 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9852 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9853 Change uses of L(2) to L(out).
9854 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9855 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9856 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9857 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9858 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9860 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9861 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9863 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9864 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9865 (RETURN): Do not use macro LEAVE.
9866 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9867 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9868 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9869 * sysdeps/i386/i686/memset.S (memset): Likewise.
9870 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9871 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9872 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9873 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9875 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9876 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9877 L(1_2) and L(1_3) into L(1).
9878 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9879 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9880 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9881 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9882 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9883 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9884 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9885 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9886 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9888 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9889 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9890 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9891 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9892 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9893 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9894 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9895 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9896 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9897 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9898 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9899 * sysdeps/i386/strspn.S (strspn): Likewise.
9900 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9902 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9903 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9904 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9905 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9907 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9908 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9909 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9911 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9913 2013-02-19 Jakub Jelinek <jakub@redhat.com>
9915 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9918 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9920 * math/atest-exp.c (exp_mpn): Remove ROUND.
9921 * math/atest-exp2.c (exp_mpn): Likewise.
9922 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9924 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9925 * stdlib/tst-tls-atexit-lib.c: Likewise.
9926 * stdlib/tst-tls-atexit.c: Likewise.
9928 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9930 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9931 and __attribute_alloc_size__.
9933 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9935 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9936 __attribute_alloc_size__.
9937 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9938 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9940 2013-02-18 Mike Frysinger <vapier@gentoo.org>
9942 * include/programs/xmalloc.h: New file.
9943 * catgets/gencat.c: Include it.
9944 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9945 * elf/pldd.c: Likewise.
9946 * iconv/iconv_charmap.c: Likewise.
9947 * iconv/iconvconfig.c: Likewise.
9948 * iconv/strtab.c: Likewise.
9949 * locale/programs/locale.c: Likewise.
9950 * locale/programs/localedef.h: Likewise.
9951 * locale/programs/simple-hash.c: Likewise.
9952 * nscd/nscd.h: Likewise.
9953 * nss/makedb.c: Likewise.
9954 * sysdeps/generic/ldconfig.h: Likewise.
9956 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9958 * Versions.def: Add GLIBC_2.18.
9959 * include/link.h (struct link_map): New member l_tls_dtor_count.
9960 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9961 (__call_tls_dtors): Likewise.
9962 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9963 __cxa_thread_atexit_impl.
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9972 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9978 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9980 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9981 (tests): Add test case tst-tls-atexit.
9982 (modules-names): Add shared library for tst-tls-atexit.
9983 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
9984 (GLIBC_PRIVATE): Add __call_tls_dtors.
9985 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9987 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9988 * stdlib/tst-tls-atexit.c: New test case.
9989 * stdlib/tst-tls-atexit-lib.c: New test case.
9991 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
9993 * elf/Versions (ld): Add _dl_find_dso_for_object.
9994 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9995 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9996 (dl_open_worker): Use _dl_find_dso_for_object.
9997 * elf/dl-sym.c (do_sym): Likewise.
9998 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10000 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10002 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10003 Syntactic changes only.
10004 (_dl_runtime_profile): Do a tail-call to the resolved function.
10006 2013-02-17 Joseph Myers <joseph@codesourcery.com>
10009 * sysdeps/x86_64/bp-asm.h: Remove file.
10010 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10011 <bp-sym.h> and <bp-asm.h>.
10012 (__clone): Do not use BP_SYM.
10013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10014 <bp-sym.h> and <bp-asm.h>.
10015 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10016 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10018 (_setjmp): Do not use BP_SYM.
10019 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10021 (setjmp): Do not use BP_SYM.
10022 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10024 (mempcpy): Do not use BP_SYM in weak_alias.
10025 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10027 (strchr): Do not use BP_SYM.
10028 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10030 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10031 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10032 (_start): Do not use BP_SYM.
10033 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10035 (strcat): Do not use BP_SYM.
10036 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10038 (STRCMP): Do not use BP_SYM.
10039 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10041 (STRCPY): Do not use BP_SYM.
10042 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10044 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10046 (FUNCTION): Do not use BP_SYM.
10047 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10049 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10051 2013-02-17 Andreas Jaeger <aj@suse.de>
10053 * time/Versions: Sort entries.
10054 * string/Versions: Likewise.
10055 * resolv/Versions: Likewise.
10056 * posix/Versions: Likewise.
10057 * iconv/Versions: Likewise.
10058 * elf/Versions: Likewise.
10059 * wcsmbs/Versions: Likewise.
10061 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10063 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10064 loop termination condition.
10066 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10067 variable to calculate EZ.
10070 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10071 the lower precision input.
10073 2013-02-15 Joseph Myers <joseph@codesourcery.com>
10076 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10077 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10078 (run-via-rtld-prefix): Do not handle %-bp tests.
10079 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10080 (all-object-suffixes): Remove .ob.
10081 (bppfx): Remove variable.
10082 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10083 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10084 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10085 [$(build-bounded) = yes] (libtype.ob): Likewise.
10086 * Makerules (elide-routines.ob): Remove variable.
10087 (do-tests-clean): Do not handle *-bp.out.
10088 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10089 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10090 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10091 (tests): Do not include $(tests-bp.out).
10092 (xtests): Do not include $(xtests-bp.out).
10093 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10094 [$(build-bounded) = yes] ($(addprefix
10095 $(objpfx),$(binaries-bounded))): Remove rule.
10096 ($(objpfx)%-bp.out): Remove rule.
10097 * config.make.in (build-bounded): Remove variable.
10098 * crypt/Makefile [$(build-bounded) = yes]
10099 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10100 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10101 append to variable.
10102 [$(build-bounded) = yes] (install-lib): Likewise.
10103 [$(build-bounded) = yes] (generated): Likewise.
10104 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10106 * intl/Makefile [$(build-bounded) = yes]
10107 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10108 * math/Makefile [$(build-bounded) = yes]
10109 ($(tests:%=$(objpfx)%-bp): Likewise.
10110 * misc/Makefile [$(build-bounded) = yes]
10111 ($(objpfx)tst-tsearch-bp): Likewise.
10112 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10113 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10115 * string/Makefile (o-objects.ob): Remove variable.
10116 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10117 (CFLAGS-.ob): Remove variable.
10118 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10119 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10120 both definitions of variable.
10121 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10122 (ASFLAGS-.ob): Remove variable.
10124 2013-02-14 Joseph Myers <joseph@codesourcery.com>
10127 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10128 Remove __BOUNDED_POINTERS__ from condition.
10129 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10130 * string/bits/string2.h [!__NO_STRING_INLINES &&
10131 !__BOUNDED_POINTERS__]: Likewise.
10132 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10134 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10135 Remove conditional code.
10136 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10137 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10138 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10142 * csu/libc-start.c: Do not include <bp-sym.h>.
10143 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10144 * elf/dl-open.c: Do not include <bp-sym.h>.
10145 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10146 * math/fegetenv.c: Do not include <bp-sym.h>.
10147 (fegetenv): Do not use BP_SYM in versioned symbols.
10148 * nptl/sysdeps/pthread/bits/libc-lockP.h
10149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10152 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10154 (__pthread_mutex_destroy): Likewise.
10155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10156 (__pthread_mutex_lock): Likewise.
10157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10158 (__pthread_mutex_trylock): Likewise.
10159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10160 (__pthread_mutex_unlock): Likewise.
10161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10162 (__pthread_mutexattr_init): Likewise.
10163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10164 (__pthread_mutexattr_destroy): Likewise.
10165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10166 (__pthread_mutexattr_settype): Likewise.
10167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10168 (__pthread_rwlock_init): Likewise.
10169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10170 (__pthread_rwlock_destroy): Likewise.
10171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10172 (__pthread_rwlock_rdlock): Likewise.
10173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10174 (__pthread_rwlock_tryrdlock): Likewise.
10175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10176 (__pthread_rwlock_wrlock): Likewise.
10177 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10178 (__pthread_rwlock_trywrlock): Likewise.
10179 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10180 (__pthread_rwlock_unlock): Likewise.
10181 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10182 (__pthread_key_create): Likewise.
10183 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10184 (__pthread_setspecific): Likewise.
10185 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10186 (__pthread_getspecific): Likewise.
10187 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10189 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10190 (_pthread_cleanup_push_defer): Likewise.
10191 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10192 (_pthread_cleanup_pop_restore): Likewise.
10193 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10194 (pthread_setcancelstate): Likewise.
10195 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10197 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10198 (memchr): Do not use BP_SYM in weak_alias.
10199 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10200 (fegetenv): Do not use BP_SYM in versioned symbols.
10201 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10202 (fesetenv): Do not use BP_SYM in versioned symbols.
10203 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10204 (feupdateenv): Do not use BP_SYM in versioned symbols.
10205 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10206 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10207 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10208 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10209 (open64): Do not use BP_SYM in weak_alias.
10210 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10211 (fegetenv): Do not use BP_SYM in versioned symbols.
10212 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10213 (fesetenv): Do not use BP_SYM in versioned symbols.
10214 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10215 (feupdateenv): Do not use BP_SYM in versioned symbols.
10216 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10217 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10218 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10219 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10220 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10221 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10222 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10224 (__libc_start_main): Do not use BP_SYM.
10226 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10228 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10229 redundant return line.
10231 (denorm): Likewise.
10232 (dbl_mp): Likewise.
10233 (sub_magnitudes): Likewise.
10239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10241 (denorm): Likewise.
10242 (dbl_mp): Likewise.
10243 (sub_magnitudes): Likewise.
10250 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10252 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10253 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10256 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10257 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10258 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10259 of __mul for squares.
10260 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10262 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10264 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10265 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10267 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10270 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10272 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10273 prototype or function definition. Rename ubp_* variables and
10274 parameters. Remove argv definitions conditional on
10275 [__BOUNDED_POINTERS__].
10276 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10277 * elf/dl-runtime.c (_dl_fixup): Likewise.
10278 * include/set-hooks.h (RUN_HOOK): Likewise.
10279 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10281 * string/strcpy.c (strcpy): Do not use __unbounded.
10282 * sysdeps/generic/frame.h (struct layout): Likewise.
10283 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10284 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10285 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10286 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10287 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10288 (__backtrace): Likewise.
10289 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10291 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10292 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10293 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10295 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10296 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10297 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10298 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10299 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10300 Do not use __unbounded.
10301 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10302 Rename __unboundedrlimits parameter to rlimits in prototype.
10303 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10304 Do not use __unbounded.
10305 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10306 not use __ptrvalue.
10307 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10308 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10309 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10310 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10311 __ptrvalue or __unbounded.
10312 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10313 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10315 (__new_msgctl): Do not use __ptrvalue.
10316 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10318 (__libc_msgrcv): Do not use __ptrvalue.
10319 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10320 startup_info): Do not use __unbounded.
10321 (__libc_start_main): Likewise. Rename ubp_* variables and
10322 parameters. Remove argv definitions conditional on
10323 [__BOUNDED_POINTERS__].
10324 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10326 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10328 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10330 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10332 (__new_shmctl): Do not use __ptrvalue.
10333 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10334 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10336 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10337 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10338 (__libc_sigaction): Likewise.
10339 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10340 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10342 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10344 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
10346 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10348 * string/mempcpy.c: Implement by calling memcpy.
10350 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10354 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10357 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10358 values in the mantissa.
10360 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10361 minimize writes to Z.
10362 (sub_magnitudes): Simplify code a bit.
10364 2013-02-12 Roland McGrath <roland@hack.frob.com>
10366 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10367 from the message. The linker prefixes all warnings with that already.
10369 2013-02-12 Andreas Schwab <schwab@suse.de>
10372 * posix/regexec.c (extend_buffers): Add parameter min_len.
10373 (check_matching): Pass minimum needed length.
10374 (clean_state_log_if_needed): Likewise.
10375 (get_subexp): Likewise.
10376 * posix/Makefile (tests): Add bug-regex34.
10377 (bug-regex34-ENV): Define.
10378 * posix/bug-regex34.c: New file.
10381 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10382 elements compare against the byte sequence of it, not its name.
10383 * posix/Makefile (tests): Add bug-regex35.
10384 (bug-regex35-ENV): Define.
10385 * posix/bug-regex35.c: New file.
10387 2013-02-11 Tom de Vries <tom@codesourcery.com>
10389 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10391 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10392 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10393 (CHECK_EOL): Add undef.
10395 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10397 * bits/stdlib-bsearch.h: New file.
10398 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10399 * stdlib/stdlib.h: Likewise.
10401 2013-02-11 Roland McGrath <roland@hack.frob.com>
10403 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10404 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10406 * manual/search.texi (Array Search Function): Add missing const in
10408 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10409 declaration to use rlim_t.
10410 (Basic Scheduling Functions): Remove erroneous const from
10411 sched_getparam prototype. Remove erroneous * from
10412 sched_get_priority_max and sched_get_priority_min prototypes.
10413 (Resource Usage): Fix summary @comment on vtimes to refer to
10414 sys/vtimes.h rather than vtimes.h.
10415 Add missing *s in vtimes prototype.
10416 (Limits on Resources): Fix ulimit prototype to return long int.
10417 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10418 prototypes to use long int rather than double.
10419 (BSD Random): Fix initstate and setstate to use char *, not void *.
10420 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10421 prototype to make second argument 'struct aiocb64 *const[]'.
10422 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10423 (Status of AIO Operations): Remove erroneous const in aio_return and
10424 aio_return64 prototypes.
10425 (Synchronizing I/O): Fix sync prototype to return void.
10426 * manual/startup.texi (Suboptions): Remove an erroneous const in
10427 getsubopt prototype.
10428 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10429 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10430 use size_t rather than int.
10431 (Scanning All Users): Likewise for getpwent_r.
10432 (Setting Groups): Add missing const to setgroups prototype.
10433 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10434 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10435 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10436 'const void *' rather than 'const char *'.
10437 (Host Address Functions): Likewise for inet_ntop.
10438 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10439 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10440 ssize_t for return value.
10441 (Sending Data): Likewise for send, sendto, sendmsg.
10442 (Socket Option Functions): Add a missing const in setsockopt prototype.
10443 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10444 use wchar_t for the argument.
10445 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10446 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10448 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10449 double/float/long double for second argument.
10450 Fix return types of significand, significandf, significandl.
10451 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10452 argument in fchmod prototype.
10453 (File Owner): Use uid_t and gid_t in fchown prototype.
10454 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10455 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10456 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10457 use 'const struct dirent **' as argument types to CMP function pointer
10459 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10460 (File Times): Fix summary magic @comment for struct utimbuf and utime
10461 to refer to utime.h, not time.h.
10462 * manual/string.texi (Argz Functions): Add missing const in
10463 argz_extract and argz_next prototypes.
10464 (Finding Tokens in a String): Likewise for basename.
10465 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10466 (Copying and Concatenation): Fix typo in wmemmove prototype.
10467 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10468 (Signal Stack): Remove erroneous const in sigstack prototype.
10469 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10471 (Simple Calendar Time): Likewise for stime.
10472 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10474 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10475 say sys/sysctl.h instead.
10476 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10477 and vsyslog prototypes.
10479 2013-02-11 Tom de Vries <tom@codesourcery.com>
10481 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10484 2013-02-11 Roland McGrath <roland@hack.frob.com>
10486 * misc/sys/mman.h: Fix typo in mremap comment.
10488 2013-02-08 Roland McGrath <roland@hack.frob.com>
10490 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10491 the '\0' terminator.
10493 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10496 * debug/segfault.c: Don't include <bp-checks.h>.
10497 * sysdeps/generic/bp-checks.h: Remove file.
10498 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10499 (__GETDENTS): Don't use CHECK_N.
10500 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10501 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10502 (__getgroups): Don't use CHECK_N.
10503 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10504 (setgroups): Don't use CHECK_N.
10505 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10506 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10507 (__libc_msgrcv): Don't use CHECK_N.
10508 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10509 (__libc_msgsnd): Don't use CHECK_N.
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10512 (__libc_pread): Don't use CHECK_N.
10513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10514 include <bp-checks.h>.
10515 (__libc_pread64): Don't use CHECK_N.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10517 include <bp-checks.h>.
10518 (__libc_pwrite): Don't use CHECK_N.
10519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10520 include <bp-checks.h>.
10521 (__libc_pwrite64): Don't use CHECK_N.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10524 (__libc_pread): Don't use CHECK_N.
10525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10526 include <bp-checks.h>.
10527 (__libc_pread64): Don't use CHECK_N.
10528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10529 include <bp-checks.h>.
10530 (__libc_pwrite): Don't use CHECK_N.
10531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10532 include <bp-checks.h>.
10533 (__libc_pwrite64): Don't use CHECK_N.
10534 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10535 (do_pread): Don't use CHECK_N.
10536 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10537 (do_pread64): Don't use CHECK_N.
10538 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10539 (do_pwrite): Don't use CHECK_N.
10540 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10541 (do_pwrite64): Don't use CHECK_N.
10542 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10543 (__libc_readv): Don't use CHECK_N.
10544 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10545 (semop): Don't use CHECK_N.
10546 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10548 (semtimedop): Don't use CHECK_N.
10549 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10550 (__libc_pread): Don't use CHECK_N.
10551 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10553 (__libc_pread64): Don't use CHECK_N.
10554 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10556 (__libc_pwrite): Don't use CHECK_N.
10557 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10559 (__libc_pwrite64): Don't use CHECK_N.
10560 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10562 (__libc_msgrcv): Don't use CHECK_N.
10563 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10564 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10565 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10566 (__libc_writev): Don't use CHECK_N.
10568 2013-02-08 Roland McGrath <roland@hack.frob.com>
10570 * string/strcpy.c: Removed unused variable.
10572 * Makeconfig (+sysdep-includes): Define with := rather than =.
10573 Use an existing include/ subdir of each sysdeps dir before it.
10575 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10577 * nscd/connection.c (register_traced_file): Comment function.
10578 [HAVE_INOTIFY] (union __inev): Define.
10579 [HAVE_INOTIFY] (inotify_check_files): New function.
10580 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10581 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10583 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10585 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10587 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10588 loaded if not already and that a failure is permanent.
10590 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10593 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10594 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10596 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10599 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10600 (CHECK_1_NULL_OK): Likewise.
10601 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10602 (__fxstat): Do not use CHECK_1.
10603 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10605 (___fxstat64): Do not use CHECK_1.
10606 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10608 (__fxstatat): Do not use CHECK_1.
10609 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10611 (__fxstatat64): Do not use CHECK_1.
10612 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10614 (__fxstat): Do not use CHECK_1.
10615 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10617 (__fxstatat): Do not use CHECK_1.
10618 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10620 (__getresgid): Do not use CHECK_1.
10621 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10623 (__getresuid): Do not use CHECK_1.
10624 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10626 (__lxstat): Do not use CHECK_1.
10627 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10629 (__old_msgctl): Do not use CHECK_1.
10630 (__new_msgctl): Likewise.
10631 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10633 (__new_setrlimit): Do not use CHECK_1.
10634 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10636 (__old_shmctl): Do not use CHECK_1.
10637 (__new_shmctl): Likewise.
10638 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10640 (__xstat): Do not use CHECK_1.
10641 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10642 (__lxstat): Do not use CHECK_1.
10643 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10645 (___lxstat64): Do not use CHECK_1.
10646 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10647 (__old_msgctl): Do not use CHECK_1.
10648 (__new_msgctl): Likewise.
10649 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10651 (__gettimeofday): Do not use CHECK_1.
10652 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10653 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10654 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10656 (__gettimeofday): Do not use CHECK_1.
10657 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10658 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10659 (__new_shmctl): Do not use CHECK_1.
10660 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10662 (do_sigtimedwait): Do not use CHECK_1.
10663 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10665 (do_sigwaitinfo): Do not use CHECK_1.
10666 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10668 (msgctl): Do not use CHECK_1.
10669 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10671 (shmctl): Do not use CHECK_1.
10672 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10673 (ustat): Do not use CHECK_1.
10674 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10676 (__fxstat): Do not use CHECK_1.
10677 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10679 (__fxstatat): Do not use CHECK_1.
10680 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10682 (__lxstat): Do not use CHECK_1.
10683 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10685 (__xstat): Do not use CHECK_1.
10686 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10687 (__xstat): Do not use CHECK_1.
10688 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10689 (___xstat64): Do not use CHECK_1.
10692 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10694 (CHECK_BOUNDS_HIGH): Likewise.
10695 * string/strcpy.c: Do not include <bp-checks.h>.
10696 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10698 2013-02-07 Roland McGrath <roland@hack.frob.com>
10700 * nscd/nscd-client.h (__nscd_drop_map_ref):
10701 Add __attribute__ ((unused)).
10702 * nis/nss-nisplus.h (niserr2nss): Likewise.
10704 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10705 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10707 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10708 Remove inline keyword.
10709 * include/rounding-mode.h (round_away): Likewise.
10710 * libio/wfileops.c (adjust_wide_data): Likewise.
10711 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10712 (__m128i_strloadu_tolower): Likewise.
10713 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10714 (__m128i_strloadu_tolower): Likewise.
10715 * time/mktime.c (ydhms_diff): Likewise.
10716 * locale/elem-hash.h (elem_hash): Likewise.
10717 * locale/setlocale.c (setdata): Likewise.
10718 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10719 (re_string_wchar_at): Likewise.
10720 (bitset_not, bitset_merge, bitset_mask): Likewise.
10721 [!(__GNUC__ > 3)] (inline): Remove macro.
10722 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10723 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10724 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10725 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10726 * string/memcmp.c (memcmp_bytes): Likewise.
10727 * locale/programs/locarchive.c (compute_hashval): Likewise.
10728 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10729 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10730 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10731 * nss/getent.c (print_rpc, print_protocols): Likewise.
10732 (print_passwd, print_group, print_aliases): Likewise.
10733 * nis/nss-nisplus.h (niserr2nss): Likewise.
10734 * nscd/connections.c (restart_p): Likewise.
10735 Change return type to bool.
10737 2013-02-05 Roland McGrath <roland@hack.frob.com>
10739 * Makeconfig (all-Depend-files): Add existing
10740 $(sorted-subdirs:=/Depend) files.
10741 (all-subdirs): Remove nss.
10742 * sysdeps/unix/inet/Subdirs: Add it here instead.
10743 * hesiod/Depend: New file.
10745 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10746 instead of calling alloca.
10748 * io/lseek.c (__lseek): Rename to __libc_lseek.
10749 Define __lseek as an alias.
10751 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10753 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10755 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10756 else clause and remove check for non-standard endianness.
10758 2013-02-04 David S. Miller <davem@davemloft.net>
10760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10762 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10765 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10766 (__ubp_memchr): Remove prototype.
10767 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10768 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10769 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10770 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10771 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10773 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10774 (__ubp_memchr): Likewise.
10775 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10776 (__ubp_memchr): Likewise.
10777 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10778 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10779 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10780 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10782 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10783 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10784 (__getcwd): Do not use CHECK_STRING.
10785 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10787 (__real_chown): Do not use CHECK_STRING.
10788 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10790 (fchownat): Do not use CHECK_STRING.
10791 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10793 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10795 (__lchown): Do not use CHECK_STRING.
10796 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10797 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10798 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10799 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10801 include <bp-checks.h>.
10802 (truncate64): Do not use CHECK_STRING.
10803 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10805 (__real_chown): Do not use CHECK_STRING.
10806 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10808 (__lchown): Do not use CHECK_STRING.
10809 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10811 (__chown): Do not use CHECK_STRING.
10812 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10814 (truncate64): Do not use CHECK_STRING.
10815 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10817 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10818 (__xmknod): Do not use CHECK_STRING.
10819 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10821 (__xmknodat): Do not use CHECK_STRING.
10822 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10823 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10825 2013-02-04 Andreas Schwab <schwab@suse.de>
10828 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10829 * include/netdb.h: Likewise for h_errno.
10830 * elf/tst-stackguard1.c: Include <tls.h>.
10832 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10834 * elf/link.h (struct link_map): Extend the l_addr comment.
10835 * include/link.h (struct link_map): Likewise.
10837 2013-02-01 Joseph Myers <joseph@codesourcery.com>
10840 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10841 (BOUNDED_1): Remove macro.
10842 * debug/backtrace.c: Don't include <bp-checks.h>.
10843 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10844 (__backtrace): Likewise.
10845 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10847 (__backtrace): Don't use BOUNDED_1.
10848 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10850 (__backtrace): Don't use BOUNDED_1.
10851 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10852 (__backtrace): Don't use BOUNDED_1.
10853 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10854 (shmat): Don't use BOUNDED_N.
10856 2013-01-31 Joseph Myers <joseph@codesourcery.com>
10859 * sysdeps/generic/bp-start.h: Remove file.
10860 * csu/libc-start.c: Don't include <bp-start.h>.
10861 (LIBC_START_MAIN): Set up __environ directly instead of using
10862 INIT_ARGV_and_ENVIRON.
10863 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10867 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10869 (CHECK_FCNTL): Likewise.
10870 (CHECK_N_PAGES): Likewise.
10873 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10875 (CHECK_SIGSET_NULL_OK): Likewise.
10876 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10878 (sigpending): Don't use CHECK_SIGSET.
10879 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10881 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10882 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10884 (do_sigsuspend): Don't use CHECK_SIGSET.
10885 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10887 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10888 (do_sigwait): Don't use CHECK_SIGSET.
10889 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10892 include <bp-checks.h>.
10893 (sigpending): Don't use CHECK_SIGSET.
10894 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10895 include <bp-checks.h>.
10896 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10897 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10899 (sigpending): Don't use CHECK_SIGSET.
10900 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10902 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10905 * sysdeps/generic/bp-semctl.h: Remove file.
10906 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10907 <bp-checks.h> and <bp-semctl.h>.
10908 (__old_semctl): Don't use CHECK_SEMCTL.
10909 (__new_semctl): Likewise.
10910 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10912 (__old_semctl): Don't use CHECK_SEMCTL.
10913 (__new_semctl): Likewise.
10914 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10915 <bp-checks.h> and <bp-semctl.h>.
10916 (__old_semctl): Don't use CHECK_SEMCTL.
10917 (__new_semctl): Likewise.
10918 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10919 <bp-checks.h> and <bp-semctl.h>.
10920 (semctl): Don't use CHECK_SEMCTL.
10923 * Makerules (elide-bp-thunks): Remove variable.
10924 (elide-routines.oS): Don't use $(elide-bp-thunks).
10925 (elide-routines.os): Likewise.
10926 (elide-routines.o): Likewise.
10927 (elide-routines.op): Likewise.
10928 (elide-routines.og): Likewise.
10929 (objects): Don't use $(bp-thunks).
10930 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10932 (common-generated): Do not add s-proto-bp.d.
10933 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10936 Do not generate makefile rules for bounded-pointer thunks.
10937 * sysdeps/generic/bp-thunks.h: Remove file.
10938 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10939 * sysdeps/unix/s-proto-bp.S: Likewise.
10942 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10943 parts of result separately when argument is not close to line from
10944 -i to i and one part of argument is small.
10945 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10946 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10947 * math/libm-test.inc (cacos_test): Add more tests.
10948 (casin_test): Likewise.
10949 (casinh_test): Likewise.
10950 * sysdeps/i386/fpu/libm-test-ulps: Update.
10951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10953 2013-01-31 David S. Miller <davem@davemloft.net>
10955 * po/de.po: Update from translation team.
10957 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10959 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10961 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10963 * configure.in (_AC_PROG_CC_C89): New definition.
10964 * configure: Regenerate.
10966 * configure.in (AC_PROG_CPP): New definition.
10967 * configure: Regenerate.
10969 2013-01-23 Joseph Myers <joseph@codesourcery.com>
10971 * debug/tst-backtrace.h: New file.
10972 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10973 (ret): Remove variable.
10975 (FAIL): Remove macro.
10976 (NO_INLINE): Likewise.
10977 (fn1): Use match function instead of strstr.
10978 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10979 (ret): Remove variable.
10981 (FAIL): Remove macro.
10982 (NO_INLINE): Likewise.
10983 (fn): Use match function instead of strstr.
10984 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10985 (ret): Remove variable.
10987 (FAIL): Remove macro.
10988 (NO_INLINE): Likewise.
10989 (handle_signal): Use match function instead of strstr.
10990 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10991 (ret): Remove variable.
10993 (FAIL): Remove macro.
10994 (NO_INLINE): Likewise.
10995 (handle_signal): Use match function instead of strstr.
10997 2013-01-23 Roland McGrath <roland@hack.frob.com>
10999 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11001 2013-01-23 David S. Miller <davem@davemloft.net>
11003 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11004 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11005 argument of CAS if possible.
11006 * sysdeps/sparc/sparc64/bits/atomic.h
11007 (__arch_compare_and_exchange_val_32_acq): Likewise.
11008 (__arch_compare_and_exchange_val_64_acq): Likewise.
11010 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11012 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11013 * sysdeps/posix/ulimit.c: ... this.
11014 Include <limits.h>.
11015 * sysdeps/unix/bsd/ulimit.c: Remove file.
11017 2013-01-23 Adam Conrad <adconrad@0c3.net>
11019 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11020 (LDFLAGS-tst-array5): Likewise.
11022 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11025 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11026 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11027 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11028 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11030 2013-01-21 David S. Miller <davem@davemloft.net>
11032 * sysdeps/sparc/backtrace.c: New file.
11033 * sysdeps/sparc/sparc32/backtrace.h: New file.
11034 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11035 * sysdeps/sparc/sparc64/backtrace.h: New file.
11036 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11037 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11040 2013-01-21 Andreas Schwab <schwab@suse.de>
11043 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11046 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11048 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11050 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11052 2013-01-18 Joseph Myers <joseph@codesourcery.com>
11053 Mark Mitchell <mark@codesourcery.com>
11054 Tom de Vries <tom@codesourcery.com>
11055 Paul Pluzhnikov <ppluzhnikov@google.com>
11057 * debug/tst-backtrace2.c: New file.
11058 * debug/tst-backtrace3.c: Likewise.
11059 * debug/tst-backtrace4.c: Likewise.
11060 * debug/tst-backtrace5.c: Likewise.
11061 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11062 (CFLAGS-tst-backtrace3.c): Likewise.
11063 (CFLAGS-tst-backtrace4.c): Likewise.
11064 (CFLAGS-tst-backtrace5.c): Likewise.
11065 (LDFLAGS-tst-backtrace2): Likewise.
11066 (LDFLAGS-tst-backtrace3): Likewise.
11067 (LDFLAGS-tst-backtrace4): Likewise.
11068 (LDFLAGS-tst-backtrace5): Likewise.
11069 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11070 tst-backtrace4 and tst-backtrace5.
11072 2013-01-18 Anton Blanchard <anton@samba.org>
11073 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11075 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11076 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11077 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11078 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11080 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11081 "+r" and remove output regs list as redundant. Add explicit inline
11082 asm to specify register of return val to work around compiler codegen
11083 bug. Remove (int) cast on return value. Add return type parameter to
11084 use in macro so that this macro does not truncate return value for
11086 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11087 pass to INTERNAL_VSYSCALL_NCS.
11088 (INLINE_VSYSCALL): Add 'long int' as return type to
11089 INTERNAL_VSYSCALL_NCS macro invocation.
11090 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11091 INTERNAL_VSYSCALL_NCS macro invocation.
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11094 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11097 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11098 Fix application of SIMD FP exception mask.
11100 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11101 mp_no from a power of two.
11102 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11103 __mpexp_twomm1. Use __pow_mp.
11105 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11108 2013-01-17 David S. Miller <davem@davemloft.net>
11110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11112 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11115 * include/complex.h: Condition contents on [!_COMPLEX_H].
11116 (__kernel_casinhf): New prototype.
11117 (__kernel_casinh): Likewise.
11118 (__kernel_casinhl): Likewise.
11119 * math/Makefile (libm_calls): Add k_casinh.
11120 * math/k_casinh.c: New file.
11121 * math/k_casinhf.c: Likewise.
11122 * math/k_casinhl.c: Likewise.
11123 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11124 finite nonzero arguments.
11125 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11126 finite nonzero arguments.
11127 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11128 finite nonzero arguments.
11129 * math/s_casinh.c: Do not include <float.h>.
11130 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11131 * math/s_casinhf.c: Do not include <float.h>.
11132 (__casinhf): Move code for finite nonzero arguments to
11134 * math/s_casinhl.c: Do not include <float.h>.
11135 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11137 (__casinhl): Move code for finite nonzero arguments to
11139 * math/libm-test.inc (cacos_test): Add more tests.
11140 * sysdeps/i386/fpu/libm-test-ulps: Update.
11141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11143 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11145 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11146 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11147 [!HAVE_MREMAP]: Remove [defined linux] case.
11148 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11150 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11152 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11154 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
11156 * elf/elf.h (R_386_SIZE32): New relocation.
11157 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11159 (elf_machine_rela): Likewise.
11160 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11161 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11163 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11165 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11166 (FP_FAST_FMA): Do not define.
11167 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11168 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11169 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11170 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11171 !_SOFT_FLOAT]: Likewise.
11172 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11173 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11175 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11176 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11177 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11178 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11179 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11180 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11183 2013-01-16 Andreas Schwab <schwab@suse.de>
11186 * include/stdlib.h (__mktemp): Add declaration.
11187 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11188 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11190 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11192 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11194 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11195 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11196 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11198 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11199 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11201 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11203 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11204 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11205 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11207 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11208 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11210 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11212 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11214 2013-01-15 David S. Miller <davem@davemloft.net>
11216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11217 trunc{,f} to libm-sysdep_routes.
11218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11228 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11229 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11230 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11231 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11232 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11233 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11236 nearbyint{,f} to libm-sysdep_routes.
11237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11248 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11250 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11251 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11253 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11254 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11255 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11257 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11258 libc_feholdexcept and libc_fesetenv.
11260 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11262 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11264 2013-01-14 David S. Miller <davem@davemloft.net>
11266 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11267 (SPARC_ASM_VIS2_IFUNC): Likewise.
11268 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11270 use of 'siam' instruction.
11271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11290 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11292 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11299 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11301 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11302 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11304 routines to libm-sysdep_routines.
11305 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11308 fdim/fdimf to libm-sysdep_routines.
11309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11317 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11318 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11319 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11320 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11322 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11324 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11325 to optimize copies.
11327 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11332 local variable MPTWO.
11333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11336 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11338 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11341 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11343 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11345 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11347 * manual/pattern.texi (glob_t): Document gl_flags.
11348 (glob64_t): Likewise.
11350 2013-01-11 David S. Miller <davem@davemloft.net>
11352 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11353 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11354 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
11355 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11356 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11357 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11358 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11359 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11360 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11361 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11362 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11363 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11364 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11366 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11367 sparc V9 rather than using V8 code.
11368 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11369 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11371 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11373 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11376 2013-01-11 Roland McGrath <roland@hack.frob.com>
11378 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11379 not in the main loop.
11380 * configure: Regenerated.
11382 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11384 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11385 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11387 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11388 [!__GLIBC_HAVE_LONG_LONG] case.
11389 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11390 condition to just #else.
11391 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11392 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11393 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11394 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11396 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11397 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11398 #elif condition to just #else.
11399 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11400 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11401 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11402 #elif condition to just #else.
11404 2013-01-11 Steve Ellcey <sellcey@mips.com>
11406 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11407 (EF_MIPS_ARCH_64): Fix value.
11408 (EF_MIPS_ARCH_32R2): New.
11409 (EF_MIPS_ARCH_64R2): New.
11411 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11413 * Makeconfig (+link-pie-before-libc): New.
11414 (+link-pie-after-libc): Likewise.
11415 (+link-pie-tests): Likewise.
11416 (+link-pie): Rewritten.
11417 (link-before-libc): Remove $(config-LDFLAGS).
11418 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11419 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11420 (config-LDFLAGS): Renamed to ...
11421 (rtld-LDFLAGS): This.
11422 (rtld-tests-LDFLAGS): New macro.
11423 (link-libc-rpath-link): Likewise.
11424 (link-libc-tests-rpath-link): Likewise.
11425 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11426 (link-libc): Prepand $(link-libc-rpath-link).
11427 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11428 (test-program-prefix): New macro.
11429 (test-via-rtld-prefix): Likewise.
11430 (test-program-cmd): Likewise.
11431 (host-test-program-cmd): Likewise.
11432 * Makefile ($(common-objpfx)testrun.sh): Replace
11433 $(run-program-prefix) with $(test-program-prefix).
11434 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11436 ($(common-objpfx)shlib.lds): Likewise.
11437 (build-module-helper): Likewise.
11438 ($(common-objpfx)format.lds): Likewise.
11439 * Rules (binaries-pie-tests): New.
11440 (binaries-pie-notests): Likewise.
11441 (binaries-pie): Rewritten.
11442 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11443 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11444 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11445 (make-test-out): Replace $(host-built-program-cmd) with
11446 $(host-test-program-cmd).
11447 * config.make.in (build-hardcoded-path-in-tests): New variable.
11448 * configure.in (--enable-hardcoded-path-in-tests): New configure
11450 (hardcoded_path_in_tests): New AC_SUBST.
11451 * configure: Regenerated.
11452 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11453 $(built-program-cmd) with $(test-program-cmd).
11454 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11455 (test_program_cmd): This.
11456 * elf/Makefile ($(objpfx)order.out): Run test with
11457 $(test-program-prefix).
11458 ($(objpfx)order2.out): Likewise.
11459 ($(objpfx)tst-initorder.out): Likewise.
11460 ($(objpfx)tst-initorder2.out): Likewise.
11461 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11462 $(test-program-cmd).
11463 ($(objpfx)tst-array1-static.out): Likewise.
11464 ($(objpfx)tst-array2.out): Likewise.
11465 ($(objpfx)tst-array3.out): Likewise.
11466 ($(objpfx)tst-array4.out): Likewise.
11467 ($(objpfx)tst-array5.out): Likewise.
11468 ($(objpfx)tst-array5-static.out): Likewise.
11469 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11470 $(test-program-cmd).
11471 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11472 $(run-program-prefix) with $(test-program-prefix).
11473 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11474 (test_program_prefix): This.
11475 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11476 $(run-program-prefix) with $(test-program-prefix).
11477 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11478 (test_program_prefix): This.
11479 * iconvdata/tst-tables.sh: Likewise.
11480 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11481 $(run-program-prefix) with $(test-program-prefix).
11482 ($(objpfx)tst-translit.out): Likewise.
11483 ($(objpfx)tst-gettext2.out): Likewise.
11484 ($(objpfx)tst-gettext4.out): Likewise.
11485 ($(objpfx)tst-gettext6.out): Likewise.
11486 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11487 (test_program_prefix): This.
11488 * intl/tst-gettext2.sh: Likewise.
11489 * intl/tst-gettext4.sh Likewise.
11490 * intl/tst-gettext6.sh: Likewise.
11491 * intl/tst-translit.sh: Likewise.
11492 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11493 with $(test-program-cmd).
11494 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11495 $(run-program-prefix) with $(test-program-prefix).
11496 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11497 (test_program_prefix): This.
11498 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11499 $(run-program-prefix) with $(test-program-prefix).
11500 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11501 (test_program_prefix): This.
11502 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11503 * posix/Makefile ($(objpfx)globtest.out): Replace
11504 $(run-via-rtld-prefix) and $(test-wrapper) with
11505 $(test-program-prefix) and $(test-via-rtld-prefix).
11506 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11507 $(test-program-prefix).
11508 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11509 $(host-test-program-cmd).
11510 (tst-spawn-ARGS): Likewise.
11511 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11512 $(test-program-prefix).
11513 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11514 (test_via_rtld_prefix): This.
11515 (test_wrapper): Renamed to ...
11516 (test_program_prefix): This.
11517 (run_program_prefix): Replaced by test_program_prefix.
11518 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11519 (test_program_prefix): This.
11520 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11521 with $(host-test-program-cmd).
11522 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11523 $(run-program-prefix) with $(test-program-prefix).
11524 ($(objpfx)tst-printf.out): Likewise.
11525 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11526 $(test-program-cmd).
11527 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11528 (test_program_prefix): This.
11529 * stdio-common/tst-unbputc.sh: Likewise.
11530 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11531 $(run-program-prefix) with $(test-program-prefix).
11532 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11533 (test_program_prefix): This.
11534 * string/Makefile ($(objpfx)tst-svc.out): Replace
11535 $(built-program-cmd) with $(test-program-cmd).
11537 2013-01-11 Andreas Jaeger <aj@suse.de>
11540 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11541 value. Sync with Linux 3.7.
11543 2013-01-10 David S. Miller <davem@davemloft.net>
11545 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11546 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11547 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11549 2013-01-10 Roland McGrath <roland@hack.frob.com>
11551 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11553 * configure: Regenerated.
11555 2013-01-10 David S. Miller <davem@davemloft.net>
11557 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11558 sparc V9 rather than using V8 code.
11559 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11560 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11562 2013-01-10 Roland McGrath <roland@hack.frob.com>
11564 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11565 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11566 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11567 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11568 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11569 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11570 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11571 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11572 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11573 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11574 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11575 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11576 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11577 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11578 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11579 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11580 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11581 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11582 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11583 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11584 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11585 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11586 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11587 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11588 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11589 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11590 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11592 2013-01-10 David S. Miller <davem@davemloft.net>
11594 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11596 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11598 * posix/Makefile (tests-static): New variable.
11599 (tests): Add $(tests-static).
11600 (tst-exec-static-ARGS): New variable.
11601 (tst-spawn-static-ARGS): Likewise.
11602 * posix/tst-exec-static.c: New file.
11603 * posix/tst-spawn-static.c: Likewise.
11604 * posix/tst-exec.c: Support run directly.
11605 * posix/tst-spawn.c: Likewise.
11607 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11609 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11611 * math/bits/mathcalls.h (llrint): Likewise.
11612 (llround): Likewise.
11613 * stdlib/stdlib.h (struct drand48_data): Likewise.
11614 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11615 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11616 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11618 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11620 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11621 (elf_greg_t): Likewise.
11622 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11623 (__jmp_buf): Likewise.
11624 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11626 (llrint): Likewise, for all definitions.
11627 (llrintl): Likewise.
11629 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11630 Remove [__GNUC__] condition.
11631 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11632 condition to just [__USE_ISOC99].
11633 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11635 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11638 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11639 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11641 (_POSIX_V6_ILP32_OFF32): Likewise.
11642 (_XBS5_ILP32_OFF32): Likewise.
11643 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11644 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11646 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11648 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11651 doubles __mpexp_twomm1. Adjust usage.
11652 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11655 2013-01-10 Andreas Schwab <schwab@suse.de>
11658 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11659 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11661 2013-01-09 David S. Miller <davem@davemloft.net>
11664 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11665 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11666 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11667 TCP_FASTOPEN): Define.
11668 (tcp_repair_opt): New structure.
11669 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11671 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11672 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11673 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11674 (tcp_cookie_transactions): New structure.
11676 2013-01-09 Anton Blanchard <anton@samba.org>
11678 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11679 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11680 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11681 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11683 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11685 * include/features.h (__USE_ANSI): Remove.
11687 2013-01-09 Roland McGrath <roland@hack.frob.com>
11689 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11691 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11693 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11695 * sysdeps/s390/fpu/libm-test-ulps: Update.
11697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11699 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11703 (denorm): Likewise.
11704 (__mp_dbl): Likewise.
11705 (__dbl_mp): Likewise.
11706 (add_magnitudes): Likewise.
11707 (sub_magnitudes): Likewise.
11713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11717 (denorm): Likewise.
11718 (__mp_dbl): Likewise.
11719 (__dbl_mp): Likewise.
11720 (add_magnitudes): Likewise.
11721 (sub_magnitudes): Likewise.
11727 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11731 (denorm): Likewise.
11732 (__mp_dbl): Likewise.
11733 (__dbl_mp): Likewise.
11734 (add_magnitudes): Likewise.
11735 (sub_magnitudes): Likewise.
11742 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11744 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11745 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11746 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11747 2 && __USE_EXTERN_INLINES]: Likewise.
11749 2013-01-08 Andreas Jaeger <aj@suse.de>
11752 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11754 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11755 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11757 2013-01-07 Anton Blanchard <anton@samba.org>
11759 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11760 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11761 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11762 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11763 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11764 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11765 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11766 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11768 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11769 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11771 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11773 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11774 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11775 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11776 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11777 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11778 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11779 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11780 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11781 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11782 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11783 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11784 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11785 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11786 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11787 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11788 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11789 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11791 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11792 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11793 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11794 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11795 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11796 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11797 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11798 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11799 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11800 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11801 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11803 2013-01-07 Joseph Myers <joseph@codesourcery.com>
11805 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11806 (__MALLOC_PMT): Likewise.
11807 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11808 [__GNUC__], only on [_LIBC].
11809 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11810 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11811 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11812 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11813 forward declaration.
11814 (realloc_hook_ini): Likewise.
11815 (memalign_hook_ini): Likewise.
11816 (__libc_memalign): Do not use __MALLOC_PMT in variable
11818 (__libc_valloc): Likewise.
11819 (__libc_pvalloc): Likewise.
11820 (__libc_calloc): Likewise.
11821 (__posix_memalign): Likewise.
11824 * math/s_casinh.c: Include <float.h>.
11825 (__casinh): Do not do computation with squaring and square root
11826 for large arguments.
11827 * math/s_casinhf.c: Include <float.h>.
11828 (__casinhf): Do not do computation with squaring and square root
11829 for large arguments.
11830 * math/s_casinhl.c: Include <float.h>.
11831 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11832 (__casinhl): Do not do computation with squaring and square root
11833 for large arguments.
11834 * math/libm-test.inc (casin_test): Add more tests.
11835 (casinh_test): Likewise.
11836 * sysdeps/i386/fpu/libm-test-ulps: Update.
11837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11839 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11841 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11842 (__x86_64_raw_data_cache_size): Likewise.
11843 (__x86_64_data_cache_size_half): Likewise.
11844 (__x86_64_raw_data_cache_size_half): Likewise.
11845 (__x86_64_shared_cache_size): Likewise.
11846 (__x86_64_raw_shared_cache_size): Likewise.
11847 (__x86_64_shared_cache_size_half): Likewise.
11848 (__x86_64_raw_shared_cache_size_half): Likewise.
11849 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11851 (__x86_data_cache_size): This.
11852 (__x86_64_raw_data_cache_size): Renamed to ...
11853 (__x86_raw_data_cache_size): This.
11854 (__x86_64_data_cache_size_half): Renamed to ...
11855 (__x86_data_cache_size_half): This.
11856 (__x86_64_raw_data_cache_size_half): Renamed to ...
11857 (__x86_raw_data_cache_size_half): This.
11858 (__x86_64_shared_cache_size): Renamed to ...
11859 (__x86_shared_cache_size): This.
11860 (__x86_64_raw_shared_cache_size): Renamed to ...
11861 (__x86_raw_shared_cache_size): This.
11862 (__x86_64_shared_cache_size_half): Renamed to ...
11863 (__x86_shared_cache_size_half): This.
11864 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11865 (__x86_raw_shared_cache_size_half): This.
11866 * sysdeps/x86_64/memcpy.S: Updated.
11867 * sysdeps/x86_64/memset.S: Likewise.
11868 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11869 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11870 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11872 2013-01-04 David S. Miller <davem@davemloft.net>
11874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11876 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11878 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11879 1 to avoid redefinition warning.
11880 (__USE_GNU): Don't define.
11881 (init_signaling_nan): Protoize.
11883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11885 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11887 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11889 (__cpymn): Likewise.
11890 (norm): Remove commented code.
11891 (denorm): Likewise.
11892 (__mp_dbl): Likewise.
11894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11895 (__cpymn): Likewise.
11896 (norm): Remove commented code.
11897 (denorm): Likewise.
11898 (__mp_dbl): Likewise.
11901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11902 mp_no value for 1.0 and 2.0.
11903 (norm): Use RADIXI instead of radixi.d.
11904 (denorm): Likewise.
11905 (__mul): Use 0.0 instead of zero.d.
11906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11907 mp_no value for 1.0 and 2.0.
11908 (norm): Use RADIXI instead of radixi.d.
11909 (denorm): Likewise.
11910 (__mul): Use 0.0 instead of zero.d.
11912 2013-01-04 Joseph Myers <joseph@codesourcery.com>
11915 * math/s_casinh.c (__casinh): Reduce finite argument to first
11916 quadrant then set signs of results at the end.
11917 * math/s_casinhf.c (__casinhf): Likewise.
11918 * math/s_casinhl.c (__casinhl): Likewise.
11919 * math/libm-test.inc (casin_test): Add more tests.
11920 (casinh_test): Likewise.
11921 * sysdeps/i386/fpu/libm-test-ulps: Update.
11922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11924 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11926 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11928 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11930 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11932 (denorm): Likewise.
11933 (__mp_dbl): Likewise.
11936 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11937 and adjust the header comment.
11939 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11940 variable name from declaration.
11942 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11945 Initialize COMMON_CPUID_INDEX_7 element.
11946 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11947 (CPUID_RTM): Likewise.
11948 (HAS_RTM): Likewise.
11949 (COMMON_CPUID_INDEX_7): New enum.
11951 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11954 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11955 size is zero, record memory as freed.
11957 2013-01-03 Andreas Jaeger <aj@suse.de>
11959 * po/ia.po: Add new Interlingua translation.
11961 2012-01-03 Allan McRae <allan@archlinux.org>
11963 * locale/programs/localedef.c: Fix description of '--posix' flag.
11965 2013-01-02 Joseph Myers <joseph@codesourcery.com>
11967 * NEWS: Update dates in second copyright notice.
11968 * README: Update copyright dates in example.
11969 * manual/libc.texinfo: Update copyright dates.
11970 * scripts/test-installation.pl: Update copyright date in --version
11973 * hurd/ctty-input.c: Fix copyright notice formatting.
11974 * hurd/ctty-output.c: Likewise.
11975 * hurd/dtable.c: Likewise.
11976 * hurd/hurd-raise.c: Likewise.
11977 * hurd/hurdprio.c: Likewise.
11978 * hurd/msgportdemux.c: Likewise.
11979 * misc/sys/file.h: Likewise.
11980 * misc/sys/ioctl.h: Likewise.
11981 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11982 * sysdeps/mach/hurd/chdir.c: Likewise.
11983 * sysdeps/mach/hurd/fchdir.c: Likewise.
11984 * sysdeps/mach/hurd/rename.c: Likewise.
11985 * sysdeps/mach/hurd/rmdir.c: Likewise.
11986 * sysdeps/mach/hurd/seekdir.c: Likewise.
11987 * sysdeps/mach/hurd/setsid.c: Likewise.
11988 * sysdeps/posix/wait3.c: Likewise.
11990 * All files with FSF copyright notices: Update copyright dates
11991 using scripts/update-copyrights.
11992 * intl/plural.c: Regenerated.
11993 * locale/programs/charmap-kw.h: Likewise.
11994 * locale/programs/locfile-kw.h: Likewise.
11996 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11998 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12001 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12002 calculation loop and add branch prediction.
12004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12005 check access beyond bounds of m1np.
12007 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12009 (__inv): Remove local variable MPTWO to use the global
12011 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12014 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12015 MP3HALFS static const.
12017 2013-01-01 David S. Miller <davem@davemloft.net>
12019 * po/ca.po: Update from translation team.
12021 2013-01-01 Joseph Myers <joseph@codesourcery.com>
12023 * scripts/update-copyrights: New file.
12024 * Makeconfig: Reformat copyright notice.
12025 * ctype/ctype.h: Likewise.
12026 * debug/swprintf_chk.c: Likewise.
12027 * elf/dl-cache.c: Likewise.
12028 * elf/dl-debug.c: Likewise.
12029 * elf/dl-object.c: Likewise.
12030 * grp/initgroups.c: Likewise.
12031 * hurd/Makefile: Likewise.
12032 * hurd/hurd/signal.h: Likewise.
12033 * hurd/hurdfault.c: Likewise.
12034 * hurd/hurdioctl.c: Likewise.
12035 * hurd/hurdlookup.c: Likewise.
12036 * hurd/intr-msg.c: Likewise.
12037 * iconv/gconv_open.c: Likewise.
12038 * libio/swprintf.c: Likewise.
12039 * locale/lc-ctype.c: Likewise.
12040 * locale/nl_langinfo.c: Likewise.
12041 * mach/Machrules: Likewise.
12042 * mach/Makefile: Likewise.
12043 * malloc/obstack.h: Likewise.
12044 * manual/Makefile: Likewise.
12045 * manual/tsort.awk: Likewise.
12046 * misc/bits/stab.def: Likewise.
12047 * nis/nis_print_group_entry.c: Likewise.
12048 * nis/nis_table.c: Likewise.
12049 * nis/nss_compat/compat-pwd.c: Likewise.
12050 * nis/nss_compat/compat-spwd.c: Likewise.
12051 * po/Makefile: Likewise.
12052 * posix/fnmatch.c: Likewise.
12053 * posix/regex.h: Likewise.
12054 * resolv/Makefile: Likewise.
12055 * resolv/nss_dns/dns-network.c: Likewise.
12056 * resolv/res_hconf.c: Likewise.
12057 * scripts/gen-sorted.awk: Likewise.
12058 * soft-fp/soft-fp.h: Likewise.
12059 * stdio-common/printf.h: Likewise.
12060 * stdlib/monetary.h: Likewise.
12061 * stdlib/random.c: Likewise.
12062 * stdlib/random_r.c: Likewise.
12063 * sysdeps/generic/Makefile: Likewise.
12064 * sysdeps/gnu/Makefile: Likewise.
12065 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12067 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12069 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12072 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12073 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12074 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12075 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12076 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12077 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12078 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12079 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12080 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12081 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12082 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12083 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12085 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12086 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12087 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12088 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12089 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12090 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12091 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12092 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12093 * sysdeps/mach/hurd/errnos.awk: Likewise.
12094 * sysdeps/mach/hurd/fork.c: Likewise.
12095 * sysdeps/mach/hurd/getcwd.c: Likewise.
12096 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12097 * sysdeps/mach/hurd/mmap.c: Likewise.
12098 * sysdeps/mach/hurd/utimes.c: Likewise.
12099 * sysdeps/mach/hurd/xmknod.c: Likewise.
12100 * sysdeps/posix/profil.c: Likewise.
12101 * sysdeps/posix/readdir_r.c: Likewise.
12102 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12103 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12104 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12105 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12107 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12108 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12109 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12111 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12112 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12113 * sysdeps/pthread/lio_listio.c: Likewise.
12114 * sysdeps/sparc/dl-procinfo.h: Likewise.
12115 * sysdeps/unix/i386/sysdep.S: Likewise.
12116 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12117 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12118 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12119 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12121 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12122 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12123 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12124 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12125 * sysdeps/wordsize-32/divdi3.c: Likewise.
12126 * time/sys/time.h: Likewise.
12127 * wcsmbs/Makefile: Likewise.
12129 2013-01-01 David S. Miller <davem@davemloft.net>
12131 * po/fr.po: Update from translation team.
12133 * catgets/gencat.c: Update copyright year.
12134 * csu/version.c: Likewise.
12135 * debug/catchsegv.sh: Likewise.
12136 * debug/pcprofiledump.c: Likewise.
12137 * debug/xtrace.sh: Likewise.
12138 * elf/ldconfig.c: Likewise.
12139 * elf/ldd.bash.in: Likewise.
12140 * elf/pldd.c: Likewise.
12141 * elf/sotruss.ksh: Likewise.
12142 * elf/sprof.c: Likewise.
12143 * iconv/iconv_prog.c: Likewise.
12144 * iconv/iconvconfig.c: Likewise.
12145 * locale/programs/locale.c: Likewise.
12146 * locale/programs/localedef.c: Likewise.
12147 * login/programs/pt_chown.c: Likewise.
12148 * malloc/memusage.sh: Likewise.
12149 * malloc/memusagestat.c: Likewise.
12150 * malloc/mtrace.pl: Likewise.
12151 * nscd/nscd.c: Likewise.
12152 * nss/getent.c: Likewise.
12153 * nss/makedb.c: Likewise.
12154 * posix/getconf.c: Likewise.
12156 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12158 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12161 2012-12-30 Mike Frysinger <vapier@gentoo.org>
12163 * math/bits/mathcalls.h (modf): Use __nonnull.
12165 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12167 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12168 (split): Use macro CN instead of the bare value.
12169 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12171 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12172 instead of the bare value.
12173 (power1): Likewise.
12175 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12177 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12179 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12181 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12183 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12184 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12185 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12186 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12188 2012-12-28 Andreas Jaeger <aj@suse.de>
12190 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12191 values are from Linux 3.7.
12193 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12194 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12196 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12198 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12201 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12203 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12204 variables with preprocessor constants.
12205 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12206 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12207 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12209 2012-12-27 Bruno Haible <bruno@clisp.org>
12212 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12215 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12218 and use variable directly.
12219 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12221 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12223 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12224 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12226 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12227 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12228 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12229 include directive. Remove local variable MPONE.
12230 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12231 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12232 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12234 2012-12-25 David S. Miller <davem@davemloft.net>
12236 * version.h (RELEASE): Set to "development".
12237 (VERSION): Set to "2.17.90".
12238 * NEWS: Add 2.18 section.
12240 2012-12-21 David S. Miller <davem@davemloft.net>
12242 * po/hr.po: Update from translation team.
12244 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12246 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12248 2012-12-19 Steve Ellcey <sellcey@mips.com>
12250 * NEWS: Mention new memcpy for MIPS.
12252 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12254 * manual/contrib.texi (Contributors): Spelling correction.
12256 2012-12-15 David S. Miller <davem@davemloft.net>
12258 * po/ru.po: Update from translation team.
12260 2012-12-13 David S. Miller <davem@davemloft.net>
12262 * NEWS: Mention IFUNC testsuite enhancements.
12264 * po/pl.po: Update from translation team.
12265 * po/bg.po: Likewise.
12267 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12268 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12270 2012-12-11 David S. Miller <davem@davemloft.net>
12272 * po/sv.po: Update from translation team.
12274 * po/vi.po: Update from translation team.
12276 * po/cs.po: Update from translation team.
12278 * po/de.po: Update from translation team.
12279 * po/eo.po: Likewise.
12280 * po/nl.po: Likewise.
12282 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12285 * manual/argp.texi (Argp Helper Functions): Move node to follow
12286 Argp Parsing State.
12289 * manual/conf.texi (Limits on File System Capacity): Mention if
12290 terminating null is included in the max size.
12292 2012-12-10 Andreas Jaeger <aj@suse.de>
12294 * po/cs.po: Update from translation team.
12296 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12298 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12299 void pointer and cast to uintptr_t.
12300 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12302 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12303 * sysdeps/s390/s390-64/memset.S: Likewise.
12305 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12308 * menual/message.texi (Message Translation): Fix typos.
12309 (Helper programs for gettext): Likewise.
12311 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12314 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12317 2012-12-07 David S. Miller <davem@davemloft.net>
12319 * po/libc.pot: Update.
12321 2012-12-07 Richard Henderson <rth@redhat.com>
12324 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12325 normal/normal case to before the switch.
12326 (_FP_DIV): Likewise.
12328 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12329 Mike Frysinger <vapier@gentoo.org>
12331 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12332 check for __NR_fadvise64_64.
12334 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12336 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12337 0, not just to plain "0" as a statement.
12338 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12341 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12343 * NEWS: Use sourceware.org in Bugzilla URL.
12345 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12348 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12350 * stdio-common/tst-put-error.c (do_test): Add newline to the
12351 padded test to ensure flush.
12353 2012-12-05 Jeff Law <law@redhat.com>
12355 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12357 2012-12-05 Joseph Myers <joseph@codesourcery.com>
12359 * README: Don't refer to ports add-on as distributed separately.
12360 Mention AArch64 in list of systems supported in the ports add-on.
12362 * LICENSES: Add more non-FSF copyright and license notices.
12364 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12367 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12369 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12370 10000 as width of padded output.
12372 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12374 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12376 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12377 variable LX with __attribute__ ((unused)).
12378 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12380 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12381 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12382 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12383 with __attribute__ ((unused)).
12385 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12387 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12389 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12391 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12392 (CFLAGS-nldbl-acos.c): New variable.
12393 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12394 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12395 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12396 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12397 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12398 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12399 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12400 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12401 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12402 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12403 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12404 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12405 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12406 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12407 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12408 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12409 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12410 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12411 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12412 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12413 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12414 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12415 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12416 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12417 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12418 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12419 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12420 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12421 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12422 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12423 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12424 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12425 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12426 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12427 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12428 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12429 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12430 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12431 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12432 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12433 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12434 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12435 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12436 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12437 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12438 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12439 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12440 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12441 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12442 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12443 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12444 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12445 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12446 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12447 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12448 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12449 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12450 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12451 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12452 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12453 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12454 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12455 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12456 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12457 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12458 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12459 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12460 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12461 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12462 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12463 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12464 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12465 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12466 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12467 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12468 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12469 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12470 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12471 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12472 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12473 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12474 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12475 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12476 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12477 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12478 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12479 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12480 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12481 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12482 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12483 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12484 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12485 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12486 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12487 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12488 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12489 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12492 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12495 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12496 whole low double instead of just low 47 bits when splitting values
12499 2012-12-03 Allan McRae <allan@archlinux.org>
12501 * manual/stdio.texi (Predefined Printf Handlers): Remove
12502 @hsep and @vsep usage.
12504 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12506 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12507 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12509 2012-12-03 Jeff Law <law@redhat.com>
12511 * time/sys/time.h (settimeofday): Do not mark TV argument
12514 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12516 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12517 when currently writing and seek to current position when not.
12518 * libio/Makefile (tests): Remove bug-fclose1.
12519 * libio/bug-fclose1.c: Delete.
12521 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12523 * manual/arith.texi (feenableexcept): Fix typo.
12524 (fedisableexcept): Likewise.
12526 2012-11-30 Roland McGrath <roland@hack.frob.com>
12528 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12529 second, differently-typed declaration, rather than a cast.
12531 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12533 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12534 * include/rpc/svc.h: ... here.
12536 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12539 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12540 depending n and resplen2 to catch cases where answer
12543 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12545 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12546 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12548 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12550 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12552 2012-11-29 Roland McGrath <roland@hack.frob.com>
12554 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12556 2012-11-28 Jeff Law <law@redhat.com>
12559 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12560 dataset_temporary. Track alloca usage into alloca_used.
12561 If dataset is large allocate and release it via malloc/free.
12563 2012-06-04 Florian Weimer <fweimer@redhat.com>
12566 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12568 2012-11-28 David S. Miller <davem@davemloft.net>
12570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12572 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12575 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12576 of pi/2 rounded to nearest to 64 bits.
12577 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12578 nearest to 64 bits.
12579 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12582 2012-11-28 Jeff Law <law@redhat.com>
12583 Martin Osvald <mosvald@redhat.com>
12586 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12587 * sunrpc/svc.c: Include time.h.
12588 (__svc_accept_failed): New function.
12589 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12590 any reason other than EINTR, call __svc_accept_failed.
12591 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12592 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12594 2012-11-28 Andreas Schwab <schwab@suse.de>
12596 * scripts/abilist.awk: Also handle indirect functions in .opd
12599 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12602 * sysdeps/x86/fpu/powl_helper.c: New file.
12603 * sysdeps/x86/fpu/Makefile: Likewise.
12604 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12606 (__ieee754_powl): Use __powl_helper for finite arguments except
12607 integer exponents below 8.
12608 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12610 (__ieee754_powl): Use __powl_helper for finite arguments except
12611 integer exponents below 8.
12612 * math/libm-test.inc (pow_test): Add more tests and enable some
12613 previously disabled tests.
12614 * sysdeps/i386/fpu/libm-test-ulps: Update.
12615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12617 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12618 Carlos O'Donell <carlos_odonell@mentor.com>
12620 * nss/makedb.c (is_prime): Assert that input is odd and greater
12621 than 4. Note that fact in a comment too.
12622 (next_prime): Add 4 to input.
12624 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12627 * libio/Makefile (tests): Add test case tst-fwrite-error.
12628 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12629 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12630 * libio/tst-fwrite-error.c: New test case.
12632 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12634 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12635 before casting to void *.
12636 * include/libc-internal.h (__pointer_type): New macro.
12637 (__integer_if_pointer_type_sub): Likewise.
12638 (__integer_if_pointer_type): Likewise.
12639 (cast_to_integer): Likewise.
12640 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12641 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12642 before casting to atomic64_t.
12643 (atomic_exchange_acq): Likewise.
12644 (__arch_exchange_and_add_body): Likewise.
12645 (__arch_add_body): Likewise.
12646 (atomic_add_negative): Likewise.
12647 (atomic_add_zero): Likewise.
12649 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12651 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12652 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12653 (add_fdes): Likewise.
12654 (linear_search_fdes): Likewise.
12655 (binary_search_unencoded_fdes): Likewise.
12657 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12659 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12661 2012-11-24 Adam Conrad <adconrad@0c3.net>
12663 * configure.in: Autodetect C++ header directories.
12664 * configure: Regenerated.
12666 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12668 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12670 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12674 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12676 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12677 LDBL_MANT_DIG == 106]: Disable some tests.
12678 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12680 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12684 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12685 input for small inputs. Return +/- pi/2 for large inputs.
12686 * math/libm-test.inc (atan_test): Add more tests.
12688 * sysdeps/generic/unwind-dw2-fde-glibc.c
12689 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12690 __attribute__ ((unused)).
12693 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12694 x * y if x and y are nonzero and z is zero.
12697 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12698 nonzero exponents with absolute value below 0x1p-117 to +/-
12702 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12703 up arguments below 2**-450, not just those below 2**-500.
12704 * math/libm-test.inc (hypot_test): Add another test.
12707 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12708 Return a+b for ratio over 2**120, not 2**60.
12709 * math/libm-test.inc (hypot_test): Add another test.
12711 * math/libm-test.inc (clog_test): Use
12712 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12713 (clog10_test): Likewise.
12716 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12718 2012-11-22 Andreas Schwab <schwab@suse.de>
12720 * sysdeps/i386/fpu/libm-test-ulps: Update.
12722 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12724 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12725 printf output with newline.
12727 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12730 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12731 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12732 -z nodlopen, -z initfirst and -z execstack support.
12733 * configure: Regenerated.
12735 * elf/elf.h (DF_1_NODIRECT): New macro.
12736 (DF_1_IGNMULDEF): Likewise.
12737 (DF_1_NOKSYMS): Likewise.
12738 (DF_1_NOHDR): Likewise.
12739 (DF_1_EDITED): Likewise.
12740 (DF_1_NORELOC): Likewise.
12741 (DF_1_SYMINTPOSE): Likewise.
12742 (DF_1_GLOBAUDIT): Likewise.
12743 (DF_1_SINGLETON): Likewise.
12744 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12745 DT_1_SUPPORTED_MASK bits.
12746 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12748 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12750 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12752 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12754 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12757 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12758 (sendmmsg): Move declarations...
12759 * socket/sys/socket.h: ... here.
12760 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12761 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12763 * socket/recvmmsg.c: ... this new file.
12764 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12765 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12766 definition of __sendmmsg hidden.
12767 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12768 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12769 Move ENOSYS stub into and include it from...
12770 * socket/sendmmsg.c: ... this new file.
12771 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12772 (sysdep_routines): Move recvmmsg and sendmmsg...
12773 * socket/Makefile (routines): ... here.
12774 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12775 (GLIBC_PRIVATE): Add __sendmmsg.
12776 * include/sys/socket.h (__sendmmsg): Add declarations.
12777 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12780 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12782 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12783 variable I1 with __attribute__ ((unused)).
12784 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12786 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12788 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12789 DUMMY variables with __attribute__ ((unused)).
12791 * bits/byteswap.h: Include <bits/types.h>.
12792 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12794 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12796 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12797 string_t. Do not manually set errno.
12798 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12799 length with __strnlen. Make sure to both set errno and return it on
12802 2012-11-19 David S. Miller <davem@davemloft.net>
12804 With help from Joseph Myers.
12805 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12806 very large arguments properly.
12807 * math/libm-test.inc (atan_test): New tests.
12808 (atan2_test): New tests.
12809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12812 2012-11-19 Joseph Myers <joseph@codesourcery.com>
12815 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12818 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12819 [POSIX] (EADDRNOTAVAIL): Likewise.
12820 [POSIX] (EAFNOSUPPORT): Likewise.
12821 [POSIX] (EALREADY): Likewise.
12822 [POSIX] (ECONNABORTED): Likewise.
12823 [POSIX] (ECONNREFUSED): Likewise.
12824 [POSIX] (ECONNRESET): Likewise.
12825 [POSIX] (EDESTADDRREQ): Likewise.
12826 [POSIX] (EDQUOT): Likewise.
12827 [POSIX] (EHOSTUNREACH): Likewise.
12828 [POSIX] (EIDRM): Likewise.
12829 [POSIX] (EISCONN): Likewise.
12830 [POSIX] (ELOOP): Likewise.
12831 [POSIX] (EMULTIHOP): Likewise.
12832 [POSIX] (ENETDOWN): Likewise.
12833 [POSIX] (ENETUNREACH): Likewise.
12834 [POSIX] (ENOBUFS): Likewise.
12835 [POSIX] (ENODATA): Likewise.
12836 [POSIX] (ENOLINK): Likewise.
12837 [POSIX] (ENOMSG): Likewise.
12838 [POSIX] (ENOPROTOOPT): Likewise.
12839 [POSIX] (ENOSR): Likewise.
12840 [POSIX] (ENOSTR): Likewise.
12841 [POSIX] (ENOTCONN): Likewise.
12842 [POSIX] (ENOTSOCK): Likewise.
12843 [POSIX] (EOPNOTSUPP): Likewise.
12844 [POSIX] (EOVERFLOW): Likewise.
12845 [POSIX] (EPROTO): Likewise.
12846 [POSIX] (EPROTONOSUPPORT): Likewise.
12847 [POSIX] (EPROTOTYPE): Likewise.
12848 [POSIX] (ESTALE): Likewise.
12849 [POSIX] (ETIME): Likewise.
12850 [POSIX] (ETXTBSY): Likewise.
12851 [POSIX] (EWOULDBLOCK): Likewise.
12852 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12853 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12854 [POSIX] (SEEK_CUR): Likewise.
12855 [POSIX] (SEEK_END): Likewise.
12856 [POSIX || UNIX98] (mode_t): Do not require.
12857 [POSIX] (off_t): Likewise.
12858 [POSIX] (pid_t): Likewise.
12859 [POSIX] (sys/stat.h): Do not allow header.
12860 [POSIX] (unistd.h): Likewise.
12861 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12862 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12863 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12864 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12866 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12867 sigevent): Specify elements.
12868 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12870 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12871 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12873 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12874 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12875 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12876 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12877 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12878 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12879 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12880 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12881 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12882 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12883 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12884 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12885 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12886 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12888 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12890 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12892 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12894 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12895 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12896 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12897 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12898 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12899 Specify lower bound on value.
12900 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12901 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12902 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12903 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12904 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12905 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12906 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12907 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12909 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12911 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12912 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12913 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12914 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12915 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12916 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12917 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12918 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12919 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12920 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12921 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12922 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12923 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12924 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12925 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12926 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12928 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12930 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12931 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12932 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12933 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12934 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12935 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12937 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12938 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12939 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12940 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12941 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12942 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12943 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12945 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12946 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12947 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12948 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12949 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12950 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12951 specify as optional.
12952 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12953 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12954 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12955 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12956 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12957 [XPG3] (NL_LANGMAX): Likewise.
12958 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12959 [POSIX || XPG3] (NL_NMAX): Likewise.
12960 [POSIX || XPG3] (NL_SETMAX): Likewise.
12961 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12962 [XPG3] (NZERO): Likewise.
12963 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12964 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12965 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12966 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12967 (REG_ERANGE): Expect.
12968 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12970 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12971 Use (void) in prototype.
12972 [POSIX] (*_t): Allow.
12973 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12974 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12975 (WRDE_BADVAL): Expect.
12977 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12979 [XPG3 || XPG4] (O_RSYNC): Likewise.
12980 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12982 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12983 [XPG3 || XPG4] (sigqueue): Likewise.
12984 [XPG3 || XPG4] (sigtimedwait): Likewise.
12985 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12986 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12987 [XPG3 || XPG4] (vsnprintf): Likewise.
12988 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12990 [XPG3 || XPG4] (blksize_t): Likewise.
12991 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12993 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12994 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12995 [XPG3 || XPG4] (struct itimerspec): Likewise.
12996 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12997 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12998 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12999 [XPG3 || XPG4] (clockid_t): Likewise.
13000 [XPG3 || XPG4] (timer_t): Likewise.
13001 [XPG3 || XPG4] (clock_getres): Likewise.
13002 [XPG3 || XPG4] (clock_gettime): Likewise.
13003 [XPG3 || XPG4] (clock_settime): Likewise.
13004 [XPG3 || XPG4] (nanosleep): Likewise.
13005 [XPG3 || XPG4] (timer_create): Likewise.
13006 [XPG3 || XPG4] (timer_delete): Likewise.
13007 [XPG3 || XPG4] (timer_gettime): Likewise.
13008 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13009 [XPG3 || XPG4] (timer_settime): Likewise.
13010 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13011 [XPG3 || XPG4] (getlogin_r): Likewise.
13012 [XPG3 || XPG4] (pread): Likewise.
13013 [XPG3 || XPG4] (pthread_atfork): Likewise.
13014 [XPG3 || XPG4] (pwrite): Likewise.
13017 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13020 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13022 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13023 finalizing MALLSTREAM.
13025 * sysdeps/mach/hurd/syncfs.c: New file.
13027 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13030 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13031 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13032 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13033 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13034 (_nss_dns_gethostbyname4_r): Likewise.
13035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13036 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13038 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13041 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13043 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13045 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13046 * elf/cache.c (print_entry): Print ",AArch64" for
13049 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13050 * elf/cache.c (print_entry): Print ",hard-float" for
13053 2012-11-18 David S. Miller <davem@davemloft.net>
13055 With help from Joseph Myers.
13056 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13058 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13060 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13061 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13063 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13064 * math/libm-test.inc (y0_test): New tests.
13065 (y1_test): New tests.
13066 * sysdeps/i386/fpu/libm-test-ulps: Update.
13067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13070 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13072 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13074 * configure: Regenerated.
13076 2012-11-17 David S. Miller <davem@davemloft.net>
13079 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13080 nonzero exponents with absolute value below 0x1p-128 to +/-
13083 2012-11-17 Joseph Myers <joseph@codesourcery.com>
13085 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13087 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13089 * posix/getconf-speclist.c: New file.
13090 * posix/posix-envs.def: Likewise.
13091 * posix/confstr.c (START_ENV_GROUP): New macro.
13092 (END_ENV_GROUP): Likewise.
13093 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13094 (KNOWN_PRESENT_ENV_STRING): Likewise.
13095 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13096 (UNKNOWN_ENVIRONMENT): Likewise.
13097 (confstr): Include posix-envs.def instead of handling
13098 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13099 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13100 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13101 (END_ENV_GROUP): Likewise.
13102 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13103 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13104 (UNKNOWN_ENVIRONMENT): Likewise.
13105 (__sysconf): Include posix-envs.def instead of handling associated
13106 cases directly here.
13107 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13108 preprocessing getconf-speclist.c rather than running getconf or
13109 generating empty file.
13111 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13113 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13115 2012-11-16 Andrej Lajovic <natrij@gmail.com>
13118 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13120 2012-11-16 David S. Miller <davem@davemloft.net>
13122 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13123 smaller than LDBL_EPSILON/2.0L, just return xm1.
13125 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13127 * elf/tst-array1.c (init): Set constructor priority to 1000.
13128 (fini): Set destructor priority to 1000.
13129 * elf/tst-array2dep.c: Likewise.
13131 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13134 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13135 (_IO_new_file_xsputn): Also return EOF if none of the input
13136 data was written when overflow failed.
13137 * libio/iopadn.c (_IO_padn): Likewise.
13138 * libio/iowpadn.c (_IO_wpadn): Likewise.
13139 * stdio-common/tst-put-error.c: Add copyright notice.
13140 (do_test): Add case for printing padded string.
13141 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13142 _IO_padn returned error.
13143 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13144 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13147 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13149 * libio/libioP.h: Add comment note that the references to C++
13150 bits are now obsolete.
13152 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13154 * math/libm-test.inc (check_complex): Use asprintf.
13156 2012-11-14 Joseph Myers <joseph@codesourcery.com>
13158 * debug/pcprofiledump.c (print_version): Update copyright year.
13159 * malloc/memusagestat.c (print_version): Likewise.
13161 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13164 * elf/Makefile (tests): Add tst-audit8.
13165 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13166 ($(objpfx)tst-audit8.out): New target.
13167 (tst-audit8-ENV): New variable.
13168 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13169 audit if l_reloc_result is NULL.
13170 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13171 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13172 * elf/tst-audit8.c: New file.
13174 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13176 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13177 * misc/Makefile (CFLAGS-select.c): Define.
13178 * posix/Makefile (CFLAGS-pause.c): Define.
13180 2012-11-13 David S. Miller <davem@davemloft.net>
13182 * crypt/Makefile: Move test targets after toplevel Rules
13183 inclusion. Grab any necessary sysdep routines when linking.
13184 * crypt/md5.c (md5_process_block): Remove define, we will always
13185 name it __md5_process_block.
13186 (md5_finish_ctx): Update md5_process_block call.
13187 (md5_stream): Likewise.
13188 (md5_process_bytes): Likewise.
13189 (md5_process_block): Rename to __md5_process_block and move to ...
13190 * crypt/md5-block.c: ... here.
13191 * crypt/sha256.c (sha256_process_block): Move to ...
13192 * crypt/sha256-block.c: ... here.
13193 * crypt/sha512.c (sha512_process_block): Move to ...
13194 * crypt/sha512-block.c: ... here.
13195 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13197 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13198 * sysdeps/sparc/sparc64/multiarch/Makefile
13199 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13201 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13202 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13204 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13205 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13206 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13207 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13208 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13209 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13210 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13211 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13212 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13214 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13215 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13217 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13219 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13221 * timezone/tzselect.ksh: Update from tzcode git revision
13222 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13223 * timezone/zdump.c: Likewise.
13224 * timezone/zic.c: Likewise.
13225 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13226 in TZVERSION setting, not $(PKGVERSION).
13227 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13228 REPORT_BUGS_TO settings.
13231 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13234 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13236 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13237 detection to immediately after _FP_ROUND().
13238 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13241 2012-11-11 David S. Miller <davem@davemloft.net>
13243 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13245 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13246 __close rather than their public counterparts.
13248 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13250 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13252 [UNIX98] (sem_timedwait): Do not expect.
13253 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13254 [XPG4 || UNIX98] (sockatmark): Do not expect.
13255 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13256 (clock_getcpuclockid): Do not expect.
13257 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13258 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13260 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13261 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13262 [UNIX98] (vwscanf): Likewise.
13263 [UNIX98] (vswscanf): Likewise.
13265 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13267 * timezone/version.h: Remove file.
13268 * timezone/README: Do not refer to version.h.
13269 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13270 $(objpfx)version.h.
13271 ($(objpfx)zdump.o): Likewise.
13272 ($(objpfx)version.h): New target.
13274 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13276 * timezone/README: Don't mention modification to tzselect.ksh.
13277 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13278 work on unmodified tzselect.ksh. Substitute version numbers in
13281 * Makefile (format-me): Remove.
13282 (INSTALL): Adjust indentation. Use commands directly instead of
13283 using $(format-me).
13285 * aclocal.m4 (ACX_PKGVERSION): New macro.
13286 (ACX_BUGURL): Likewise.
13287 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13288 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13289 (REPORT_BUGS_TO): Likewise.
13290 * configure: Regenerated.
13291 * config.h.in (PKGVERSION): New macro.
13292 (REPORT_BUGS_TO): Likewise.
13293 * config.make.in (PKGVERSION): New variable.
13294 (PKGVERSION_TEXI): Likewise.
13295 (REPORT_BUGS_TO): Likewise.
13296 (REPORT_BUGS_TEXI): Likewise.
13297 * Makefile (format-me): Use -I$(common-objpfx)manual.
13298 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13299 ($(common-objpfx)manual/%): New target.
13300 (manual/%): Remove target.
13301 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13302 (print_version): Use PKGVERSION.
13303 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13304 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13305 and REPORT_BUGS_TO.
13306 ($(objpfx)xtrace): Likewise.
13307 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13308 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13309 (print_version): Use PKGVERSION.
13310 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13311 (do_version): Use PKGVERSION.
13312 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13314 (common-ldd-rewrite): Likewise.
13315 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13316 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13317 (print_version): Use PKGVERSION.
13318 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13319 * elf/pldd.c (argp_program_bug_address): Remove variable.
13320 (more_help): New function.
13321 (argp): Use more_help.
13322 (print_version): Use PKGVERSION.
13323 * elf/sln.c (main): Use PKGVERSION.
13324 (usage): Use REPORT_BUGS_TO.
13325 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13326 (top level): Use PKGVERSION.
13327 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13328 (print_version): Use PKGVERSION.
13329 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13330 (print_version): Use PKGVERSION.
13331 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13332 (print_version): Use PKGVERSION.
13333 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13334 (print_version): Use PKGVERSION.
13335 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13336 (print_version): Use PKGVERSION.
13337 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13338 (print_version): Use PKGVERSION.
13339 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13341 ($(objpfx)memusage): Likewise.
13342 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13343 (do_version): Use PKGVERSION.
13344 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13345 (print_version): Use PKGVERSION.
13346 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13347 ($PKGVERSION): New variable.
13348 ($REPORT_BUGS_TO): Likewise.
13349 (usage): Use $REPORT_BUGS_TO.
13350 (top level): Use $PKGVERSION.
13351 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13352 ($(objpfx)pkgvers.texi): New rule.
13353 ($(objpfx)stamp-pkgvers): Likewise.
13354 * manual/install.texi: Include pkgvers.texi.
13355 (--with-pkgversion): Document new configure option.
13356 (--with-bugurl): Likewise.
13357 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13358 than necessarily for this particular distribution. Use
13359 REPORT_BUGS_TO for where to report bugs.
13360 * INSTALL: Regenerated.
13361 * manual/libc.texinfo: Include pkgvers.texi.
13362 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13363 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13364 (print_version): Use PKGVERSION.
13365 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13366 (print_version): Use PKGVERSION.
13367 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13368 (print_version): Use PKGVERSION.
13369 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13370 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13372 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13373 (print_version): Use PKGVERSION.
13374 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13375 (print_version): Use PKGVERSION.
13376 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13379 * timezone/checktab.awk: Update from tzcode 2012i.
13380 * timezone/ialloc.c: Likewise.
13381 * timezone/private.h: Likewise.
13382 * timezone/scheck.c: Likewise.
13383 * timezone/tzfile.h: Likewise.
13384 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13385 (TZVERSION): Hardcode tzcode version number.
13386 * timezone/zdump.c: Update from tzcode 2012i.
13387 * timezone/zic.c: Likewise.
13388 * timezone/version.h: New file.
13389 * timezone/README: Describe version.h. Update upstream location.
13392 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13393 (mktemp): Enable declaration.
13394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13395 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13397 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13399 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13401 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13403 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13405 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13407 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13411 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13412 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13413 for copies of such integer values.
13414 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13415 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13417 2012-11-09 Andreas Jaeger <aj@suse.de>
13419 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13420 definitions and declarations that are provided by
13421 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13423 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13425 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13426 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13427 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13430 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13432 * elf/elf.h: Update comment before AArch64 relocations.
13434 2012-11-07 David S. Miller <davem@davemloft.net>
13436 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13437 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13438 (__start_context): Declare.
13439 (__makecontext_ret): Delete.
13440 (__makecontext): Hook up __start_context instead of
13442 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13443 (sysdep_routines): Add __start_context when in stdlib.
13445 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13447 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13448 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13449 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13451 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13452 (READELF): New variable. Use it instead of hardcoded "readelf".
13454 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13456 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13457 * sysdeps/x86/Makefile: Here.
13458 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13459 * sysdeps/x86/tst-xmmymm.sh: This.
13461 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13463 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13465 [UNIX98] (pthread_barrier_t): Do not expect.
13466 [UNIX98] (pthread_barrierattr_t): Likewise.
13467 [UNIX98] (pthread_spinlock_t): Likewise.
13468 [UNIX98] (pthread_barrier_destroy): Likewise.
13469 [UNIX98] (pthread_barrier_init): Likewise.
13470 [UNIX98] (pthread_barrier_wait): Likewise.
13471 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13472 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13473 [UNIX98] (pthread_barrierattr_init): Likewise.
13474 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13475 [UNIX98] (pthread_getcpuclockid): Likewise.
13476 [UNIX98] (pthread_mutex_timedlock): Likewise.
13477 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13478 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13479 [UNIX98] (pthread_sigmask): Likewise.
13480 [UNIX98] (pthread_spin_destroy): Likewise.
13481 [UNIX98] (pthread_spin_init): Likewise.
13482 [UNIX98] (pthread_spin_lock): Likewise.
13483 [UNIX98] (pthread_spin_trylock): Likewise.
13484 [UNIX98] (pthread_spin_unlock): Likewise.
13485 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13487 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13488 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13489 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13490 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13491 [XPG3 || XPG4] (pthread_key_t): Likewise.
13492 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13493 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13494 [XPG3 || XPG4] (pthread_once_t): Likewise.
13495 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13496 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13497 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13498 [XPG3 || XPG4] (pthread_t): Likewise.
13500 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13502 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13504 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13505 Change function return type to int.
13507 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13508 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13509 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13510 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13511 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13512 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13513 [!POSIX] (posix_madvise): Likewise.
13514 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13516 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13517 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13518 (mode_t): Likewise.
13519 (posix_mem_offset): Likewise.
13520 (posix_typed_mem_get_info): Likewise.
13521 (posix_typed_mem_open): Likewise.
13523 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13524 Change condition to [XOPEN2K8].
13526 * conform/conformtest.pl: Preprocess allow-header data with -x c
13527 instead of from stdin.
13528 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13529 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13530 [C99-based standards] (cerfc): Likewise.
13531 [C99-based standards] (cexp2): Likewise.
13532 [C99-based standards] (cexpm1): Likewise.
13533 [C99-based standards] (clog10): Likewise.
13534 [C99-based standards] (clog1p): Likewise.
13535 [C99-based standards] (clog2): Likewise.
13536 [C99-based standards] (clgamma): Likewise.
13537 [C99-based standards] (ctgamma): Likewise.
13538 [C99-based standards] (cerff): Likewise.
13539 [C99-based standards] (cerfcf): Likewise.
13540 [C99-based standards] (cexp2f): Likewise.
13541 [C99-based standards] (cexpm1f): Likewise.
13542 [C99-based standards] (clog10f): Likewise.
13543 [C99-based standards] (clog1pf): Likewise.
13544 [C99-based standards] (clog2f): Likewise.
13545 [C99-based standards] (clgammaf): Likewise.
13546 [C99-based standards] (ctgammaf): Likewise.
13547 [C99-based standards] (cerfl): Likewise.
13548 [C99-based standards] (cerfcl): Likewise.
13549 [C99-based standards] (cexp2l): Likewise.
13550 [C99-based standards] (cexpm1l): Likewise.
13551 [C99-based standards] (clog10l): Likewise.
13552 [C99-based standards] (clog1pl): Likewise.
13553 [C99-based standards] (clog2l): Likewise.
13554 [C99-based standards] (clgammal): Likewise.
13555 [C99-based standards] (ctgammal): Likewise.
13556 * conform/data/inttypes.h-data [C99-based standards]: Include
13557 stdint.h-data. Remove all expectations for stdint.h contents.
13558 [C99-based standards] (PRI*): Do not allow.
13559 [C99-based standards] (SCN*): Likewise.
13560 [C99-based standards] (*_t): Likewise.
13561 [C99-based-standards] (PRId8): Expect macro.
13562 [C99-based-standards] (PRIi8): Likewise.
13563 [C99-based-standards] (PRIo8): Likewise.
13564 [C99-based-standards] (PRIu8): Likewise.
13565 [C99-based-standards] (PRIx8): Likewise.
13566 [C99-based-standards] (PRIX8): Likewise.
13567 [C99-based-standards] (SCNd8): Likewise.
13568 [C99-based-standards] (SCNi8): Likewise.
13569 [C99-based-standards] (SCNo8): Likewise.
13570 [C99-based-standards] (SCNu8): Likewise.
13571 [C99-based-standards] (SCNx8): Likewise.
13572 [C99-based-standards] (PRIdLEAST8): Likewise.
13573 [C99-based-standards] (PRIiLEAST8): Likewise.
13574 [C99-based-standards] (PRIoLEAST8): Likewise.
13575 [C99-based-standards] (PRIuLEAST8): Likewise.
13576 [C99-based-standards] (PRIxLEAST8): Likewise.
13577 [C99-based-standards] (PRIXLEAST8): Likewise.
13578 [C99-based-standards] (SCNdLEAST8): Likewise.
13579 [C99-based-standards] (SCNiLEAST8): Likewise.
13580 [C99-based-standards] (SCNoLEAST8): Likewise.
13581 [C99-based-standards] (SCNuLEAST8): Likewise.
13582 [C99-based-standards] (SCNxLEAST8): Likewise.
13583 [C99-based-standards] (PRIdFAST8): Likewise.
13584 [C99-based-standards] (PRIiFAST8): Likewise.
13585 [C99-based-standards] (PRIoFAST8): Likewise.
13586 [C99-based-standards] (PRIuFAST8): Likewise.
13587 [C99-based-standards] (PRIxFAST8): Likewise.
13588 [C99-based-standards] (PRIXFAST8): Likewise.
13589 [C99-based-standards] (SCNdFAST8): Likewise.
13590 [C99-based-standards] (SCNiFAST8): Likewise.
13591 [C99-based-standards] (SCNoFAST8): Likewise.
13592 [C99-based-standards] (SCNuFAST8): Likewise.
13593 [C99-based-standards] (SCNxFAST8): Likewise.
13594 [C99-based-standards] (PRId16): Likewise.
13595 [C99-based-standards] (PRIi16): Likewise.
13596 [C99-based-standards] (PRIo16): Likewise.
13597 [C99-based-standards] (PRIu16): Likewise.
13598 [C99-based-standards] (PRIx16): Likewise.
13599 [C99-based-standards] (PRIX16): Likewise.
13600 [C99-based-standards] (SCNd16): Likewise.
13601 [C99-based-standards] (SCNi16): Likewise.
13602 [C99-based-standards] (SCNo16): Likewise.
13603 [C99-based-standards] (SCNu16): Likewise.
13604 [C99-based-standards] (SCNx16): Likewise.
13605 [C99-based-standards] (PRIdLEAST16): Likewise.
13606 [C99-based-standards] (PRIiLEAST16): Likewise.
13607 [C99-based-standards] (PRIoLEAST16): Likewise.
13608 [C99-based-standards] (PRIuLEAST16): Likewise.
13609 [C99-based-standards] (PRIxLEAST16): Likewise.
13610 [C99-based-standards] (PRIXLEAST16): Likewise.
13611 [C99-based-standards] (SCNdLEAST16): Likewise.
13612 [C99-based-standards] (SCNiLEAST16): Likewise.
13613 [C99-based-standards] (SCNoLEAST16): Likewise.
13614 [C99-based-standards] (SCNuLEAST16): Likewise.
13615 [C99-based-standards] (SCNxLEAST16): Likewise.
13616 [C99-based-standards] (PRIdFAST16): Likewise.
13617 [C99-based-standards] (PRIiFAST16): Likewise.
13618 [C99-based-standards] (PRIoFAST16): Likewise.
13619 [C99-based-standards] (PRIuFAST16): Likewise.
13620 [C99-based-standards] (PRIxFAST16): Likewise.
13621 [C99-based-standards] (PRIXFAST16): Likewise.
13622 [C99-based-standards] (SCNdFAST16): Likewise.
13623 [C99-based-standards] (SCNiFAST16): Likewise.
13624 [C99-based-standards] (SCNoFAST16): Likewise.
13625 [C99-based-standards] (SCNuFAST16): Likewise.
13626 [C99-based-standards] (SCNxFAST16): Likewise.
13627 [C99-based-standards] (PRId32): Likewise.
13628 [C99-based-standards] (PRIi32): Likewise.
13629 [C99-based-standards] (PRIo32): Likewise.
13630 [C99-based-standards] (PRIu32): Likewise.
13631 [C99-based-standards] (PRIx32): Likewise.
13632 [C99-based-standards] (PRIX32): Likewise.
13633 [C99-based-standards] (SCNd32): Likewise.
13634 [C99-based-standards] (SCNi32): Likewise.
13635 [C99-based-standards] (SCNo32): Likewise.
13636 [C99-based-standards] (SCNu32): Likewise.
13637 [C99-based-standards] (SCNx32): Likewise.
13638 [C99-based-standards] (PRIdLEAST32): Likewise.
13639 [C99-based-standards] (PRIiLEAST32): Likewise.
13640 [C99-based-standards] (PRIoLEAST32): Likewise.
13641 [C99-based-standards] (PRIuLEAST32): Likewise.
13642 [C99-based-standards] (PRIxLEAST32): Likewise.
13643 [C99-based-standards] (PRIXLEAST32): Likewise.
13644 [C99-based-standards] (SCNdLEAST32): Likewise.
13645 [C99-based-standards] (SCNiLEAST32): Likewise.
13646 [C99-based-standards] (SCNoLEAST32): Likewise.
13647 [C99-based-standards] (SCNuLEAST32): Likewise.
13648 [C99-based-standards] (SCNxLEAST32): Likewise.
13649 [C99-based-standards] (PRIdFAST32): Likewise.
13650 [C99-based-standards] (PRIiFAST32): Likewise.
13651 [C99-based-standards] (PRIoFAST32): Likewise.
13652 [C99-based-standards] (PRIuFAST32): Likewise.
13653 [C99-based-standards] (PRIxFAST32): Likewise.
13654 [C99-based-standards] (PRIXFAST32): Likewise.
13655 [C99-based-standards] (SCNdFAST32): Likewise.
13656 [C99-based-standards] (SCNiFAST32): Likewise.
13657 [C99-based-standards] (SCNoFAST32): Likewise.
13658 [C99-based-standards] (SCNuFAST32): Likewise.
13659 [C99-based-standards] (SCNxFAST32): Likewise.
13660 [C99-based-standards] (PRId64): Likewise.
13661 [C99-based-standards] (PRIi64): Likewise.
13662 [C99-based-standards] (PRIo64): Likewise.
13663 [C99-based-standards] (PRIu64): Likewise.
13664 [C99-based-standards] (PRIx64): Likewise.
13665 [C99-based-standards] (PRIX64): Likewise.
13666 [C99-based-standards] (SCNd64): Likewise.
13667 [C99-based-standards] (SCNi64): Likewise.
13668 [C99-based-standards] (SCNo64): Likewise.
13669 [C99-based-standards] (SCNu64): Likewise.
13670 [C99-based-standards] (SCNx64): Likewise.
13671 [C99-based-standards] (PRIdLEAST64): Likewise.
13672 [C99-based-standards] (PRIiLEAST64): Likewise.
13673 [C99-based-standards] (PRIoLEAST64): Likewise.
13674 [C99-based-standards] (PRIuLEAST64): Likewise.
13675 [C99-based-standards] (PRIxLEAST64): Likewise.
13676 [C99-based-standards] (PRIXLEAST64): Likewise.
13677 [C99-based-standards] (SCNdLEAST64): Likewise.
13678 [C99-based-standards] (SCNiLEAST64): Likewise.
13679 [C99-based-standards] (SCNoLEAST64): Likewise.
13680 [C99-based-standards] (SCNuLEAST64): Likewise.
13681 [C99-based-standards] (SCNxLEAST64): Likewise.
13682 [C99-based-standards] (PRIdFAST64): Likewise.
13683 [C99-based-standards] (PRIiFAST64): Likewise.
13684 [C99-based-standards] (PRIoFAST64): Likewise.
13685 [C99-based-standards] (PRIuFAST64): Likewise.
13686 [C99-based-standards] (PRIxFAST64): Likewise.
13687 [C99-based-standards] (PRIXFAST64): Likewise.
13688 [C99-based-standards] (SCNdFAST64): Likewise.
13689 [C99-based-standards] (SCNiFAST64): Likewise.
13690 [C99-based-standards] (SCNoFAST64): Likewise.
13691 [C99-based-standards] (SCNuFAST64): Likewise.
13692 [C99-based-standards] (SCNxFAST64): Likewise.
13693 [C99-based-standards] (PRIdMAX): Likewise.
13694 [C99-based-standards] (PRIiMAX): Likewise.
13695 [C99-based-standards] (PRIoMAX): Likewise.
13696 [C99-based-standards] (PRIuMAX): Likewise.
13697 [C99-based-standards] (PRIxMAX): Likewise.
13698 [C99-based-standards] (PRIXMAX): Likewise.
13699 [C99-based-standards] (SCNdMAX): Likewise.
13700 [C99-based-standards] (SCNiMAX): Likewise.
13701 [C99-based-standards] (SCNoMAX): Likewise.
13702 [C99-based-standards] (SCNuMAX): Likewise.
13703 [C99-based-standards] (SCNxMAX): Likewise.
13704 [C99-based-standards] (PRIdPTR): Likewise.
13705 [C99-based-standards] (PRIiPTR): Likewise.
13706 [C99-based-standards] (PRIoPTR): Likewise.
13707 [C99-based-standards] (PRIuPTR): Likewise.
13708 [C99-based-standards] (PRIxPTR): Likewise.
13709 [C99-based-standards] (PRIXPTR): Likewise.
13710 [C99-based-standards] (SCNdPTR): Likewise.
13711 [C99-based-standards] (SCNiPTR): Likewise.
13712 [C99-based-standards] (SCNoPTR): Likewise.
13713 [C99-based-standards] (SCNuPTR): Likewise.
13714 [C99-based-standards] (SCNxPTR): Likewise.
13715 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13717 * conform/data/stdint.h-data: Update comments to clarify
13719 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13721 [C99-based standards] (INT8_MAX): Likewise.
13722 [C99-based standards] (INT16_MIN): Likewise.
13723 [C99-based standards] (INT16_MAX): Likewise.
13724 [C99-based standards] (INT32_MIN): Likewise.
13725 [C99-based standards] (INT32_MAX): Likewise.
13726 [C99-based standards] (INT64_MIN): Likewise.
13727 [C99-based standards] (INT64_MAX): Likewise.
13728 [C99-based standards] (UINT8_MAX): Likewise.
13729 [C99-based standards] (UINT16_MAX): Likewise.
13730 [C99-based standards] (UINT32_MAX): Likewise.
13731 [C99-based standards] (UINT64_MAX): Likewise.
13732 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13733 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13734 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13735 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13736 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13737 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13738 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13739 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13740 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13741 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13742 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13743 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13744 [C99-based standards] (INT_FAST8_MIN): Likewise.
13745 [C99-based standards] (INT_FAST8_MAX): Likewise.
13746 [C99-based standards] (INT_FAST16_MIN): Likewise.
13747 [C99-based standards] (INT_FAST16_MAX): Likewise.
13748 [C99-based standards] (INT_FAST32_MIN): Likewise.
13749 [C99-based standards] (INT_FAST32_MAX): Likewise.
13750 [C99-based standards] (INT_FAST64_MIN): Likewise.
13751 [C99-based standards] (INT_FAST64_MAX): Likewise.
13752 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13753 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13754 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13755 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13756 [C99-based standards] (INTPTR_MIN): Likewise.
13757 [C99-based standards] (INTPTR_MAX): Likewise.
13758 [C99-based standards] (UINTPTR_MAX): Likewise.
13759 [C99-based standards] (INTMAX_MIN): Likewise.
13760 [C99-based standards] (INTMAX_MAX): Likewise.
13761 [C99-based standards] (UINTMAX_MAX): Likewise.
13762 [C99-based standards] (PTRDIFF_MIN): Likewise.
13763 [C99-based standards] (PTRDIFF_MAX): Likewise.
13764 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13765 [C99-based standards] (SIZE_MAX): Likewise.
13766 [C99-based standards] (WCHAR_MAX): Likewise.
13767 [C99-based standards] (WINT_MAX): Likewise.
13768 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13769 constraint on value.
13770 [C99-based standards] (WCHAR_MIN): Likewise.
13771 [C99-based standards] (WINT_MIN): Likewise.
13772 [C99-based standards] (*_t): Allow.
13773 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13774 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13775 Include math.h-data and complex.h-data. Remove all expectations
13776 of math.h and complex.h contents.
13777 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13779 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13780 (struct tm): Expect tag.
13781 [C99-based-standards] (wcstof): Expect function.
13782 [C99-based-standards] (wcstold): Likewise.
13783 [C99-based-standards] (wcstoll): Likewise.
13784 [C99-based-standards] (wcstoull): Likewise.
13785 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13786 macro-int-constant. Specify type.
13787 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13788 constraint on value.
13789 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13791 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13793 [ISO C standards]: Do not allow headers.
13794 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13795 wcs[abcdefghijklmnopqrstuvwxyz]*.
13796 [ISO C standards] (*_t): Do not allow.
13797 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13799 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13800 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13802 [ISO C standards]: Do not allow headers.
13803 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13804 is[abcdefghijklmnopqrstuvwxyz]*.
13805 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13806 to[abcdefghijklmnopqrstuvwxyz]*.
13807 [ISO C standards] (*_t): Do not allow.
13808 * conform/data/stdalign.h-data: New file.
13809 * conform/data/stdbool.h-data: Likewise.
13810 * conform/data/stdnoreturn.h-data: Likewise.
13812 2012-11-07 Roland McGrath <roland@hack.frob.com>
13815 * manual/filesys.texi (Directory Entries): Typo fix.
13816 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13818 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13820 * elf/elf.h (EM_AARCH64): New macro.
13821 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13822 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13823 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13824 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13825 (R_AARCH64_TLSDESC): Likewise.
13826 (NT_ARM_TLS): Likewise.
13827 (NT_ARM_HW_BREAK): Likewise.
13828 (NT_ARM_HW_WATCH): Likewise.
13830 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13833 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13834 (__ieee754_powl): Saturate nonzero exponents with absolute value
13835 below 0x1p-79 to +/- 0x1p-79.
13836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13837 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13838 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13839 nonzero exponents with absolute value below 0x1p-32 to +/-
13841 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13842 (__ieee754_powl): Saturate nonzero exponents with absolute value
13843 below 0x1p-79 to +/- 0x1p-79.
13844 * math/libm-test.inc (pow_test): Add more tests.
13846 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13848 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13849 _dl_s390_cap_flags with kernel. Increase string length.
13850 (_dl_s390_platforms): Add z196 and zEC12.
13852 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13854 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13855 Change XOPEN21K to XOPEN2K.
13857 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13859 * string/memmove.c: Use memcpy when possible.
13861 2012-11-06 Andreas Jaeger <aj@suse.de>
13863 * po/eo.po: Update from translation team.
13865 2012-11-06 Joseph Myers <joseph@codesourcery.com>
13868 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13869 exponent and small x and y exponents, scale x or y up. Increase
13870 by 2 the exponent used in scaling up.
13871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13873 * math/libm-test.inc (fma_test): Add more tests.
13874 (fma_test_towardzero): Likewise.
13875 (fma_test_downward): Likewise.
13876 (fma_test_upward): Likewise.
13878 2012-11-05 Joseph Myers <joseph@codesourcery.com>
13881 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13885 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13886 namespace for names of struct fields.
13887 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13889 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13890 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13892 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13895 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13897 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13899 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13903 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13906 2012-11-04 Joseph Myers <joseph@codesourcery.com>
13909 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13910 definitely overflow as x * y not x * y + z.
13911 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13913 * math/libm-test.inc (fma_test): Add more tests.
13914 (fma_test_towardzero): Likewise.
13915 (fma_test_downward): Likewise.
13916 (fma_test_upward): Likewise.
13918 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13922 * include/stub-tag.h: Remove file.
13923 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13925 * manual/maint.texi (Porting): Don't reference it.
13926 * Makerules ($(objpfx)stubs): Likewise.
13927 * dirent/closedir.c: Don't include <stub-tag.h>.
13928 * dirent/dirfd.c: Likewise.
13929 * dirent/fdopendir.c: Likewise.
13930 * dirent/getdents.c: Likewise.
13931 * dirent/getdents64.c: Likewise.
13932 * dirent/opendir.c: Likewise.
13933 * dirent/readdir.c: Likewise.
13934 * dirent/readdir64.c: Likewise.
13935 * dirent/readdir64_r.c: Likewise.
13936 * dirent/readdir_r.c: Likewise.
13937 * dirent/rewinddir.c: Likewise.
13938 * dirent/seekdir.c: Likewise.
13939 * dirent/telldir.c: Likewise.
13940 * gmon/profil.c: Likewise.
13941 * grp/setgroups.c: Likewise.
13942 * inet/if_index.c: Likewise.
13943 * io/access.c: Likewise.
13944 * io/chdir.c: Likewise.
13945 * io/chmod.c: Likewise.
13946 * io/chown.c: Likewise.
13947 * io/close.c: Likewise.
13948 * io/dup.c: Likewise.
13949 * io/dup2.c: Likewise.
13950 * io/dup3.c: Likewise.
13951 * io/euidaccess.c: Likewise.
13952 * io/faccessat.c: Likewise.
13953 * io/fchdir.c: Likewise.
13954 * io/fchmod.c: Likewise.
13955 * io/fchmodat.c: Likewise.
13956 * io/fchown.c: Likewise.
13957 * io/fchownat.c: Likewise.
13958 * io/fcntl.c: Likewise.
13959 * io/flock.c: Likewise.
13960 * io/fstatfs.c: Likewise.
13961 * io/fstatfs64.c: Likewise.
13962 * io/fstatvfs.c: Likewise.
13963 * io/fstatvfs64.c: Likewise.
13964 * io/futimens.c: Likewise.
13965 * io/fxstat.c: Likewise.
13966 * io/fxstat64.c: Likewise.
13967 * io/fxstatat.c: Likewise.
13968 * io/fxstatat64.c: Likewise.
13969 * io/getcwd.c: Likewise.
13970 * io/isatty.c: Likewise.
13971 * io/lchmod.c: Likewise.
13972 * io/lchown.c: Likewise.
13973 * io/link.c: Likewise.
13974 * io/linkat.c: Likewise.
13975 * io/lseek.c: Likewise.
13976 * io/lseek64.c: Likewise.
13977 * io/lxstat64.c: Likewise.
13978 * io/mkdir.c: Likewise.
13979 * io/mkdirat.c: Likewise.
13980 * io/mkfifo.c: Likewise.
13981 * io/mkfifoat.c: Likewise.
13982 * io/open.c: Likewise.
13983 * io/open64.c: Likewise.
13984 * io/openat.c: Likewise.
13985 * io/openat64.c: Likewise.
13986 * io/pipe.c: Likewise.
13987 * io/pipe2.c: Likewise.
13988 * io/poll.c: Likewise.
13989 * io/posix_fadvise.c: Likewise.
13990 * io/posix_fadvise64.c: Likewise.
13991 * io/posix_fallocate.c: Likewise.
13992 * io/posix_fallocate64.c: Likewise.
13993 * io/read.c: Likewise.
13994 * io/readlink.c: Likewise.
13995 * io/readlinkat.c: Likewise.
13996 * io/rmdir.c: Likewise.
13997 * io/sendfile.c: Likewise.
13998 * io/sendfile64.c: Likewise.
13999 * io/statfs.c: Likewise.
14000 * io/statfs64.c: Likewise.
14001 * io/statvfs.c: Likewise.
14002 * io/statvfs64.c: Likewise.
14003 * io/symlink.c: Likewise.
14004 * io/symlinkat.c: Likewise.
14005 * io/ttyname.c: Likewise.
14006 * io/ttyname_r.c: Likewise.
14007 * io/umask.c: Likewise.
14008 * io/unlink.c: Likewise.
14009 * io/unlinkat.c: Likewise.
14010 * io/utime.c: Likewise.
14011 * io/utimensat.c: Likewise.
14012 * io/write.c: Likewise.
14013 * io/xmknod.c: Likewise.
14014 * io/xmknodat.c: Likewise.
14015 * io/xstat.c: Likewise.
14016 * io/xstat64.c: Likewise.
14017 * login/getpt.c: Likewise.
14018 * login/grantpt.c: Likewise.
14019 * login/unlockpt.c: Likewise.
14020 * math/e_acoshl.c: Likewise.
14021 * math/e_acosl.c: Likewise.
14022 * math/e_asinl.c: Likewise.
14023 * math/e_atan2l.c: Likewise.
14024 * math/e_atanhl.c: Likewise.
14025 * math/e_coshl.c: Likewise.
14026 * math/e_expl.c: Likewise.
14027 * math/e_fmodl.c: Likewise.
14028 * math/e_gammal_r.c: Likewise.
14029 * math/e_hypotl.c: Likewise.
14030 * math/e_j0l.c: Likewise.
14031 * math/e_j1l.c: Likewise.
14032 * math/e_jnl.c: Likewise.
14033 * math/e_lgammal_r.c: Likewise.
14034 * math/e_log10l.c: Likewise.
14035 * math/e_log2l.c: Likewise.
14036 * math/e_logl.c: Likewise.
14037 * math/e_powl.c: Likewise.
14038 * math/e_rem_pio2l.c: Likewise.
14039 * math/e_sinhl.c: Likewise.
14040 * math/e_sqrtl.c: Likewise.
14041 * math/fclrexcpt.c: Likewise.
14042 * math/fedisblxcpt.c: Likewise.
14043 * math/feenablxcpt.c: Likewise.
14044 * math/fegetenv.c: Likewise.
14045 * math/fegetexcept.c: Likewise.
14046 * math/fegetround.c: Likewise.
14047 * math/feholdexcpt.c: Likewise.
14048 * math/fesetenv.c: Likewise.
14049 * math/fesetround.c: Likewise.
14050 * math/feupdateenv.c: Likewise.
14051 * math/fgetexcptflg.c: Likewise.
14052 * math/fraiseexcpt.c: Likewise.
14053 * math/fsetexcptflg.c: Likewise.
14054 * math/ftestexcept.c: Likewise.
14055 * math/k_cosl.c: Likewise.
14056 * math/k_rem_pio2l.c: Likewise.
14057 * math/k_sinl.c: Likewise.
14058 * math/k_tanl.c: Likewise.
14059 * math/s_asinhl.c: Likewise.
14060 * math/s_atanl.c: Likewise.
14061 * math/s_cbrtl.c: Likewise.
14062 * math/s_erfl.c: Likewise.
14063 * math/s_expm1l.c: Likewise.
14064 * math/s_log1pl.c: Likewise.
14065 * math/s_tanhl.c: Likewise.
14066 * misc/acct.c: Likewise.
14067 * misc/brk.c: Likewise.
14068 * misc/chflags.c: Likewise.
14069 * misc/chroot.c: Likewise.
14070 * misc/fchflags.c: Likewise.
14071 * misc/fgetxattr.c: Likewise.
14072 * misc/flistxattr.c: Likewise.
14073 * misc/fremovexattr.c: Likewise.
14074 * misc/fsetxattr.c: Likewise.
14075 * misc/fsync.c: Likewise.
14076 * misc/ftruncate.c: Likewise.
14077 * misc/futimes.c: Likewise.
14078 * misc/futimesat.c: Likewise.
14079 * misc/getdomain.c: Likewise.
14080 * misc/getdtsz.c: Likewise.
14081 * misc/gethostid.c: Likewise.
14082 * misc/gethostname.c: Likewise.
14083 * misc/getloadavg.c: Likewise.
14084 * misc/getpagesize.c: Likewise.
14085 * misc/getsysstats.c: Likewise.
14086 * misc/getxattr.c: Likewise.
14087 * misc/gtty.c: Likewise.
14088 * misc/ioctl.c: Likewise.
14089 * misc/lgetxattr.c: Likewise.
14090 * misc/listxattr.c: Likewise.
14091 * misc/llistxattr.c: Likewise.
14092 * misc/lremovexattr.c: Likewise.
14093 * misc/lsetxattr.c: Likewise.
14094 * misc/lutimes.c: Likewise.
14095 * misc/madvise.c: Likewise.
14096 * misc/mincore.c: Likewise.
14097 * misc/mlock.c: Likewise.
14098 * misc/mlockall.c: Likewise.
14099 * misc/mmap.c: Likewise.
14100 * misc/mprotect.c: Likewise.
14101 * misc/msync.c: Likewise.
14102 * misc/munlock.c: Likewise.
14103 * misc/munlockall.c: Likewise.
14104 * misc/munmap.c: Likewise.
14105 * misc/preadv.c: Likewise.
14106 * misc/preadv64.c: Likewise.
14107 * misc/ptrace.c: Likewise.
14108 * misc/pwritev.c: Likewise.
14109 * misc/pwritev64.c: Likewise.
14110 * misc/readv.c: Likewise.
14111 * misc/reboot.c: Likewise.
14112 * misc/remap_file_pages.c: Likewise.
14113 * misc/removexattr.c: Likewise.
14114 * misc/revoke.c: Likewise.
14115 * misc/select.c: Likewise.
14116 * misc/setdomain.c: Likewise.
14117 * misc/setegid.c: Likewise.
14118 * misc/seteuid.c: Likewise.
14119 * misc/sethostid.c: Likewise.
14120 * misc/sethostname.c: Likewise.
14121 * misc/setregid.c: Likewise.
14122 * misc/setreuid.c: Likewise.
14123 * misc/setxattr.c: Likewise.
14124 * misc/sstk.c: Likewise.
14125 * misc/stty.c: Likewise.
14126 * misc/swapoff.c: Likewise.
14127 * misc/swapon.c: Likewise.
14128 * misc/sync.c: Likewise.
14129 * misc/syncfs.c: Likewise.
14130 * misc/syscall.c: Likewise.
14131 * misc/truncate.c: Likewise.
14132 * misc/ualarm.c: Likewise.
14133 * misc/usleep.c: Likewise.
14134 * misc/ustat.c: Likewise.
14135 * misc/utimes.c: Likewise.
14136 * misc/vhangup.c: Likewise.
14137 * misc/writev.c: Likewise.
14138 * posix/_exit.c: Likewise.
14139 * posix/alarm.c: Likewise.
14140 * posix/execve.c: Likewise.
14141 * posix/fexecve.c: Likewise.
14142 * posix/fork.c: Likewise.
14143 * posix/fpathconf.c: Likewise.
14144 * posix/getaddrinfo.c: Likewise.
14145 * posix/getegid.c: Likewise.
14146 * posix/geteuid.c: Likewise.
14147 * posix/getgid.c: Likewise.
14148 * posix/getgroups.c: Likewise.
14149 * posix/getlogin.c: Likewise.
14150 * posix/getlogin_r.c: Likewise.
14151 * posix/getpgid.c: Likewise.
14152 * posix/getpid.c: Likewise.
14153 * posix/getppid.c: Likewise.
14154 * posix/getresgid.c: Likewise.
14155 * posix/getresuid.c: Likewise.
14156 * posix/getsid.c: Likewise.
14157 * posix/getuid.c: Likewise.
14158 * posix/glob64.c: Likewise.
14159 * posix/nanosleep.c: Likewise.
14160 * posix/pathconf.c: Likewise.
14161 * posix/pause.c: Likewise.
14162 * posix/posix_madvise.c: Likewise.
14163 * posix/pread.c: Likewise.
14164 * posix/pread64.c: Likewise.
14165 * posix/pwrite.c: Likewise.
14166 * posix/pwrite64.c: Likewise.
14167 * posix/sched_getaffinity.c: Likewise.
14168 * posix/sched_getp.c: Likewise.
14169 * posix/sched_gets.c: Likewise.
14170 * posix/sched_primax.c: Likewise.
14171 * posix/sched_primin.c: Likewise.
14172 * posix/sched_rr_gi.c: Likewise.
14173 * posix/sched_setaffinity.c: Likewise.
14174 * posix/sched_setp.c: Likewise.
14175 * posix/sched_sets.c: Likewise.
14176 * posix/sched_yield.c: Likewise.
14177 * posix/setgid.c: Likewise.
14178 * posix/setlogin.c: Likewise.
14179 * posix/setpgid.c: Likewise.
14180 * posix/setresgid.c: Likewise.
14181 * posix/setresuid.c: Likewise.
14182 * posix/setsid.c: Likewise.
14183 * posix/setuid.c: Likewise.
14184 * posix/sleep.c: Likewise.
14185 * posix/spawni.c: Likewise.
14186 * posix/sysconf.c: Likewise.
14187 * posix/times.c: Likewise.
14188 * posix/wait.c: Likewise.
14189 * posix/wait3.c: Likewise.
14190 * posix/wait4.c: Likewise.
14191 * posix/waitpid.c: Likewise.
14192 * resolv/gai_sigqueue.c: Likewise.
14193 * resource/getpriority.c: Likewise.
14194 * resource/getrlimit.c: Likewise.
14195 * resource/getrusage.c: Likewise.
14196 * resource/nice.c: Likewise.
14197 * resource/setpriority.c: Likewise.
14198 * resource/setrlimit.c: Likewise.
14199 * resource/ulimit.c: Likewise.
14200 * rt/aio_cancel.c: Likewise.
14201 * rt/aio_fsync.c: Likewise.
14202 * rt/aio_read.c: Likewise.
14203 * rt/aio_sigqueue.c: Likewise.
14204 * rt/aio_suspend.c: Likewise.
14205 * rt/aio_write.c: Likewise.
14206 * rt/clock_getres.c: Likewise.
14207 * rt/clock_gettime.c: Likewise.
14208 * rt/clock_nanosleep.c: Likewise.
14209 * rt/clock_settime.c: Likewise.
14210 * rt/lio_listio.c: Likewise.
14211 * rt/mq_close.c: Likewise.
14212 * rt/mq_getattr.c: Likewise.
14213 * rt/mq_notify.c: Likewise.
14214 * rt/mq_open.c: Likewise.
14215 * rt/mq_receive.c: Likewise.
14216 * rt/mq_send.c: Likewise.
14217 * rt/mq_setattr.c: Likewise.
14218 * rt/mq_timedreceive.c: Likewise.
14219 * rt/mq_timedsend.c: Likewise.
14220 * rt/mq_unlink.c: Likewise.
14221 * rt/shm_open.c: Likewise.
14222 * rt/shm_unlink.c: Likewise.
14223 * rt/timer_create.c: Likewise.
14224 * rt/timer_delete.c: Likewise.
14225 * rt/timer_getoverr.c: Likewise.
14226 * rt/timer_gettime.c: Likewise.
14227 * rt/timer_settime.c: Likewise.
14228 * setjmp/__longjmp.c: Likewise.
14229 * setjmp/setjmp.c: Likewise.
14230 * signal/kill.c: Likewise.
14231 * signal/killpg.c: Likewise.
14232 * signal/raise.c: Likewise.
14233 * signal/sigaction.c: Likewise.
14234 * signal/sigaltstack.c: Likewise.
14235 * signal/sigblock.c: Likewise.
14236 * signal/sigignore.c: Likewise.
14237 * signal/sigintr.c: Likewise.
14238 * signal/signal.c: Likewise.
14239 * signal/sigpause.c: Likewise.
14240 * signal/sigpending.c: Likewise.
14241 * signal/sigqueue.c: Likewise.
14242 * signal/sigreturn.c: Likewise.
14243 * signal/sigset.c: Likewise.
14244 * signal/sigsetmask.c: Likewise.
14245 * signal/sigstack.c: Likewise.
14246 * signal/sigsuspend.c: Likewise.
14247 * signal/sigtimedwait.c: Likewise.
14248 * signal/sigvec.c: Likewise.
14249 * signal/sigwait.c: Likewise.
14250 * signal/sigwaitinfo.c: Likewise.
14251 * signal/sysv_signal.c: Likewise.
14252 * socket/accept.c: Likewise.
14253 * socket/accept4.c: Likewise.
14254 * socket/bind.c: Likewise.
14255 * socket/connect.c: Likewise.
14256 * socket/getpeername.c: Likewise.
14257 * socket/getsockname.c: Likewise.
14258 * socket/getsockopt.c: Likewise.
14259 * socket/isfdtype.c: Likewise.
14260 * socket/listen.c: Likewise.
14261 * socket/recv.c: Likewise.
14262 * socket/recvfrom.c: Likewise.
14263 * socket/recvmsg.c: Likewise.
14264 * socket/send.c: Likewise.
14265 * socket/sendmsg.c: Likewise.
14266 * socket/sendto.c: Likewise.
14267 * socket/setsockopt.c: Likewise.
14268 * socket/shutdown.c: Likewise.
14269 * socket/sockatmark.c: Likewise.
14270 * socket/socket.c: Likewise.
14271 * socket/socketpair.c: Likewise.
14272 * stdio-common/ctermid.c: Likewise.
14273 * stdio-common/cuserid.c: Likewise.
14274 * stdio-common/remove.c: Likewise.
14275 * stdio-common/rename.c: Likewise.
14276 * stdio-common/renameat.c: Likewise.
14277 * stdio-common/tempname.c: Likewise.
14278 * stdlib/getcontext.c: Likewise.
14279 * stdlib/makecontext.c: Likewise.
14280 * stdlib/setcontext.c: Likewise.
14281 * stdlib/swapcontext.c: Likewise.
14282 * stdlib/system.c: Likewise.
14283 * streams/fattach.c: Likewise.
14284 * streams/fdetach.c: Likewise.
14285 * streams/getmsg.c: Likewise.
14286 * streams/getpmsg.c: Likewise.
14287 * streams/putmsg.c: Likewise.
14288 * streams/putpmsg.c: Likewise.
14289 * sysdeps/unix/bsd/getpt.c: Likewise.
14290 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14291 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14292 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14295 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14296 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14297 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14298 * sysvipc/msgctl.c: Likewise.
14299 * sysvipc/msgget.c: Likewise.
14300 * sysvipc/msgrcv.c: Likewise.
14301 * sysvipc/msgsnd.c: Likewise.
14302 * sysvipc/semctl.c: Likewise.
14303 * sysvipc/semget.c: Likewise.
14304 * sysvipc/semop.c: Likewise.
14305 * sysvipc/semtimedop.c: Likewise.
14306 * sysvipc/shmat.c: Likewise.
14307 * sysvipc/shmctl.c: Likewise.
14308 * sysvipc/shmdt.c: Likewise.
14309 * sysvipc/shmget.c: Likewise.
14310 * termios/tcdrain.c: Likewise.
14311 * termios/tcflow.c: Likewise.
14312 * termios/tcflush.c: Likewise.
14313 * termios/tcgetattr.c: Likewise.
14314 * termios/tcgetpgrp.c: Likewise.
14315 * termios/tcsendbrk.c: Likewise.
14316 * termios/tcsetattr.c: Likewise.
14317 * termios/tcsetpgrp.c: Likewise.
14318 * time/adjtime.c: Likewise.
14319 * time/clock.c: Likewise.
14320 * time/getitimer.c: Likewise.
14321 * time/gettimeofday.c: Likewise.
14322 * time/setitimer.c: Likewise.
14323 * time/settimeofday.c: Likewise.
14324 * time/stime.c: Likewise.
14325 * time/time.c: Likewise.
14327 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14329 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14332 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14334 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14336 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14340 FE_TONEAREST before applying Dekker multiplication and Knuth
14341 addition. Clear inexact exceptions and check for exact zero
14342 results afterwards.
14343 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14344 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14345 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14346 * math/libm-test.inc (fma_test): Add more tests.
14347 (fma_test_towardzero): Likewise.
14348 (fma_test_downward): Likewise.
14349 (fma_test_upward): Likewise.
14350 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14352 (libc_fesetround): New macro.
14353 (libc_fesetroundf): Likewise.
14354 (libc_fesetroundl): Likewise.
14355 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14357 (libc_fesetround_387): Likewise.
14358 (libc_fesetroundf): New macro.
14359 (libc_fesetround): Likewise.
14360 (libc_fesetroundl): Likewise.
14361 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14363 (libc_fesetroundf): New macro.
14364 (libc_fesetround): Likewise.
14365 (libc_fesetroundl): Likewise.
14366 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14367 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14368 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14370 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14371 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14373 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14374 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14376 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14380 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14381 integer constant usable in #if and use that to give value to enum
14383 (FE_DIVBYZERO): Likewise.
14384 (FE_UNDERFLOW): Likewise.
14385 (FE_OVERFLOW): Likewise.
14386 (FE_INVALID): Likewise.
14387 (FE_INVALID_SNAN): Likewise.
14388 (FE_INVALID_ISI): Likewise.
14389 (FE_INVALID_IDI): Likewise.
14390 (FE_INVALID_ZDZ): Likewise.
14391 (FE_INVALID_IMZ): Likewise.
14392 (FE_INVALID_COMPARE): Likewise.
14393 (FE_INVALID_SOFTWARE): Likewise.
14394 (FE_INVALID_SQRT): Likewise.
14395 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14396 (FE_TONEAREST): Likewise.
14397 (FE_TOWARDZERO): Likewise.
14398 (FE_UPWARD): Likewise.
14399 (FE_DOWNWARD): Likewise.
14400 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14401 (FE_DIVBYZERO): Likewise.
14402 (FE_OVERFLOW): Likewise.
14403 (FE_UNDERFLOW): Likewise.
14404 (FE_INEXACT): Likewise.
14405 (FE_TONEAREST): Likewise.
14406 (FE_DOWNWARD): Likewise.
14407 (FE_UPWARD): Likewise.
14408 (FE_TOWARDZERO): Likewise.
14409 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14410 (FE_UNDERFLOW): Likewise.
14411 (FE_OVERFLOW): Likewise.
14412 (FE_DIVBYZERO): Likewise.
14413 (FE_INVALID): Likewise.
14414 (FE_TONEAREST): Likewise.
14415 (FE_TOWARDZERO): Likewise.
14416 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14417 (FE_OVERFLOW): Likewise.
14418 (FE_UNDERFLOW): Likewise.
14419 (FE_DIVBYZERO): Likewise.
14420 (FE_INEXACT): Likewise.
14421 (FE_TONEAREST): Likewise.
14422 (FE_TOWARDZERO): Likewise.
14423 (FE_UPWARD): Likewise.
14424 (FE_DOWNWARD): Likewise.
14425 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14426 (FE_DIVBYZERO): Likewise.
14427 (FE_OVERFLOW): Likewise.
14428 (FE_UNDERFLOW): Likewise.
14429 (FE_INEXACT): Likewise.
14430 (FE_TONEAREST): Likewise.
14431 (FE_DOWNWARD): Likewise.
14432 (FE_UPWARD): Likewise.
14433 (FE_TOWARDZERO): Likewise.
14435 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14437 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14439 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14441 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14442 commands. Quote $PWD.
14443 (blacklist_exports): Don't use remove_newlines. Replace "declare
14445 (remove_newlines): Remove.
14447 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14449 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14450 * stdlib/stdlib.h (atof): Moved to ...
14451 * include/bits/stdlib-float.h: Here. New file.
14452 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14453 * stdlib/bits/stdlib-float.h: New file.
14454 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14459 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14461 * conform/conformtest.pl (@headers): Add fenv.h.
14462 * conform/data/fenv.h-data: New file.
14463 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14464 include of <math/fenv.h>.
14466 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14467 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14468 && !UNIX98]. Enables tests for XOPEN2K8.
14469 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14470 POSIX2008]: Likewise.
14472 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14473 (struct rusage): Do not expect type or its members.
14476 * math/math.h (FP_NAN): Define macro to integer constant usable in
14477 #if and use that to give value to enum constant.
14478 (FP_INFINITE): Likewise.
14479 (FP_ZERO): Likewise.
14480 (FP_SUBNORMAL): Likewise.
14481 (FP_NORMAL): Likewise.
14483 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14485 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14486 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14489 2012-11-02 Roland McGrath <roland@hack.frob.com>
14491 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14492 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14493 autoconf-time if not.
14494 * configure.in: Remove AC_PREREQ.
14496 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14498 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14499 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14500 of the internal implementation.
14502 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14504 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14505 except include of <misc/sys/syslog.h>.
14507 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14510 function returns with a NULL context exit with zero.
14512 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14514 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14516 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14518 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14519 (run_program_cmd): This.
14520 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14521 (tst_langinfo): New variable. Use it.
14523 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14525 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14526 floating point opcodes.
14528 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14530 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14533 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14535 * sysdeps/mach/hurd/powerpc: Remove directory.
14536 * sysdeps/mach/powerpc: Likewise.
14538 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14540 * scripts/check-local-headers.sh: Ignore c++ headers.
14542 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14544 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14545 __libc_cleanup_region_start argument.
14547 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14552 x * y using scaling, not as x * y + z.
14553 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14554 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14555 * math/libm-test.inc (fma_test): Add more tests.
14556 (fma_test_towardzero): Likewise.
14557 (fma_test_downward): Likewise.
14558 (fma_test_upward): Likewise.
14560 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14562 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14564 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14566 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14569 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14571 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14573 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14580 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14583 Fix the order of the list for glibc 2.17.
14584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14587 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14591 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14594 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14595 for low part of x being zero before using __atanl (y).
14596 * math/libm-test.inc (atan2_test): Add another test.
14598 * manual/install.texi (Configuring and compiling): Document
14599 general use of test-wrapper and test-wrapper-env.
14600 * INSTALL: Regenerated.
14602 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14603 (__fma): Do not extract and scale down low bits on after-rounding
14604 systems when result rounded to normal precision would have normal
14606 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14607 (__fmal): Do not extract and scale down low bits on after-rounding
14608 systems when result rounded to normal precision would have normal
14610 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14611 (__fmal): Do not extract and scale down low bits on after-rounding
14612 systems when result rounded to normal precision would have normal
14614 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14616 (fma_test): Add more tests.
14617 (fma_test_towardzero): Likewise.
14618 (fma_test_downward): Likewise.
14619 (fma_test_upward): Likewise.
14621 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14623 * sysdeps/i386/tininess.h: Renamed to ...
14624 * sysdeps/x86/tininess.h: This.
14625 * sysdeps/x86_64/tininess.h: Removed.
14627 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14629 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14630 input. Use $(build-program-cmd).
14631 ($(objpfx)tst-array1-static.out): Likewise.
14632 ($(objpfx)tst-array2.out): Likewise.
14633 ($(objpfx)tst-array3.out): Likewise.
14634 ($(objpfx)tst-array4.out): Likewise.
14635 ($(objpfx)tst-array5.out): Likewise.
14636 ($(objpfx)tst-array5-static.out): Likewise.
14638 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14640 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14643 * nss/nsswitch.h (nss_interface_function): Provide new
14644 macro for use with NSS functions.
14645 * grp/initgroups.c: Use new macro.
14646 * nss/getXXbyYY.c: Likewise.
14647 * nss/getXXbyYY_r.c: Likewise.
14648 * nss/getXXent.c: Likewise.
14649 * nss/getXXent_r.c: Likewise.
14650 * sysdeps/posix/getaddrinfo.c: Likewise.
14652 2012-10-30 Andreas Jaeger <aj@suse.de>
14654 * po/ru.po: Update Russion translation from translation project.
14656 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14660 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14661 result and shift together with sticky bit instead of replicating
14662 round-to-nearest rounding.
14663 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14664 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14665 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14666 missing underflow exceptions.
14667 (fma_test_towardzero): Add more tests.
14668 (fma_test_downward): Likewise.
14669 (fma_test_upward): Likewise.
14672 * sysdeps/generic/tininess.h: New file.
14673 * sysdeps/i386/tininess.h: Likewise.
14674 * sysdeps/sh/tininess.h: Likewise.
14675 * sysdeps/x86_64/tininess.h: Likewise.
14676 * stdlib/tst-strtod-underflow.c: Likewise.
14677 * stdlib/tst-tininess.c: Likewise.
14678 * stdlib/strtod_l.c: Include <tininess.h>.
14679 (round_and_return): Do not set errno for exact underflow cases.
14680 Force an underflow exception when setting errno for underflow.
14681 Determine underflow based on rounding to normal precision if
14682 TININESS_AFTER_ROUNDING.
14683 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14684 ERANGE for exact underflow cases.
14685 * stdlib/Makefile (tests): Add tst-tininess and
14686 tst-strtod-underflow.
14687 ($(objpfx)tst-tininess): Use $(link-libm).
14688 ($(objpfx)tst-strtod-underflow): Likewise.
14690 2012-10-30 Andreas Jaeger <aj@suse.de>
14693 * elf/Makefile (tests): Remove conditional for have-initfini-array
14694 since this is now always required and the variable does not exist
14696 (tests-static): Likewise.
14697 (modules-names): Likewise.
14699 * po/eo.po: Add Esperanto translation from translation project.
14701 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14702 merged with constructor/destructor.
14703 (init_array): Likewise.
14704 * elf/tst-array2dep.c (fini_array): Likewise.
14705 (init_array): Likewise.
14707 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14709 * manual/message.texi: Delete @cartouche tags.
14711 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14713 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14715 * sysdeps/mach/hurd/fsync.c: Likewise.
14717 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14718 [_POSIX_REALTIME_SIGNALS]: Change condition to
14719 [_POSIX_REALTIME_SIGNALS > 0].
14721 2012-10-27 Andreas Jaeger <aj@suse.de>
14723 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14724 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14725 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14726 [__WORDSIZE != 64]: Likewise.
14728 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14730 * iconvdata/tst-table.sh: Remove ${SHELL}.
14731 * iconvdata/tst-tables.sh: Likewise.
14733 2012-10-25 David S. Miller <davem@davemloft.net>
14735 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14736 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14741 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14742 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14743 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14746 2012-10-25 Roland McGrath <roland@hack.frob.com>
14748 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14749 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14752 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14753 Jim Blandy <jimb@codesourcery.com>
14755 * scripts/cross-test-ssh.sh: New file.
14756 * manual/install.texi (Configuring and compiling): Document use of
14758 * INSTALL: Regenerated.
14760 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14762 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14765 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14767 * Makeconfig (run-program-prefix): Fix comment.
14769 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14770 Jim Blandy <jimb@codesourcery.com>
14772 * Makeconfig (test-wrapper): New variable,
14773 (test-wrapper-env): Likewise.
14774 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14775 (run-built-tests): Define to yes.
14776 (run-program-prefix): Use $(test-wrapper).
14777 (built-program-cmd): Likewise.
14778 * Rules (make-test-out): Use $(test-wrapper-env) and
14779 $(host-built-program-cmd).
14780 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14781 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14783 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14784 $(test-wrapper-env) to tst-rtld-load-self.sh.
14785 ($(objpfx)order2.out): Use $(test-wrapper).
14786 ($(objpfx)tst-initorder.out): Likewise.
14787 ($(objpfx)tst-initorder2.out): Likewise.
14788 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14789 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14790 (test_wrapper_env): New variable. Use it to run ld.so.
14791 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14792 Use it to run ld.so.
14793 (test_wrapper_env): Likewise.
14794 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14795 $(test-wrapper) to run-iconv-test.sh.
14796 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14797 (ICONV): Use $test_wrapper.
14798 * posix/Makefile ($(objpfx)globtest.out): Pass
14799 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14800 globtest.sh, not $(run-program-prefix).
14801 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14802 (test_wrapper): Likewise.
14803 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14804 set together with run_via_rtld_prefix.
14805 (run_program_prefix): Define in terms of test_wrapper and
14806 run_via_rtld_prefix.
14808 2012-10-24 Roland McGrath <roland@hack.frob.com>
14810 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14811 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14815 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14816 Declare __clock_getres, __clock_gettime, __clock_settime,
14817 __clock_nanosleep, and __clock_getcpuclockid.
14818 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14819 Remove librt_hidden_def (clock_gettime).
14820 * sysdeps/unix/clock_gettime.c: Likewise.
14821 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14822 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14823 * rt/clock_getres.c: Define __clock_getres as an alias.
14824 * sysdeps/posix/clock_getres.c: Likewise.
14825 * rt/clock_settime.c: Define __clock_settime as an alias.
14826 * sysdeps/unix/clock_settime.c: Likewise.
14827 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14828 * sysdeps/unix/clock_nanosleep.c: Likewise.
14829 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14830 * rt/clock-compat.c: New file.
14831 * rt/Makefile (librt-routines): Add clock-compat and move
14832 $(clock-routines) to ...
14833 (routines): ... here, new variable.
14834 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14835 Don't add get_clockfreq here.
14836 * rt/Versions (libc: GLIBC_2.17): New version set.
14837 Add clock_* symbols here.
14838 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14839 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14840 (GLIBC_2.17): Add clock_* symbols.
14841 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14852 * NEWS: Mention the move.
14854 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14855 Use __open, __read, __close rather than their public counterparts.
14856 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14857 (__get_clockfreq_via_cpuinfo): Likewise.
14858 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14859 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14861 * config.h.in (HAVE_IFUNC): New #undef.
14862 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14864 * configure: Regenerated.
14866 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14868 * configure.in: Move READELF check to start of file.
14869 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14870 libc_cv_asm_gnu_indirect_function in the process.
14871 * configure: Regenerated.
14873 2012-10-24 Mike Frysinger <vapier@gentoo.org>
14875 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14876 send the output to /dev/null.
14877 (libc_cv_cc_with_libunwind): Likewise.
14878 (libc_cv_as_noexecstack): Likewise.
14879 * configure: Regenerate.
14881 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14883 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14885 * posix/globtest.sh (TMPDIR): Do not set.
14886 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14887 (testout): Likewise.
14889 2012-10-24 Andreas Jaeger <aj@suse.de>
14891 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14892 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14893 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14894 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14895 posix_fadvise64, posix_fallocate64.
14897 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14898 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14899 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14901 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14903 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14905 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14906 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14907 <bits/fcntl-linux.h>.
14908 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14911 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14912 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14913 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14914 [__WORDSIZE != 64]: Likewise.
14916 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14918 * Makeconfig (run-built-tests): New variable.
14919 * Rules [$(cross-compiling) = yes]: Change condition to
14920 [$(run-built-tests) = no].
14921 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14922 to [$(run-built-tests) = yes].
14923 * elf/Makefile [$(cross-compiling) = no]: Likewise
14924 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14925 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14926 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14927 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14928 * io/Makefile [$(cross-compiling) = no]: Likewise.
14929 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14930 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14931 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14932 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14933 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14934 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14935 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14936 * string/Makefile [$(cross-compiling) = no]: Likewise.
14938 * posix/Makefile ($(objpfx)globtest.out): Pass
14939 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14940 $(rtld-installed-name).
14941 * posix/globtest.sh (elf_objpfx): Remove variable.
14942 (rtld_installed_name): Likewise.
14943 (library_path): Likewise.
14944 (run_program_prefix): New variable. Use for running globtest
14947 2012-10-23 Jim Blandy <jimb@codesourcery.com>
14948 Joseph Myers <joseph@codesourcery.com>
14950 * Makeconfig (host-built-program-cmd): New variable.
14951 * elf/Makefile (tst-stackguard1-ARGS): Use
14952 $(host-built-program-cmd).
14953 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14954 (tst-spawn-ARGS): Likewise.
14955 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14957 2012-10-23 Joseph Myers <joseph@codesourcery.com>
14958 Jim Blandy <jimb@codesourcery.com>
14960 * Makeconfig (run-via-rtld-prefix): New variable.
14961 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14962 (built-program-cmd): Likewise.
14964 2012-10-22 Andreas Jaeger <aj@suse.de>
14966 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14967 __O_RSYNC if it exists, otherwise to O_SYNC.
14969 2012-10-22 Jim Blandy <jimb@codesourcery.com>
14970 Joseph Myers <joseph@codesourcery.com>
14972 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14974 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14976 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14979 2012-10-22 Andreas Jaeger <aj@suse.de>
14981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14983 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14985 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14986 bits/fcntl-linux.h.
14988 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14989 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14993 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14996 2012-10-21 Jim Blandy <jimb@codesourcery.com>
14997 Joseph Myers <joseph@codesourcery.com>
14999 * config.make.in (NM): New variable.
15001 2012-10-21 Andreas Jaeger <aj@suse.de>
15003 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15004 definitions and declarations that are provided by
15005 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15007 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15010 * elf/Makefile (tests-static): Add tst-leaks1-static.
15011 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15012 ($(objpfx)tst-leaks1-static): New rule.
15013 ($(objpfx)tst-leaks1-static-mem): Likewise.
15014 (tst-leaks1-static-ENV): New macro.
15015 * elf/dl-open.c (dl_open_worker): Check the main application
15016 only if SHARED is defined.
15017 * elf/tst-leaks1-static.c: New file.
15019 2012-10-20 Andreas Jaeger <aj@suse.de>
15021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15022 generic values for Linux.
15023 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15024 and declarations that are provided by <bits/fcntl-linux.h> and
15025 include <bits/fcntl-linux.h>.
15026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15029 2012-10-20 Roland McGrath <roland@hack.frob.com>
15031 * io/fcntl.h: Move include of <bits/types.h> to the top and
15032 include it unconditionally.
15034 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15036 * wcsmbs/Makefile (tests-ifunc): New variable.
15037 (tests): Add $(tests-ifunc).
15038 * wcsmbs/test-wcschr-ifunc.c: New file.
15039 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15040 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15041 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15042 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15043 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15045 * string/Makefile (tests-ifunc): New variable.
15046 (tests): Add $(tests-ifunc).
15047 * string/test-memccpy.c (TEST_NAME): New macro.
15048 * string/test-memchr.c (TEST_NAME): Likewise.
15049 * string/test-memcmp.c (TEST_NAME): Likewise.
15050 * string/test-memcpy.c (TEST_NAME): Likewise.
15051 * string/test-memmem.c (TEST_NAME): Likewise.
15052 * string/test-memmove.c (TEST_NAME): Likewise.
15053 * string/test-memset.c (TEST_NAME): Likewise.
15054 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15055 * string/test-stpcpy.c (TEST_NAME): Likewise.
15056 * string/test-stpncpy.c (TEST_NAME): Likewise.
15057 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15058 * string/test-strcasestr.c (TEST_NAME): Likewise.
15059 * string/test-strcat.c (TEST_NAME): Likewise.
15060 * string/test-strchr.c (TEST_NAME): Likewise.
15061 * string/test-strcmp.c(TEST_NAME): Likewise.
15062 * string/test-strcpy.c (TEST_NAME): Likewise.
15063 * string/test-strcspn.c (TEST_NAME): Likewise.
15064 * string/test-strlen.c (TEST_NAME): Likewise.
15065 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15066 * string/test-strncmp.c (TEST_NAME): Likewise.
15067 * string/test-strncpy.c (TEST_NAME): Likewise.
15068 * string/test-strnlen.c (TEST_NAME): Likewise.
15069 * string/test-strpbrk.c (TEST_NAME): Likewise.
15070 * string/test-strrchr.c (TEST_NAME): Likewise.
15071 * string/test-strspn.c (TEST_NAME): Likewise.
15072 * string/test-strstr.c (TEST_NAME): Likewise.
15073 * string/test-bcopy-ifunc.c: New file.
15074 * string/test-bzero-ifunc.c: Likewise.
15075 * string/test-memccpy-ifunc.c: Likewise.
15076 * string/test-memchr-ifunc.c: Likewise.
15077 * string/test-memcmp-ifunc.c: Likewise.
15078 * string/test-memcpy-ifunc.c: Likewise.
15079 * string/test-memmem-ifunc.c: Likewise.
15080 * string/test-memmove-ifunc.c: Likewise.
15081 * string/test-mempcpy-ifunc.c: Likewise.
15082 * string/test-memset-ifunc.c: Likewise.
15083 * string/test-rawmemchr-ifunc.c: Likewise.
15084 * string/test-stpcpy-ifunc.c: Likewise.
15085 * string/test-stpncpy-ifunc.c: Likewise.
15086 * string/test-strcasecmp-ifunc.c: Likewise.
15087 * string/test-strcasestr-ifunc.c: Likewise.
15088 * string/test-strcat-ifunc.c: Likewise.
15089 * string/test-strchr-ifunc.c: Likewise.
15090 * string/test-strchrnul-ifunc.c: Likewise.
15091 * string/test-strcmp-ifunc.c: Likewise.
15092 * string/test-strcpy-ifunc.c: Likewise.
15093 * string/test-strcspn-ifunc.c: Likewise.
15094 * string/test-strlen-ifunc.c: Likewise.
15095 * string/test-strncasecmp-ifunc.c: Likewise.
15096 * string/test-strncat-ifunc.c: Likewise.
15097 * string/test-strncmp-ifunc.c: Likewise.
15098 * string/test-strncpy-ifunc.c: Likewise.
15099 * string/test-strnlen-ifunc.c: Likewise.
15100 * string/test-strpbrk-ifunc.c: Likewise.
15101 * string/test-strrchr-ifunc.c: Likewise.
15102 * string/test-strspn-ifunc.c: Likewise.
15103 * string/test-strstr-ifunc.c: Likewise.
15105 * debug/Makefile (tests-ifunc): New variable.
15106 (tests): Add $(tests-ifunc).
15107 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15108 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15109 * debug/test-stpcpy_chk-ifunc.c: New file.
15110 * debug/test-strcpy_chk-ifunc.c: Likewise.
15112 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15115 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15116 header is not read in.
15118 2012-10-19 Joseph Myers <joseph@codesourcery.com>
15120 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15121 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15122 directly. Pass built executable to script as
15123 $(built-program-cmd).
15124 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15125 $testprogram without using LD_LIBRARY_PATH and $ldso.
15127 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15128 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15129 $(rtld-installed-name).
15130 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15131 (rtld_installed_name): Likewise.
15132 (library_path): Likewise.
15133 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15134 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15135 $(run-program-prefix) to tst-tables.sh.
15136 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15137 it to run tst-table-from and tst-table-to.
15138 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15139 Pass it to tst-table.sh.
15140 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15141 $(run-program-prefix) to tst-gettext.sh.
15142 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15144 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15146 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15147 to run tst-gettext.
15148 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15149 to run tst-gettext2.
15150 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15151 to run tst-translit.
15152 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15153 $(run-program-prefix) to tst-mtrace.sh.
15154 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15156 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15157 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15158 $(rtld-installed-name).
15159 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15160 (rtld_installed_name): Likewise.
15161 (run_program_prefix): New variable. Use it to run wordexp-test.
15163 * Makeconfig (ARCH): Remove all definitions.
15164 (machine): Likewise.
15165 [ARCH]: Remove conditional code.
15166 [!objdir]: Give error.
15167 [!objdir] (objpfx): Remove.
15168 [!objdir] (common-objpfx): Likewise.
15169 [!objdir] (common-objdir): Likewise.
15170 * configure.in (config_makefile): Remove. Hardcode Makefile in
15171 AC_CONFIG_FILES call.
15172 * configure: Regenerated.
15175 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15177 (testout): Likewise.
15179 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15180 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15181 $(rtld-installed-name).
15182 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15183 (rtld_installed_name): Likwise.
15184 (runit): Remove function.
15185 (run_getconf): New variable, Use it for running getconf binary.
15187 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15190 * string/test-memmem.c (check_result): New function.
15191 (do_one_test): Use it.
15192 (check1): New function.
15193 (test_main): Use it.
15195 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15197 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15199 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15201 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15202 (_G_LSEEK64): Likewise.
15203 (_G_MMAP64): Likewise.
15204 (_G_FSTAT64): Likewise.
15205 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15206 (_G_LSEEK64): Likewise.
15207 (_G_MMAP64): Likewise.
15208 (_G_FSTAT64): Likewise.
15209 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15210 unconditional. Call __mmap64 directly.
15211 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15212 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15213 __lseek64 directly.
15214 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15215 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15217 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15218 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15219 __lseek64 directly.
15220 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15221 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15222 __lseek64 directly.
15223 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15224 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15225 __lseek64 directly.
15226 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15227 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15228 __fxstat64 directly.
15229 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15230 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15232 (freopen64) [!_G_OPEN64]: Remove conditional code.
15233 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15235 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15236 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15238 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15239 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15241 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15242 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15244 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15245 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15247 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15248 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15250 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15251 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15253 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15255 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15258 * manual/memory.texi (Malloc Tunable Parameters): Add note
15259 about free list pointers overwriting some perturb bytes.
15260 Wording suggested by Roland McGrath.
15262 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15264 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15265 (lgamma_test): Likewise.
15266 (tgamma_test): Likewise.
15268 2012-10-16 Florian Weimer <fweimer@redhat.com>
15271 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15272 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15274 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15276 * NEWS: Mention BZ #14716.
15277 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15278 when removing AVAILABLE1_USES_J macro.
15280 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15282 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15283 (__bswap_64): __uint64_t for unsigned 64-bit int.
15285 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15287 * include/string.h (memmem): Declare libc hidden alias.
15288 * string/memmem.c (memmem): Define libc hidden alias.
15289 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15290 __read, __close instead of open, read, close.
15292 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15294 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15295 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15297 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15298 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15299 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15301 (__rawmemchr_sse2): Likewise.
15302 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15303 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15304 (__strchr_sse2): Likewise.
15305 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15306 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15307 (__strcasecmp_sse2): Likewise.
15308 (__strncasecmp_sse2): Likewise.
15309 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15310 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15311 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15312 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15313 (__strrchr_sse2): Likewise.
15314 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15316 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15317 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15318 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15319 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15320 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15321 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15322 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15323 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15324 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15325 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15326 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15327 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15328 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15329 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15330 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15331 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15332 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15333 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15334 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15335 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15336 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15337 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15338 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15339 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15340 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15341 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15342 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15343 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15344 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15345 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15347 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15349 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15350 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15351 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15352 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15354 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15356 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15357 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15358 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15359 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15361 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15362 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15363 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15364 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15365 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15366 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15367 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15368 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15369 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15370 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15371 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15372 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15373 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15374 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15375 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15376 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15377 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15378 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15379 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15380 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15381 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15382 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15383 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15384 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15385 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15386 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15387 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15388 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15389 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15390 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15391 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15392 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15393 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15394 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15395 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15396 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15397 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15398 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15399 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15400 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15401 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15403 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15404 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15405 * include/ifunc-impl-list.h: New file.
15406 * misc/ifunc-impl-list.c: Likewise.
15407 * misc/Makefile (routines): Add ifunc-impl-list.
15408 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15409 * string/test-string.h: Include <ifunc-impl-list.h>.
15410 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15411 impl_array): New variables.
15412 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15414 (test_init): Call __libc_ifunc_impl_list to initialize
15415 func_list if TEST_IFUNC and TEST_NAME are defined.
15417 * string/Makefile (strop-tests): Add bcopy and bzero.
15418 * string/test-bcopy.c: New file.
15419 * string/test-bzero.c: Likewise.
15420 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15422 * string/test-memset.c: Support bzero test if TEST_BZERO is
15424 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15426 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15428 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15431 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15433 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15434 * configure: Regenerated.
15436 * Makeconfig (+link-static-before-libc): Don't include
15437 $(link-static-libc).
15439 * libio/libio.h (_IO_pos_t): Remove.
15441 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15443 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15446 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15448 * crypt/crypt-entry.c: Include fips-private.h.
15449 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15450 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15451 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15452 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15454 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15456 * crypt/crypt-private.h: Include stdbool.h.
15457 (_ufc_setup_salt_r): Return bool.
15458 * crypt/crypt-entry.c: Include errno.h.
15459 (__crypt_r): Return NULL with EINVAL for bad salt.
15460 * crypt/crypt_util.c (bad_for_salt): New.
15461 (_ufc_setup_salt_r): Check that salt is long enough and within
15462 the specified alphabet.
15463 * crypt/badsalttest.c: New file.
15464 * crypt/Makefile (tests): Add it.
15465 ($(objpfx)badsalttest): New.
15467 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15469 * NEWS: Add entry for BZ #14602.
15471 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15473 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15475 * math/libm-test.inc: Update comment listing what functions and
15477 (isgreater_test): New function.
15478 (isgreaterequal_test): Likewise.
15479 (isless_test): Likewise.
15480 (islessequal_test): Likewise.
15481 (islessgreater_test): Likewise.
15482 (isunordered_test): Likewise.
15483 (main): Call the new functions.
15485 2012-10-09 Roland McGrath <roland@hack.frob.com>
15487 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15488 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15489 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15490 * sysdeps/i386/configure: Regenerated.
15491 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15492 * sysdeps/mach/configure: Regenerated.
15493 * sysdeps/mach/hurd/configure: Regenerated.
15494 * sysdeps/powerpc/configure: Regenerated.
15495 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15496 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15497 * sysdeps/s390/s390-32/configure: Regenerated.
15498 * sysdeps/s390/s390-64/configure: Regenerated.
15499 * sysdeps/sh/configure: Regenerated.
15500 * sysdeps/sparc/configure: Regenerated.
15501 * sysdeps/unix/sysv/linux/configure: Regenerated.
15502 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15503 * sysdeps/x86_64/configure: Regenerated.
15505 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15506 defined. Don't check if MAP is NULL.
15508 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15510 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15511 (_G_stat64): Likewise.
15512 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15513 (_G_stat64): Likewise.
15514 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15515 instead of struct _G_stat64.
15516 * libio/fileops.c (mmap_remap_check): Likewise.
15517 (decide_maybe_mmap): Likewise.
15518 (_IO_new_file_seekoff): Likewise.
15519 (_IO_file_stat): Likewise.
15520 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15522 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15523 instead of struct _G_stat64.
15524 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15526 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15529 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15531 (CHECK_EOL): New macro.
15532 (two_way_short_needle): Check beginning of haystack for EOL. Use
15534 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15535 Replace with CHECK_EOL.
15536 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15537 Replace with CHECK_EOL.
15539 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15541 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15543 * math/libm-test.inc: Update comment listing what functions and
15545 (finite_test): New function.
15546 (isinf_test): Likewise.
15547 (isnan_test): Likewise.
15548 (fpclassify_test): Test subnormal input.
15549 (isfinite_test): Likewise.
15550 (isnormal_test): Likewise.
15551 (main): Call the new functions.
15553 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15556 * Makerules (%.dynsym): Force C locale when running
15557 $(OBJDUMP) --dynamic-syms.
15559 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15561 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15564 2012-10-06 David S. Miller <davem@davemloft.net>
15566 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15567 upper 32-bits of the length value in %o2 since we use branch-on-register
15568 tests which consider the entire 64-bit register.
15570 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15572 * string/test-strstr.c (check2): Add a test for page boundary.
15574 2012-10-05 David S. Miller <davem@davemloft.net>
15576 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15577 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15579 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15581 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15582 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15583 and bzero when HWCAP_SPARC_CRYPTO is present.
15585 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15588 * string/test-strstr.c (check2): New function.
15589 (test_main): Call check2.
15591 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15593 * string/bug-strcasestr1.c (do_test): Moved to ...
15594 * string/test-strcasestr.c (check1): Here. New function.
15595 (do_one_test): Break out result checking code into ...
15596 (check_result): This. New function.
15597 (do_one_test): Call check_result.
15598 (test_main): Call check1.
15599 * string/bug-strchr1.c (do_test): Moved to ...
15600 * string/test-strchr.c (check1): Here. New function.
15601 (do_one_test): Break out result checking code into ...
15602 (check_result): This. New function.
15603 (do_one_test): Call check_result.
15604 (test_main): Call check1.
15605 * string/bug-strstr1.c (main): Moved to ...
15606 * string/test-strstr.c (check1): Here. New function.
15607 (do_one_test): Break out result checking code into ...
15608 (check_result): This. New function.
15609 (do_one_test): Call check_result.
15610 (test_main): Call check1.
15611 * string/bug-strcasestr1.c: Removed.
15612 * string/bug-strchr1.c: Likewise.
15613 * string/bug-strstr1.c: Likewise.
15615 * elf/Makefile (dl-routines): Add hwcaps.
15616 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15617 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15618 (_dl_important_hwcaps): Moved to ...
15619 * elf/dl-hwcaps.c: Here. New file.
15620 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15623 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15624 if IS_IN_rtld isn't defined.
15626 * elf/dl-support.c (_dl_sysinfo_map): New.
15627 Include "get-dynamic-info.h" and "setup-vdso.h".
15628 (_dl_non_dynamic_init): Call setup_vdso.
15629 * elf/dynamic-link.h: Don't include <assert.h>.
15630 (elf_get_dynamic_info): Moved to ...
15631 * elf/get-dynamic-info.h: Here. New file.
15632 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15633 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15634 * elf/setup-vdso.h: Here. New file.
15635 * elf/rtld.c: Include "setup-vdso.h".
15636 (dl_main): Call setup_vdso.
15638 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15640 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15641 creal in comment listing functions tested. List finite, isinf,
15642 isnan, isless, islessequal, isgreater, isgreaterequal,
15643 islessgreater, isunordered, lgamma_r and pow10 as functions and
15644 macros not tested. Mention which functions not tested are aliases
15645 for other functions. Fix typo. Note that signs of NaNs are not
15648 * scripts/config.guess: Update from config.git.
15649 * scripts/config.sub: Likewise.
15651 2012-10-04 Roland McGrath <roland@hack.frob.com>
15653 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15654 * misc/madvise.c (madvise): Renamed to __madvise.
15655 Make madvise a weak alias.
15656 * include/sys/mman.h: Declare __madvise.
15657 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15658 * sysdeps/unix/syscalls.list
15659 (madvise): Make __madvise the strong name, and madvise a weak alias.
15660 * sysdeps/unix/sysv/linux/syscalls.list
15661 (madvise, mmap): Remove redundant entries.
15662 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15663 * malloc/malloc.c (mtrim): Likewise.
15664 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15666 2012-10-03 Roland McGrath <roland@hack.frob.com>
15668 * sysdeps/mach/hurd/dl-cache.c: File removed.
15669 * config.h.in (USE_LDCONFIG): New #undef.
15670 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15671 * configure: Regenerated.
15672 * elf/Makefile (dl-routines): Add dl-cache only under
15673 [$(use-ldconfig) = yes].
15674 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15675 cache on [USE_LDCONFIG].
15676 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15678 * elf/rtld.c (dl_main): Likewise.
15680 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15682 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15683 _SC_LEVEL4_CACHE_LINESIZE.
15685 2012-10-03 Roland McGrath <roland@hack.frob.com>
15687 * sysdeps/unix/bsd/confstr.h: File removed.
15689 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15691 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15694 2012-10-02 Roland McGrath <roland@hack.frob.com>
15696 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15697 Make 'mapoff' field ElfW(Off) rather than off_t.
15699 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15701 * nscd/Makefile: Remove nscd-cflags and all its users.
15702 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15703 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15706 * malloc.c (malloc_printerr): Clarify error message.
15708 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15712 Set bit_FMA_Usable if FMA is supported.
15713 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15715 (bit_FMA4_Usable): Updated.
15716 (index_FMA_Usable): New macro.
15717 (CPUID_FMA): Likewise
15718 (HAS_FMA): Defined with bit_FMA_Usable.
15720 2012-10-01 Roland McGrath <roland@hack.frob.com>
15722 * bits/types.h (__swblk_t): Type removed.
15723 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15724 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15726 (__SWBLK_T_TYPE): Likewise.
15727 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15728 (__SWBLK_T_TYPE): Likewise.
15729 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15730 (__SWBLK_T_TYPE): Likewise.
15731 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15732 (__SWBLK_T_TYPE): Likewise.
15734 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15735 Honza Horak <hhorak@redhat.com>
15737 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15738 (xdr_mapname): Use YPMAXMAP as maxsize.
15739 (xdr_peername): Use YPMAXPEER as maxsize.
15740 (xdr_keydat): Use YPAXRECORD as maxsize.
15741 (xdr_valdat): Use YPMAXRECORD as maxsize.
15743 2012-10-01 Roland McGrath <roland@hack.frob.com>
15745 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15747 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15748 * csu/init-first.c: ... here.
15749 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15750 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15751 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15752 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15753 * sysdeps/i386/init-first.c: File removed.
15754 * sysdeps/sh/init-first.c: File removed.
15756 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15759 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15760 if x * y might underflow to zero and z is zero.
15761 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15762 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15763 * math/libm-test.inc (min_subnorm_value): New variable.
15764 (fma_test): Add more tests.
15765 (fma_test_towardzero): Likewise.
15766 (fma_test_downward): Likewise
15767 (fma_test_upward): Likewise.
15768 (initialize): Set min_subnorm_value.
15770 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15773 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15775 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15776 mode for addition resulting in exact zero.
15777 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15778 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15780 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15782 * math/libm-test.inc (fma_test): Add more tests.
15783 (fma_test_towardzero): New function.
15784 (fma_test_downward): Likewise.
15785 (fma_test_upward): Likewise.
15786 (main): Call the new functions.
15788 2012-09-28 David S. Miller <davem@davemloft.net>
15790 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15792 2012-09-28 Roland McGrath <roland@hack.frob.com>
15794 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15795 instead of SIGALRM.
15797 * sysdeps/gnu/_G_config.h: Moved to ...
15798 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15799 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15800 * sysdeps/generic/_G_config.h: ... here.
15802 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15804 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15806 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15807 Conditionalize target on [libnss_test1.so-version].
15809 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15811 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15812 (elfobjdir): Move out of conditionals.
15814 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15815 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15816 (__nss_lookup_function): Conditionalize label remove_from_tree on
15817 [!DO_STATIC_NSS || SHARED], matching its only use.
15819 2012-09-28 David S. Miller <davem@davemloft.net>
15821 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15822 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15824 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15826 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15827 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15828 when HWCAP_SPARC_CRYPTO is present.
15830 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15832 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15834 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15837 * stdio-common/vfprintf.c (process_string_arg): Revert
15840 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15842 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15844 * stdio-common/tst-sprintf.c: Include <locale.h>
15845 (main): Test sprintf's handling of incomplete multibyte
15848 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15850 * elf/dl-runtime.c (VERSYMIDX): Removed.
15851 * elf/dl-version.c (VERSYMIDX): Likewise.
15852 * elf/do-rel.h (VERSYMIDX): Likewise.
15853 (VALIDX): Likewise.
15854 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15855 * elf/rtld.c (VALIDX): Likewise.
15856 (ADDRIDX): Likewise.
15857 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15858 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15859 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
15860 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15861 (VALIDX): Likewise.
15862 (ADDRIDX): Likewise.
15864 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15866 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15868 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15871 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15873 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15874 addresses are in the same scope as 192.0.2/24.
15875 * posix/gai.conf: Document new scope table defaults.
15877 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15880 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15881 for ftell. Compute offsets from write pointers instead.
15882 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15884 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15887 * libio/Makefile (tests): New test case tst-fseek.
15888 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15889 combination works in wide mode.
15890 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15891 state when the external buffer state changes.
15893 2012-09-27 David S. Miller <davem@davemloft.net>
15896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15897 pass reloc->r_addend in as the 'high' argument to
15898 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15902 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15904 * rt/tst-aio2.c: Include <pthread.h>.
15905 * rt/tst-aio3.c: Likewise.
15907 2012-09-27 Steve Ellcey <sellcey@mips.com>
15909 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15911 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15913 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15914 contents on [SHARED].
15916 2012-09-26 Marek Polacek <polacek@redhat.com>
15920 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15921 for C++ and GCC <4.3 as well as for non GCC compilers.
15923 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15925 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15927 2012-09-25 Roland McGrath <roland@hack.frob.com>
15929 * Makefile.in (all, install): Declare with .PHONY.
15930 Reported by Michael Hope <michael.hope@linaro.org>.
15932 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15934 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15935 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15937 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15939 (sydep_routines): Add the new and the internal functions.
15940 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15941 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15943 (GLIBC_2.17): Add the new function.
15944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15945 (GLIBC_2.17): Likewise.
15946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15947 (GLIBC_2.17): Likewise.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15949 (GLIBC_2.17): Likewise.
15950 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15952 2012-09-25 Alan Modra <amodra@gmail.com>
15954 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15955 Add release barrier before setting once_control to say
15956 initialisation is done. Add hints on lwarx. Use macro in
15958 (clear_once_control): Add release barrier.
15960 2012-09-25 Joseph Myers <joseph@codesourcery.com>
15963 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15965 * math/s_clog10.c (__clog10): Likewise.
15966 * math/s_clog10f.c (__clog10f): Likewise.
15967 * math/s_clog10l.c (__clog10l): Likewise.
15968 * math/s_clogf.c (__clogf): Likewise.
15969 * math/s_clogl.c (__clogl): Likewise.
15970 * math/Makefile (libm-calls): Add x2y2m1.
15971 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15972 (__x2y2m1): Likewise.
15973 (__x2y2m1l): Likewise.
15974 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15975 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15976 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15977 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15978 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15979 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15980 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15981 * sysdeps/i386/fpu/libm-test-ulps: Update.
15982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15985 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15986 int as type of variable DEPTH.
15987 (glob): Use size_t instead of int as type of variables NEWCOUNT
15990 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15992 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15993 Add s_sincosf-sse2.
15994 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15995 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15996 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15997 macros for using routine as __sincosf_ia32.
15998 Use macro for function declaration and weak_alias.
15999 * sysdeps/i386/fpu/libm-test-ulps: Update.
16001 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16004 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16005 subnormal argument.
16006 * math/s_cexpf.c (__cexpf): Likewise.
16007 * math/s_csinf.c (__csinf): Likewise.
16008 * math/s_csinhf.c (__csinhf): Likewise.
16009 * math/s_ctanf.c (__ctanf): Likewise.
16010 * math/s_ctanhf.c (__ctanhf): Likewise.
16011 * math/s_ccosh.c (__ccoshf): Likewise.
16012 * math/s_cexp.c (__cexpl): Likewise.
16013 * math/s_csin.c (__csin): Likewise.
16014 * math/s_csinh.c (__csinh): Likewise.
16015 * math/s_ctan.c (__ctan): Likewise.
16016 * math/s_ctanh.c (ctanh): Likewise.
16017 * math/s_ccoshl.c (__ccoshl): Likewise.
16018 * math/s_cexpl.c (__cexpl): Likewise.
16019 * math/s_csinl.c (__csinl): Likewise.
16020 * math/s_csinhl.c (__csinhl): Likewise.
16021 * math/s_ctanl.c (__ctanl): Likewise.
16022 * math/s_ctanhl.c (__ctanhl): Likewise.
16024 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16026 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16027 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16028 (_IO_off_t): Define to __off_t, not _G_off_t.
16029 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16030 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16031 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16032 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16033 type of __dummy and __dummy2 fields.
16034 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16035 (_G_ssize_t): Likewise.
16036 (_G_off_t): Likewise.
16037 (_G_pid_t): Likewise.
16038 (_G_uid_t): Likewise.
16039 (_G_wchar_t): Likewise.
16040 (_G_wint_t): Likewise.
16041 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16042 (_G_ssize_t): Likewise.
16043 (_G_off_t): Likewise.
16044 (_G_pid_t): Likewise.
16045 (_G_uid_t): Likewise.
16046 (_G_wchar_t): Likewise.
16047 (_G_wint_t): Likewise.
16048 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16049 (_G_ssize_t): Likewise.
16050 (_G_off_t): Likewise.
16051 (_G_pid_t): Likewise.
16052 (_G_uid_t): Likewise.
16053 (_G_wchar_t): Likewise.
16054 (_G_wint_t): Likewise.
16056 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16058 * malloc/arena.c: Include malloc-sysdep.h.
16059 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16060 is sufficient to shrink the heap or an unmap is needed.
16061 * sysdeps/generic/malloc-sysdep.h: New file. Define
16062 new function check_may_shrink_heap.
16063 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16064 new function check_may_shrink_heap.
16066 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16068 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16071 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16073 * catgets/test-gencat.sh: Add "set -e".
16074 * elf/tst-pathopt.sh: Likewise.
16075 * grp/tst_fgetgrent.sh: Likewise.
16076 * iconvdata/run-iconv-test.sh: Likewise.
16077 * intl/tst-gettext.sh: Likewise.
16078 * intl/tst-gettext2.sh: Likewise.
16079 * intl/tst-gettext4.sh: Likewise.
16080 * intl/tst-gettext6.sh: Likewise.
16081 * intl/tst-translit.sh: Likewise.
16082 * io/ftwtest-sh: Likewise.
16083 * libio/test-freopen.sh: Likewise.
16084 * malloc/tst-mtrace.sh: Likewise.
16085 * posix/globtest.sh: Likewise.
16086 * posix/tst-getconf.sh: Likewise.
16087 * posix/wordexp-tst.sh: Likewise.
16088 * stdio-common/tst-printf.sh: Likewise.
16089 * stdio-common/tst-unbputc.sh: Likewise.
16090 * stdlib/tst-fmtmsg.sh: Likewise.
16091 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16092 * catgets/Makefile: Do not specify -e option when running
16093 testsuite shell scripts.
16094 * elf/Makefile: Likewise.
16095 * grp/Makefile: Likewise.
16096 * iconvdata/Makefile: Likewise.
16097 * intl/Makefile: Likewise.
16098 * io/Makefile: Likewise.
16099 * libio/Makefile: Likewise.
16100 * malloc/Makefile: Likewise.
16101 * posix/Makefile: Likewise.
16102 * stdio-common/Makefile: Likewise.
16103 * stdlib/Makefile: Likewise.
16104 * sysdeps/x86_64/Makefile: Likewise.
16106 * io/ftwtest-sh: Add copyright header.
16107 * posix/globtest.sh: Likewise.
16108 * posix/tst-getconf.sh: Likewise.
16109 * posix/wordexp-tst.sh: Likewise.
16110 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16112 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16115 * Makeconfig (+link): Defined as $(+link-static) if
16116 $(build-shared) isn't yes.
16117 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16119 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16121 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16124 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16125 new chunk size with MALLOC_ALIGN_MASK.
16127 2012-09-24 Joseph Myers <joseph@codesourcery.com>
16130 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16132 (__printf_fphex): Determine rounding using get_rounding_mode and
16134 * stdio-common/tst-printf-round.c (struct hex_test): New
16136 (hex_tests): New variable.
16137 (test_hex_in_one_mode): New function.
16138 (do_test): Also run tests for hex float output.
16140 2012-09-21 Joseph Myers <joseph@codesourcery.com>
16142 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16143 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16144 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16145 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16146 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16147 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16148 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16149 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16151 2012-09-20 Joseph Myers <joseph@codesourcery.com>
16153 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16154 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16155 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16156 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16158 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16161 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16163 * elf/tst-rtld-load-self.sh: New test.
16164 * elf/Makefile: Run it.
16166 2012-09-18 Joseph Myers <joseph@codesourcery.com>
16168 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16169 (tst-writev-ENV): Remove.
16170 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16172 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16174 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16176 2012-09-17 Joseph Myers <joseph@codesourcery.com>
16178 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16180 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16182 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16183 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16184 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16187 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16190 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16191 * config.make.in (have-cpp-asm-debuginfo): Removed.
16192 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16193 * configure: Regenerated.
16195 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16198 * stdio-common/printf_fp.c: Include <stdbool.h> and
16200 (___printf_fp): Determine rounding using get_rounding_mode and
16202 * stdio-common/tst-printf-round.c: New file.
16203 * stdio-common/Makefile (tests): Add tst-printf-round.
16204 (link-libm): New variable.
16205 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16207 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16210 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16211 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16213 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16216 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16218 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16219 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16220 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16221 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16223 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16226 * include/rounding-mode.h: New file.
16227 * sysdeps/generic/get-rounding-mode.h: Likewise.
16228 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16229 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16230 (MAX_VALUE): New macro.
16231 (MIN_VALUE): Likewise.
16232 (overflow_value): New function.
16233 (underflow_value): Likewise.
16234 (round_and_return): Use overflow_value and underflow_value to
16235 determine return values in overflow and underflow cases. Use
16236 round_away to determine rounding depending on rounding mode.
16237 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16238 determine return values in overflow and underflow cases.
16239 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16240 (struct test_results): New structure.
16241 (struct test): Use struct test_results to store expected results
16242 for all rounding modes.
16243 (TEST): Include expected results for all rounding modes.
16244 (test_in_one_mode): New function.
16245 (do_test): Use test_in_one_mode to compute and check results.
16246 Check results for all rounding modes.
16247 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16250 2012-12-09 Allan McRae <allan@archlinux.org>
16252 * sysdeps/i386/fpu/libm-test-ulps: Update
16254 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16256 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16257 (_G_int32_t): Likewise.
16258 (_G_uint16_t): Likewise.
16259 (_G_uint32_t): Likewise.
16260 (_G_HAVE_BOOL): Likewise.
16261 (_G_HAVE_ATEXIT): Likewise.
16262 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16263 (_G_HAVE_IO_FILE_OPEN): Likewise.
16264 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16265 (_G_int32_t): Likewise.
16266 (_G_uint16_t): Likewise.
16267 (_G_uint32_t): Likewise.
16268 (_G_HAVE_BOOL): Likewise.
16269 (_G_HAVE_ATEXIT): Likewise.
16270 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16271 (_G_HAVE_IO_FILE_OPEN): Likewise.
16272 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16273 (_G_int32_t): Likewise.
16274 (_G_uint16_t): Likewise.
16275 (_G_uint32_t): Likewise.
16276 (_G_HAVE_BOOL): Likewise.
16277 (_G_HAVE_ATEXIT): Likewise.
16278 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16279 (_G_HAVE_IO_FILE_OPEN): Likewise.
16281 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16283 * csu/libc-tls.c: Update copyright years.
16285 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16287 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16288 [!_G_USING_THUNKS]: Remove conditional code.
16289 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16290 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16292 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16293 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16294 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16295 (_G_VTABLE_LABEL_PREFIX): Likewise.
16296 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16297 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16298 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16299 (_G_VTABLE_LABEL_PREFIX): Likewise.
16300 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16301 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16302 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16303 (_G_VTABLE_LABEL_PREFIX): Likewise.
16304 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16306 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16308 * libio/Makefile: Include ../Makeconfig before tests.
16309 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16310 only if $(build-shared) is yes.
16312 * iconv/gconv_db.c: Update copyright years.
16314 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16316 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16317 unwind info if defined PIC. Fix special cases description.
16318 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16320 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16322 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16324 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16326 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16328 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16331 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16332 (LDLIBS-tst-chk4): This.
16333 (LDFLAGS-tst-chk5): Renamed to ...
16334 (LDLIBS-tst-chk5): This.
16335 (LDFLAGS-tst-chk6): Renamed to ...
16336 (LDLIBS-tst-chk6): This.
16337 (LDFLAGS-tst-lfschk4): Renamed to ...
16338 (LDLIBS-tst-lfschk4): This.
16339 (LDFLAGS-tst-lfschk5): Renamed to ...
16340 (LDLIBS-tst-lfschk5): This.
16341 (LDFLAGS-tst-lfschk6): Renamed to ...
16342 (LDLIBS-tst-lfschk6): This.
16344 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16345 on $(common-objpfx)soversions.mk.
16347 2012-09-07 Joseph Myers <joseph@codesourcery.com>
16350 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16353 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16355 * malloc/arena.c (arena_get_retry): New function that gets
16356 another arena for the caller to try its request on.
16357 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16358 current arena cannot fulfill the request.
16359 (__libc_memalign): Likewise.
16360 (__libc_memalign): Likewise.
16361 (__libc_pvalloc): Likewise.
16362 (__libc_calloc): Likewise.
16364 2012-09-05 John Tobey <john.tobey@gmail.com>
16367 * manual/arith.texi (Operations on Complex): Fix description
16368 of carg branch cut.
16370 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16373 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16377 * manual/memory.texi (Memory): Make order of menu items match
16380 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16382 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16383 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16384 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16386 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16388 * csu/libc-tls.c (static_dtv): Renamed to ...
16389 (_dl_static_dtv): This. Make it global.
16390 (_dl_initial_dtv): Removed.
16391 (__libc_setup_tls): Updated.
16392 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16393 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16396 2012-09-06 Petr Machata <pmachata@redhat.com>
16398 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16399 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16400 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16401 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16403 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16406 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16407 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16410 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16413 * Makeconfig (link-static-before-libc): Replace $(+prector)
16415 (link-static-after-libc): Replace $(+postctor) with
16417 (link-bounded): Replace $(+prector)/$(+postctor) with
16418 $(+prectorT)/$(+postctorT).
16419 (+prectorT): New macro.
16420 (+postctorT): Likewise.
16422 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16424 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16425 (round_str): Handle values above the maximum for IBM long double
16427 * stdlib/tst-strtod-round.c (tests): Regenerated.
16429 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16431 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16433 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16434 zarch_nohighgprs around the zarch optimized routines.
16435 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16436 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16437 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16440 2012-09-05 David S. Miller <davem@davemloft.net>
16442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16444 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16445 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16446 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16447 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16450 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16452 * malloc/arena.c: Fold copyright years.
16453 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16455 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16457 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16459 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16461 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16463 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16465 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16466 change internal state upon failure.
16468 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16470 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16471 * malloc/memusage.c (mmap): Likewise.
16472 (mmap64, mremap): Likewise. Adjust name in comment.
16474 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16476 * libio/fileops.c: Fix typos in comments.
16477 * libio/oldfileops.c: Likewise.
16478 * libio/wfileops.c: Likewise.
16480 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16483 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16484 (tst-malloc-usable-ENV): Set environment for test case.
16485 * malloc/hooks.c (malloc_check_get_size): New function to get
16487 * malloc/malloc.c (musable): Use malloc_check_get_size.
16488 * malloc/tst-malloc-usable.c: New test case.
16490 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16492 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16494 2012-09-05 Allan McRae <allan@archlinux.org>
16497 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16498 determine header location.
16499 * configure: Regenerated.
16501 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16503 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16505 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16506 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16508 (test): Regenerate.
16510 2012-09-04 David S. Miller <davem@davemloft.net>
16512 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16513 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16514 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16516 2012-09-04 Florian Weimer <fweimer@redhat.com>
16518 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16521 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16523 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16526 * libio/iogetdelim.c: Include <limits.h>.
16527 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16528 + len + 1 would overflow.
16530 2012-09-03 Andreas Jaeger <aj@suse.de>
16532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16533 * sysdeps/i386/fpu/libm-test-ulps: Update.
16535 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16537 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16538 Add s_sinf-sse2, s_conf-sse2.
16540 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16541 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16542 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16543 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16545 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16546 for using routine as __sinf_ia32.
16547 Use macro for function declaration and weak_alias.
16548 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16549 for using routine as __cosf_ia32.
16550 Use macro for function declaration and weak_alias.
16552 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16553 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16555 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16556 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16557 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16559 * math/libm-test.inc (cos_test): Add more test cases.
16560 (sin_test): Likewise.
16561 (sincos_test): Likewise.
16563 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16565 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16566 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16568 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16570 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16573 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16574 first element of the GOT.
16575 (elf_machine_load_address): Return the difference between
16576 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16578 2012-09-01 Allan McRae <allan@archlinux.org>
16581 * configure.in (AWK): Require gawk version 3.0 or later.
16582 * configure: Regenerated.
16584 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16586 * sysdeps/unix/sysv/linux/kernel-features.h
16587 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16588 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16589 [__NR_clock_getres]: Make code unconditional.
16590 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16591 (clock_getcpuclockid): Remove code left unreachable by removal of
16593 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16594 code unconditional.
16595 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16596 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16597 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16598 Make code unconditional.
16599 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16600 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16601 * sysdeps/unix/sysv/linux/clock_settime.c
16602 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16604 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16605 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16607 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16610 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16611 scripts/test-installation.pl.
16613 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16614 and $ld_so_version if it is set.
16616 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16619 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16620 failure if reading from procfs failed.
16621 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16623 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16625 * sysdeps/unix/sysv/linux/kernel-features.h
16626 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16627 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16628 Remove conditional code.
16629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16630 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16631 Remove conditional code.
16632 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16633 * sysdeps/unix/sysv/linux/i386/fxstat.c
16634 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16635 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16636 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16637 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16638 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16639 * sysdeps/unix/sysv/linux/i386/lxstat.c
16640 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16641 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16642 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16643 Remove conditional code.
16644 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16645 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16646 Remove conditional code.
16647 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16648 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16649 <kernel-features.h>.
16650 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16652 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16653 Remove conditional code.
16654 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16655 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16656 Remove conditional.
16658 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16661 * NEWS: Add fixed bug number.
16663 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16666 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16667 underflowing exponent in case of negative sign.
16668 * stdlib/tst-strtod-round-data: Add more tests.
16669 * stdlib/tst-strtod-round.c (tests): Regenerated.
16672 * stdlib/strtod_l.c (NDIG): Remove.
16673 (HEXNDIG): Likewise.
16674 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16675 smallest representable value.
16676 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16677 lie within an exact representation of 1/2 ulp of the result.
16678 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16680 (TENS_P9_IDX): Define unconditionally.
16681 (TENS_P9_SIZE): Likewise.
16682 (TENS_P10_IDX): Likewise.
16683 (TENS_P10_SIZE): Likewise.
16684 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16685 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16686 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16687 entries for 10^2^13 and 10^2^14.
16688 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16689 (TENS_P13_IDX): Define.
16690 (TENS_P13_SIZE): Likewise.
16691 (TENS_P14_IDX): Likewise.
16692 (TENS_P14_SIZE): Likewise.
16693 (_fpioconst_pow10): Change array size to
16694 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16696 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16697 1024]: Add entries for 10^2^13 and 10^2^14.
16698 [LAST_POW10 > _LAST_POW10]: Remove #error.
16699 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16700 (_fpioconst_pow10): Change array size to
16701 FPIOCONST_POW10_ARRAY_SIZE.
16702 * stdlib/gen-fpioconst.c: New file.
16703 * stdlib/gen-tst-strtod-round.c: Likewise.
16704 * stdlib/tst-strtod-round-data: Likewise.
16705 * stdlib/tst-strtod-round.c: Likewise.
16706 * stdlib/Makefile (tests): Add tst-strtod-round.
16709 * stdlib/strtod_l.c: Include <stdint.h>.
16710 (NDEBUG): Do not define.
16711 (round_and_return): Change EXPONENT parameter to type intmax_t.
16712 Rearrange calculations to avoid internal overflow possibilities.
16713 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16714 Rearrange calculations to avoid internal overflow possibilities.
16715 Assert that number fits inside MPNSIZE limbs.
16716 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16717 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16718 calculations and add assertions to avoid internal overflow
16719 possibilities. Add casts to avoid signed/unsigned operations.
16720 * stdlib/tst-strtod-overflow.c: New file.
16721 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16723 2012-08-25 Marek Polacek <polacek@redhat.com>
16725 * time/time.h: Fix some typos in comments.
16727 2012-08-23 Roland McGrath <roland@hack.frob.com>
16729 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16730 * posix/tst-rfc3484-2.c: Likewise.
16731 * posix/tst-rfc3484-3.c: Likewise.
16733 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16735 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16736 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16738 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16740 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16741 #include of fxstatat64.c.
16743 2012-08-22 Roland McGrath <roland@hack.frob.com>
16745 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16746 * shadow/getspent_r.c: Likewise.
16747 * shadow/getspnam.c: Likewise.
16748 * shadow/getspnam_r.c: Likewise.
16749 * gshadow/getsgent.c: Likewise.
16750 * gshadow/getsgent_r.c: Likewise.
16751 * gshadow/getsgnam.c: Likewise.
16752 * gshadow/getsgnam_r.c: Likewise.
16753 * inet/getnetbyad.c: Likewise.
16754 * inet/getnetbyad_r.c: Likewise.
16755 * inet/getnetbynm.c: Likewise.
16756 * inet/getnetbynm_r.c: Likewise.
16757 * inet/getnetent.c: Likewise.
16758 * inet/getnetent_r.c: Likewise.
16759 * inet/getproto.c: Likewise.
16760 * inet/getproto_r.c: Likewise.
16761 * inet/getprtent.c: Likewise.
16762 * inet/getprtent_r.c: Likewise.
16763 * inet/getprtname.c: Likewise.
16764 * inet/getprtname_r.c: Likewise.
16765 * inet/getrpcbyname.c: Likewise.
16766 * inet/getrpcbyname_r.c: Likewise.
16767 * inet/getrpcbynumber.c: Likewise.
16768 * inet/getrpcbynumber_r.c: Likewise.
16769 * inet/getrpcent.c: Likewise.
16770 * inet/getrpcent_r.c: Likewise.
16771 * inet/getaliasent.c: Likewise.
16772 * inet/getaliasent_r.c: Likewise.
16773 * inet/getaliasname.c: Likewise.
16774 * inet/getaliasname_r.c: Likewise.
16775 * nscd/getgrgid_r.c: Likewise.
16776 * nscd/getgrnam_r.c: Likewise.
16777 * nscd/gethstbyad_r.c: Likewise.
16778 * nscd/gethstbynm3_r.c: Likewise.
16779 * nscd/getpwnam_r.c: Likewise.
16780 * nscd/getpwuid_r.c: Likewise.
16781 * nscd/getsrvbynm_r.c: Likewise.
16782 * nscd/getsrvbypt_r.c: Likewise.
16783 * nscd/gai.c: Likewise.
16785 * configure.in (build_nscd): New substituted variable, set
16786 by --disable-build-nscd and defaults to $use_nscd.
16787 * configure: Regenerated.
16788 * config.make.in (build-nscd): New substituted variable.
16789 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16790 Change conditional to require [$(build-nscd) = yes] as well.
16791 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16794 * configure.in (use_nscd): New substituted variable, set by
16795 --disable-nscd. If enabled, define USE_NSCD.
16796 * configure: Regenerated.
16797 * config.h.in: Add USE_NSCD.
16798 * config.make.in (use-nscd): New substituted variable.
16799 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16800 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16801 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16802 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16803 (CFLAGS-getgrnam_r.c): Likewise.
16804 (CFLAGS-initgroups.c): Likewise.
16805 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16806 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16808 * inet/getnetgrent_r.c
16809 (nscd_setnetgrent): New function, broken out of ...
16810 (setnetgrent): ... here. Call it.
16811 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16812 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16813 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16814 * nscd/Makefile (routines, aux): Move definitions after include of
16815 Makeconfig. Conditionalize on [$(use-nscd) != no].
16816 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16817 Conditionalize on [USE_NSCD].
16818 (is_nscd, nscd_init_cb): Likewise.
16819 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16820 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16821 * nss/nss_db/db-init.c: Likewise.
16822 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16824 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16825 (make_request): Use it.
16826 (cache_valid_p): New function.
16827 (__check_pf): Use it.
16828 * NEWS: Add item for --disable-nscd.
16830 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16832 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16833 to support sed >= 4.2.1-20-ga9bf076.
16834 * configure: Regenerated.
16836 2012-08-22 Roland McGrath <roland@hack.frob.com>
16838 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16839 Conditionalize whole body on [IREL].
16841 2012-08-22 Jeff Law <law@redhat.com>
16844 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16845 if the family is PF_UNSPEC.
16847 2012-08-22 Mike Frysinger <vapier@gentoo.org>
16849 * Makerules (lib-version): Rename from V.
16850 (install-lib-nosubdir): Change V to lib-version.
16852 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16855 * powerpc32/power6/wcschr.c: New file.
16856 * powerpc32/power6/wcscpy.c: New file.
16857 * powerpc32/power6/wcsrchr.c: New file.
16858 * powerpc64/power6/wcschr.c: New file.
16859 * powerpc64/power6/wcscpy.c: New file.
16860 * powerpc64/power6/wcsrchr.c: New file.
16862 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16864 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16865 (two_way_short_needle): Use it.
16866 * string/strstr.c (AVAILABLE1_USES_J): Define.
16867 * string/strcasestr.c: Likewise.
16869 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16871 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16874 * NEWS: Add an entry.
16875 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16876 define their defaults.
16877 (two_way_short_needle): Detect end-of-string on-the-fly.
16878 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16879 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16880 * string/bug-strcasestr1.c: New test.
16881 * string/Makefile: Run it.
16883 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16886 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16887 the first character.
16889 2012-08-21 Roland McGrath <roland@hack.frob.com>
16891 * csu/elf-init.c (__libc_csu_irel): Function removed.
16892 * csu/libc-start.c (apply_irel): New function.
16893 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16895 2012-08-21 Joseph Myers <joseph@codesourcery.com>
16897 * sysdeps/unix/sysv/linux/kernel-features.h
16898 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16899 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16900 <kernel-features.h>.
16901 [__NR_fadvise64_64]: Make code unconditional.
16902 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16903 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16904 !__NR_fadvise64_64)]: Likewise.
16905 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16906 !__NR_fadvise64_64))]: Likewise.
16907 [__NR_fadvise64]: Make code unconditional.
16908 [!__NR_fadvise64]: Remove conditional code.
16909 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16910 <kernel-features.h>.
16911 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16913 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16916 not include <kernel-features.h>.
16917 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16919 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16921 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16922 include <kernel-features.h>.
16923 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16925 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16928 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16930 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16931 slight instruction rearrangements per scrollpipe analysis.
16932 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16934 2012-08-20 Roland McGrath <roland@hack.frob.com>
16936 * manual/syslog.texi (syslog; vsyslog, closelog):
16937 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16938 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16940 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16941 DSOCAPS to match condition on defining it.
16943 2012-08-20 Joseph Myers <joseph@codesourcery.com>
16945 * sysdeps/unix/sysv/linux/kernel-features.h
16946 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16948 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16949 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16951 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16952 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16954 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16955 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16957 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16958 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16960 * sysdeps/unix/sysv/linux/kernel-features.h
16961 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16962 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16964 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16965 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16966 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16967 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16968 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16969 Make code unconditional.
16970 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16971 (__mmap64) [!__NR_mmap2]: Likewise.
16972 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16973 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16974 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16975 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16976 [__NR_mmap2]: Make code unconditional.
16977 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16978 (__mmap64) [!__NR_mmap2]: Likewise.
16980 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16982 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16984 2012-08-18 Andreas Jaeger <aj@suse.de>
16986 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16988 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16990 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16991 * include/unistd.h (__have_sock_cloexec): Likewise.
16992 (__have_pipe2): Likewise.
16993 (__have_dup3): Likewise.
16995 2012-08-18 Mike Frysinger <vapier@gentoo.org>
16998 * include/unistd.h (__have_pipe2): Change define into an extern int.
16999 (__have_dup3): Likewise.
17000 * socket/have_sock_cloexec.c: Include fcntl.h.
17001 (__have_pipe2): New variable.
17002 (__have_dup3): Likewise.
17004 2012-08-17 Mike Frysinger <vapier@gentoo.org>
17006 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17008 2012-08-17 Marek Polacek <polacek@redhat.com>
17010 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17011 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17013 2012-08-17 Roland McGrath <roland@hack.frob.com>
17015 * configure.in: Add AC_SUBST for sysheaders.
17016 * configure: Regenerated.
17017 * config.make.in (sysheaders): New substituted variable.
17019 * sysdeps/unix/mkfifo.c: Moved ...
17020 * sysdeps/posix/mkfifo.c: ... here.
17021 * sysdeps/unix/mkfifoat.c: Moved ...
17022 * sysdeps/posix/mkfifoat.c: ... here.
17024 * sysdeps/unix/utime.c: Moved ...
17025 * sysdeps/posix/utime.c: ... here.
17027 * sysdeps/unix/time.c: Moved ...
17028 * sysdeps/posix/time.c: ... here.
17029 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17030 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17032 * sysdeps/unix/nice.c: Moved ...
17033 * sysdeps/posix/nice.c: ... here.
17035 * sysdeps/unix/alarm.c: Moved ...
17036 * sysdeps/posix/alarm.c: ... here.
17038 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17040 2012-08-17 Jeff Law <law@redhat.com>
17042 * intl/Makefile (codeset_mo): New variable.
17043 ($(codeset_mo)): New target.
17044 (tst-codeset.out): Depend on that. Remove explicit rule.
17045 (tst-gettext3.out, tst-gettext5.out): Likewise.
17046 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17047 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17048 * intl/tst-codeset.sh: Remove.
17049 * intl/tst-gettext3.sh: Likewise.
17050 * intl/tst-gettext5.sh: Likewise.
17052 2012-08-17 Roland McGrath <roland@hack.frob.com>
17054 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17055 * sysdeps/unix/syscalls.list: ... here.
17057 * sysdeps/posix/getaddrinfo.c
17058 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17059 (gaiconf_init, gaiconf_reload): Use them.
17060 [!_STATBUF_ST_NSEC]
17061 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17062 Define using time_t rather than struct timespec.
17064 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17065 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17067 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17069 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17070 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17073 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17074 __libc_cleanup_push argument.
17076 * bits/param.h: New file.
17077 * misc/sys/param.h: New file.
17078 * include/sys/param.h: New file.
17079 * misc/Makefile (headers): Add bits/param.h.
17080 * sysdeps/generic/sys/param.h: File removed.
17081 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17082 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17083 * sysdeps/mach/hurd/bits/param.h: New file.
17084 * sysdeps/mach/hurd/sys/param.h: File removed.
17086 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17089 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17091 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17092 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17095 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17096 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17097 rather than -D_IO_MTSAFE_IO conditionally.
17098 * stdio-common/Makefile (CPPFLAGS): Likewise.
17099 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17100 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17101 Use $(libio-mtsafe).
17102 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17103 of -D_IO_MTSAFE_IO.
17104 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17105 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17106 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17107 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17108 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17109 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17110 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17111 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17112 (CFLAGS-fread_u_chk.c): Likewise.
17113 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17114 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17115 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17116 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17117 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17118 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17119 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17120 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17121 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17123 * libio/Makefile: Test [$(libc-reentrant) = yes]
17124 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17127 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17128 * sysdeps/pthread/configure: File removed.
17129 * sysdeps/pthread/Makeconfig: New file.
17130 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17131 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17133 2012-08-16 Gary Benson <gbenson@redhat.com>
17135 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17136 unmapping the first object in a namespace.
17138 2012-08-16 Roland McGrath <roland@hack.frob.com>
17140 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17141 (__internal_setnetgrent): ... this. Add internal_function to
17142 definition. Add libc_hidden_def.
17143 (setnetgrent): Update caller.
17144 (internal_endnetgrent): Renamed to ...
17145 (__internal_endnetgrent): ... this. Add internal_function to
17146 definition. Add libc_hidden_def.
17147 (endnetgrent): Update caller.
17148 (internal_getnetgrent_r): Renamed to ...
17149 (__internal_getnetgrent_r): ... this. Add internal_function to
17150 definition. Add libc_hidden_def.
17151 (__getnetgrent_r): Update caller.
17152 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17154 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17156 * stdlib/longlong.h: Update from GCC.
17158 2012-08-16 Roland McGrath <roland@hack.frob.com>
17160 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17161 on _QL, which is set by umul_ppmm but never used.
17162 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17163 variables, which are set by GMP macros but never used.
17164 * stdio-common/_itowa.c (_itowa): Likewise.
17165 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17166 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17168 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17170 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17171 struct La_sh_regs is not constant.
17172 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17173 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17174 and struct La_sparc64_regs are not constant.
17176 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17178 * sysdeps/unix/sysv/linux/kernel-features.h
17179 (__ASSUME_POSIX_TIMERS): Remove.
17180 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17181 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17182 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17183 Make code unconditional.
17184 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17185 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17186 Make code unconditional.
17187 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17188 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17189 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17190 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17191 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17192 Make code unconditional.
17193 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17194 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17195 (__libc_missing_posix_timers): Remove.
17197 2012-08-15 Roland McGrath <roland@hack.frob.com>
17199 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17200 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17202 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17204 * elf/dl-sym.c: Include <stdlib.h>.
17206 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17207 constants, which avoids warnings in 32-bit builds.
17209 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17210 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17212 * misc/lseek.c: File moved to ...
17213 * io/lseek.c: ... here.
17215 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17217 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17218 shifting LEN more than 31 bits at once.
17220 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17223 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17224 segmentation fault for a case of two empty input strings.
17225 * string/test-strncasecmp.c (check1): Renamed to...
17226 (bz12205): ...this.
17227 (bz14195): Add new testcase for two empty input strings and N > 0.
17228 (test_main): Call new testcase, adapt for renamed function.
17230 2012-08-15 Andreas Jaeger <aj@suse.de>
17233 * crypt/md5test2.c: New test, based on test supplied by Serge
17234 Belyshev <belyshev@depni.sinp.msu.ru>.
17235 * crypt/Makefile (xtests): Add md5test-giant..
17236 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17238 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17241 * crypt/md5.c (md5_process_block): Don't assume the buffer
17242 length is less than 2**32.
17243 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17244 length is less than 2**64.
17246 2012-08-15 Roland McGrath <roland@hack.frob.com>
17248 * string/str-two-way.h: Include <sys/param.h>.
17249 (MAX): Macro removed.
17251 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17252 Move #define and #undef of memmove to just before and after
17253 including <string.h>.
17255 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17256 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17257 and after including <string.h>. Move declarations of
17258 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17259 to before #include "string/memmove.c".
17261 * include/dirent.h: Declare __getdirentries.
17263 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17264 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17266 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17268 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17269 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17270 * sysdeps/i386/configure: Regenerated.
17271 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17272 STABS_CURRENT_FILE, and STABS_FUN.
17273 (END): Remove call to STABS_FUN_END.
17274 (STABS_CURRENT_FILE1): Delete.
17275 (STABS_CURRENT_FILE): Likewise.
17276 (STABS_FUN): Likewise.
17277 (STABS_FUN_END): Likewise.
17278 (STABS_FUN2): Likewise.
17279 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17280 * sysdeps/x86_64/configure: Regenerated.
17282 2012-08-14 Roland McGrath <roland@hack.frob.com>
17284 * elf/dl-open.c: Include <atomic.h>.
17285 * elf/dl-lookup.c: Likewise.
17287 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17289 * sysdeps/unix/sysv/linux/kernel-features.h
17290 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17291 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17293 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17295 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17296 condition on __ASSUME_CLONE_THREAD_FLAGS.
17298 2012-08-14 Andreas Jaeger <aj@suse.de>
17300 * sysdeps/i386/fpu/libm-test-ulps: Update.
17302 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17304 * include/atomic.h (atomic_exchange_and_add): Split into ...
17305 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17308 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17312 2012-08-13 Jeff Law <law@redhat.com>
17314 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17315 null byte in the output string.
17317 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17319 * sysdeps/unix/sysv/linux/kernel-features.h
17320 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17321 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17322 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17324 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17325 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17326 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17328 2012-08-09 Jeff Law <law@redhat.com>
17331 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17332 When avoid_arena is set, don't retry in the that arena. Pick the
17333 next one, whatever it might be.
17334 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17335 (arena_lock): Pass in new parameter to arena_get2.
17336 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17338 (__libc_malloc): Unify retrying after main arena failure with
17339 __libc_memalign version.
17340 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17342 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17345 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17346 to __redirect_strstr.
17347 (__strstr_sse42): Use typeof __redirect_strstr.
17348 (__strstr_ia32): Likewise.
17349 (__libc_strstr): New prototype.
17350 (strstr): Renamed to ...
17351 (__libc_strstr): This.
17352 (strstr): New strong alias of __libc_strstr.
17353 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17354 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17357 (__libc_time): New prototype.
17358 (time_ifunc): Replace time with __libc_time.
17359 (time): New strong alias and hidden definition of __libc_time.
17360 (__GI_time): Remove strong alias.
17361 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17362 Include <stddef.h>.
17363 (memmove): Redefined to __redirect_memmove.
17364 (__memmove_sse2): Use typeof __redirect_memmove.
17365 (__memmove_ssse3): Likewise.
17366 (__memmove_ssse3_back): Likewise.
17367 (__libc_memmove): New prototype.
17368 (memmove): Renamed to ...
17369 (__libc_memmove): This.
17370 (memmove): New strong alias of __libc_memmove.
17372 2012-08-08 Mark Salter <msalter@redhat.com>
17375 (R_MN10300_TLS_GD): Define.
17376 (R_MN10300_TLS_LD): Likewise.
17377 (R_MN10300_TLS_LDO): Likewise.
17378 (R_MN10300_TLS_GOTIE): Likewise.
17379 (R_MN10300_TLS_IE): Likewise.
17380 (R_MN10300_TLS_LE): Likewise.
17381 (R_MN10300_TLS_DTPMOD): Likewise.
17382 (R_MN10300_TLS_DTPOFF): Likewise.
17383 (R_MN10300_TLS_TPOFF): Likewise.
17384 (R_MN10300_SYM_DIFF): Likewise.
17385 (R_MN10300_ALIGN): Likewise.
17386 (R_MN10300_NUM): Update.
17388 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17390 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17393 2012-08-08 Roland McGrath <roland@hack.frob.com>
17395 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17397 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17398 sysdeps/unix -> sysdeps/posix move.
17399 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17401 2012-08-07 Allan McRae <allan@archlinux.org>
17404 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17405 (SUNOS_CPP): Likewise.
17406 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17408 (open_input): Call CPP using execvp.
17410 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17412 * sysdeps/unix/sysv/linux/kernel-features.h
17413 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17414 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17415 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17416 (__ASSUME_WAITID_SYSCALL): Likewise.
17417 * sysdeps/unix/sysv/linux/dl-execstack.c
17418 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17419 code unconditional.
17420 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17422 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17423 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17424 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17426 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17428 [__ASSUME_WAITID_SYSCALL]: Likewise.
17429 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17431 2012-08-07 Roland McGrath <roland@hack.frob.com>
17433 * sysdeps/unix/closedir.c: Renamed to ...
17434 * sysdeps/posix/closedir.c: ... here.
17435 * sysdeps/unix/dirfd.c: Renamed to ...
17436 * sysdeps/posix/dirfd.c: ... here.
17437 * sysdeps/unix/dirstream.h: Renamed to ...
17438 * sysdeps/posix/dirstream.h: ... here.
17439 * sysdeps/unix/fdopendir.c: Renamed to ...
17440 * sysdeps/posix/fdopendir.c: ... here.
17441 * sysdeps/unix/opendir.c: Renamed to ...
17442 * sysdeps/posix/opendir.c: ... here.
17443 * sysdeps/unix/readdir.c: Renamed to ...
17444 * sysdeps/posix/readdir.c: ... here.
17445 * sysdeps/unix/readdir_r.c: Renamed to ...
17446 * sysdeps/posix/readdir_r.c: ... here.
17447 * sysdeps/unix/rewinddir.c: Renamed to ...
17448 * sysdeps/posix/rewinddir.c: ... here.
17449 * sysdeps/unix/seekdir.c: Renamed to ...
17450 * sysdeps/posix/seekdir.c: ... here.
17451 * sysdeps/unix/telldir.c: Renamed to ...
17452 * sysdeps/posix/telldir.c: ... here.
17453 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17454 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17455 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17456 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17458 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17459 * bits/fcntl.h: ... here.
17461 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17463 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17464 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17465 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17466 (struct flock): Move l_start, l_len to the beginning.
17467 Use __pid_t for l_pid.
17468 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17469 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17470 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17471 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17472 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17473 [__USE_LARGEFILE64] (struct flock64): New type.
17474 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17476 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17477 * bits/dirent.h: ... here.
17479 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17480 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17482 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17484 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17485 Change from 2.6.0 to 2.6.16.
17486 * sysdeps/unix/sysv/linux/configure: Regenerated.
17487 * sysdeps/unix/sysv/linux/kernel-features.h
17488 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17489 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17491 (__ASSUME_UTIMES): Likewise.
17492 (__ASSUME_CLONE_STOPPED): Remove.
17493 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17494 architectures, not kernel version.
17495 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17496 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17497 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17498 (__ASSUME_WAITID_SYSCALL): Likewise.
17499 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17500 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17501 * README: State 2.6.16 as minimum Linux kernel version. Do not
17502 refer to older versions.
17504 2012-08-06 Roland McGrath <roland@hack.frob.com>
17506 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17507 Define alphasort64 as an alias.
17508 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17509 Define versionsort64 as an alias.
17510 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17511 Define scandir64 as an alias.
17512 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17513 Define scandirat64 as an alias.
17514 * dirent/alphasort64.c (alphasort64):
17515 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17516 * dirent/versionsort64.c: Likewise.
17517 * dirent/scandir64.c: Likewise.
17518 * dirent/scandirat64.c: Likewise.
17519 * sysdeps/wordsize-64/alphasort.c: File removed.
17520 * sysdeps/wordsize-64/alphasort64.c: File removed.
17521 * sysdeps/wordsize-64/scandir.c: File removed.
17522 * sysdeps/wordsize-64/scandir64.c: File removed.
17523 * sysdeps/wordsize-64/scandirat.c: File removed.
17524 * sysdeps/wordsize-64/scandirat64.c: File removed.
17525 * sysdeps/wordsize-64/versionsort.c: File removed.
17526 * sysdeps/wordsize-64/versionsort64.c: File removed.
17527 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17528 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17529 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17530 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17531 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17532 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17533 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17534 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17536 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17538 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17540 [defined __arch64__ || defined __sparcv9]
17541 (__INO_T_MATCHES_INO64_T): New macro.
17542 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17543 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17544 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17545 * sysdeps/unix/sysv/linux/bits/dirent.h
17546 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17547 (_DIRENT_MATCHES_DIRENT64): New macro.
17549 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17550 Define lockf64 as an alias.
17551 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17552 Define fseeko64 as an alias.
17553 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17554 Define ftello64 as an alias.
17555 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17556 Define _IO_fgetpos64 and fgetpos64 as aliases.
17557 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17558 Define _IO_fsetpos64 and fsetpos64 as aliases.
17559 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17560 Conditionalize body on this.
17561 * libio/fseeko64.c: Likewise.
17562 * libio/ftello64.c: Likewise.
17563 * libio/iofgetpos64.c: Likewise.
17564 * libio/iofsetpos64.c: Likewise.
17565 * sysdeps/wordsize-64/lockf.c: File removed.
17566 * sysdeps/wordsize-64/lockf64.c: File removed.
17567 * sysdeps/wordsize-64/fseeko.c: File removed.
17568 * sysdeps/wordsize-64/fseeko64.c: File removed.
17569 * sysdeps/wordsize-64/ftello.c: File removed.
17570 * sysdeps/wordsize-64/ftello64.c: File removed.
17571 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17572 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17573 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17574 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17575 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17576 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17577 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17578 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17579 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17580 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17581 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17582 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17583 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17584 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17586 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17588 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17590 [defined __arch64__ || defined __sparcv9]
17591 (__OFF_T_MATCHES_OFF64_T): New macro.
17592 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17593 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17594 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17595 (__OFF_T_MATCHES_OFF64_T): New macro.
17597 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17599 * stdlib/secure-getenv.c (__secure_getenv): Replace
17600 GLIBC_2_16 with GLIBC_2_17.
17602 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17604 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17605 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17607 2012-08-03 David S. Miller <davem@davemloft.net>
17609 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17611 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17613 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17615 (__ASSUME_CORRECT_SI_PID): Likewise.
17616 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17617 (__ASSUME_TMPFS_NAME): Likewise.
17618 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17619 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17620 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17621 (HAVE_AUX_SECURE): Make definition unconditional.
17622 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17623 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17625 2012-08-03 Roland McGrath <roland@hack.frob.com>
17627 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17628 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17629 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17630 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17631 __eloop_threshold instead of SYMLOOP_MAX.
17633 * sysdeps/generic/eloop-threshold.h: New file.
17634 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17636 * elf/chroot_canon.c (chroot_canon): Likewise.
17638 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17641 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17642 Change to 2.6.0 everywhere.
17643 * sysdeps/unix/sysv/linux/configure: Regenerated.
17644 * sysdeps/unix/sysv/linux/kernel-features.h
17645 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17646 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17648 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17649 (__ASSUME_FUTEX_REQUEUE): Remove.
17650 (__ASSUME_STATFS64): Define unconditionally.
17651 (__ASSUME_AT_SECURE): Likewise.
17652 (__ASSUME_CORRECT_SI_PID): Likewise.
17653 (__ASSUME_TGKILL): Define without depending on kernel version for
17655 (__ASSUME_UTIMES): Likewise.
17656 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17658 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17659 (__ASSUME_TMPFS_NAME): Likewise.
17660 * README: Update reference to Linux kernel versions.
17662 2012-08-02 Marek Polacek <polacek@redhat.com>
17665 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17666 libc_cv_asm_type_prefix with %.
17667 * configure: Regenerated.
17668 * include/libc-symbols.h: Remove comment about
17669 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17670 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17671 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17672 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17673 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17674 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17675 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17676 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17677 * elf/tst-unique2mod1.c: Likewise.
17678 * elf/tst-unique1mod2.c: Likewise.
17679 * elf/tst-unique1mod1.c: Likewise.
17680 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17681 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17682 Replace ASM_TYPE_DIRECTIVE with .type.
17683 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17684 * sysdeps/i386/sysdep.h: Likewise.
17685 * sysdeps/x86_64/sysdep.h: Likewise.
17686 * sysdeps/sh/sysdep.h: Likewise.
17687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17688 Do not define ASM_TYPE_DIRECTIVE.
17689 * sysdeps/powerpc/sysdep.h: Likewise.
17690 * sysdeps/powerpc/powerpc32/sysdep.h:
17691 Replace ASM_TYPE_DIRECTIVE with .type.
17692 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17693 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17694 * sysdeps/i386/fpu/e_powf.S: Likewise.
17695 * sysdeps/i386/fpu/e_expl.S: Likewise.
17696 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17697 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17698 * sysdeps/i386/fpu/e_pow.S: Likewise.
17699 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17700 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17701 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17702 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17703 * sysdeps/i386/fpu/e_log2.S: Likewise.
17704 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17705 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17706 * sysdeps/i386/fpu/e_powl.S: Likewise.
17707 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17708 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17709 * sysdeps/i386/fpu/e_logl.S: Likewise.
17710 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17711 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17712 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17713 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17714 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17715 * sysdeps/i386/fpu/e_log.S: Likewise.
17716 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17717 * sysdeps/i386/fpu/e_logf.S: Likewise.
17718 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17719 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17720 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17721 * sysdeps/i386/fpu/e_log10.S: Likewise.
17722 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17723 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17724 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17725 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17726 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17727 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17728 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17729 * sysdeps/i386/i686/strtok.S: Likewise.
17730 * sysdeps/i386/i386-mcount.S: Likewise.
17731 * sysdeps/i386/strtok.S: Likewise.
17732 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17733 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17734 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17735 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17736 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17737 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17738 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17739 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17740 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17741 * sysdeps/x86_64/_mcount.S: Likewise.
17742 * sysdeps/x86_64/strtok.S: Likewise.
17743 * sysdeps/sh/_mcount.S: Likewise.
17745 2012-08-01 Roland McGrath <roland@hack.frob.com>
17747 * libio/iofopen.c: Include <fcntl.h>.
17748 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17749 (_IO_fopen64, fopen64): Define as aliases.
17750 * libio/iofopen64.c: Include <fcntl.h>.
17751 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17752 Conditionalize body on this.
17753 * sysdeps/wordsize-64/iofopen.c: File removed.
17754 * sysdeps/wordsize-64/iofopen64.c: File removed.
17756 2012-08-01 Marek Polacek <polacek@redhat.com>
17758 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17759 Use dlfcn directly instead of a variable.
17760 (binfmt-subdir): Do not define.
17763 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17765 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17766 Remove all definitions.
17767 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17768 <kernel-features.h>.
17769 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17770 (miss_F_GETOWN_EX): Remove all definitions.
17771 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17773 [!__ASSUME_FCNTL64]: Remove conditional code.
17774 [__ASSUME_FCNTL64]: Make code unconditional.
17775 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17776 <kernel-features.h>.
17777 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17778 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17779 (lockf64) [__NR_fcntl64]: Make code unconditional.
17780 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17782 * sysdeps/unix/sysv/linux/kernel-features.h
17783 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17784 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17785 Make code unconditional.
17786 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17787 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17789 [__NR_vfork]: Make code unconditional.
17790 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17791 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17793 [__NR_vfork]: Make code unconditional.
17794 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17795 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17797 2012-08-01 Roland McGrath <roland@hack.frob.com>
17799 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17800 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17802 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17803 Define mkstemp64 as an alias.
17804 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17805 Define mkstemps64 as an alias.
17806 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17807 Define mkostemp64 as an alias.
17808 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17809 Define mkostemps64 as an alias.
17810 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17811 Conditionalize body on this.
17812 * misc/mkostemp64.c: Likewise.
17813 * misc/mkostemps64.c: Likewise.
17814 * misc/mkstemps64.c: Likewise.
17815 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17816 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17817 * sysdeps/wordsize-64/mkostemp.c: File removed.
17818 * sysdeps/wordsize-64/mkstemp.c: File removed.
17819 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17820 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17821 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17822 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17825 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17826 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17827 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17828 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17830 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17831 compat_symbol macros from <shlib-compat.h> rather than the underlying
17832 default_symbol_version and symbol_version macros, so that DEFAULT
17833 lines in shlib-versions are respected.
17834 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17836 2012-08-01 Florian Weimer <fweimer@redhat.com>
17838 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17839 Declare with warn_unused_result.
17840 (setgid, setregid, setegid, setresgid): Likewise.
17841 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17843 * WUR-REPORT: Remove set*id functions.
17845 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17847 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17849 2012-07-31 Roland McGrath <roland@hack.frob.com>
17852 * include/sys/socket.h (__libc_accept, __libc_accept4):
17853 Add attribute_hidden.
17854 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17856 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17858 * inet/getnetgrent_r.c (setup): Likewise.
17860 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17862 2012-07-31 David S. Miller <davem@davemloft.net>
17864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17866 2012-07-31 Joseph Myers <joseph@codesourcery.com>
17869 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17870 value between 1.0 and 2.0 and smaller part has absolute value less
17872 * math/s_clog10.c (__clog10): Likewise.
17873 * math/s_clog10f.c (__clog10f): Likewise.
17874 * math/s_clog10l.c (__clog10l): Likewise.
17875 * math/s_clogf.c (__clogf): Likewise.
17876 * math/s_clogl.c (__clogl): Likewise.
17877 * math/libm-test.inc (clog_test): Add more tests.
17878 (clog10_test): Likewise.
17879 * sysdeps/i386/fpu/libm-test-ulps: Update.
17880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17882 2012-07-31 Florian Weimer <fweimer@redhat.com>
17884 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17885 Exit with zero in case no suitable GID is found, and write a
17886 message to standard error.
17888 2012-07-30 Roland McGrath <roland@hack.frob.com>
17890 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17892 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17893 (MAXPATHLEN): Removed.
17894 (NOGROUP, NODEV): New macros.
17895 (setbit, clrbit, isset, isclr): New macros.
17896 (howmany, roundup, powerof2): New macros.
17897 (DEV_BSIZE): New macro.
17899 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17900 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17902 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17903 definition on [!__NO_LONG_DOUBLE_MATH].
17905 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17906 PTR_MANGLE and PTR_DEMANGLE.
17908 * socket/accept4.c (accept4): Rename to __libc_accept4.
17909 Define accept4 as a weak alias.
17911 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17912 on [_DIRENT_HAVE_D_TYPE].
17913 * io/ftw.c (ftw_dir): Likewise.
17915 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17917 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17919 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17920 Use the BSD numbers rather than the arbitrary ones we had.
17921 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17922 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17923 (SIGXCPU, SIGXFSZ): New macros.
17926 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17927 initializer on [_LIBC_REENTRANT].
17929 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17930 definitions inside [_POSIX_MAPPED_FILES].
17932 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17934 * dirent/opendir.c: Include <fcntl.h>.
17936 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17937 (__libc_getspecific): Likewise.
17938 (__libc_key_create): Likewise.
17940 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17941 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17942 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17943 (tmpfile64): Define as alias.
17944 * sysdeps/wordsize-64/tmpfile.c: File removed.
17945 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17946 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17947 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17949 * stdio-common/vfscanf.c: Include <stdbool.h>.
17950 * nss/makedb.c: Likewise.
17951 * stdio-common/_i18n_number.h: Likewise.
17952 * argp/argp-help.c: Likewise.
17953 * posix/wordexp.c: Likewise.
17954 * sysdeps/posix/spawni.c: Likewise.
17955 * nss/nss_files/files-initgroups.c: Likewise.
17956 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17957 * nss/nss_files/files-initgroups.c: Likewise.
17958 * nss/nss_db/db-netgrp.c: Likewise.
17959 * nss/nss_db/db-initgroups.c: Likewise.
17960 * io/fchmodat.c: Include <sys/stat.h>.
17962 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17963 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17965 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17968 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17969 Add multiple inclusion protection.
17971 2012-07-27 David S. Miller <davem@davemloft.net>
17973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17975 2012-07-27 Gary Benson <gbenson@redhat.com>
17978 * elf/rtld.c: Include <stap-probe.h>.
17979 (dl_main): Added static probes "init_start" and "init_complete".
17980 * elf/dl-load.c: Include <stap-probe.h>.
17981 (lose): Take new parameter "nsid".
17982 Added static probe "map_failed".
17983 (_dl_map_object_from_fd): Pass namespace id to lose.
17984 Added static probe "map_start".
17985 (open_verify): Pass namespace id to lose.
17986 * elf/dl-open.c: Include <stap-probe.h>.
17987 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17988 and "reloc_complete".
17989 * elf/dl-close.c: Include <stap-probe.h>.
17990 (_dl_close_worker): Added static probes "unmap_start" and
17992 * elf/rtld-debugger-interface.txt: New file documenting the above.
17994 2012-07-26 Roland McGrath <roland@hack.frob.com>
17996 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17997 rather than a string variable.
17998 * sunrpc/rpc_main.c (h_output): Likewise.
17999 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18001 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18003 * inet/check_native.c: New file.
18005 2012-07-26 Joseph Myers <joseph@codesourcery.com>
18008 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18009 if larger part has absolute value 1.0.
18010 * math/s_clog10.c (__clog10): Likewise.
18011 * math/s_clog10f.c (__clog10f): Likewise.
18012 * math/s_clog10l.c (__clog10l): Likewise.
18013 * math/s_clogf.c (__clogf): Likewise.
18014 * math/s_clogl.c (__clogl): Likewise.
18015 * math/libm-test.inc (clog_test): Add more tests.
18016 (clog10_test): Likewise.
18017 * sysdeps/i386/fpu/libm-test-ulps: Update.
18018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18020 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18021 (pltexit): Likewise.
18022 (La_regs): Likewise.
18023 (La_retval): Likewise.
18024 (int_retval): Likewise.
18025 Update #error for removed macros to refer only to definitions in
18027 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18029 (pltexit): Likewise.
18030 (La_regs): Likewise.
18031 (La_retval): Likewise.
18032 (int_retval): Likewise.
18033 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18035 (pltexit): Likewise.
18036 (La_regs): Likewise.
18037 (La_retval): Likewise.
18038 (int_retval): Likewise.
18039 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18041 (pltexit): Likewise.
18042 (La_regs): Likewise.
18043 (La_retval): Likewise.
18044 (int_retval): Likewise.
18045 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18047 (pltexit): Likewise.
18048 (La_regs): Likewise.
18049 (La_retval): Likewise.
18050 (int_retval): Likewise.
18051 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18053 (pltexit): Likewise.
18054 (La_regs): Likewise.
18055 (La_retval): Likewise.
18056 (int_retval): Likewise.
18057 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18059 (pltexit): Likewise.
18060 (La_regs): Likewise.
18061 (La_retval): Likewise.
18062 (int_retval): Likewise.
18063 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18064 macro definitions in tst-audit.h.
18065 * sysdeps/i386/tst-audit.h: New file.
18066 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18067 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18068 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18069 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18070 * sysdeps/sh/tst-audit.h: Likewise.
18071 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18072 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18073 * sysdeps/x86_64/tst-audit.h: Likewise.
18075 2012-07-26 Andreas Jaeger <aj@suse.de>
18077 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18080 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18081 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18082 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18084 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18085 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18086 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18088 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18091 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18093 (si_call_addr, si_syscall, si_arch): Define new macro.
18094 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18096 (si_call_addr, si_syscall, si_arch): Define new marcro.
18097 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18099 (si_call_addr, si_syscall, si_arch): Define new macro.
18100 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18102 (si_call_addr, si_syscall, si_arch): Define new macro.
18104 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18107 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18108 Change to 2.4.21 where previously 2.4.1.
18109 * sysdeps/unix/sysv/linux/configure: Regenerated.
18110 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18111 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18112 Linux kernel version.
18113 (__ASSUME_STD_AUXV): Remove.
18114 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18116 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18117 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18118 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18119 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18120 (__ASSUME_NETLINK_SUPPORT): Likewise.
18121 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18122 (__no_netlink_support): Remove conditional definition.
18123 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18125 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18126 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18127 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18128 (if_nameindex_ioctl): Remove.
18129 (if_nameindex_netlink): Do not handle __no_netlink_support.
18130 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18132 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18133 Remove conditional code.
18134 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18136 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18138 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18139 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18140 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18142 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18143 [!__ASSUME_STD_AUXV]: Remove conditional code.
18144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18145 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18146 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18148 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18149 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18151 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18153 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18154 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18156 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18158 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18161 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18164 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18165 code unconditional.
18166 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18168 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18170 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18173 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18175 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18178 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18179 code unconditional.
18180 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18182 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18184 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18187 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18188 code unconditional.
18189 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18191 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18193 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18196 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18198 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18199 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18200 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18201 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18202 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18203 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18204 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18205 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18206 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18207 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18208 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18209 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18210 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18211 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18212 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18213 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18214 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18215 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18216 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18217 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18218 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18219 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18220 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18222 2012-07-25 Florian Weimer <fweimer@redhat.com>
18224 * Versions.def: Add GLIBC_2.17.
18225 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18226 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18227 Introduce __libc_secure_getenv.
18228 * stdlib/Versions (2.17): Add secure_getenv
18229 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18230 * stdlib/secure-getenv.c: Rename __secure_getenv to
18231 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18232 symbol __secure_getenv for GLIBC_2.0.
18233 * stdlib/tst-secure-getenv.c: New.
18234 * stdlib/Makefile (tests): Add testcase.
18235 * manual/startup.texi (Environment Access): Document
18237 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18238 __libc_secure_getenv.
18239 * inet/ruserpass.c (ruserpass): Likewise.
18240 * malloc/mtrace.c (mtrace): Likewise.
18241 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18242 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18243 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18244 * sysdeps/posix/tempname.c: Likewise. Evaluate
18245 HAVE_SECURE_GETENV.
18246 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18247 __secure_getenv to __libc_secure_getenv.
18248 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18255 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18261 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18263 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18264 (struct La_i86_retval): Likewise.
18265 (struct La_x86_64_regs): Likewise.
18266 (struct La_x86_64_retval): Likewise.
18267 (struct La_x32_regs): Likewise.
18268 (struct La_x32_retval): Likewise.
18269 (struct La_ppc32_regs): Likewise.
18270 (struct La_ppc32_retval): Likewise.
18271 (struct La_ppc64_regs): Likewise.
18272 (struct La_ppc64_retval): Likewise.
18273 (struct La_sh_regs): Likewise.
18274 (struct La_sh_retval): Likewise.
18275 (struct La_s390_32_regs): Likewise.
18276 (struct La_s390_32_retval): Likewise.
18277 (struct La_s390_64_regs): Likewise.
18278 (struct La_s390_64_retval): Likewise.
18279 (struct La_sparc32_regs): Likewise.
18280 (struct La_sparc32_retval): Likewise.
18281 (struct La_sparc64_regs): Likewise.
18282 (struct La_sparc64_retval): Likewise.
18283 (struct audit_ifaces): Remove architecture-specific pltenter and
18285 * sysdeps/i386/ldsodefs.h: New file.
18286 * sysdeps/powerpc/ldsodefs.h: Likewise.
18287 * sysdeps/s390/ldsodefs.h: Likewise.
18288 * sysdeps/sh/ldsodefs.h: Likewise.
18289 * sysdeps/sparc/ldsodefs.h: Likewise.
18290 * sysdeps/x86_64/ldsodefs.h: Likewise.
18292 2012-07-25 Marek Polacek <polacek@redhat.com>
18295 * math/libm-test.inc (yn_test): Add another test.
18296 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18297 to ERANGE when the result is +-Inf.
18298 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18299 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18300 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18301 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18303 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18305 * conform/data/time.h-data (NULL): Use macro-constant. Require
18307 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18309 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18311 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18313 * configure.in <sysdeps resolving>: Correct printing
18315 * configure: Regenerate.
18317 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18319 * math/w_ilogb.c: Include <limits.h>.
18320 * math/w_ilogbl.c: Likewise.
18322 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18324 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18325 va_copy. Document allowing for unavailable va_copy only as
18326 pre-C99 compatibility.
18327 * manual/string.texi (Copying and Concatenation): Use va_copy
18328 instead of __va_copy in concat example.
18330 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18332 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18333 (__sendto): Use create_address_port. Initialize APORT and deallocate
18336 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18337 with O_NOLINK passed to __file_name_lookup.
18339 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18340 with O_NOLINK passed to __file_name_lookup.
18342 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18343 negative N or less than NGIDS.
18345 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18346 type to string_t. Set ERANGE as errno and return it if NAME is not big
18347 enough. Use memcpy instead of strncpy.
18349 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18351 * elf/Makefile (check-data): Remove.
18352 (localplt.data): New vpath directive.
18353 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18354 instead of $(check-data).
18355 * scripts/data/localplt-generic.data: Move to ...
18356 * sysdeps/generic/localplt.data: ... here.
18357 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18358 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18359 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18362 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18365 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18368 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18371 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18374 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18375 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18378 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18380 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18381 PPC32 and PPC64 files.
18382 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18383 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18385 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18387 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18388 __makecontext_ret to ...
18389 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18390 ... here and call exit if uc_link is NULL. New file.
18391 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18392 __makecontext_ret.S.
18393 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18394 __makecontext_ret to ...
18395 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18396 ... here and call exit if uc_link is NULL. New file.
18397 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18398 __makecontext_ret.S.
18400 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18402 * elf/elf.h (R_390_IRELATIVE): New definition.
18403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18404 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18405 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18406 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18407 (elf_machine_lazy_rel): Likewise.
18408 * sysdeps/s390/dl-irel.h: New file.
18409 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18410 * sysdeps/s390/s390-64/memset.S: New asm code.
18411 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18412 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18413 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18414 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18415 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18416 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18417 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18418 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18419 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18420 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18421 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18422 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18423 * sysdeps/s390/s390-32/memset.S: New asm code.
18424 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18426 2012-07-17 Marek Polacek <polacek@redhat.com>
18429 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18430 * sysdeps/s390/s390-64/configure.in: Likewise.
18431 * sysdeps/sparc/configure.in: Likewise.
18432 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18433 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18434 * sysdeps/i386/configure.in: Likewise.
18435 * sysdeps/x86_64/configure.in: Likewise.
18436 * sysdeps/sh/configure.in: Likewise.
18437 * sysdeps/s390/s390-32/configure: Regenerated.
18438 * sysdeps/s390/s390-64/configure: Likewise.
18439 * sysdeps/x86_64/configure: Likewise.
18440 * sysdeps/sh/configure: Likewise.
18441 * sysdeps/powerpc/powerpc64/configure: Likewise.
18442 * sysdeps/powerpc/powerpc32/configure: Likewise.
18443 * sysdeps/sparc/configure: Likwise.
18444 * sysdeps/i386/configure: Likewise.
18446 * elf/dl-open.c: Comment fixes.
18448 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18450 * Makefile [CXX] (check-data): Remove.
18451 [CXX] (c++-types.data): New vpath directive.
18452 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18453 vpath. Do not allow for C++ type data being missing.
18454 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18455 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18456 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18457 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18458 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18459 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18460 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18463 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18466 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18469 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18472 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18475 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18478 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18481 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18484 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18485 definitions to architecture-specific files.
18486 (TLS_IE): Likewise.
18487 (TLS_LD): Likewise.
18488 (TLS_GD): Likewise.
18489 * sysdeps/i386/tls-macros.h: New file.
18490 * sysdeps/powerpc/tls-macros.h: Likewise.
18491 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18492 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18493 * sysdeps/sh/tls-macros.h: Likewise.
18494 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18495 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18496 * sysdeps/x86_64/tls-macros.h: Likewise.
18498 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18500 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18501 zero value for regular exit case.
18503 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18504 (__start_context): Preserve zero value for regular exit case.
18506 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18507 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18509 * manual/setjmp.texi (setcontext): Clarify normal process
18510 termination when uc_link is the null pointer.
18511 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18514 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18516 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18517 preprocessor. Test for each exception mask separately.
18519 2012-07-16 Andreas Jaeger <aj@suse.de>
18521 * po/ru.po: Update from translation team.
18523 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18525 * conform/data/string.h-data (NULL): Use macro-constant. Require
18527 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18528 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18529 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18530 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18531 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18533 2012-07-13 Andreas Jaeger <aj@suse.de>
18535 * po/fr.po: Update from translation team.
18537 2012-07-12 Marek Polacek <polacek@redhat.com>
18540 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18541 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18544 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18547 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18548 Change to 2.4.1 where previously 2.4.0.
18549 * sysdeps/unix/sysv/linux/configure: Regenerated.
18550 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18551 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18553 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18554 (__ASSUME_AT_CLKTCK): Remove.
18555 (__ASSUME_AT_PAGESIZE): Likewise.
18556 (__ASSUME_AT_XID): Likewise.
18557 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18558 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18559 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18561 (HAVE_AUX_PAGESIZE): Likewise.
18562 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18563 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18564 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18566 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18569 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18570 the temporary buffer used to invoke __gethostbyname2_r,
18571 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18572 host_data / struct gaih_addrtuple.
18573 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18574 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18575 header file nss/nsswitch.h.
18576 * nss/nsswitch.h (global scope): Add definition of implementation
18577 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18578 resolv/nss_dns/dns-host.c).
18580 2012-07-11 Andreas Jaeger <aj@suse.de>
18582 * po/fr.po: Update from translation team.
18584 * po/sv.po: Update from translation team
18585 * po/fr.po: Another update from translation team.
18587 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18589 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18590 for subnormals or multiply small sinh result by itself.
18591 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18594 2012-07-11 David S. Miller <davem@davemloft.net>
18596 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18598 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18601 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18602 (INTERNAL_MARK): Shift it here.
18604 2012-07-10 Marek Polacek <polacek@redhat.com>
18607 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18608 libc_cv_asm_global_directive with .globl.
18609 * configure: Regenerated.
18610 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18612 * sysdeps/i386/configure: Regenerated.
18613 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18615 * sysdeps/x86_64/configure: Regenerated.
18616 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18617 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18618 * elf/tst-unique2mod2.c: Likewise.
18619 * elf/tst-unique2mod1.c: Likewise.
18620 * elf/tst-unique1mod2.c: Likewise.
18621 * elf/tst-unique1mod1.c: Likewise.
18622 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18623 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18624 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18625 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18626 * sysdeps/mach/sysdep.h: Likewise.
18627 * sysdeps/i386/sysdep.h: Likewise.
18628 * sysdeps/i386/i386-mcount.S: Likewise.
18629 * sysdeps/x86_64/_mcount.S: Likewise.
18630 * sysdeps/x86_64/sysdep.h: Likewise.
18631 * sysdeps/sh/_mcount.S: Likewise.
18632 * sysdeps/sh/sysdep.h: Likewise.
18633 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18634 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18635 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18636 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18637 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18638 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18639 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18640 * locale/localeinfo.h: Likewise.
18641 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18642 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18644 2012-07-09 Roland McGrath <roland@hack.frob.com>
18647 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18649 * manual/message.texi (The Uniforum approach): Likewise.
18650 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18651 (glibc iconv Implementation): Likewise.
18653 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18656 * math/s_clog.c (__clog): Avoid scaling a value down where that
18657 could result in underflow.
18658 * math/s_clog10.c (__clog10): Likewise.
18659 * math/s_clog10f.c (__clog10f): Likewise.
18660 * math/s_clog10l.c (__clog10l): Likewise.
18661 * math/s_clogf.c (__clogf): Likewise.
18662 * math/s_clogl.c (__clogl): Likewise.
18663 * math/libm-test.inc (clog_test): Add more tests.
18664 (clog10_test): Likewise.
18665 * sysdeps/i386/fpu/libm-test-ulps: Update.
18666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18668 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18671 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18672 by 7 not 8 to examine high bit of fractional part.
18675 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18676 for call to __mcount_internal.
18677 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18678 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18679 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18681 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18684 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18685 approximation for values within 0x1p-13f of an odd multiple of
18687 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18688 exception. Add more tests.
18689 * sysdeps/i386/fpu/libm-test-ulps: Update.
18692 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18693 inputs and return -1 for them. Do not check for +Inf in case not
18694 reachable for +Inf.
18695 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18696 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18697 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18698 and return -1 for them. Do not check for +Inf in case not
18699 reachable for +Inf.
18700 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18702 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18703 and return -1 for them. Do not check for +Inf in case not
18704 reachable for +Inf.
18705 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18706 spurious underflow.
18707 * sysdeps/i386/fpu/libm-test-ulps: Update.
18708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18710 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18712 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18714 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18718 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18719 could result in spurious underflow. Scale down values above
18720 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18721 * math/s_csqrtf.c (__csqrtf): Likewise.
18722 * math/s_csqrtl.c (__csqrtl): Likewise.
18723 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18724 spurious underflow.
18725 * sysdeps/i386/fpu/libm-test-ulps: Update.
18726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18728 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18730 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18732 * catgets/xopen-msg.awk: New file.
18733 * catgets/xopen-msg.sed: Removed.
18735 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18737 * intl/po2test.awk: New file.
18738 * intl/po2test.sed: Removed.
18740 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18743 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18744 or multiply small sinh result by itself.
18745 * math/s_ctanf.c (__ctanf): Likewise.
18746 * math/s_ctanh.c (__ctanh): Likewise.
18747 * math/s_ctanhf.c (__ctanhf): Likewise.
18748 * math/s_ctanhl.c (__ctanhl): Likewise.
18749 * math/s_ctanl.c (__ctanl): Likewise.
18750 * math/libm-test.inc (ctan_test_tonearest): New function.
18751 (ctan_test_towardzero): Likewise.
18752 (ctan_test_downward): Likewise.
18753 (ctan_test_upward): Likewise.
18754 (ctanh_test_tonearest): Likewise.
18755 (ctanh_test_towardzero): Likewise.
18756 (ctanh_test_downward): Likewise.
18757 (ctanh_test_upward): Likewise.
18758 (main): Call these new functions.
18759 * sysdeps/i386/fpu/libm-test-ulps: Update.
18760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18762 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18764 * .gitignore: Delete /ports entry.
18766 2012-07-03 Andreas Jaeger <aj@suse.de>
18768 * po/bg.po: Update from translation team.
18769 * po/cs.po: Likewise.
18770 * po/de.po: Likewise.
18771 * po/hr.po: Likewise.
18772 * po/nl.pl: Likewise.
18773 * po/pl.po: Likewise.
18774 * po/vi.po: Likewise.
18776 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18778 * Makeconfig [!+link] (+link-before-libc): New variable.
18779 [!+link] (+link-after-libc): Likewise.
18780 [!+link] (+link-tests): Likewise.
18781 [!+link] (+link): Define in terms of $(+link-before-libc) and
18782 $(+link-after-libc).
18783 [!+link-static] (+link-static-before-libc): New variable.
18784 [!+link-static] (+link-static-after-libc): Likewise.
18785 [!+link-static] (+link-static-tests): Likewise.
18786 [!+link-static] (+link-static): Define in terms of
18787 $(+link-static-before-libc) and $(+link-static-after-libc).
18788 [build-shared] (link-libc-before-gnulib): New variable.
18789 [build-shared] (link-libc-tests): Likewise.
18790 [build-shared] (link-libc): Define in terms of
18791 $(link-libc-before-gnulib).
18792 [!build-shared] (link-libc-tests): New variable.
18793 (link-libc-static-tests): New variable.
18794 [!gnulib] (gnulib-arch): New variable.
18795 [!gnulib] (gnulib-tests): Likewise.
18796 [!gnulib] (static-gnulib-arch): Likewise.
18797 [!gnulib] (static-gnulib-tests): Likewise.
18798 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18799 Define with "=" instead of ":=".
18800 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18801 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18802 * Rules (binaries-all-notests): New variable.
18803 (binaries-all-tests): Likewise.
18804 (binaries-static-notests): Likewise.
18805 (binaries-static-tests): Likewise.
18806 (binaries-all): Define using $(binaries-all-notests) and
18807 $(binaries-all-tests).
18808 (binaries-static): Define using $(binaries-static-notests) and
18809 $(binaries-static-tests).
18810 (binaries-shared-tests): New variable.
18811 (binaries-shared-notests): Likewise.
18812 (binaries-shared): Remove variable.
18813 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18814 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18815 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18816 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18817 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18818 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18819 * elf/Makefile (sln-modules): New variable.
18820 (extra-objs): Add $(sln-modules:=.o).
18821 (ldconfig-modules): Add static-stubs.
18822 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18823 * elf/static-stubs.c: New file.
18826 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18827 by 7 not 8 to examine high bit of fractional part. Use volatile
18828 variables when splitting into final array of floats if
18829 __FLT_EVAL_METHOD__ != 0.
18830 * math/libm-test.inc (cos_test): Add another test.
18831 (sin_test): Likewise.
18832 * sysdeps/i386/fpu/libm-test-ulps: Update.
18835 * math/libm-test.inc (cosh_test): Add more tests.
18837 * version.h (RELEASE): Set to "development".
18838 (VERSION): Set to "2.16.90".
18840 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18842 * NEWS: Update copyright. Remove last-updated date.
18843 Mention math library bug fixes and timezone data changes.
18844 * README: Mention GNU/Hurd, x32, and HPPA support status.
18846 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18848 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18850 2012-06-27 Andreas Jaeger <aj@suse.de>
18852 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18854 2012-06-25 Andreas Jaeger <aj@suse.de>
18856 * sysdeps/s390/fpu/libm-test-ulps: Update.
18858 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18859 Thomas Schwinge <thomas@codesourcery.com>
18861 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18862 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18863 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18866 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18868 * sysdeps/mach/start.c: Remove file.
18869 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18870 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18871 * sysdeps/sh/init-first.c: Likewise.
18873 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18874 registers for frame unwinding purposes, add CFI directives.
18875 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18876 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18877 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18880 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18881 __fortify_fail returning.
18882 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18884 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18885 sysdeps/sh/____longjmp_chk.S.
18886 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18887 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18888 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18889 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18891 * sysdeps/sh/abort-instr.h: New file.
18892 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18893 process in case exit returns.
18895 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18896 initialize the GOT register before use.
18898 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18899 calculation of ARGC > 4.
18901 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18902 meaningful names to some local labels.
18904 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18905 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18907 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18908 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18909 (__arch_compare_and_exchange_val_16_acq): Likewise.
18910 (__arch_compare_and_exchange_val_32_acq): Likewise.
18911 (atomic_exchange_and_add): Fix gUSA sequence.
18912 (atomic_add): Likewise.
18913 (atomic_add_negative): Likewise.
18914 (atomic_add_zero): Likewise.
18915 (atomic_bit_test_set): Likewise.
18917 2012-06-22 Andreas Schwab <schwab@redhat.com>
18920 * include/link.h (struct link_map): Add l_free_initfini.
18921 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18923 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18924 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18925 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18928 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18930 * configure.in: Use AC_LANG_SOURCE.
18931 * configure: Regenerate.
18933 2012-06-22 Roland McGrath <roland@hack.frob.com>
18935 * configure.in (libc_cv_localstatedir): New substituted variable.
18936 * configure: Regenerated.
18937 * config.make.in (localstatedir): New variable, substituted from
18938 libc_cv_localstatedir.
18939 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18940 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18941 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18942 * sysdeps/gnu/configure: Regenerated.
18944 2012-06-21 Jeff Law <law@redhat.com>
18947 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18948 free. Simplify list management for _LIBC case.
18950 2012-06-21 Joseph Myers <joseph@codesourcery.com>
18953 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18954 Clear sign bit of 64-bit integer value before comparing against
18957 * sysdeps/mach/configure: Regenerated.
18959 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18962 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18964 2012-06-21 Jeff Law <law@redhat.com>
18967 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18968 uint16_t for elements in the "seen" array to avoid char overflows.
18969 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18970 * elf/dl-open.c (dl_open_worker): Likewise.
18972 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18974 * scripts/list-sources.sh: Scan PORTS for translations.
18975 * po/libc.pot: Regenerated.
18977 2012-06-21 Andreas Jaeger <aj@suse.de>
18980 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18982 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18983 * bits/byteswap-16.h (__bswap_16): Likewise.
18984 * bits/byteswap.h (__bswap_constant_16): Likewise.
18986 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18989 * sysdeps/i386/fpu_control.h: Removed.
18990 * sysdeps/x86_64/fpu_control.h: Moved to ...
18991 * sysdeps/x86/fpu_control.h: Here.
18993 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18994 (_FPU_SETCW): Likewise.
18996 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18999 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19000 * sysdeps/x86/fpu/bits/mathinline.h: This.
19001 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19005 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19006 functions if __x86_64__ is defined.
19008 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19010 * string/endian.h: Add !__ASSEMBLER__ condition for including
19011 conversion interfaces.
19013 2012-06-15 Joseph Myers <joseph@codesourcery.com>
19016 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19017 of ABS(x) in calculating zero to negative powers other than odd
19019 * math/libm-test.inc (pow_test): Add more tests.
19021 2012-06-15 Andreas Jaeger <aj@suse.de>
19023 * manual/contrib.texi (Contributors): Update entry of Liubov
19024 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19027 2012-06-15 Cyril Hrubis <metan@ucw.cz>
19029 * string/string.h: Add __wur to GNU version of strerror_r.
19031 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19034 * string/Makefile (tests): Add tst-strtok_r.
19035 * string/tst-strtok_r.c: New file.
19036 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19037 RAX_LP/RDX_LP on SAVE_PTR.
19039 2012-06-14 Roland McGrath <roland@hack.frob.com>
19041 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19043 2012-06-14 Joseph Myers <joseph@codesourcery.com>
19045 * libm_test.inc (csqrt_test): Allow more spurious underflow
19047 (j0_test): Likewise.
19048 (j1_test): Likewise.
19049 (y0_test): Likewise.
19050 (y1_test): Likewise.
19052 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19054 * po/Makefile (libc.pot): Use UTF-8 charset.
19056 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19059 Suppress sign-conversion warning from FD_SET.
19060 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19061 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19062 not unsigned long int.
19063 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19065 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19069 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19070 __extern_always_inline instead of __extern_inline.
19071 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19072 (__signbit): Likewise.
19073 (__signbitl): Support C++ namespace.
19074 (lrintf): New inline function.
19076 (llrintf): Likewise.
19077 (llrint): Likewise.
19087 (floorf): Likewise.
19088 (nearbyint): Likewise.
19089 (nearbyintf): Likewise.
19091 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19093 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19094 non-default versions.
19096 2012-06-11 Roland McGrath <roland@hack.frob.com>
19099 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19101 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19103 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19104 (FE_UPWARD, FE_DOWNWARD): Don't define.
19105 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19106 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19108 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19110 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19111 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19113 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19115 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19116 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19117 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19118 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19120 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19123 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19124 * sysdeps/i386/fpu/Implies: New file.
19125 * sysdeps/x86_64/fpu/Implies: Likewise.
19126 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19127 * sysdeps/x86/fpu/bits/fenv.h: This.
19129 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19132 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19135 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19136 character 0xffff that matches the last element of the
19139 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19141 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19144 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19147 values higher than 25.6283.
19149 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19151 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19152 subnormal exponent extraction and add some __builtin_expect.
19153 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19154 Fix for subnormal mantissa calculation.
19156 2012-06-04 Mike Frysinger <vapier@gentoo.org>
19158 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19159 cpu2 is -1 and errno is not ENOSYS.
19161 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19164 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19165 * sysdeps/x86/bits/string.h: This.
19166 * sysdeps/x86_64/bits/string.h: Removed.
19168 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19169 if not compiling for x86-64, but compiling for >= i486.
19171 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19172 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19174 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19175 New macro from Linux kernel 3.4.0.
19176 (FP_XSTATE_MAGIC2): Likewise.
19177 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19178 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19179 (struct _fpx_sw_bytes): New struct.
19180 (struct _xsave_hdr): Likewise.
19181 (struct _ymmh_state): Likewise.
19182 (struct _xstate): Likewise.
19184 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19185 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19186 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19187 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19188 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19189 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19191 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19192 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19193 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19194 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19195 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19196 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19198 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19201 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19202 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19203 (sysdep_headers): Include sys/platform/ppc.h.
19204 * sysdeps/powerpc/test-gettimebase.c: Test for
19205 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19206 * manual/Makefile (appendices): Include platform.texi.
19207 * manual/contrib.texi (Contributors): Update @node pointers.
19208 * manual/maint.texi (Maintenance): Likewise.
19209 (Platform): New node.
19210 * manual/platform.texi: New file. Document the new features.
19212 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19213 Jakub Jelinek <jakub@redhat.com>
19216 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19217 where __builtin_expect is unavailable.
19219 2012-06-03 David S. Miller <davem@davemloft.net>
19221 * stdlib/longlong.h: Updated from GCC.
19223 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19226 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19227 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19230 (GLIBC_2.16): Likewise.
19232 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19234 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19236 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19239 (default-abi): New variable.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19241 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19243 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19245 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19247 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19250 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19251 definition. Document in comment.
19253 2012-06-01 David S. Miller <davem@davemloft.net>
19255 * stdlib/longlong.h: Updated from GCC.
19257 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19260 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19261 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19262 sys/debugreg.h sys/io.h here.
19263 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19264 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19266 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19267 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19268 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19269 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19270 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19271 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19273 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19274 Define only if __x86_64__ is defined.
19276 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19279 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19280 Use int64_t for variable i.
19281 * math/libm-test.inc (fmod_test): Add more tests.
19283 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19284 z computation is not scheduled after fetestexcept.
19285 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19286 Use math_force_eval instead of asm to ensure calculation scheduled
19287 before exception test.
19288 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19289 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19291 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19293 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19294 computation is not scheduled after fetestexcept.
19296 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19299 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19300 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19302 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19304 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19305 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19307 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19310 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19312 (__WCHAR_MIN): Support __WORDSIZE == 64.
19313 (__WCHAR_MAX): Likewise.
19315 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19316 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19319 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19320 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19323 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19324 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19326 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19327 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19329 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19330 Defined to 1 if __x86_64__ isn't defined.
19331 (_STAT_VER_LINUX_OLD): New.
19332 (st_atime): Remove duplicate.
19333 (st_mtime): Likewise.
19334 (st_ctime): Likewise.
19336 2012-05-31 David S. Miller <davem@davemloft.net>
19338 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19341 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19343 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19347 * elf/dl-reloc.c: Include <_itoa.h>.
19348 (_dl_reloc_bad_type): Remove use of INTUSE.
19349 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19350 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19351 * stdio-common/psiginfo.c (psiginfo): Likewise.
19352 * stdio-common/psignal.c (psignal): Likewise.
19353 * string/strsignal.c (strsignal): Likewise.
19354 * include/signal.h (_sys_siglist): Declare hidden proto.
19355 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19356 INTVARDEF with libc_hidden_data_def.
19357 * stdio-common/itoa-udigits.c: Likewise.
19358 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19359 (_itoa_lower_digits_internal): Remove declaration.
19360 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19361 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19362 (_sys_sigabbrev_internal): Remove aliases.
19363 (_sys_siglist): Define hidden alias.
19365 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19367 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19370 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19373 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19374 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19376 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19377 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19378 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19379 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19380 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19381 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19383 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19384 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19385 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19387 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19395 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19396 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19397 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19399 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19400 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19401 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19402 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19403 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19404 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19406 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19407 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19409 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19410 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19412 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19413 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19414 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19416 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19417 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19419 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19421 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19422 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19423 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19425 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19427 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19429 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19431 * math/math.h (M_El): Use two more decimal places.
19432 (M_LOG2El): Likewise.
19433 (M_LOG10El): Likewise.
19434 (M_LN2l): Likewise.
19435 (M_LN10l): Likewise.
19437 (M_PI_2l): Likewise.
19438 (M_PI_4l): Likewise.
19439 (M_1_PIl): Likewise.
19440 (M_2_PIl): Likewise.
19441 (M_2_SQRTPIl): Likewise.
19442 (M_SQRT2l): Likewise.
19443 (M_SQRT1_2l): Likewise.
19445 2012-05-31 David S. Miller <davem@davemloft.net>
19447 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19448 values between float registers.
19449 * sysdeps/sparc/sparc64/memset.S: Likewise.
19450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19452 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19454 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19455 -D_FORTIFY_SOURCE=1.
19456 (CPPFLAGS-tst-longjmp_chk.c): Define.
19457 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19458 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19459 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19460 CFLAGS-tst-wchar-h.c.
19462 2012-05-31 Marek Polacek <polacek@redhat.com>
19465 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19466 __endmntent_internal): Remove declaration.
19467 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19468 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19469 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19471 2012-05-30 David S. Miller <davem@davemloft.net>
19473 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19474 (___Q_simulate_exceptions): Use real FP ops rather than writing
19476 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19479 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19482 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19483 * sysdeps/x86/bits/xtitypes.h: This.
19485 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19486 * sysdeps/x86/bits/wordsize.h: This.
19488 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19489 * sysdeps/x86/bits/huge_vall.h: This.
19491 * sysdeps/i386/bits/select.h: Removed.
19492 * sysdeps/x86_64/bits/select.h: Renamed to ...
19493 * sysdeps/x86/bits/select.h: This.
19495 * sysdeps/i386/bits/setjmp.h: Removed.
19496 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19497 * sysdeps/x86/bits/setjmp.h: This.
19499 * sysdeps/i386/bits/mathdef.h: Removed.
19500 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19501 * sysdeps/x86/bits/mathdef.h: This.
19503 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19506 * include/sys/socket.h (__connect_internal)
19507 (__libc_sa_len_internal): Remove declaration.
19508 (__connect, __libc_sa_len): Declare hidden_proto.
19509 (SA_LEN): Remove use of INTUSE.
19510 * socket/connect.c: Add libc_hidden_def.
19511 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19512 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19513 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19515 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19516 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19517 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19518 of adding _internal alias.
19520 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19523 * sysdeps/i386/bits/link.h: Removed.
19524 * sysdeps/i386/bits/linkmap.h: Likewise.
19525 * sysdeps/x86_64/bits/link.h: Renamed to ...
19526 * sysdeps/x86/bits/link.h: This.
19527 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19528 * sysdeps/x86/bits/linkmap.h: This.
19530 * sysdeps/i386/bits/endian.h: Removed.
19531 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19532 * sysdeps/x86/bits/endian.h: This.
19534 * sysdeps/i386/bits/byteswap.h: Removed.
19535 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19536 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19537 * sysdeps/x86/bits/byteswap.h: This.
19538 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19539 * sysdeps/x86/bits/byteswap-16.h: This.
19540 * sysdeps/i386/Implies: Add x86.
19541 * sysdeps/x86_64/Implies: Likewise.
19543 2012-05-30 David S. Miller <davem@davemloft.net>
19545 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19546 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19547 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19548 (FP_TRAPPING_EXCEPTIONS): Define.
19549 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19550 (FP_TRAPPING_EXCEPTIONS): Define.
19551 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19552 subnormals only when inexact has been signalled or underflow
19553 exceptions are enabled.
19554 (_FP_PACK_CANONICAL): Likewise.
19556 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19560 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19562 2012-05-30 Richard Henderson <rth@twiddle.net>
19564 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19565 with #ifndef NOT_IN_libc.
19567 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19568 marked to avoid plt entry.
19570 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19573 * Makeconfig (default-abi): New macro.
19574 (abi-includes): Likewise.
19575 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19576 $(abi-$(default-abi)-lib-soname) for soname if defined.
19577 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19579 * Makefile (installed-stubs): Likewise.
19580 * include/stubs-biarch.h: Removed.
19581 * scripts/lib-names.awk: Only handle one library at a time.
19582 * scripts/soversions.awk: Remove WORDSIZE support.
19583 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19585 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19587 (syscall-list-default-condition): Likewise.
19588 (syscall-list-default-condition): Likewise.
19589 (syscall-list-includes): Likewise.
19590 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19591 syscall-list-* with abi-*. Handle undefined abi-variants.
19592 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19593 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19594 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19595 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19596 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19597 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19599 (syscall-list-32-options): Likewise.
19600 (syscall-list-32-condition): Likewise.
19601 (syscall-list-64-options): Likewise.
19602 (syscall-list-64-condition): Likewise.
19603 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19605 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19608 (abi-64-ld-soname): New macro.
19609 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19610 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19613 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19614 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19616 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19618 * sysdeps/unix/sysv/linux/kernel-features.h
19619 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19620 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19621 include <kernel-features.h>.
19622 [!__NR_ftruncate64]: Remove conditional code.
19623 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19624 [__NR_ftruncate64]: Make code unconditional.
19625 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19626 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19627 include <kernel-features.h>.
19628 [!__NR_ftruncate64]: Remove conditional code.
19629 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19630 [__NR_ftruncate64]: Make code unconditional.
19631 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19633 include <kernel-features.h>.
19634 [!__NR_ftruncate64]: Remove conditional code.
19635 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19636 [__NR_ftruncate64]: Make code unconditional.
19637 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19639 include <kernel-features.h>.
19640 [!__NR_ftruncate64]: Remove conditional code.
19641 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19642 [__NR_ftruncate64]: Make code unconditional.
19643 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19645 * configure.in (libc_cv_fpie): Weaken to a compile test using
19646 LIBC_TRY_CC_OPTION.
19647 * configure: Regenerated.
19649 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19664 2012-05-27 David S. Miller <davem@davemloft.net>
19666 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19668 (__Q_simulate_exceptions): Return void. Change to simulate
19669 exceptions by writing into the %fsr.
19670 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19671 (__Qp_handle_exceptions): Likewise.
19673 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19674 __Qp_handle_exceptions.
19675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19676 __Qp_handle_exceptions.
19677 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19678 as unused and give dummy FP_RND_NEAREST initializer.
19679 (FP_INHIBIT_RESULTS): Define.
19680 (___Q_simulate_exceptions): Update declaration.
19681 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19683 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19684 as unused and give dummy FP_RND_NEAREST initializer.
19685 (__Qp_handle_exceptions): Update declaration.
19686 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19689 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19691 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19692 the temporary FPU control word.
19693 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19694 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19695 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19696 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19697 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19698 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19699 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19700 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19701 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19702 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19703 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19705 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19707 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19710 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19712 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19713 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19714 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19715 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19717 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19718 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19721 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19723 * po/h.po: Update from translation team.
19725 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19727 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19729 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19730 handling of denormals.
19731 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19732 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19733 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19734 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19736 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19737 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19740 2012-05-26 Marek Polacek <polacek@redhat.com>
19743 * math/libm-test.inc (fma_test): Don't always expect underflow
19746 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19749 * elf/tst-execstack.c: Include stackinfo.h.
19750 (do_test): Adjust test case to ensure that pthread_getattr_np
19751 behaviour remains the same after marking stack executable.
19753 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19755 * sysdeps/unix/sysv/linux/kernel-features.h
19756 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19757 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19759 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19760 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19761 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19763 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19764 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19766 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19768 * configure.in: Define the default includes to being none.
19769 * configure: Regenerated.
19771 2012-05-25 Roland McGrath <roland@hack.frob.com>
19773 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19774 * sysdeps/x86_64/setjmp.S: Likewise.
19775 * sysdeps/i386/bsd-setjmp.S: Likewise.
19776 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19777 * sysdeps/i386/setjmp.S: Likewise.
19778 * sysdeps/i386/__longjmp.S: Likewise.
19779 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19780 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19782 * include/stap-probe.h: New file.
19783 * configure.in: Handle --enable-systemtap.
19784 * configure: Regenerated.
19785 * config.h.in (USE_STAP_PROBE): New #undef.
19786 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19787 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19788 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19790 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19793 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19794 to 2.4.0 where earlier.
19795 * sysdeps/unix/sysv/linux/configure: Regenerated.
19796 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19797 <kernel-features.h>.
19798 [__ASSUME_32BITUIDS]: Make code unconditional.
19799 [!__ASSUME_32BITUIDS]: Remove conditional code.
19800 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19801 <kernel-features.h>.
19802 [__ASSUME_32BITUIDS]: Make code unconditional.
19803 [!__ASSUME_32BITUIDS]: Remove conditional code.
19804 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19805 [__ASSUME_32BITUIDS]: Make code unconditional.
19806 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19807 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19808 <kernel-features.h>.
19809 [__ASSUME_32BITUIDS]: Make code unconditional.
19810 [!__ASSUME_32BITUIDS]: Remove conditional code.
19811 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19812 <kernel-features.h>.
19813 [__ASSUME_32BITUIDS]: Make code unconditional.
19814 [!__ASSUME_32BITUIDS]: Remove conditional code.
19815 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19816 <kernel-features.h>.
19817 [__ASSUME_32BITUIDS]: Make code unconditional.
19818 [!__ASSUME_32BITUIDS]: Remove conditional code.
19819 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19820 <kernel-features.h>.
19821 [__ASSUME_32BITUIDS]: Make code unconditional.
19822 [!__ASSUME_32BITUIDS]: Remove conditional code.
19823 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19824 <kernel-features.h>.
19825 [__ASSUME_32BITUIDS]: Make code unconditional.
19826 [!__ASSUME_32BITUIDS]: Remove conditional code.
19827 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19828 <kernel-features.h>.
19829 [__ASSUME_32BITUIDS]: Make code unconditional.
19830 [!__ASSUME_32BITUIDS]: Remove conditional code.
19831 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19832 <kernel-features.h>.
19833 [__ASSUME_32BITUIDS]: Make code unconditional.
19834 [!__ASSUME_32BITUIDS]: Remove conditional code.
19835 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19836 <kernel-features.h>.
19837 [__ASSUME_32BITUIDS]: Make code unconditional.
19838 [!__ASSUME_32BITUIDS]: Remove conditional code.
19839 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19840 <kernel-features.h>.
19841 [__ASSUME_32BITUIDS]: Make code unconditional.
19842 [!__ASSUME_32BITUIDS]: Remove conditional code.
19843 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19844 <kernel-features.h>.
19845 [__ASSUME_32BITUIDS]: Make code unconditional.
19846 [!__ASSUME_32BITUIDS]: Remove conditional code.
19847 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19848 <kernel-features.h>.
19849 [__NR_setresgid] (__setresgid): Do not declare.
19850 [__ASSUME_32BITUIDS]: Make code unconditional.
19851 [!__ASSUME_32BITUIDS]: Remove conditional code.
19852 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19853 <kernel-features.h>.
19854 [__NR_setresuid] (__setresuid): Do not declare.
19855 [__ASSUME_32BITUIDS]: Make code unconditional.
19856 [!__ASSUME_32BITUIDS]: Remove conditional code.
19857 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19858 <kernel-features.h>.
19859 [__ASSUME_32BITUIDS]: Make code unconditional.
19860 [!__ASSUME_32BITUIDS]: Remove conditional code.
19861 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19862 <kernel-features.h>.
19863 [__ASSUME_32BITUIDS]: Make code unconditional.
19864 [!__ASSUME_32BITUIDS]: Remove conditional code.
19865 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19866 <kernel-features.h>.
19867 [__ASSUME_32BITUIDS]: Make code unconditional.
19868 [!__ASSUME_32BITUIDS]: Remove conditional code.
19869 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19870 <kernel-features.h>.
19871 [__ASSUME_32BITUIDS]: Make code unconditional.
19872 [!__ASSUME_32BITUIDS]: Remove conditional code.
19873 * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
19898 (__ASSUME_SETRESUID_SYSCALL): Remove.
19899 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19900 (__ASSUME_32BITUIDS): Likewise.
19901 (__ASSUME_LDT_WORKS): Likewise.
19902 (__ASSUME_O_DIRECTORY): Likewise.
19903 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19904 architecture but not kernel version.
19905 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19906 (__ASSUME_MMAP2_SYSCALL): Likewise.
19907 (__ASSUME_STAT64_SYSCALL): Likewise.
19908 (__ASSUME_IPC64): Likewise.
19909 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19910 <kernel-features.h>.
19911 [__ASSUME_32BITUIDS]: Make code unconditional.
19912 [!__ASSUME_32BITUIDS]: Remove conditional code.
19913 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19914 <kernel-features.h>.
19915 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19916 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19917 132096]: Remove conditional code.
19918 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19919 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19920 <kernel-features.h>.
19921 [__ASSUME_32BITUIDS]: Make code unconditional.
19922 [!__ASSUME_32BITUIDS]: Remove conditional code.
19923 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
19928 <kernel-features.h>.
19929 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19931 (__setresgid): Do not declare.
19932 [__ASSUME_32BITUIDS]: Make code unconditional.
19933 [!__ASSUME_32BITUIDS]: Remove conditional code.
19934 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19935 <kernel-features.h>.
19936 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19938 (__setresuid): Do not declare.
19939 [__ASSUME_32BITUIDS]: Make code unconditional.
19940 [!__ASSUME_32BITUIDS]: Remove conditional code.
19941 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19942 <kernel-features.h>.
19943 [__ASSUME_32BITUIDS]: Make code unconditional.
19944 [!__ASSUME_32BITUIDS]: Remove conditional code.
19945 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19946 <kernel-features.h>.
19947 [__ASSUME_32BITUIDS]: Make code unconditional.
19948 [!__ASSUME_32BITUIDS]: Remove conditional code.
19950 2012-05-25 Richard Henderson <rth@twiddle.net>
19952 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19953 dl_hwcap to ifunc resolver.
19954 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19956 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19957 dl_hwcap to ifunc resolver.
19958 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19960 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19963 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19964 for |x| <= 2**-26, not 2**-57.
19965 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19968 2012-05-24 Jeff Law <law@redhat.com>
19970 * stdio-common/Makefile (tests): Add bug25.
19971 * stdio-common/bug25.c: New test.
19973 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19976 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19977 multiple of MALLOC_ALIGNMENT in size.
19978 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19980 2012-05-24 Joseph Myers <joseph@codesourcery.com>
19982 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19984 (FILENAME_MAX): Use macro-int-constant.
19985 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19986 (_IOFBF): Use macro-int-constant.
19987 (_IOLBF): Likewise.
19988 (_IONBF): Likewise.
19989 (SEEK_CUR): Likewise.
19990 (SEEK_END): Likewise.
19991 (SEEK_SET): Likewise.
19992 (TMP_MAX): Likewise.
19993 (EOF): Use macro-int-constant. Require < 0.
19994 (NULL): Use macro-constant. Require == 0.
19995 (stdin): Require type to be FILE *.
19996 (stdout): Likewise.
19997 (stderr): Likewise.
19998 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19999 macro-int-constant.
20000 (EXIT_SUCCESS): Likewise.
20001 (NULL): Use macro-constant. Require == 0.
20002 (RAND_MAX): Use macro-int-constant.
20003 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20004 [C99-based standards] (strtof): Require function.
20005 [C99-based standards] (strtold): Likewise.
20006 [C99-based standards] (strtoll): Likewise.
20007 [C99-based standards] (strtoull): Likewise.
20008 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20009 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20010 [ISO || ISO99 || ISO11] (math.h): Likewise.
20011 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20012 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20013 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20015 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20018 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20019 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20020 * intl/dgettext.c (DCGETTEXT): Likewise.
20021 * intl/gettext.c (DCGETTEXT): Likewise.
20022 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20023 * posix/regex_internal.h (gettext): Likewise.
20024 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20025 Remove declaration.
20026 * include/argz.h (__argz_count_internal)
20027 (__argz_stringify_internal): Remove declaration.
20028 (__argz_count, __argz_stringify): Declare hidden proto.
20029 * intl/dcgettext.c: Remove use of INTDEF.
20030 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20031 * string/argz-stringify.c: Likewise.
20032 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20033 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20034 Declare hidden proto.
20035 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20036 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20037 Declare hidden proto.
20038 * include/stdio.h (__asprintf_internal): Don't declare.
20039 (__asprintf): Don't define as macro. Declare hidden proto.
20040 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20041 (__fsetlocking): Declare hidden proto.
20042 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20043 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20045 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20046 (_IO_setlinebuf): Remove use of INTUSE.
20047 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20048 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20049 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20050 Remove declaration.
20051 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20052 (_IO_do_flush): Remove use of INTUSE.
20053 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20054 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20055 (_IO_adjust_column, _IO_least_wmarker)
20056 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20057 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20058 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20059 (_IO_default_doallocate, _IO_wdefault_doallocate)
20060 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20061 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20062 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20063 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20064 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20065 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20066 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20067 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20068 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20069 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20070 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20071 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20072 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20074 (_IO_flush_all_internal, _IO_adjust_column_internal)
20075 (_IO_default_uflow_internal, _IO_default_finish_internal)
20076 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20077 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20078 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20079 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20080 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20081 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20082 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20083 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20084 (_IO_file_close_internal, _IO_file_close_it_internal)
20085 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20086 (_IO_file_init_internal, _IO_file_attach_internal)
20087 (_IO_file_fopen_internal, _IO_file_read_internal)
20088 (_IO_file_sync_internal, _IO_file_seek_internal)
20089 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20090 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20091 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20092 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20093 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20094 (_IO_list_all_internal, _IO_link_in_internal)
20095 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20096 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20097 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20098 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20099 (_IO_do_write_internal, _IO_padn_internal)
20100 (_IO_getline_info_internal, _IO_getline_internal)
20101 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20102 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20103 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20104 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20105 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20106 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20107 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20108 with libc_hidden_ver, remove use of INTUSE.
20109 * libio/genops.c: Likewise.
20110 * libio/freopen.c: Likewise.
20111 * libio/freopen64.c: Likewise.
20112 * libio/iofclose.c: Likewise.
20113 * libio/iofdopen.c: Likewise.
20114 * libio/iofflush.c: Likewise.
20115 * libio/iofflush_u.c: Likewise.
20116 * libio/iofgets.c: Likewise.
20117 * libio/iofgets_u.c: Likewise.
20118 * libio/iofopen.c: Likewise.
20119 * libio/iofopncook.c: Likewise.
20120 * libio/iofread.c: Likewise.
20121 * libio/iofread_u.c: Likewise.
20122 * libio/ioftell.c: Likewise.
20123 * libio/iofwrite.c: Likewise.
20124 * libio/iogetline.c: Likewise.
20125 * libio/iogets.c: Likewise.
20126 * libio/iogetwline.c: Likewise.
20127 * libio/iopadn.c: Likewise.
20128 * libio/iopopen.c: Likewise.
20129 * libio/ioseekoff.c: Likewise.
20130 * libio/ioseekpos.c: Likewise.
20131 * libio/iosetbuffer.c: Likewise.
20132 * libio/iosetvbuf.c: Likewise.
20133 * libio/ioungetc.c: Likewise.
20134 * libio/ioungetwc.c: Likewise.
20135 * libio/iovdprintf.c: Likewise.
20136 * libio/iovsprintf.c: Likewise.
20137 * libio/iovsscanf.c: Likewise.
20138 * libio/memstream.c: Likewise.
20139 * libio/obprintf.c: Likewise.
20140 * libio/oldfileops.c: Likewise.
20141 * libio/oldiofclose.c: Likewise.
20142 * libio/oldiofdopen.c: Likewise.
20143 * libio/oldiofopen.c: Likewise.
20144 * libio/oldiopopen.c: Likewise.
20145 * libio/oldstdfiles.c: Likewise.
20146 * libio/putc.c: Likewise.
20147 * libio/setbuf.c: Likewise.
20148 * libio/setlinebuf.c: Likewise.
20149 * libio/stdfiles.c: Likewise.
20150 * libio/strops.c: Likewise.
20151 * libio/vasprintf.c: Likewise.
20152 * libio/vscanf.c: Likewise.
20153 * libio/vsnprintf.c: Likewise.
20154 * libio/vswprintf.c: Likewise.
20155 * libio/wfiledoalloc.c: Likewise.
20156 * libio/wfileops.c: Likewise.
20157 * libio/wgenops.c: Likewise.
20158 * libio/wmemstream.c: Likewise.
20159 * libio/wstrops.c: Likewise.
20160 * libio/__fpurge.c: Likewise.
20161 * libio/__fsetlocking.c: Likewise.
20162 * assert/assert.c: Likewise.
20163 * debug/fgets_chk.c: Likewise.
20164 * debug/fgets_u_chk.c: Likewise.
20165 * debug/fread_chk.c: Likewise.
20166 * debug/fread_u_chk.c: Likewise.
20167 * debug/gets_chk.c: Likewise.
20168 * debug/obprintf_chk.c: Likewise.
20169 * debug/vasprintf_chk.c: Likewise.
20170 * debug/vdprintf_chk.c: Likewise.
20171 * debug/vsnprintf_chk.c: Likewise.
20172 * debug/vsprintf_chk.c: Likewise.
20173 * malloc/mtrace.c: Likewise.
20174 * misc/error.c: Likewise.
20175 * misc/syslog.c: Likewise.
20176 * stdio-common/asprintf.c: Likewise.
20177 * stdio-common/fxprintf.c: Likewise.
20178 * stdio-common/getw.c: Likewise.
20179 * stdio-common/isoc99_fscanf.c: Likewise.
20180 * stdio-common/isoc99_scanf.c: Likewise.
20181 * stdio-common/isoc99_vfscanf.c: Likewise.
20182 * stdio-common/isoc99_vscanf.c: Likewise.
20183 * stdio-common/isoc99_vsscanf.c: Likewise.
20184 * stdio-common/printf-prs.c: Likewise.
20185 * stdio-common/printf_fp.c: Likewise.
20186 * stdio-common/printf_fphex.c: Likewise.
20187 * stdio-common/printf_size.c: Likewise.
20188 * stdio-common/putw.c: Likewise.
20189 * stdio-common/scanf.c: Likewise.
20190 * stdio-common/sprintf.c: Likewise.
20191 * stdio-common/tmpfile.c: Likewise.
20192 * stdio-common/vfprintf.c: Likewise.
20193 * stdio-common/vfscanf.c: Likewise.
20194 * stdlib/strfmon_l.c: Likewise.
20195 * sunrpc/openchild.c: Likewise.
20196 * sunrpc/xdr_stdio.c: Likewise.
20197 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20198 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20200 2012-05-24 Roland McGrath <roland@hack.frob.com>
20202 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20204 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20205 in the third column, to generate for the shared library an IFUNC
20206 that uses _dl_vdso_vsym.
20207 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20208 * Makeconfig (object-suffixes-noshared): New variable.
20210 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20211 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20212 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20213 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20216 * include/sys/time.h (__gettimeofday): Remove macro.
20217 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20218 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20220 (__gettimeofday): Add libc_hidden_def.
20221 (gettimeofday): Add libc_hidden_weak.
20222 * sysdeps/mach/gettimeofday.c: Likewise.
20223 * sysdeps/posix/gettimeofday.c: Likewise.
20224 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20225 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20226 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20227 (__gettimeofday_internal): Remove strong_alias.
20228 (__gettimeofday): Add libc_hidden_def.
20229 (gettimeofday): Add libc_hidden_weak.
20230 * sysdeps/unix/syscalls.list (gettimeofday):
20231 Remove __gettimeofday_internal alias.
20233 2012-05-24 Daniel Jacobowitz <drow@false.org>
20234 H.J. Lu <hongjiu.lu@intel.com>
20237 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20238 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20239 (largebin_index_32_big): New.
20240 (largebin_index): Use it for 16-byte alignment.
20241 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20242 correction with front_misalign.
20244 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20259 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20261 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20263 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20265 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20267 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20269 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20272 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20273 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20275 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20279 * math/libm-test.inc (exp_test): Add test from bug 14036.
20280 (pow_test): Add test from bug 10846.
20282 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20284 (special_function): Do not include flags in test name.
20285 (parse_args): Likewise.
20286 * sysdeps/i386/fpu/libm-test-ulps: Update.
20287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20289 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20292 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20294 * math/libm-test.inc ("Philosophy"): Update comment about
20296 (UNDERFLOW_EXCEPTION): New macro.
20297 (UNDERFLOW_EXCEPTION_OK): Likewise.
20298 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20299 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20300 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20301 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20302 (INVALID_EXCEPTION_OK): Update value.
20303 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20304 (OVERFLOW_EXCEPTION_OK): Likewise.
20305 (IGNORE_ZERO_INF_SIGN): Likewise.
20306 (test_exceptions): Handle underflow exceptions.
20307 (acos_test): Update for underflow exception expectations.
20308 (cexp_test): Likewise.
20309 (clog_test): Likewise.
20310 (clog10_test): Likewise.
20311 (csqrt_test): Likewise.
20312 (ctan_test): Likewise.
20313 (ctanh_test): Likewise.
20314 (exp_test): Likewise.
20315 (exp10_test): Likewise.
20316 (exp2_test): Likewise.
20317 (expm1_test): Likewise.
20318 (fma_test): Likewise.
20319 (j0_test): Likewise.
20320 (jn_test): Likewise.
20321 (nexttoward_test): Likewise.
20322 (pow_test): Likewise.
20323 (scalbn_test): Likewise.
20324 (scalbln_test): Likewise.
20325 (tan_test): Likewise.
20326 (y1_test): Likewise.
20327 * sysdeps/i386/fpu/libm-test-ulps: Update.
20328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20330 2012-05-23 David S. Miller <davem@davemloft.net>
20332 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20333 (__libc_sigaction): Remove unused local variables.
20335 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20337 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20339 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20341 mktime: avoid signed integer overflow
20342 * time/mktime.c (__mktime_internal): Do not mishandle the case
20343 where diff == INT_MIN.
20345 mktime: simplify computation of average
20346 * time/mktime.c (ranged_convert): Use new time_t_avg function
20347 instead of rolling our own (probably-slower) code.
20349 mktime: do not assume signed right shift propagates sign bit
20350 * time/mktime.c (isdst_differ): New static function.
20351 (__mktime_internal): No need to normalize tm_isdst now.
20352 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20355 mktime: merge another wrapv change from gnulib
20356 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20357 from some compilers.
20359 mktime: remove incorrect attempt at unusual arithmetics
20360 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20361 The code didn't really work on such machines anyway.
20362 (TYPE_MINIMUM): Assume two's complement.
20363 (twos_complement_arithmetic): Verify that long_int and time_t
20364 are two's complement (or unsigned, in the latter case).
20366 mktime: check signed shifts on long_int and time_t, too
20367 * time/mktime.c (SHR): Check that shifts work as desired
20368 on the types long_int and time_t too, as SHR is used on
20371 mktime: do not assume 'long' is wide enough
20372 * time/mktime.c (verify): Move decl up.
20373 (long_int): New type.
20374 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20375 to remove assumption in the code that 'long' is wide enough to
20376 store year values. This assumption is not true on x32 and on
20377 some non-glibc platforms.
20379 mktime: merge wrapv change from gnulib
20380 * time/mktime.c (WRAPV): New macro.
20381 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20382 (guess_time_tm, __mktime_internal): Do not assume that signed
20383 integer overflow wraps around; modern compilers generate code
20384 where this assumption is no longer valid.
20386 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20388 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20389 Replace "jmp L(pseudo_end)" with "ret".
20390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20393 2012-05-23 Andreas Jaeger <aj@suse.de>
20395 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20396 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20398 2012-05-23 Andreas Jaeger <aj@suse.de>
20399 Maximilian Attems <max@stro.at>
20401 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20404 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20407 code so that pseudo_end is just ret and the stack pointer is
20408 correct also for static library in error case.
20410 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20412 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20413 move to syscalls.list.
20414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20419 * manual/install.texi (Running make install): Do not mention Linux
20420 kernel version for which pt_chown is not needed.
20421 (Linux): Do not mention problems with nscd with 2.0 kernels.
20422 * INSTALL: Regenerated.
20424 2012-05-23 Andreas Jaeger <aj@suse.de>
20426 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20427 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20429 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20430 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20431 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20432 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20433 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20434 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20435 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20436 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20437 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20438 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20439 * sysdeps/unix/sysv/linux/bits/in.h
20440 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20442 2012-05-22 Roland McGrath <roland@hack.frob.com>
20444 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20445 (PREPARE_VERSION): Just use assert instead, it will be elided
20446 under [NDEBUG] anyway.
20448 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20450 * sysdeps/unix/sysv/linux/Makefile: Include
20451 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20452 (sysdep_routines): Remove sysctl.
20453 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20454 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20455 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20456 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20457 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20459 2012-05-22 Andreas Jaeger <aj@suse.de>
20461 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20462 that pseudo_end is just ret and the stack pointer is correct also
20463 for static library in error case.
20465 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20468 * nss/nsswitch.c (defconfig_entries): New variable.
20469 (__nss_database_lookup): Don't leak defconfig entries.
20470 (nss_parse_service_list): Don't leak on error paths.
20471 (free_database_entries): New function.
20472 (free_defconfig): New function.
20473 (free_mem): Move common code to free_database_entries.
20475 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20477 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20479 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20481 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20482 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20485 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20486 (INTERNAL_SYSCALL_TYPES): Likewise.
20487 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20488 (LOAD_REGS_TYPES_[1-6]): Likewise.
20489 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20490 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20492 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20494 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20495 copysignl for GLIBC_2_0.
20496 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20497 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20499 logbl for GLIBC_2_0.
20500 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20501 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20503 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20505 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20506 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20508 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20511 * time/mktime.c: Update copyright years.
20513 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20515 mktime: merge comment-quoting-style change from gnulib
20516 * time/mktime.c: Quote 'like this' in comments.
20517 The GNU coding standards suggest that we no longer quote `like this',
20518 as "`" and "'" are typically rendered asymmetrically nowadays.
20519 The typical gnulib style is to quote 'like this' when quoting
20520 code, and "like this" when quoting English.
20522 * time/mktime.c (compile-command): Add "-I.".
20524 mktime: merge mktime-internal.h change from gnulib
20525 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20527 mktime: merge time_r change from gnulib
20528 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20530 mktime: merge DEBUG change from gnulib
20531 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20532 case system <time.h> has a #define.
20534 mktime: merge <sys/types.h> change from gnulib
20535 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20536 since <time.t> is now guaranteed to define time_t.
20538 mktime: merge HAVE_CONFIG_H change from gnulib
20539 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20541 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20546 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20548 (struct rusage): Use anonymous union to pad each field to
20551 2012-05-21 David S. Miller <davem@davemloft.net>
20553 * Makefules (o-iterator): Remove .s cases.
20554 (compile-command.s): Delete.
20555 (COMPILE.s): Delete.
20556 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20558 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20560 * configure.in (libc_cv_predef_stack_protector): Only consider
20561 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20562 * configure: Regenerated.
20564 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20567 New macro. Use R*LP on int and pointer.
20568 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20569 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20570 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20571 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20573 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20574 [__WORDSIZE_TIME64_COMPAT32] instead of
20575 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20576 (struct utmp): Likewise.
20577 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20578 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20580 (__WORDSIZE_TIME64_COMPAT32): This.
20581 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20582 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20583 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20584 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20585 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20586 (__WORDSIZE_TIME64_COMPAT32): New macro.
20588 2012-05-21 Andreas Jaeger <aj@suse.de>
20590 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20591 only if [SHARED]. Add prototype for __wcschr_ia32.
20593 2012-05-21 Roland McGrath <roland@hack.frob.com>
20595 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20596 of %rbp unmolested in the jmp_buf while mangling the low bits.
20597 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20598 unmolested high bits of %rbp while demangling the low bits.
20599 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20601 2012-05-21 Andreas Jaeger <aj@suse.de>
20603 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20604 * sunrpc/svc_simple.c: Use it for registerrpc.
20605 * sunrpc/xcrypt.c: Use it for passwd2des.
20607 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20609 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20611 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20612 Don't define if [__SYSCALL_WORDSIZE != 32].
20613 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20616 2012-05-21 Bruno Haible <bruno@clisp.org>
20617 Andreas Jaeger <aj@suse.de>
20619 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20620 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20621 inptr and inend for must_buffer_ch.
20622 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20623 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20624 * stdio-common/Makefile (tests): Remove bug15.
20625 (bug15-ENV): Remove macro.
20626 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20629 2012-05-19 Andreas Jaeger <aj@suse.de>
20630 Roland McGrath <roland@hack.frob.com>
20632 * manual/contrib.texi: Completely rewritten. It contains now an
20633 alphabetical list of contributors and their contributions.
20635 2012-05-21 Richard Henderson <rth@twiddle.net>
20637 * misc/getauxval.c (__getauxval): Use unsigned long int.
20638 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20639 (getauxval): Use unsigned long int.
20641 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20643 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20645 2012-05-21 Roland McGrath <roland@hack.frob.com>
20647 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20648 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20649 __alignof__ (long double).
20651 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20655 2012-05-20 Richard Henderson <rth@twiddle.net>
20657 * misc/getauxval.c: New file.
20658 * misc/sys/auxv.h: New file.
20659 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20660 (routines): Add getauxval.
20661 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20662 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20663 * elf/dl-sysdep.c (_dl_auxv): Remove.
20664 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20665 * elf/dl-support.c (_dl_auxv): New variable.
20666 (_dl_aux_init): Initialize it.
20667 * manual/startup.texi (Auxiliary Vector): New node.
20668 * sysdeps/generic/bits/hwcap.h: New file.
20669 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20670 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20671 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20672 * sysdeps/sparc/sysdep.h: ... here. Include it.
20673 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20674 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20684 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20686 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20690 2012-05-19 David S. Miller <davem@davemloft.net>
20692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20694 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20697 * math/s_ccosh.c: Include <float.h>
20698 (__ccosh): Avoid internal overflow calculating sinh and cosh
20699 values before multiplying by sin and cos values.
20700 * math/s_ccoshf.c: Likewise.
20701 * math/s_ccoshl.c: Likewise.
20702 * math/s_csin.c: Likewise.
20703 * math/s_csinf.c: Likewise.
20704 * math/s_csinl.c: Likewise.
20705 * math/s_csinh.c: Likewise.
20706 * math/s_csinhf.c: Likewise.
20707 * math/s_csinhl.c: Likewise.
20708 * math/libm-test.inc (ccos_test): Add more tests.
20709 (ccosh_test): Likewise.
20710 (csin_test): Likewise.
20711 (csinh_test): Likewise.
20712 * sysdeps/i386/fpu/libm-test-ulps: Update.
20713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20715 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20717 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20718 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20720 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20722 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20724 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20725 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20726 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20727 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20728 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20729 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20730 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20731 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20732 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20733 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20734 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20735 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20736 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20737 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20738 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20739 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20740 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20741 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20742 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20743 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20744 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20745 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20746 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20747 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20748 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20749 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20750 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20751 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20752 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20753 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20754 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20756 2012-05-18 Andreas Jaeger <aj@suse.de>
20758 * csu/.gitignore: Delete.
20760 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20762 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20763 (timex): Use __syscall_slong_t.
20765 2012-05-18 Andreas Jaeger <aj@suse.de>
20766 Carlos O'Donell <carlos_odonell@mentor.com>
20768 * manual/install.texi (Configuring and compiling): Update
20769 description about files modified in the source directory.
20770 * INSTALL: Regenerated.
20772 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20774 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20775 value. Use "or" to set return value to -1.
20776 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20777 negate return value.
20779 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20781 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20782 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20783 failure if the compiler has Graphite support disabled.
20784 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20786 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20787 CFLAGS-memmove.c): Likewise.
20788 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20791 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20793 * sysdeps/x86_64/x32/_itoa.h: New file.
20795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20796 getdents system call only if kernel and user dirents have the
20797 same d_ino and d_off.
20799 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20800 LLONG_MAX != LONG_MAX.
20801 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20802 (_fitoa_word): Likewise.
20804 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20806 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20807 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20808 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20810 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20811 include <bits/wordsize.h>. Check __x86_64__ instead of
20813 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20814 if __x86_64__ is defined. Use anonymous union on fpstate.
20816 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20819 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20821 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20822 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20823 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20824 Refer to _rtld_local_ro instead of _rtld_global_ro.
20825 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20827 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20829 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20831 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20832 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20833 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20835 * sysdeps/powerpc/powerpc32/dl-machine.c
20836 (__elf_machine_runtime_setup) [PROF]: Don't reference
20839 2012-05-18 Andreas Jaeger <aj@suse.de>
20841 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20842 function only available for GCCs before 3.4 since GCC 3.4
20843 introduced a builtin.
20845 (llrintf): Likewise.
20846 (llrint): Likewise.
20853 (nearbyint): Likewise.
20854 (nearbyintf): Likewise.
20858 (floorf): Likewise.
20860 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20862 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20863 on both fields and cast pointer to __syscall_ulong_t.
20865 * bits/types.h (__fsword_t): New type.
20866 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20867 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20869 (__FSWORD_T_TYPE): Likewise.
20870 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20871 (__FSWORD_T_TYPE): Likewise.
20872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20873 (__FSWORD_T_TYPE): Likewise.
20874 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20875 (__FSWORD_T_TYPE): Likewise.
20876 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20877 __SWORD_TYPE with __fsword_t.
20878 (statfs64): Likewise.
20880 2012-05-17 David S. Miller <davem@davemloft.net>
20882 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20884 2012-05-17 Andreas Jaeger <aj@suse.de>
20886 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20889 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20891 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20893 2012-05-17 Andreas Jaeger <aj@suse.de>
20895 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20898 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20900 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20902 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20904 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20905 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20907 2012-05-17 Andreas Jaeger <aj@suse.de>
20908 Carlos O'Donell <carlos_odonell@mentor.com>
20911 * sysdeps/x86_64/multiarch/init-arch.h
20912 (bit_YMM_Usable): Rename to...
20913 (bit_AVX_Usable): ... this.
20914 (bit_FMA4_Usable): New macro.
20915 (bit_XMM_state): New macro.
20916 (bit_YMM_state): New macro.
20917 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20918 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20919 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20920 (CPUID_OSXSAVE): New macro.
20921 (CPUID_AVX): New macro.
20922 (CPUID_FMA4): New macro.
20923 (index_YMM_Usable): Rename to...
20924 (index_AVX_Usable): ... this.
20925 (HAS_AVX): Use HAS_ARCH_FEATURE.
20926 (HAS_FMA4): Likewise.
20927 (HAS_YMM_USABLE): Remove.
20928 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20929 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20931 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20932 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20933 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20934 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20935 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20937 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20939 * math/libm-test.c: Support platforms without multiple rounding modes.
20940 * math/bug-nextafter.c: Support platforms without FP exceptions.
20941 * math/bug-nexttoward.c: Likewise.
20942 * math/test-fenv.c: Likewise.
20943 * math/test-misc.c: Likewise.
20944 * stdlib/bug-getcontext.c: Likewise.
20946 2012-05-17 Andreas Jaeger <aj@suse.de>
20948 * manual/examples/search.c (critter_cmp): Change signature to
20950 * manual/string.texi (Collation Functions): Likewise.
20952 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20954 * bits/types.h: Fold copyright years.
20955 * bits/typesizes.h: Likewise.
20956 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20957 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20958 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20960 * time/time.h: Likewise.
20962 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20965 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20966 in instead of returning them. Return void.
20967 (__libc_mallinfo): Accumulate over all arenas.
20968 (__malloc_stats): Adjust for change in int_mallinfo interface.
20970 2012-05-16 Roland McGrath <roland@hack.frob.com>
20973 * configure.in (NM): Add AC_CHECK_TOOL for it.
20974 (libc_extra_cflags): New substituted variable.
20975 Check for -fstack-protector being used implicitly.
20976 * configure: Regenerated.
20977 * config.make.in (config-extra-cflags): New variable,
20978 gets @libc_extra_cflags@.
20979 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20982 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20983 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20984 * configure: Regenerated.
20985 * config.make.in (CPPUNDEFS): New substituted variable.
20986 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20987 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20988 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20990 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20992 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20993 (mq_attr): Use __syscall_slong_t.
20995 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20997 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20998 Check __x86_64__ instead of __WORDSIZE.
20999 (_STAT_VER_LINUX): Likewise.
21000 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21001 __syscall_ulong_t and __syscall_slong_t.
21002 (stat64): Likewise.
21004 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21006 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21008 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21010 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21012 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21014 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21017 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21018 include <bits/wordsize.h>. Check __x86_64__ instead of
21020 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21022 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21024 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21025 include <bits/wordsize.h>. Check __x86_64__ instead of
21027 (user_regs_struct): Use "__extension__ unsigned long long"
21028 instead of "unsigned long" if __x86_64__ is defined.
21029 (user): Likewise. Pad after pointer field if __ILP32__ is
21032 2012-05-16 Joseph Myers <joseph@codesourcery.com>
21034 * configure.in (makeinfo): Require version 4.5 or later. Allow
21036 * configure: Regenerated.
21037 * manual/install.texi (texinfo): Increase version requirement to
21039 * INSTALL: Regenerated.
21041 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21043 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21045 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21047 * sysdeps/x86_64/x32/ffs.c: New file.
21049 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21051 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21052 defined. Use __syscall_ulong_t.
21053 (shminfo): Use __syscall_ulong_t.
21054 (shm_info): Likewise.
21056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21059 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21061 (msgqnum_t): Use __syscall_ulong_t.
21062 (msglen_t): Likewise.
21063 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21066 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21067 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21069 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21071 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21072 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21074 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21077 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21078 include <bits/wordsize.h>. Check __x86_64__ instead of
21081 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21082 "unsigned long long int" if __x86_64__ is defined.
21083 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21085 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21086 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21087 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21089 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21091 (GET_PC): Cast to uintptr_t first.
21092 (GET_FRAME): Likewise.
21093 (GET_STACK): Likewise.
21095 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21096 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21097 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21098 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21099 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21100 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21101 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21102 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21103 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21104 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21105 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21106 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21107 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21108 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21109 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21110 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21111 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21112 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21113 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21114 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21115 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21116 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21117 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21118 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21119 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21120 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21121 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21122 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21123 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21125 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21127 * Makerules (+depfiles): Also collect depfiles from .oS in
21129 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21130 .oS, $(libnldbl-routines)).
21132 * Makerules (native-compile-mkdep-flags): Define.
21133 * sunrpc/Makefile (extra-objs): Add $(addprefix
21134 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21135 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21136 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21137 calling $(make-target-directory).
21139 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21141 * bits/types.h (__snseconds_t): Removed.
21142 * time/time.h (struct timespec): Replace __snseconds_t with
21144 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21145 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21148 (__SNSECONDS_T_TYPE): Likewise.
21149 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21150 (__SNSECONDS_T_TYPE): Likewise.
21151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21152 (__SNSECONDS_T_TYPE): Likewise.
21154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21156 * sysdeps/mach/hurd/bits/typesizes.h
21157 (__SYSCALL_SLONG_TYPE): New macro.
21158 (__SYSCALL_ULONG_TYPE): Likewise.
21160 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21162 * bits/types.h (__syscall_slong_t): New type.
21163 (__syscall_ulong_t): Likewise.
21165 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21166 (__SYSCALL_ULONG_TYPE): Likewise.
21167 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21168 (__SYSCALL_SLONG_TYPE): Likewise.
21169 (__SYSCALL_ULONG_TYPE): Likewise.
21170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21171 (__SYSCALL_SLONG_TYPE): Likewise.
21172 (__SYSCALL_ULONG_TYPE): Likewise.
21173 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21174 (__SYSCALL_SLONG_TYPE): Likewise.
21175 (__SYSCALL_ULONG_TYPE): Likewise.
21177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21179 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21180 Add sigaltstack-offsets.sym.
21181 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21182 <sigaltstack-offsets.h>.
21183 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21184 longjmp_msg pointer.
21185 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21186 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21188 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21190 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21192 * elf/stackguard-macros.h: Remove file.
21193 * sysdeps/generic/stackguard-macros.h: New file.
21194 * sysdeps/i386/stackguard-macros.h: Likewise.
21195 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21196 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21197 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21198 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21199 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21200 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21201 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21202 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21203 <elf/stackguard-macros.h>.
21206 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21207 __aligned__ in attribute.
21208 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21209 (gregset_t): Likewise.
21211 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21213 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21214 * sysdeps/x86_64/64/Implies-after: Here. New file.
21215 * sysdeps/x86_64/x32/Implies-after: New file.
21217 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21219 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21220 and access return value for _dl_profile_fixup. Use R10_LP to
21223 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21225 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21227 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21229 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21230 * sysdeps/x86_64/x32/sysdep.h: New file.
21232 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21234 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21235 * sysdeps/x86_64/setjmp.S: Likewise.
21237 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21239 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21240 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21241 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21242 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21243 remove unused global constant.
21245 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21247 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21248 include of <not-cancel.h>.
21250 2012-05-15 Roland McGrath <roland@hack.frob.com>
21252 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21254 2012-05-15 Jeff Law <law@redhat.com>
21255 Andreas Jaeger <aj@suse.de>
21258 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21260 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21261 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21262 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21263 code changing __hst_map_handle.map.
21265 2012-05-15 Roland McGrath <roland@hack.frob.com>
21267 * configure.in (sysnames): Look for Implies-before and Implies-after
21269 * configure: Regenerated.
21271 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21273 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21274 8-byte data alignment with LP_SIZE alignment.
21276 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21278 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21281 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21283 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21287 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21288 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21289 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21291 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21293 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21295 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21296 (stackinfo_sub_sp): Likewise.
21298 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21300 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21303 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21305 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21310 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21313 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21315 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21317 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21319 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21320 into R11_LP and load __x86_64_shared_cache_size_half into
21323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21325 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21328 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21334 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21336 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21337 powerpc32/power7/fpu/s_logb.c via #include.
21338 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21339 powerpc32/power7/fpu/s_logbf.c via #include.
21340 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21341 powerpc32/power7/fpu/s_logbl.c via #include.
21343 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21345 * README.libm: Remove file.
21347 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21349 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21350 count for x32. Use R*_LP and omit operand-size suffix.
21352 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21354 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21355 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21356 * sysdeps/x86_64/x32/shlib-versions: New file.
21358 2012-05-14 Roland McGrath <roland@hack.frob.com>
21360 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21361 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21362 Use _dl_fatal_printf instead.
21364 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21366 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21367 set if not set by the user. Do not allow for being unset.
21368 * sysdeps/unix/sysv/linux/configure: Regenerated.
21370 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21372 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21373 the `q' suffix from lea and replace .quad with ASM_ADDR.
21375 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21378 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21380 (PTR_DEMANGLE): Likewise.
21382 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21384 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21386 (ASM_ADDR): Likewise.
21387 (RAX_LP): Likewise.
21388 (RBP_LP): Likewise.
21389 (RBX_LP): Likewise.
21390 (RCX_LP): Likewise.
21391 (RDI_LP): Likewise.
21392 (RSI_LP): Likewise.
21393 (RSP_LP): Likewise.
21396 (R10_LP): Likewise.
21397 (R10_LP): Likewise.
21398 (R11_LP): Likewise.
21399 (R12_LP): Likewise.
21400 (R13_LP): Likewise.
21401 (R14_LP): Likewise.
21402 (R15_LP): Likewise.
21404 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21406 * sysdeps/x86_64/x32/dl-machine.h: New file.
21408 2012-05-14 Andreas Jaeger <aj@suse.de>
21410 * manual/Makefile (subdir): Remove export of subdir.
21411 (all): Remove target.
21412 (.PHONY): Remove all from list.
21413 (mkinstalldirs): Remove.
21414 (.PHONY): Remove installdirs from list.
21415 ($(inst_infodir)/libc.info): Use make-target-directory.
21416 (installdirs): Remove.
21417 (subdir_%): Remove.
21418 (glibc-targets): Remove.
21421 ($(objpfx)stubs ../po/manual.pot): Remove.
21422 ($(objpfx)stamp%): Remove.
21423 (make-target-directory): Remove.
21424 (subdir_install): Remove.
21425 (routines): Remove.
21432 * manual/.gitignore: Remove, it's not needed anymore.
21433 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21435 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21437 (texis): Renamed to $(objpfx)texis.
21438 (texis-path): New, contains path to generated files.
21439 (chapters.%): Use texis-path for complete path, add extra argument
21441 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21442 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21443 (summary,texi, stamp-summary): Use complete path of
21444 files. Generate files in build dir.
21445 (dir-add.texi): Build in build dir.
21446 (libm-err.texi,stamp-libm-err): Likewise.
21447 (version.texi, stamp-version): Likewise.
21448 (.%c.texi): Likewise.
21449 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21450 (mostlyclean): Remove target.
21451 (realclean): Remove target.
21452 (generated): Add new variable with contents from mostlyclean and
21453 realclean, remove entries duplicated in common-mostlyclean, add
21454 stamp-libm-err and stamp-version.
21455 (generated-dirs): Add libc directory.
21456 ($(inst_infodir)/libc.info): Install files from build dir.
21458 * manual/install.texi (Configuring and compiling): Adjust since
21459 the info files are not part of the tar ball anymore.
21461 2012-05-14 Andreas Jaeger <aj@suse.de>
21463 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21466 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21469 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21470 to 2.2.0 where earlier.
21471 * sysdeps/unix/sysv/linux/configure: Regenerated.
21472 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21473 Remove conditional code.
21474 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21475 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21476 Remove conditional code.
21477 [!__NR_lchown]: Likewise.
21478 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21479 [__NR_lchown]: Likewise.
21480 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21481 comment referencing __ASSUME_LCHOWN_SYSCALL.
21482 * sysdeps/unix/sysv/linux/i386/sigaction.c
21483 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21484 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21485 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21486 Remove conditional code.
21487 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21488 (__protocol_available): Remove #if 0 code.
21489 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21491 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21492 * sysdeps/unix/sysv/linux/kernel-features.h
21493 (__ASSUME_GETCWD_SYSCALL): Don't define.
21494 (__ASSUME_REALTIME_SIGNALS): Likewise.
21495 (__ASSUME_PREAD_SYSCALL): Likewise.
21496 (__ASSUME_PWRITE_SYSCALL): Likewise.
21497 (__ASSUME_POLL_SYSCALL): Likewise.
21498 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21499 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21501 (__ASSUME_SIOCGIFNAME): Don't define.
21502 (__ASSUME_MSG_NOSIGNAL): Likewise.
21503 (__ASSUME_SENDFILE): Define unconditionally.
21504 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21505 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21507 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21508 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21509 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21510 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21511 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21512 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21513 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21515 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21518 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21521 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21524 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21527 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21530 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21533 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21534 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21536 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21538 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21539 Remove conditional code.
21540 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21541 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21542 Remove conditional code.
21543 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21544 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21545 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21546 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21547 Remove conditional code.
21548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21549 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21550 Remove conditional code.
21551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21552 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21553 Remove conditional code.
21554 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21555 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21556 Remove conditional code.
21557 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21558 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21559 Remove conditional code.
21560 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21561 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21562 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21563 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21564 * sysdeps/unix/sysv/linux/sigaction.c
21565 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21566 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21567 * sysdeps/unix/sysv/linux/sigpending.c
21568 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21569 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21570 * sysdeps/unix/sysv/linux/sigprocmask.c
21571 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21572 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21573 * sysdeps/unix/sysv/linux/sigsuspend.c
21574 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21575 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21576 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21577 (__libc_missing_rt_sigs): Remove.
21578 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21579 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21580 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21581 Remove conditional code.
21582 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21583 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21585 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21586 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21587 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21588 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21590 2012-05-14 Andreas Jaeger <aj@suse.de>
21592 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21593 it's not used in glibc.
21594 (__coshm1): Likewise.
21595 (__acosh1p): Likewise.
21598 * manual/string.texi (Copying and Concatenation): Add missing
21599 variable in concat example.
21600 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21602 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21606 __builtin_clzl with __builtin_clzll.
21608 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21611 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21614 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21616 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21617 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21618 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21619 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21621 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21623 * NEWS: Update ia64 info.
21625 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21627 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21630 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21632 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21633 * sysdeps/unix/syscalls.list (dup3): Likewise.
21634 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21635 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21637 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21639 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21640 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21642 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21644 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21646 (TLS_IE): Use mov/add instead of movq/addq to load thread
21648 (TLS_GD_PREFIX): New.
21651 2012-05-11 David S. Miller <davem@davemloft.net>
21653 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21654 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21655 (_FPU_SETCW): Likewise.
21657 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21659 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21660 is 32-byte aligned.
21662 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21665 * iconvdata/gb18030.c: Update tables.
21666 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21667 characters specially.
21668 (BODY for TO_LOOP): Add encoding of missing ranges.
21670 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21673 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21674 * sysdeps/mach/hurd/dup3.c: Likewise.
21675 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21676 * sysdeps/powerpc/memmove.c:: Likewise.
21678 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21681 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21683 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21685 * elf/elf.h (R_X86_64_RELATIVE64): New.
21686 (R_X86_64_NUM): Updated.
21687 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21688 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21689 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21690 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21691 tst-quad1pie tst-quad2pie
21692 (modules-names): Add tst-quadmod1 tst-quadmod2.
21693 ($(objpfx)tst-quad1): New dependency.
21694 ($(objpfx)tst-quad2): Likewise.
21695 ($(objpfx)tst-quad1pie): Likewise.
21696 ($(objpfx)tst-quad2pie): Likewise.
21697 * sysdeps/x86_64/tst-quad1.c: New file.
21698 * sysdeps/x86_64/tst-quad1pie.c: New file.
21699 * sysdeps/x86_64/tst-quad2.c: Likewise.
21700 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21701 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21702 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21703 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21704 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21706 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21708 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21709 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21710 * streams/stropts.h (t_scalar_t): Define type.
21712 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21713 (_PATH_PRESERVE): Set to "/var/lib".
21714 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21716 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21719 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21720 if __dir_mkfile succeeded.
21722 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21723 checking for _hurd_dtablesize. Unlock it right after having
21724 finished _hurd_dtable allocation.
21726 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21728 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21729 * sysdeps/mach/hurd/configure: Regenerated.
21730 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21731 special-casing to...
21732 * sysdeps/gnu/configure.in: ... this new file.
21733 * sysdeps/unix/sysv/linux/configure: Regenerated.
21734 * sysdeps/gnu/configure: New generated file.
21736 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21737 for Linux: use nsec instead of usec, as well as:
21738 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21739 members of type struct timespec.
21740 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21742 (struct stat64): Likewise.
21743 (_STATBUF_ST_NSEC): New macro.
21744 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21746 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21747 __strtoul_internal rather than strtoul.
21749 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21751 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21754 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21756 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21757 which preserves existing values.
21758 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21760 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21762 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21763 TIMEOUT values. Return EINVAL for NFDS values either negative or
21764 greater than FD_SETSIZE.
21766 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21768 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21769 allocated, call __vm_protect to finish enabling the existing space, and
21770 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21771 allocate the remainder.
21773 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21775 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21776 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21778 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21780 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21781 sysdeps/mach/hurd/readlink.c.
21783 * posix/tst-sysconf.c (posix_options): Only use
21784 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21785 _POSIX_SYNCHRONIZED_IO when they are defined
21786 * sysdeps/mach/hurd/bits/posix_opt.h:
21787 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21788 (_XOPEN_REALTIME): Undefine macro.
21789 (_XOPEN_REALTIME_THREADS): Undefine macro.
21790 (_XOPEN_SHM): Undefine macro.
21791 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21793 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21795 (_POSIX_ASYNC_IO): Undefine macro.
21796 (_POSIX_PRIORITIZED_IO): Undefine macro.
21797 (_POSIX_SPIN_LOCKS): Define macro to -1.
21799 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21800 SA_NODEFER, SA_RESETHAND.
21801 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21802 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21805 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21807 * elf/Makefile (pldd-modules): Define unconditionally.
21809 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21811 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21813 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21815 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21816 Return ENOENT when name is empty.
21817 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21819 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21821 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21823 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21825 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21827 Fix mlock in all cases except non-readable pages.
21828 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21829 instead of VM_PROT_ALL as parameter to __vm_wire function.
21831 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21832 (__mkdir): When path is `/', just fail with EEXIST.
21833 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21835 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21837 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21838 <sys/uio.h> (for writev).
21839 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21840 and <sys/param.h> (for MIN).
21842 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21844 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21845 REQUESTED_TIME. Properly set the remaining time and return EINTR
21848 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21850 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21851 Depend on against $(link-rpcuserlibs).
21853 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21855 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21856 (__libc_stack_end): Do not use attribute_relro.
21857 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21858 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
21859 to libthread-provided value.
21860 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21863 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21866 * bits/libc-lock.h (__libc_once_get): New macro.
21867 * sysdeps/mach/bits/libc-lock.h: Likewise.
21868 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21869 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21870 instead of using implementation details.
21872 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21873 * libio/freopen.c: Likewise.
21874 * libio/freopen64.c: Likewise.
21875 * misc/syslog.c: Likewise.
21876 * nscd/connections.c: Likewise.
21877 * nscd/netgroupcache.c: Likewise.
21878 * sysdeps/posix/getcwd.c: Likewise.
21880 2012-05-10 Roland McGrath <roland@hack.frob.com>
21882 * math/w_ilogbf.c: Add #include <limits.h>.
21884 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21886 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
21887 path instead of returning without unlocking.
21889 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21890 immediate-write ioctls.
21891 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21893 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21895 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21896 __builtin_frame_address instead of making assumptions about the
21897 location of the return address relative to DATA. Force early load of
21898 the return address.
21899 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21900 __builtin_frame_address.
21903 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21904 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21905 implement dup3 and do some further code clean-ups.
21906 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21907 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21911 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21913 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21914 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21915 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21916 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21917 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21920 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21921 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21922 when handler == SIG_ERR, not when handler != SIG_ERR.
21924 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21926 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21927 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21930 accept4 for GNU Hurd.
21931 * include/sys/socket.h (__libc_accept4): New prototype.
21932 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21933 to implement __libc_accept4.
21934 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21936 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21938 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21939 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21940 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21941 signal-defines.sym.
21943 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21945 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
21947 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21949 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21950 assertion on O_CLOEXEC flag.
21951 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21952 * hurd/intern-fd.c: Likewise.
21953 * hurd/port2fd.c: Likewise.
21955 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21958 * bits/in.h (IPV6_PKTINFO): Define new macro.
21959 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21961 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21966 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21967 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21968 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21969 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21970 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21971 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21972 * math/libm-test.inc (logb_test) : Additional logb tests.
21974 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21975 Andreas Jaeger <aj@suse.de>
21977 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21978 * configure: Regenerated.
21979 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21980 * config.make.in (link-obsolete-rpc): New substituted variable.
21981 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21982 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21983 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21984 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21985 so that libc.a contains the symbols.
21986 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21987 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21988 * sunrpc/auth_none.c: Likewise.
21989 * sunrpc/auth_unix.c: Likewise.
21990 * sunrpc/authdes_prot.c: Likewise.
21991 * sunrpc/authuxprot.c: Likewise.
21992 * sunrpc/clnt_gen.c: Likewise.
21993 * sunrpc/clnt_perr.c: Likewise.
21994 * sunrpc/clnt_raw.c: Likewise.
21995 * sunrpc/clnt_simp.c: Likewise.
21996 * sunrpc/clnt_tcp.c: Likewise.
21997 * sunrpc/clnt_udp.c: Likewise.
21998 * sunrpc/clnt_unix.c: Likewise.
21999 * sunrpc/des_crypt.c: Likewise.
22000 * sunrpc/des_soft.c: Likewise.
22001 * sunrpc/get_myaddr.c: Likewise.
22002 * sunrpc/key_call.c: Likewise.
22003 * sunrpc/key_prot.c: Likewise.
22004 * sunrpc/netname.c: Likewise.
22005 * sunrpc/pm_getmaps.c: Likewise.
22006 * sunrpc/pm_getport.c: Likewise.
22007 * sunrpc/pmap_clnt.c: Likewise.
22008 * sunrpc/pmap_prot.c: Likewise.
22009 * sunrpc/pmap_prot2.c: Likewise.
22010 * sunrpc/pmap_rmt.c: Likewise.
22011 * sunrpc/publickey.c: Likewise.
22012 * sunrpc/rpc_cmsg.c: Likewise.
22013 * sunrpc/rpc_common.c: Likewise.
22014 * sunrpc/rpc_dtable.c: Likewise.
22015 * sunrpc/rpc_prot.c: Likewise.
22016 * sunrpc/rpc_thread.c: Likewise.
22017 * sunrpc/rtime.c: Likewise.
22018 * sunrpc/svc.c: Likewise.
22019 * sunrpc/svc_auth.c: Likewise.
22020 * sunrpc/svc_raw.c: Likewise.
22021 * sunrpc/svc_run.c: Likewise.
22022 * sunrpc/svc_tcp.c: Likewise.
22023 * sunrpc/svc_udp.c: Likewise.
22024 * sunrpc/svc_unix.c: Likewise.
22025 * sunrpc/svcauth_des.c: Likewise.
22026 * sunrpc/xcrypt.c: Likewise.
22027 * sunrpc/xdr.c: Likewise.
22028 * sunrpc/xdr_array.c: Likewise.
22029 * sunrpc/xdr_float.c: Likewise.
22030 * sunrpc/xdr_intXX_t.c: Likewise.
22031 * sunrpc/xdr_mem.c: Likewise.
22032 * sunrpc/xdr_rec.c: Likewise.
22033 * sunrpc/xdr_ref.c: Likewise.
22034 * sunrpc/xdr_sizeof.c: Likewise.
22035 * sunrpc/xdr_stdio.c: Likewise.
22037 2012-05-10 Roland McGrath <roland@hack.frob.com>
22039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22040 change. Update copyright years.
22042 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22044 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22046 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22047 Joseph Myers <joseph@codesourcery.com>
22048 Paul Pluzhnikov <ppluzhnikov@google.com>
22051 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22053 [cross-compiling] (extra-libs): Likewise.
22054 [cross-compiling] (extra-libs-others): Likewise.
22055 [cross-compiling] (librpcsvc-routines): Likewise.
22056 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22057 [cross-compiling] (omit-deps): Likewise.
22058 (sunrpc-CPPFLAGS): New variable.
22059 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22060 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22061 (cross-rpcgen-objs): New variable.
22062 (extra-objs): Append $(cross-rpcgen-objs).
22063 ($(cross-rpcgen-objs)): New rule.
22064 ($(objpfx)cross-rpcgen): Likewise.
22065 (rpcgen-cmd): Define to use $(built-program-file). Expand
22067 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22068 ($(objpfx)x%.stmp): Likewise.
22069 * sunrpc/proto.h [IS_IN_build] (_): Define.
22070 [IS_IN_build] (_libc_intl_domainname): Likewise.
22072 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22075 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22076 and R_X86_64_TPOFF64.
22078 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22080 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22081 sysdeps/unix/sysv/syscalls.list.
22084 * sysdeps/unix/sysv/syscalls.list: Remove file.
22086 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22089 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22090 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22091 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22092 (__LC_IDENTIFICATION): Make these macros useful in #if
22093 expressions, as required by C99.
22095 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22097 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22098 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22101 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22103 * stdlib/longlong.h: Updated from GCC.
22105 2012-05-09 Andreas Jaeger <aj@suse.de>
22107 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22108 default is first entry.
22109 (run_mode): Set type.
22110 (main): Remove informal message about syslog.
22111 (options): Fix typo.
22114 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22117 (llrintf): Likewise.
22118 (llrint): Likewise.
22121 (nearbyint): Likewise.
22122 (nearbyintf): Likewise.
22124 2012-05-09 Andreas Jaeger <aj@suse.de>
22125 Pedro Alves <palves@redhat.com>
22127 * nscd/nscd.c (run_mode): Use enum.
22128 (main): Cleanup coding style issue.
22130 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
22131 Andreas Jaeger <aj@suse.de>
22133 * nscd/nscd.c (go_background): Replaced with...
22134 (run_mode): ... this.
22135 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22136 (options): Add -F --foreground.
22137 (main): Implement it.
22138 (parse_opt): Parse it.
22140 2012-05-09 Andreas Jaeger <aj@suse.de>
22143 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22144 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22145 -Wconversion warning.
22146 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22149 2012-05-09 Joseph Myers <joseph@codesourcery.com>
22151 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22153 (LC_ALL): Use macro-int-constant.
22154 (LC_COLLATE): Likewise.
22155 (LC_CTYPE): Likewise.
22156 (LC_MESSAGES): Likewise.
22157 (LC_MONETARY): Likewise.
22158 (LC_NUMERIC): Likewise.
22159 (LC_TIME): Likewise.
22160 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22161 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22163 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22165 [C99-based standards] (float_t): Expect type.
22166 [C99-based standards] (double_t): Expect type.
22167 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22169 [C99-based standards] (HUGE_VALL): Likewise.
22170 [C99-based standards] (INFINITY): Likewise.
22171 [C99-based standards] (NAN): Likewise.
22172 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22173 [C99-based standards] (FP_NAN): Likewise.
22174 [C99-based standards] (FP_NORMAL): Likewise.
22175 [C99-based standards] (FP_SUBNORMAL): Likewise.
22176 [C99-based standards] (FP_ZERO): Likewise.
22177 [C99-based standards] (FP_FAST_FMA): Use
22178 optional-macro-int-constant. Specify type. Require == 1.
22179 [C99-based standards] (FP_FAST_FMAF): Likewise.
22180 [C99-based standards] (FP_FAST_FMAL): Likewise.
22181 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22182 [C99-based standards] (FP_ILOGBNAN): Likewise.
22183 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22185 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22186 [C99-based standards] (math_errhandling): Specify type.
22187 [ISO99 || ISO11] (signgam): Do not allow.
22188 [non-C99-based standards] (copysignf): Do not allow.
22189 [non-C99-based standards] (exp2f): Likewise.
22190 [non-C99-based standards] (log2f): Likewise.
22191 [non-C99-based standards] (modff): Allow.
22192 [non-C99-based standards] (erff): Do not allow.
22193 [non-C99-based standards] (erfcf): Likewise.
22194 [non-C99-based standards] (gammaf): Likewise.
22195 [non-C99-based standards] (hypotf): Likewise.
22196 [non-C99-based standards] (j0f): Likewise.
22197 [non-C99-based standards] (j1f): Likewise.
22198 [non-C99-based standards] (jnf): Likewise.
22199 [non-C99-based standards] (lgammaf): Likewise.
22200 [non-C99-based standards] (tgammaf): Likewise.
22201 [non-C99-based standards] (y0f): Likewise.
22202 [non-C99-based standards] (y1f): Likewise.
22203 [non-C99-based standards] (ynf): Likewise.
22204 [non-C99-based standards] (isnanf): Likewise.
22205 [non-C99-based standards] (acoshf): Likewise.
22206 [non-C99-based standards] (asinhf): Likewise.
22207 [non-C99-based standards] (atanhf): Likewise.
22208 [non-C99-based standards] (cbrtf): Likewise.
22209 [non-C99-based standards] (expm1f): Likewise.
22210 [non-C99-based standards] (ilogbf): Likewise.
22211 [non-C99-based standards] (log1pf): Likewise.
22212 [non-C99-based standards] (logbf): Likewise.
22213 [non-C99-based standards] (nextafterf): Likewise.
22214 [non-C99-based standards] (remainderf): Likewise.
22215 [non-C99-based standards] (rintf): Likewise.
22216 [non-C99-based standards] (scalbf): Likewise.
22217 [non-C99-based standards] (copysignl): Likewise.
22218 [non-C99-based standards] (exp2l): Likewise.
22219 [non-C99-based standards] (log2l): Likewise.
22220 [non-C99-based standards] (modfl): Allow.
22221 [non-C99-based standards] (erfl): Do not allow.
22222 [non-C99-based standards] (erfcl): Likewise.
22223 [non-C99-based standards] (gammal): Likewise.
22224 [non-C99-based standards] (hypotl): Likewise.
22225 [non-C99-based standards] (j0l): Likewise.
22226 [non-C99-based standards] (j1l): Likewise.
22227 [non-C99-based standards] (jnl): Likewise.
22228 [non-C99-based standards] (lgammal): Likewise.
22229 [non-C99-based standards] (tgammal): Likewise.
22230 [non-C99-based standards] (y0l): Likewise.
22231 [non-C99-based standards] (y1l): Likewise.
22232 [non-C99-based standards] (ynl): Likewise.
22233 [non-C99-based standards] (isnanl): Likewise.
22234 [non-C99-based standards] (acoshl): Likewise.
22235 [non-C99-based standards] (asinhl): Likewise.
22236 [non-C99-based standards] (atanhl): Likewise.
22237 [non-C99-based standards] (cbrtl): Likewise.
22238 [non-C99-based standards] (expm1l): Likewise.
22239 [non-C99-based standards] (ilogbl): Likewise.
22240 [non-C99-based standards] (log1pl): Likewise.
22241 [non-C99-based standards] (logbl): Likewise.
22242 [non-C99-based standards] (nextafterl): Likewise.
22243 [non-C99-based standards] (remainderl): Likewise.
22244 [non-C99-based standards] (rintl): Likewise.
22245 [non-C99-based standards] (scalbl): Likewise.
22246 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22247 [non-C99-based standards] (FP_*): Do not allow.
22248 [C99-based standards] (FP_*): Change to
22249 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22250 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22252 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22253 (SIG_ERR): Likewise.
22254 [X/Open-based standards] (SIG_HOLD): Likewise.
22255 (SIG_IGN): Likewise.
22256 (SIGABRT): Use macro-int-constant. Specify type. Require
22258 (SIGFPE): Likewise.
22259 (SIGILL): Likewise.
22260 (SIGINT): Likewise.
22261 (SIGSEGV): Likewise.
22262 (SIGTER): Likewise.
22263 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22264 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22265 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22266 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22267 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22268 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22269 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22270 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22271 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22272 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22273 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22274 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22275 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22276 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22277 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22278 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22279 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22280 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22281 [X/Open-based standards] (SIGTRAP): Likewise.
22282 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22283 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22284 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22285 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22286 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22289 2012-05-08 Ian Wienand <ianw@vmware.com>
22292 * time/tzset.c (__tzset_parse_tz): Update default rules for
22293 daylight time changes in the Energy Policy Act of 2005.
22295 2012-05-09 Andreas Jaeger <aj@suse.de>
22298 * elf/ldconfig.c (parse_conf): Change string to make clear that
22299 ldconfig only issued a warning if ld.so.conf does not exist.
22301 2012-05-08 David S. Miller <davem@davemloft.net>
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22304 movxtod instead of popping the value on the stack.
22306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22308 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22310 * config.h.in: Add HAVE_ARM_PCS_VFP.
22312 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22315 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22316 checking but the checks are disabled for any reason.
22318 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22320 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22321 and ELF64_R_TYPE with ELFW(R_TYPE).
22323 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22325 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22326 (ulimit): Likewise.
22328 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22329 (settimeofday): Likewise.
22331 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22333 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22334 a struct th_u2 inside the union, and move tu_block/tu_code into
22335 a new th_u3 union of tu_block/tu_code inside of that. Move
22336 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22337 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22338 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22339 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22340 (th_stuff): Change to th_u1.tu_stuff.
22342 (th_msg): Change to th_u1.th_u2.tu_data.
22344 2012-05-07 David S. Miller <davem@davemloft.net>
22346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22349 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22350 (SETUP_PIC_REG): Use it.
22351 (SETUP_PIC_REG_LEAF): Use it.
22353 2012-05-07 Joseph Myers <joseph@codesourcery.com>
22357 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22359 (EXPL_FINITE): Likewise.
22360 (FLDLOG): Likewise.
22361 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22362 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22364 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22366 (EXPL_FINITE): Likewise.
22367 (FLDLOG): Likewise.
22368 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22369 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22371 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22372 test of -max_value argument for long double.
22373 * sysdeps/i386/fpu/libm-test-ulps: Update.
22374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22376 2012-05-06 David S. Miller <davem@davemloft.net>
22378 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22379 quad soft-float symbols whose references which are compiler
22381 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22383 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22387 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22389 (EXPL_FINITE): Likewise.
22390 (FLDLOG): Likewise.
22393 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22394 Adjust comments for base varying.
22395 (__expl_finite): Change alias to EXPL_FINITE.
22396 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22398 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22399 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22400 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22401 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22402 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22404 (EXPL_FINITE): Likewise.
22405 (FLDLOG): Likewise.
22408 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22409 Adjust comments for base varying.
22410 (__expl_finite): Change alias to EXPL_FINITE.
22411 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22413 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22416 * math/libm-test.inc (check_float_internal): Correct ulp
22417 calculation for subnormal expected results.
22419 2012-05-06 Andreas Jaeger <aj@suse.de>
22421 * Makeconfig (+math-flags): New, set to -frounding-math.
22422 (+cflags): Add +math-flags so that all of glibc gets compiled with
22425 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22427 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22429 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22435 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22436 (__ieee754_expl): Allow for and saturate large arguments.
22437 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22438 (u_threshold): Likewise.
22439 (__exp): Call __ieee754_exp before checking for overflow and
22441 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22442 (u_threshold): Likewise.
22443 (__expf): Call __ieee754_expf before checking for overflow and
22445 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22446 (u_threshold): Likewise.
22447 (__expl): Call __ieee754_expl before checking for overflow and
22449 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22450 (__ieee754_expl): Allow for and saturate large arguments.
22451 * math/libm-test.inc (exp_test): Add another test. Do not allow
22452 missing overflow exception on overflow.
22453 (expm1_test): Do not allow missing overflow exception on overflow.
22455 * sysdeps/i386/fpu/e_expl.c: Move to ...
22456 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22457 rather than using inline asm.
22458 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22459 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22460 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22462 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22465 (signal): Likewise.
22469 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22471 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22472 sysdeps/unix/common/syscalls.list.
22473 (fchmod): Likewise.
22474 (fchown): Likewise.
22475 (ftruncate): Likewise.
22476 (getrusage): Likewise.
22477 (gettimeofday): Likewise.
22478 (setpgid): Likewise.
22479 (setregid): Likewise.
22480 (setreuid): Likewise.
22481 (sigaction): Likewise.
22482 (truncate): Likewise.
22483 (vhangup): Likewise.
22484 * sysdeps/unix/common/syscalls.list: Remove file.
22485 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22486 * sysdeps/unix/sysv/linux/Implies: Likewise.
22488 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22490 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22492 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22496 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22499 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22502 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22505 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22508 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22511 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22514 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22518 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22520 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22522 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22525 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22529 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22533 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22535 * sysdeps/unix/common/bits/dirent.h: Remove file.
22536 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22538 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22539 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22540 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22541 * sysdeps/unix/bsd/isatty.c: Likewise.
22542 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22543 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22544 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22546 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22550 long double comparison inaccuracies.
22551 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22554 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22556 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22557 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22559 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22562 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22563 nonzero digits before rounding a hex value.
22564 * stdlib/tst-strtod.c (tests): Add another test.
22566 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22568 * sysdeps/s390/fpu/libm-test-ulps: Update.
22570 2012-05-03 Andreas Jaeger <aj@suse.de>
22572 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22573 does not get optimized out.
22574 (malloc_opt_barrier): New.
22576 2012-05-03 Andreas Jaeger <aj@suse.de>
22577 Roland McGrath <roland@hack.frob.com>
22579 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22580 intermediate file deletion.
22581 (generated): Add .symlist files.
22583 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22586 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22587 Redirect under this condition.
22588 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22589 [__USE_GNU] (__dprintf_chk): Not under this condition.
22590 [__USE_GNU] (__vdprintf_chk): Likewise.
22591 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22592 under this condition.
22593 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22594 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22595 [__USE_XOPEN2K8] (vdprintf): Likewise.
22596 [__USE_GNU] (__dprintf_chk): Not under this condition.
22597 [__USE_GNU] (__vdprintf_chk): Likewise.
22598 [__USE_GNU] (dprintf): Likewise.
22599 [__USE_GNU] (vdprintf): Likewise.
22601 2012-05-03 Roland McGrath <roland@hack.frob.com>
22603 * elf/Makefile (common-generated): Set this instead of generated for
22604 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22605 $(all-built-dso)-derived lists.
22607 2012-05-03 Andreas Jaeger <aj@suse.de>
22609 * sysdeps/i386/fpu/libm-test-ulps: Update.
22612 * FAQ.in: Likewise.
22613 * scripts/gen-FAQ.pl: Likewise.
22614 * manual/install.texi (Installation): Point to online location of
22616 * Makefile (files-for-dist): Remove FAQ.
22619 2012-05-02 Allan McRae <allan@archlinux.org>
22621 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22622 (LDFLAGS-reldepmod5.so): Likewise.
22623 (LDFLAGS-reldep6mod1.so): Likewise.
22624 (LDFLAGS-reldep6mod4.so): Likewise.
22625 (LDFLAGS-reldep8mod3.so): Likewise.
22626 (LDFLAGS-unload4mod1.so): Likewise.
22627 (LDFLAGS-unload4mod2.so): Likewise.
22628 (LDFLAGS-tst-initorder): Likewise.
22629 (LDFLAGS-tst-initordera2.so): Likewise.
22630 (LDFLAGS-tst-initordera3.so): Likewise.
22631 (LDFLAGS-tst-initordera4.so): Likewise.
22632 (LDFLAGS-tst-initorderb2.so): Likewise.
22633 (LDFLAGS-noload): Likewise.
22634 (LDFLAGS-next): Likewise.
22635 (LDFLAGS-order2mod1.so): Likewise.
22636 (LDFLAGS-order2mod2.so): Likewise.
22637 (LDFLAGS-tst-initorder2): Likewise.
22638 (LDFLAGS-tst-initorder2a.so): Likewise.
22639 (LDFLAGS-tst-initorder2b.so): Likewise.
22640 (LDFLAGS-tst-initorder2c.so): Likewise.
22641 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22643 2012-05-02 David S. Miller <davem@davemloft.net>
22645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22647 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22650 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22652 2012-05-02 Andreas Jaeger <aj@suse.de>
22654 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22655 since we manipulate rounding mode.
22656 (CPPFLAGS-test-idouble.c): Likewise.
22657 (CPPFLAGS-test-ifloat.c): Likewise.
22658 (CFLAGS-test-ldouble.c): Likewise.
22659 (CFLAGS-test-double.c): Likewise.
22660 (CFLAGS-test-float.c): Likewise.
22661 (CFLAGS-test-misc.c): Likewise.
22662 (CFLAGS-test-test-fenv.c): Likewise.
22664 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22668 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22669 comparisons to determine direction to adjust input.
22671 2012-05-01 Roland McGrath <roland@hack.frob.com>
22673 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22674 output to the target.
22676 * scripts/localplt.awk: New file.
22677 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22678 (check-localplt-CFLAGS): Variable removed.
22679 ($(all-built-dso:=.jmprel)): New static pattern rule.
22680 (generated): Add those targets.
22681 (localplt-built-dso): New variable.
22682 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22684 * elf/check-localplt.c: File removed.
22686 * scripts/check-execstack.awk: New file.
22687 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22688 (check-execstack-CFLAGS): Variable removed.
22689 ($(objpfx)check-execstack.h): Target removed.
22690 ($(objpfx)execstack-default): New target.
22691 (generated): Add that instead of check-execstack.h.
22692 ($(all-built-dso:=.phdr)): New static pattern rule.
22693 (generated): Add those targets.
22694 * elf/check-execstack.c: File removed.
22696 * scripts/check-textrel.awk: New file.
22697 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22698 (check-textrel-CFLAGS): Variable removed.
22699 (all-built-dso): Use := to define.o
22700 ($(all-built-dso:=.dyn)): New static pattern rule.
22701 (generated): Add those targets.
22702 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22703 * config.make.in (READELF): New substituted variable.
22704 * elf/check-textrel.c: File removed.
22706 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22708 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22710 * conform/data/ctype.h-data [C99-based standards] (isblank):
22712 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22713 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22714 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22715 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22716 Specify type. Require positive value.
22717 (EILSEQ): Likewise.
22718 (ERANGE): Likewise.
22719 [ISO || POSIX] (EILSEQ): Do not expect.
22720 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22721 Specify type. Require positive value.
22722 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22723 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22724 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22725 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22726 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22727 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22728 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22729 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22730 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22731 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22732 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22733 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22734 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22735 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22736 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22737 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22738 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22739 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22740 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22741 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22742 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22743 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22744 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22745 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22746 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22747 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22748 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22749 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22750 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22751 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22752 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22753 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22754 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22755 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22756 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22757 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22758 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22759 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22760 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22761 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22762 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22763 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22764 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22765 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22766 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22767 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22768 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22769 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22770 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22771 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22772 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22773 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22774 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22775 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22776 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22777 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22778 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22779 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22780 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22781 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22782 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22783 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22784 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22785 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22786 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22787 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22788 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22789 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22790 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22791 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22792 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22793 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22794 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22795 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22796 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22797 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22798 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22800 (FLT_ROUNDS): Expect as macro, not constant.
22801 (FLT_MANT_DIG): Use macro-int-constant.
22802 (DBL_MANT_DIG): Likewise.
22803 (LDBL_MANT_DIG): Likewise.
22804 (FLT_DIG): Likewise.
22805 (DBL_DIG): Likewise.
22806 (LDBL_DIG): Likewise.
22807 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22808 (DBL_MIN_EXP): Likewise.
22809 (LDBL_MIN_EXP): Likewise.
22810 (FLT_MAX_EXP): Use macro-int-constant.
22811 (DBL_MAX_EXP): Likewise.
22812 (LDBL_MAX_EXP): Likewise.
22813 (FLT_MAX_10_EXP): Likewise.
22814 (DBL_MAX_10_EXP): Likewise.
22815 (LDBL_MAX_10_EXP): Likewise.
22816 (FLT_MAX): Use macro-constant.
22817 (DBL_MAX): Likewise.
22818 (LDBL_MAX): Likewise.
22819 (FLT_EPSILON): Use macro-constant. Give upper bound.
22820 (DBL_EPSILON): Likewise.
22821 (LDBL_EPSILON): Likewise.
22822 (FLT_MIN): Likewise.
22823 (DBL_MIN): Likewise.
22824 (LDBL_MIN): Likewise.
22825 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22826 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22827 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22828 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22829 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22830 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22831 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22832 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22833 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22834 [ISO11] (FLT_TRUE_MIN): Likewise.
22835 [ISO11] (LDBL_TRUE_MIN): Likewise.
22836 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22837 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22838 (SCHAR_MIN): Use macro-int-constant. Specify type.
22839 (SCHAR_MAX): Likewise.
22840 (UCHAR_MAX): Likewise.
22841 (CHAR_MIN): Likewise.
22842 (CHAR_MAX): Likewise.
22843 (MB_LEN_MAX): Use macro-int-constant.
22844 (SHRT_MIN): Use macro-int-constant. Specify type.
22845 (SHRT_MAX): Likewise.
22846 (USHRT_MAX): Likewise.
22847 (INT_MAX): Likewise.
22848 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22850 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22852 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22854 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22855 bound negative. Suffix upper bound with "L".
22856 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22858 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22860 [C99-based standards] (LLONG_MAX): Likewise.
22861 [C99-based standards] (ULLONG_MAX): Likewise.
22862 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22864 [ISO11] (max_align_t): Require type.
22865 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22867 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22868 from $CFLAGS, without defining away __attribute__ calls.
22869 (checknamespace): Use $CFLAGS_namespace.
22871 * conform/conformtest.pl (@keywords): Only include C99 keywords
22872 for standards based on C99 or C11.
22874 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22876 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22879 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22880 usability of symbols in #if.
22882 * conform/conformtest.pl: If macro or constant types start
22883 "promoted:", expect the symbol to be of the following type
22884 promoted by the integer promotions.
22886 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22887 in one place. Also handle "macro-constant".
22889 * conform/conformtest.pl: Only accept expected macro values with
22890 "==". Parse all "macro" lines in one place.
22891 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22893 * conform/conformtest.pl: Handle braced types on "constant" lines
22894 instead of handling "typed-constant".
22895 * conform/data/signal.h-data: Use "constant" instead of
22898 * conform/conformtest.pl: Handle "optional-" at start of lines in
22899 one place rather than duplicating several cases. Handle each
22900 format of "macro" line with initial "optional-".
22902 * conform/conformtest.pl: Only accept expected constant or
22903 optional-constant values with "==". Parse all "constant" lines in
22904 one place. Parse all "optional-constant" lines in one place.
22905 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22906 * conform/data/fmtmsg.h-data: Likewise.
22907 * conform/data/netinet/in.h-data: Likewise.
22908 * conform/data/tar.h-data: Likewise.
22909 * conform/data/limits.h-data: Use "==" form on "constant" and
22910 "optional-constant" lines.
22912 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22913 Use -std=c99 for XOPEN2K.
22914 (@knownproblems): Remove.
22915 (newtoken): Don't check %isknown.
22917 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22918 Do not expect macro.
22919 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22920 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22921 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22922 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22923 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22924 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22925 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22926 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22927 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22928 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22929 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22930 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22931 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22932 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22933 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22934 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22935 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22936 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22937 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22938 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22939 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22940 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22941 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22942 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22943 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22944 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22945 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22946 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22947 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22948 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22949 [XPG3] (acosh): Likewise.
22950 [XPG3] (asinh): Likewise.
22951 [XPG3] (atanh): Likewise.
22952 [XPG3] (cbrt): Likewise.
22953 [XPG3] (expm1): Likewise.
22954 [XPG3] (ilogb): Likewise.
22955 [XPG3] (log1p): Likewise.
22956 [XPG3] (logb): Likewise.
22957 [XPG3] (nextafter): Likewise.
22958 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22959 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22960 [XPG3] (remainder): Likewise.
22961 [XPG3] (rint): Likewise.
22962 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22963 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22964 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22965 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22966 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22967 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22968 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22969 [UNIX98 || XOPEN2K] (scalb): Expect.
22970 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22971 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22972 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22973 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22974 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22975 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22976 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22977 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22978 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22979 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22980 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22981 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22982 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22983 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22984 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22985 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22986 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22987 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22988 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22989 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22990 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22991 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22992 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22993 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22994 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22995 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22996 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22997 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22998 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22999 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23000 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23001 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23002 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23003 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23004 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23005 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23006 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23007 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23008 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23009 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23010 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23011 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23012 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23013 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23014 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23015 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23016 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23017 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23018 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23019 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23020 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23021 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23022 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23023 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23024 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23025 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23026 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23027 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23028 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23029 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23030 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23031 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23032 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23033 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23034 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23035 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23036 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23037 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23038 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23039 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23040 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23041 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23042 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23043 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23044 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23045 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23046 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23047 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23048 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23049 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23050 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23051 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23052 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23053 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23054 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23055 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23056 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23057 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23058 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23059 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23060 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23061 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23062 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23063 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23064 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23065 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23066 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23067 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23068 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23069 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23070 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23071 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23072 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23073 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23074 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23075 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23076 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23077 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23078 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23079 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23080 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23081 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23082 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23083 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23084 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23085 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23086 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23087 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23088 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23089 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23090 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23091 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23092 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23093 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23094 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23095 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23096 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23097 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23098 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23099 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23100 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23101 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23102 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23103 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23104 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23105 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23106 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23108 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23109 _XOPEN_SOURCE_EXTENDED for XPG4.
23111 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23113 * Makeconfig (localtime): Remove variable.
23114 (inst_localtime-file): Likewise.
23116 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23137 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23141 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23142 comparisons to determine direction to adjust input.
23143 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23144 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23145 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23147 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23149 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23151 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23152 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23154 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23156 * math/libm-test.inc (nexttoward_test): Add more tests.
23158 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23161 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23162 in version GLIBC_2.1, not GLIBC_2.0.
23163 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23166 2012-04-30 Joseph Myers <joseph@codesourcery.com>
23169 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23171 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23172 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23173 * math/libm-test.inc (acos_test): Add more tests.
23174 (asin_test): Likewise.
23175 * sysdeps/i386/fpu/libm-test-ulps: Update.
23176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23179 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23181 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23182 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23183 * math/libm-test.inc (acos_test_tonearest): New function.
23184 (acos_test_towardzero): Likewise.
23185 (acos_test_downward): Likewise.
23186 (acos_test_upward): Likewise.
23187 (asin_test_tonearest): Likewise.
23188 (asin_test_towardzero): Likewise.
23189 (asin_test_downward): Likewise.
23190 (asin_test_upward): Likewise.
23191 (main): Call the new functions.
23192 * sysdeps/i386/fpu/libm-test-ulps: Update.
23193 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23197 * math/e_exp10.c: Include <float.h>.
23198 (__ieee754_exp10): Handle underflow here rather than multiplying
23199 large negative argument by M_LN10.
23200 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23202 * math/e_exp10l.c: Include <float.h>.
23203 (__ieee754_exp10l): Handle underflow here rather than multiplying
23204 large negative argument by M_LN10l.
23205 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23206 spurious overflow exception on underflow.
23208 2012-04-29 Marek Polacek <polacek@redhat.com>
23210 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23211 (__fortify_function): New macro.
23212 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23213 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23214 __extern_always_inline.
23215 * libio/bits/stdio2.h: Likewise.
23216 * libio/bits/stdio.h: Likewise.
23217 * string/string.h: Likewise.
23218 * string/bits/string3.h: Likewise.
23219 * include/stdio.h: Likewise.
23220 * stdlib/bits/stdlib.h: Likewise.
23221 * stdlib/stdlib.h: Likewise.
23222 * rt/bits/mqueue2.h: Likewise.
23223 * rt/mqueue.h: Likewise.
23224 * posix/bits/unistd.h: Likewise.
23225 * posix/unistd.h: Likewise.
23226 * io/bits/poll2.h: Likewise.
23227 * io/bits/fcntl2.h: Likewise.
23228 * io/fcntl.h: Likewise.
23229 * io/sys/poll.h: Likewise.
23230 * misc/bits/syslog.h: Likewise.
23231 * misc/bits/syslog-ldbl.h: Likewise.
23232 * misc/sys/syslog.h: Likewise.
23233 * socket/bits/socket2.h: Likewise.
23234 * socket/sys/socket.h: Likewise.
23235 * debug/tst-chk1.c: Likewise.
23236 * wcsmbs/bits/wchar2.h: Likewise.
23237 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23238 * wcsmbs/wchar.h: Likewise.
23240 2012-04-29 Andreas Jaeger <aj@suse.de>
23242 * Makerules (tests): Remove enable-check-abi protection.
23243 (check-abi-warn): Remove.
23244 (check-abi-%): Remove check-abi-warn usage.
23246 * configure.in: Remove check-abi configure option.
23247 * configure: Regenerated.
23248 * config.make.in (enable-check-abi): Remove.
23250 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23253 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23254 double functions to double *_finite functions.
23257 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23258 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23260 * stdio-common/Makefile (tests): Add tst-sprintf3.
23261 * stdio-common/tst-sprintf3.c: New file.
23263 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23264 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23266 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23268 * conform/conformtest.pl: Remove duplicate typed-constant
23271 2012-04-28 David S. Miller <davem@davemloft.net>
23273 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23274 (check-abi-%): Remove AWK script prerequisite and explicit
23276 (check-abi): Rewrite to just diff the symlist with the abilist.
23277 (config-tls, config-abi-config): Delete, no longer used.
23278 (update-abi-%): Remove AWK script and explicit abilist directory.
23279 (update-abi): Rewrite to simply compare and conditionally copy the
23280 symlist and the sysdep abilist file. Remove update-abi-config
23282 * abilist/ld.abilist: Remove.
23283 * abilist/libBrokenLocale.abilist: Remove.
23284 * abilist/libanl.abilist: Remove.
23285 * abilist/libcrypt.abilist: Remove.
23286 * abilist/libdl.abilist: Remove.
23287 * abilist/librt.abilist: Remove.
23288 * abilist/libthread_db.abilist: Remove.
23289 * abilist/libutil.abilist: Remove.
23290 * scripts/extract-abilist.awk: Remove.
23291 * scripts/merge-abilist.awk: Remove.
23292 * sysdeps/generic/libcidn.abilist: New file.
23293 * sysdeps/generic/libnss_compat.abilist: New file.
23294 * sysdeps/generic/libnss_db.abilist: New file.
23295 * sysdeps/generic/libnss_dns.abilist: New file.
23296 * sysdeps/generic/libnss_files.abilist: New file.
23297 * sysdeps/generic/libnss_hesiod.abilist: New file.
23298 * sysdeps/generic/libnss_nis.abilist: New file.
23299 * sysdeps/generic/libnss_nisplus.abilist: New file.
23300 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23301 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23302 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23304 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23305 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23306 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23307 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23308 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23309 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23310 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23311 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23312 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23314 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23315 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23316 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23317 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23319 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23320 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23321 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23322 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23323 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23324 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23326 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23327 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23328 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23330 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23345 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23347 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23349 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23351 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23353 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23355 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23398 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23431 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23433 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23434 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23435 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23437 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23438 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23439 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23440 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23441 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23442 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23443 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23444 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23445 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23446 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23460 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23462 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23464 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23466 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23491 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23498 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23500 * conform/conformtest.pl: Fix typo in handling typed-constant from
23503 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23505 * README: Cut down references to pre-2.6 Linux kernels and
23506 Linuxthreads. Update lists of configurations in libc and ports
23507 and sort alphabetically. Say "or newer" with Linux kernel version
23510 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23512 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23515 * math/libm-test.inc (logb_test_downward): New test to expose
23516 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23519 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23522 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23524 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23525 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23527 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23529 * sysdeps/unix/i386/brk.S: Remove file.
23530 * sysdeps/unix/i386/dl-brk.S: Likewise.
23531 * sysdeps/unix/i386/pipe.S: Likewise.
23532 * sysdeps/unix/i386/sigreturn.S: Likewise.
23533 * sysdeps/unix/i386/syscall.S: Likewise.
23534 * sysdeps/unix/i386/vfork.S: Likewise.
23535 * sysdeps/unix/i386/wait.S: Likewise.
23537 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23538 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23540 * configure.in (arm*-none*): Do not allow without
23541 --enable-hacker-mode.
23542 (netbsd*): Remove case setting base_os.
23543 (386bsd*): Likewise.
23544 (freebsd*): Likewise.
23547 (sunos*): Likewise.
23548 (ultrix*): Likewise.
23549 (newsos*): Likewise.
23550 (dynix*): Likewise.
23556 (minix*): Likewise.
23557 (irix4*): Likewise.
23558 (irix6*): Likewise.
23559 (solaris[2-9]*): Likewise.
23561 * configure: Regenerated.
23563 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23566 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23567 overflow or cancellation in calculating denominator.
23568 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23569 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23570 down expression to avoid unexpected rounding in newer GCCs.
23571 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23573 2012-04-26 David S. Miller <davem@davemloft.net>
23575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23576 long-double compat symbols.
23577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23591 2012-04-25 David S. Miller <davem@davemloft.net>
23593 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23594 HWCAP_* values only after the memory barriers have been defined.
23595 (atomic_full_barrier): Define.
23596 (atomic_read_barrier): Define.
23597 (atomic_write_barrier): Define.
23599 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23601 * shlib-versions: Add libgcc_s version information.
23602 * sysdeps/generic/libgcc_s.h: Remove.
23603 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23605 * sysdeps/gnu/unwind-resume.c: Likewise.
23606 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23608 2012-04-25 David S. Miller <davem@davemloft.net>
23610 * sysdeps/unix/sparc/brk.S: Delete.
23611 * sysdeps/unix/sparc/dl-brk.S: Delete.
23612 * sysdeps/unix/sparc/pipe.S: Delete.
23613 * sysdeps/unix/sparc/sysdep.S: Delete.
23614 * sysdeps/unix/sparc/sysdep.h: Delete.
23615 * sysdeps/unix/sparc/vfork.S: Delete.
23616 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23617 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23618 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23619 ret_ERRVAL, r0, r1, MOVE): Define.
23620 (JUMPTARGET): Remove.
23621 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23622 sysdeps/unix/sparc/sysdep.h
23623 (ENTRY, END): Remove.
23624 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23626 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23628 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23629 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23632 * timezone/README: Update upstream location and email address for
23634 * timezone/zdump.c: Update from tzcode 2012b.
23635 * timezone/zic.c: Likewise.
23637 * configure.in (libc_cv_as_needed): Remove test.
23638 * configure: Regenerated.
23639 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23640 conditional definition.
23641 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23642 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23643 * config.make.in (have-as-needed): Remove variable.
23645 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23646 Paul Pluzhnikov <ppluzhnikov@google.com>
23648 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23651 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23653 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23654 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23655 * sysdeps/sh/strlen.S: Likewise.
23657 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23659 * sysdeps/unix/fork.S: Remove file.
23660 * sysdeps/unix/i386/fork.S: Likewise.
23661 * sysdeps/unix/sparc/fork.S: Likewise.
23663 * sysdeps/unix/system.c: Remove file.
23664 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23666 * sysdeps/unix/getegid.S: Remove file.
23667 * sysdeps/unix/geteuid.S: Likewise.
23669 2012-04-24 Roland McGrath <roland@hack.frob.com>
23671 * scripts/check-localplt.awk: New file.
23672 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23674 * scripts/data/localplt-generic.data: Add a comment.
23676 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23677 NODE when __dir_mkfile failed.
23678 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23679 Reported by Ludovic Courtès <ludo@gnu.org>.
23681 2012-04-24 Andreas Jaeger <aj@suse.de>
23683 * Makerules (common-clean): Also remove gen-as-const-headers
23686 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23688 * Makerules (native-compile): Do not change working directory for
23689 build. Use $(OUTPUT_OPTION) in command.
23690 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23692 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23695 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23696 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23697 * math/libm-test.inc (floor_test): Add more tests.
23698 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23700 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23702 * sysdeps/unix/getdents.c: Remove file.
23703 * sysdeps/unix/sysv/getdents.c: Likewise.
23704 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23706 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23707 sysdeps/unix/mman/syscalls.list.
23709 (mprotect): Likewise.
23711 (munmap): Likewise.
23712 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23713 * sysdeps/unix/mman/syscalls.list: Remove.
23714 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23716 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23717 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23718 * configure: Regenerated.
23719 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23720 $(libgcc_s_suffix).
23721 * config.make.in (libgcc_s_suffix): Remove variable.
23723 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23725 * sysdeps/unix/sysv/gethostname.c: Move to ...
23726 * sysdeps/posix/gethostname.c: ... here.
23728 * sysdeps/unix/execve.S: Remove file.
23730 * sysdeps/unix/_exit.S: Remove file.
23732 2012-04-23 Andreas Jaeger <aj@suse.de>
23735 * manual/Makefile: Remove make dist support, there's no
23736 need for a stand-alone documentation tar ball.
23737 (TEXI2DVI): Define always, it's not in Makeconfig.
23740 (edition): Removed.
23741 (glibc-doc-$(edition).tar): Removed
23745 (ETAGS): Remove, it's in Makeconfig.
23746 (move-if-change): Remove, it's in Makeconfig.
23748 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23751 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23752 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23753 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23754 (strtod_l, strtof_l, strtold_l): Remove __wur.
23755 It is not necessarily an error to ignore strtol's return value.
23756 One can reliably look at the stored endptr to decide whether
23757 the number had valid syntax.
23759 2012-04-21 Andreas Jaeger <aj@suse.de>
23762 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23764 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23766 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23767 * sysdeps/unix/sysv/Versions: Remove file.
23769 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23774 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23777 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23778 version from __vm86.
23780 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23782 * sysdeps/unix/common/lxstat.c: Remove file.
23783 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23785 * sysdeps/unix/sysv/Makefile: Remove file.
23787 * sysdeps/unix/sysv/direct.h: Remove file.
23789 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23790 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23791 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23792 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23793 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23794 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23795 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23797 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23799 * sysdeps/unix/xmknod.c: Remove file.
23800 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23802 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23804 * sysdeps/unix/sysv/i386/time.S: Remove file.
23806 * sysdeps/unix/fxstat.c: Remove file.
23807 * sysdeps/unix/xstat.c: Likewise.
23808 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23810 * sysdeps/unix/sysv/sigaction.c: Remove file.
23812 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23813 (sysdep_headers): Remove variable.
23814 [termio.h not in sysdep_headers] (generated): Likewise.
23815 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23816 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23817 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23818 * sysdeps/unix/sysv/tcflow.c: Likewise.
23819 * sysdeps/unix/sysv/tcflush.c: Likewise.
23820 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23821 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23822 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23823 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23824 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23826 * sysdeps/unix/siglist.c: Remove file.
23828 * sysdeps/unix/getppid.S: Remove file.
23830 * sysdeps/unix/mkdir.c: Remove file.
23831 * sysdeps/unix/rmdir.c: Likewise.
23833 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23835 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23837 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23838 errlist-compat value.
23840 2012-04-18 David S. Miller <davem@davemloft.net>
23842 * sysdeps/generic/memcopy.h (reg_char): Delete.
23843 * debug/strcat_chk.c: Use char, not reg_char.
23844 * debug/strcpy_chk.c: Likewise.
23845 * debug/strncat_chk.c: Likewise.
23846 * debug/strncpy_chk.c: Likewise.
23847 * string/memchr.c: Likewise.
23848 * string/memrchr.c: Likewise.
23849 * string/rawmemchr.c: Likewise.
23850 * string/strcat.c: Likewise.
23851 * string/strchr.c: Likewise.
23852 * string/strchrnul.c: Likewise.
23853 * string/strcmp.c: Likewise.
23854 * string/strcpy.c: Likewise.
23855 * string/strncat.c: Likewise.
23856 * string/strncmp.c: Likewise.
23857 * string/strncpy.c: Likewise.
23859 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23861 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23862 __builtin_memcopy is called when src and dest ranges are known to not
23865 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23867 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23868 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23869 fwd_align_merge macro call.
23870 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23871 bwd_align_merge macro call.
23872 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23874 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23876 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23877 bwd_align_merge macros.
23878 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23879 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23880 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23882 2012-04-18 David S. Miller <davem@davemloft.net>
23884 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23886 2012-04-18 Andreas Jaeger <aj@suse.de>
23889 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23890 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23893 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23894 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23895 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23897 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23898 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23899 Adjust for changed ldbl-128 files.
23901 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23902 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23903 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23905 2012-04-17 David S. Miller <davem@davemloft.net>
23907 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23909 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23911 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23912 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23913 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23914 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23915 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23916 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23918 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23921 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23922 * math/libm-test.inc: Add ilogb errno and exception tests.
23923 * math/w_ilogb.c: New file: ilogb wrapper.
23924 * math/w_ilogbf.c: New file: ilogbf wrapper.
23925 * math/w_ilogbl.c: New file: ilogbl wrapper.
23926 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23927 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23928 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23929 exception being thrown with 0.0 as argument.
23930 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23931 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23932 exception being thrown with 0.0 as argument.
23933 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23934 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23935 exception being thrown with 0.0 as argument.
23936 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23937 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23938 exception being thrown with 0.0 as argument.
23939 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23940 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
23941 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
23942 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23943 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23944 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23945 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23946 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23947 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23949 2012-04-17 Petr Baudis <pasky@ucw.cz>
23951 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23954 2012-04-16 Marek Polacek <polacek@redhat.com>
23956 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23958 2012-04-16 Marek Polacek <polacek@redhat.com>
23960 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23961 operands of fdivp instruction.
23963 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23965 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23966 * elf/tst-auditmod3b.c: Likewise.
23967 * elf/tst-auditmod4b.c: Likewise.
23968 * elf/tst-auditmod5b.c: Likewise.
23969 * elf/tst-auditmod6b.c: Likewise.
23970 * elf/tst-auditmod6c.c: Likewise.
23971 * elf/tst-auditmod7b.c: Likewise.
23972 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23973 * sysdeps/x86_64/preconfigure.in: Likewise.
23974 * sysdeps/x86_64/preconfigure: Regenerated.
23976 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23978 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23981 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
23983 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23984 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23986 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23989 * locale/iso-639.def: Fix gl language name. Spotted by
23992 2012-04-12 Roland McGrath <roland@hack.frob.com>
23995 * libio/libio.h (__io_write_fn): Update comment.
23997 2012-04-12 Petr Baudis <pasky@ucw.cz>
24000 * stdio.texi (Hook Functions): The user provided writer function
24001 is not allowed to return -1.
24003 2012-04-11 David S. Miller <davem@davemloft.net>
24005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24007 2012-04-11 Mike Frysinger <vapier@gentoo.org>
24009 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24010 Add a leading slash to rtkaio.
24012 2012-04-11 Jim Meyering <meyering@redhat.com>
24015 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24016 It is not necessarily an error to ignore fwrite's return
24017 value. One can reliably use ferror to test for errors after
24020 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24022 * bits/types.h (__snseconds_t): New type.
24023 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24025 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24026 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24027 (__SNSECONDS_T_TYPE): Likewise.
24028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24029 (__SNSECONDS_T_TYPE): Likewise.
24030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24031 (__SNSECONDS_T_TYPE): Likewise.
24033 2012-04-10 Andreas Jaeger <aj@suse.de>
24036 * manual/time.texi (Processor Time): Return type of times is
24037 elapsed real time since an arbitrary point in the past.
24038 (CPU Time): Move CLK_TCK from here...
24039 (Processor Time): ...to here. Correct description.
24040 * manual/conf.texi (Constants for Sysconf): Correct description of
24043 2012-04-10 David S. Miller <davem@davemloft.net>
24046 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24047 where the is a gap between DT_REL(A) and DT_JMPREL.
24049 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24051 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24052 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24053 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24055 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24057 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24058 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24059 (dl_main): Handle --inhibit-cache.
24060 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24062 * elf/dl-load.c (_dl_map_object): Use it.
24063 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24065 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24068 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24069 (__ieee754_powl): Saturate large exponents rather than testing for
24070 overflow of y*log2(x).
24071 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24072 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24076 * math/s_ctan.c: Include <float.h>.
24077 (__ctan): Avoid internal overflow or cancellation in calculating
24079 * math/s_ctanf.c: Likewise.
24080 * math/s_ctanl.c: Likewise.
24081 * math/s_ctanh.c: Likewise.
24082 * math/s_ctanhf.c: Likewise.
24083 * math/s_ctanhl.c: Likewise.
24084 * math/libm-test.inc (ctan_test): Add more tests.
24085 (ctanh_test): Likewise.
24086 * sysdeps/i386/fpu/libm-test-ulps: Update.
24087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24089 2012-04-09 Andreas Jaeger <aj@suse.de>
24092 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24093 is an optional BSD extension.
24096 * manual/stdio.texi (Opening Streams): Document additional fopen
24099 2012-04-09 Roland McGrath <roland@hack.frob.com>
24101 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24102 %eax without telling the compiler.
24104 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24107 * manual/install.texi: Use sourceware.org.
24109 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24112 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24113 (__ieee754_pow): Generate overflow and underflow using huge*huge
24114 and tiny*tiny rather than just returning constant infinity or zero
24115 for large exponents.
24116 * math/libm-test.inc (pow_test): Require overflow exceptions for
24117 applicable cases of large exponents.
24120 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24121 (__ieee754_pow): Use iterative multiplication algorithm only for
24122 integer exponents with absolute value below 1024. Check for odd
24123 integer exponents when using algorithm for real exponents.
24124 * math/libm-test.inc (pow_test): Add more tests.
24125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24127 2012-04-08 Joseph Myers <joseph@codesourcery.com>
24130 * math/libm-test.inc (exp_test): Do not allow overflow exception
24133 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24136 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24137 instead of __kernel_standard_f.
24139 2012-04-08 Mike Frysinger <vapier@gentoo.org>
24141 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24142 * sysdeps/x86_64/memset_chk.S: Likewise.
24144 2012-04-08 Andreas Jaeger <aj@suse.de>
24147 * manual/startup.texi (Environment Access): Describe return value
24148 for putenv and setenv.
24151 * manual/filesys.texi (Directory Entries): Add description for
24155 * manual/filesys.texi (Directory Entries): Clarify that it's file
24156 system not operating system in the description of DT_UNKNOWN.
24159 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24161 2012-04-08 Stephen Compall <s11@member.fsf.org>
24164 * manual/llio.texi (Opening and Closing Files): Add cross
24165 reference to explain mode argument.
24167 2012-04-07 Mike Frysinger <vapier@gentoo.org>
24169 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24170 * sysdeps/x86_64/memset_chk.S: Likewise.
24172 2012-04-07 David S. Miller <davem@davemloft.net>
24174 * elf/elf.h (R_SPARC_WDISP10): Define.
24175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24178 R_SPARC_SIZE64 and R_SPARC_H34.
24180 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24182 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24183 conditions and remove no longer applicable assertion.
24185 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24187 * bits/byteswap.h: Include <features.h>.
24188 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24189 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24191 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24193 * bits/byteswap.h (__bswap_16): Removed.
24194 Include <bits/byteswap-16.h> to get __bswap_16.
24195 * sysdeps/i386/bits/byteswap.h: Likewise.
24196 * sysdeps/s390/bits/byteswap.h: Likewise.
24197 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24198 * bits/byteswap-16.h: New file.
24199 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24200 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24201 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24202 * string/Makefile (headers): Add bits/byteswap-16.h.
24204 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24207 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24209 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24210 * nss/tst-nss-static.c: New.
24212 2012-04-06 Robert Millan <rmh@gnu.org>
24215 * manual/llio.texi (File Position Primitive): lseek
24216 refers to WHENCE when it really means OFFSET.
24218 2012-04-06 Andreas Jaeger <aj@suse.de>
24220 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24221 strncmp declarations.
24223 * abilist/libc.abilist: Add __poll and __ppoll.
24225 2012-04-05 David S. Miller <davem@davemloft.net>
24227 * scripts/check-local-headers.sh: Accept a host triplet in the
24228 path matched by the exclude regexp.
24230 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24232 * sysdeps/powerpc/powerpc32/dl-machine.h
24233 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24234 * sysdeps/s390/s390-32/dl-machine.h
24235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24236 * sysdeps/sparc/sparc32/dl-machine.h
24237 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24238 * sysdeps/sparc/sparc64/dl-machine.h
24239 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24241 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24243 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24244 undefined symbol errors.
24246 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24249 2012-04-05 Michael Matz <matz@suse.de>
24252 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24254 2012-04-05 Andreas Jaeger <aj@suse.de>
24257 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24260 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24262 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24263 which ROUND is no valid rounding mode.
24265 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24267 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24269 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24271 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24273 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24274 an exception using FPU order intentionally.
24276 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24278 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24279 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24280 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24281 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24283 2012-04-05 Simon Josefsson <simon@josefsson.org>
24286 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24287 EINVAL when BUFLEN is too smal.
24289 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24292 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24293 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24295 2012-04-03 Andreas Jaeger <aj@suse.de>
24298 * manual/setjmp.texi (System V contexts): Fix sentence.
24301 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24302 New macro for this case.
24303 [!__GNUC__] (__bswap_64): New inline function for this case.
24304 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24305 * bits/byteswap.h: Likewise.
24306 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24307 ull, guard with __GLIBC_HAVE_LONG_LONG.
24309 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24310 __GLIBC_HAVE_LONG_LONG.
24312 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24313 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24315 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24318 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24319 inptr and inend, rather than using last_ch.
24321 2012-04-02 David S. Miller <davem@davemloft.net>
24323 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24324 * stdio-common/printf-parse.h (read_int): Change return type to
24325 'int', return -1 on INT_MAX overflow.
24326 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24327 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24328 overflows INT_MAX. Check for overflow of in-format-string precision
24329 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24330 SIZE_MAX not INT_MAX for integer overflow test.
24331 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24332 skip the construct in the format string but do not record anything.
24333 * stdio-common/bug22.c: Adjust to test both width/prevision
24334 INT_MAX overflow as well as total length INT_MAX overflow. Check
24335 explicitly for proper errno values.
24337 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24339 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24341 * string/test-strcmp.c [! WIDE]: Likewise.
24342 * time/tst-mktime2.c: Likewise for INT_MAX.
24343 * string/test-string.h: #include <sys/param.h> for MIN.
24345 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24346 * sysdeps/i386/init-first.c (init): Likewise.
24347 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24348 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24349 * sysdeps/sh/init-first.c (init): Likewise.
24351 2012-04-01 Ulrich Drepper <drepper@gmail.com>
24353 * po/ru.po: Update from translation team.
24354 * po/vi.po: Likewise.
24356 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24358 * resolv/nss_dns/dns-host.c: Merge copyright years.
24360 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24362 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24363 Optimize memcpy with prefetch if
24364 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24365 src, dst pointers have unequal 16 byte alignments.
24367 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24370 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24371 from a CNAME entry and return the minimum ttl for the query.
24372 (gaih_getanswer_slice): Likewise.
24374 2012-03-30 Jeff Law <law@redhat.com>
24376 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24378 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24379 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24381 * resolv/nss_dns/dns-host.c: Update copyright year.
24383 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24385 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24386 requests to save a system call. Fix check that all bytes are sent.
24388 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24389 comments for sendmmsg.
24391 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24394 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24395 with only 1 character between 0x0041 and 0x01b0.
24396 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24397 * wcsmbs/tst-mbsnrtowcs.c: New file.
24399 2012-03-29 David S. Miller <davem@davemloft.net>
24401 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24402 small copies by hand.
24404 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24407 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24408 _nss_compat_initgroups_dyn): Fall back to malloc/free
24409 for large group memberships.
24411 2012-03-28 David S. Miller <davem@davemloft.net>
24413 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24414 that branches into memcpy.
24415 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24417 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24418 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24419 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24421 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24422 implementation too.
24423 * sysdeps/sparc/mempcpy.S: New file.
24425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24426 the IFUNC routine in the libc case.
24427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24429 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24430 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24431 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24432 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24433 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24434 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24435 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24436 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24438 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24439 loop to 256 bytes instead of 64 bytes and fix test signedness.
24441 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24442 * sysdeps/sparc/sparc32/Makefile: rather than here...
24443 * sysdeps/sparc/sparc64/Makefile: and here.
24445 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24447 * malloc/mallocbug.c: Avoid warnings about unused variables.
24449 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24452 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24453 in the right place. Discard and retry query if response is
24454 larger than input buffer size.
24456 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24461 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24462 x for large integer exponent.
24463 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24464 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24465 sign of result as needed afterwards.
24466 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24467 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24468 result for underflowing pow the same as for overflow.
24469 (__kernel_standard_l): Handle powl overflow and underflow here
24470 rather than calling __kernel_standard.
24471 * math/libm-test.inc (pow_test): Add more tests.
24486 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24487 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24488 (__kernel_standard_l): New function.
24489 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24491 * math/w_acosl.c (__acosl): Likewise.
24492 * math/w_asinl.c (__asinl): Likewise.
24493 * math/w_atan2l.c (__atan2l): Likewise.
24494 * math/w_atanhl.c (__atanhl): Likewise.
24495 * math/w_coshl.c (__coshl): Likewise.
24496 * math/w_exp10l.c (__exp10l): Likewise.
24497 * math/w_exp2l.c (__exp2l): Likewise.
24498 * math/w_fmodl.c (__fmodl): Likewise.
24499 * math/w_hypotl.c (__hypotl): Likewise.
24500 * math/w_j0l.c (__j0l, __y0l): Likewise.
24501 * math/w_j1l.c (__j1l, __y1l): Likewise.
24502 * math/w_jnl.c (__jnl, __ynl): Likewise.
24503 * math/w_lgammal.c (__lgammal): Likewise.
24504 * math/w_log10l.c (__log10l): Likewise.
24505 * math/w_log2l.c (__log2l): Likewise.
24506 * math/w_logl.c (__logl): Likewise.
24507 * math/w_powl.c (__powl): Likewise.
24508 * math/w_remainderl.c (__remainderl): Likewise.
24509 * math/w_scalbl.c (sysv_scalbl): Likewise.
24510 * math/w_sinhl.c (__sinhl): Likewise.
24511 * math/w_sqrtl.c (__sqrtl): Likewise.
24512 * math/w_tgammal.c (__tgammal): Likewise.
24513 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24514 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24515 * math/libm-test.inc (acos_test): Add more tests.
24516 (acosh_test): Likewise.
24517 (asin_test): Likewise.
24518 (atanh_test): Likewise.
24519 (exp_test): Likewise.
24520 (exp10_test): Likewise.
24521 (exp2_test): Likewise.
24522 (expm1_test): Likewise.
24523 (lgamma_test): Likewise.
24524 (log_test): Likewise.
24525 (log10_test): Likewise.
24526 (log1p_test): Likewise.
24527 (log2_test): Likewise.
24528 (pow_test): Do not allow some spurious overflow exceptions.
24529 (sqrt_test): Add more tests.
24530 (tgamma_test): Likewise.
24531 (y0_test): Likewise.
24532 (y1_test): Likewise.
24533 (yn_test): Likewise.
24535 2012-03-27 Anton Blanchard <anton@samba.org>
24537 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24539 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24540 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24541 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24543 2012-03-27 David S. Miller <davem@davemloft.net>
24545 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24547 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24548 have-as-vis3 check.
24550 2012-03-27 Andreas Jaeger <aj@suse.de>
24552 * sysdeps/x86_64/elf/configure.in: Moved to ...
24553 * sysdeps/x86_64/configure.in: ... here.
24554 * sysdeps/x86_64/elf/start.S: Moved to ...
24555 * sysdeps/x86_64/start.S: ... here.
24556 * sysdeps/x86_64/elf/configure: Delete.
24558 * sysdeps/x86_64/configure.in: Merge contents from
24559 sysdeps/i386/configure.in (without i686 check).
24561 * sysdeps/i386/elf/Versions: Merge into ...
24562 * sysdeps/i386/Versions: ... this.
24563 * sysdeps/i386/elf/Versions: Delete file.
24564 * sysdeps/i386/elf/start.S: Moved to ...
24565 * sysdeps/i386/start.S: ...here.
24566 * sysdeps/i386/elf/configure.in: Merge into...
24567 * sysdeps/i386/configure.in: ...here.
24568 * sysdeps/i386/elf/configure.in: Delete file.
24569 * sysdeps/i386/elf/configure: Delete file.
24571 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24572 * debug/backtracesyms.c: ... here.
24573 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24574 * debug/backtracesymsfd.c: ... here.
24575 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24576 * sysdeps/generic/ifunc-sel.h: ... here.
24578 * sysdeps/unix/i386/start.c: Delete file.
24579 * sysdeps/unix/sparc/start.c: Delete file.
24580 * sysdeps/unix/start.c: Delete file.
24582 * sysdeps/sh/elf/configure.in: Moved to ...
24583 * sysdeps/sh/configure.in: ... here.
24584 * sysdeps/sh/elf/start.S: Moved to ...
24585 * sysdeps/sh/start.S: ... here.
24586 * sysdeps/sh/elf/configure: Delete file.
24588 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24589 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24590 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24591 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24592 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24593 * sysdeps/powerpc/powerpc64/start.S: here.
24594 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24595 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24596 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24597 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24598 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24600 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24601 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24602 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24603 * sysdeps/powerpc/powerpc32/start.S: ... here.
24604 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24605 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24606 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24608 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24609 * sysdeps/powerpc/ifunc-sel.h: ... here.
24610 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24611 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24613 * sysdeps/sparc/elf/configure.in: Moved to ...
24614 * sysdeps/sparc/configure.in: ... here.
24615 * sysdeps/sparc/elf/configure: Delete file.
24616 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24617 * sysdeps/sparc/sparc32/start.S: ... here.
24618 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24619 * sysdeps/sparc/sparc64/start.S: ... here.
24620 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24621 * sysdeps/sparc/sparc32/Makefile: ... this.
24622 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24623 * sysdeps/sparc/sparc64/Makefile: ... this.
24625 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24626 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24627 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24628 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24629 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24630 * sysdeps/s390/s390-32/setjmp.S: ... here.
24631 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24632 * sysdeps/s390/s390-32/configure.in: ... here.
24633 * sysdeps/s390/s390-32/elf/configure: Delete file.
24634 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24635 * sysdeps/s390/s390-32/start.S: ... here.
24637 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24638 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24639 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24640 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24641 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24642 * sysdeps/s390/s390-64/setjmp.S: ... here.
24643 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24644 * sysdeps/s390/s390-64/configure.in: ... here
24645 * sysdeps/s390/s390-64/elf/configure: Delete file.
24646 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24647 * sysdeps/s390/s390-64/start.S: ... here.
24648 * sysdeps/s390/s390-64/elf/configure: Delete.
24650 * configure.in: Remove support for elf directories in sysdeps.
24652 * configure: Regenerated.
24653 * sysdeps/i386/configure: Regenerated.
24654 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24655 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24656 * sysdeps/s390/s390-32/configure: Regenerated.
24657 * sysdeps/s390/s390-64/configure: Regenerated.
24658 * sysdeps/sh/configure: Regenerated.
24659 * sysdeps/sparc/configure: Regenerated.
24660 * sysdeps/x86_64/configure: Regenerated.
24662 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24667 denormal result into account.
24669 2012-03-25 Roland McGrath <roland@hack.frob.com>
24671 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24672 Reported by Allan McRae <allan@archlinux.org>.
24674 2012-03-23 Jeff Law <law@redhat.com>
24676 * nss/getnssent.c (__nss_getent): Fix typo.
24678 2012-03-23 David S. Miller <davem@davemloft.net>
24680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24682 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24684 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24685 to pad to uint64_t for each field.
24686 (dl_tls_index): Replace unsigned long with uint64_t.
24688 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24689 Paul Pluzhnikov <ppluzhnikov@google.com>
24692 * grp/Makefile (otherlibs): Don't set it.
24693 * inet/Makefile (otherlibs): Likewise.
24694 * login/Makefile (otherlibs): Likewise.
24695 * nscd/Makefile (otherlibs): Likewise.
24696 * posix/Makefile (otherlibs): Likewise.
24697 * pwd/Makefile (otherlibs): Likewise.
24698 * rt/Makefile (otherlibs): Likewise.
24699 * sunrpc/Makefile (otherlibs): Likewise.
24700 * nss/Makefile (otherlibs): Likewise.
24701 Add libnss_files to routines and static-only-routines.
24702 ($(objpfx)getent): Remove rule.
24703 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24704 static-only-routines.
24706 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24709 * math/s_cexp.c: Include <float.h>.
24710 (__cexp): Handle exp result overflowing not necessarily
24711 overflowing both real and imaginary parts of result.
24712 * math/s_cexpf.c: Likewise.
24713 * math/s_cexpl.c: Likewise.
24714 * math/libm-test.inc (cexp_test): Add more tests.
24715 * sysdeps/i386/fpu/libm-test-ulps: Update.
24716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24718 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24720 * include/link.h (ELFW): New macro.
24721 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24722 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24724 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24726 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24729 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24731 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24733 (struct La_x32_retval): Likewise.
24735 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24737 * sysdeps/x86_64/preconfigure.in: New file.
24738 * sysdeps/x86_64/preconfigure: New generated file.
24740 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24743 * math/e_exp2l.c: Include <float.h>.
24744 (__ieee754_exp2l): Handle overflow and underflow cases
24745 separately. Only pass fractional part of argument to
24747 * math/libm-test.inc (exp2_test): Add more tests.
24749 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24750 negating x to take absolute value.
24751 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24753 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24754 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24756 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24757 computing low part if x was negated.
24758 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24760 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24762 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24763 la_x32_gnu_pltexit.
24764 (pltexit): Cast int_retval to ptrdiff_t.
24765 * elf/tst-auditmod3b.c: Likewise.
24766 * elf/tst-auditmod4b.c: Likewise.
24767 * elf/tst-auditmod5b.c: Likewise.
24768 * elf/tst-auditmod6b.c: Likewise.
24769 * elf/tst-auditmod6c.c: Likewise.
24770 * elf/tst-auditmod7b.c: Likewise.
24772 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24773 and x32_gnu_pltexit.
24775 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24776 __ELF_NATIVE_CLASS.
24777 (La_x32_regs): New macro.
24778 (La_x32_retval): Likewise.
24779 (la_x32_gnu_pltenter): New function prototype.
24780 (la_x32_gnu_pltexit): Likewise.
24782 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24784 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24789 * configure.in (libc_cv_cc_nofma): Check for option to disable
24790 generation of FMA instructions.
24791 * configure: Regenerate.
24792 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24793 * sysdeps/ieee754/dbl-64/Makefile: New file.
24794 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24795 Remove brandred-fma4.
24796 (CFLAGS-brandred-fma4.c): Remove.
24797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24798 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24800 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24803 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24805 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24806 LLONG_MAX != LONG_MAX.
24807 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24808 (_fitoa_word): Likewise.
24809 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24810 LLONG_MAX != LONG_MAX.
24811 * stdio-common/_itowa.h: Include <_itoa.h>.
24812 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24813 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24814 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24815 only if not defined.
24816 (_ITOA_WORD_TYPE): Likewise.
24817 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24818 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24820 2012-03-21 David S. Miller <davem@davemloft.net>
24822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24824 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24826 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24827 of x86_64 when setting libc_cv_slibdir, libdir and
24829 * sysdeps/unix/sysv/linux/configure: Regenerated.
24831 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24833 * manual/lang.texi (Old Varargs): Remove section.
24834 (How Variadic): Update menu.
24835 (va_start): Do not mention varargs.h.
24837 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24838 Joseph Myers <joseph@codesourcery.com>
24840 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24842 * configure: Regenerated.
24844 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24846 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24847 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24850 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24853 * Makefile (files-for-dist): Remove NOTES.
24854 (NOTES): Remove rule.
24855 * README: Don't refer to NOTES.
24856 * manual/creature.texi: Don't include macros.texi.
24857 * manual/intro.texi (creature.texi): Remove comment referring to
24860 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24861 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24862 * configure: Regenerated.
24863 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24864 LIBC_TRY_CC_OPTION.
24865 (libc_cv_as_i686): Likewise.
24866 (libc_cv_cc_avx): Likewise.
24867 (libc_cv_cc_sse2avx): Likewise.
24868 (libc_cv_cc_fma4): Likewise.
24869 (libc_cv_cc_novzeroupper): Likewise.
24870 * sysdeps/i386/configure: Regenerated.
24873 * sysdeps/i386/fpu/s_cexp.S: Remove.
24874 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24875 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24876 * math/libm-test.inc (cexp_test): Add more tests.
24877 * sysdeps/i386/fpu/libm-test-ulps: Update.
24878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24880 2012-03-21 Allan McRae <allan@archlinux.org>
24882 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24884 2012-03-21 Joseph Myers <joseph@codesourcery.com>
24887 * math/w_exp2.c: Do not include <float.h>.
24888 (o_threshold, u_threshold): Remove.
24889 (__exp2): Calculate result before checking finiteness and calling
24891 * math/w_exp2f.c: Likewise.
24892 * math/w_exp2l.c: Likewise.
24893 * math/libm-test.inc (exp2_test): Require overflow exception for
24897 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24898 range of signed 64-bit integers before using fistpll. Remove
24899 checks for whether integers fit in mantissa bits.
24900 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24901 the range of signed 32-bit integers before using fistpl. Remove
24902 checks for whether integers fit in mantissa bits.
24903 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24904 (__ieee754_powl): Test for y outside the range of signed 64-bit
24905 integers before using fistpll. Reduce 64-bit values to 63-bit
24907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24908 divide-by-zero is raised for zero to large negative powers.
24909 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24910 (__ieee754_powl): Test for y outside the range of signed 64-bit
24911 integers before using fistpll. Reduce 64-bit values to 63-bit
24913 * math/libm-test.inc (pow_test): Add more tests.
24915 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24917 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24918 <stdio-common/_itoa.h>.
24919 * debug/segfault.c: Likewise.
24920 * elf/dl-cache.c: Likewise.
24921 * elf/dl-minimal.c: Likewise.
24922 * elf/dl-misc.c: Likewise.
24923 * elf/dl-sysdep.c: Likewise.
24924 * elf/dl-version.c: Likewise.
24925 * elf/rtld.c: Likewise.
24926 * hurd/hurdsock.c: Likewise.
24927 * hurd/lookup-retry.c: Likewise.
24928 * malloc/malloc.c: Likewise.
24929 * malloc/mtrace.c: Likewise.
24930 * nscd/nscd_getgr_r.c: Likewise.
24931 * nscd/nscd_getpw_r.c: Likewise.
24932 * nscd/nscd_getserv_r.c: Likewise.
24933 * posix/getopt_init.c: Likewise.
24934 * posix/wordexp.c: Likewise.
24935 * stdio-common/_itoa.c: Likewise.
24936 * stdio-common/printf_fphex.c: Likewise.
24937 * stdio-common/vfprintf.c: Likewise.
24938 * string/_strerror.c: Likewise.
24939 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24940 * sysdeps/i386/i686/hp-timing.h: Likewise.
24941 * sysdeps/mach/_strerror.c: Likewise.
24942 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24943 * sysdeps/mach/hurd/sethostid.c: Likewise.
24944 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24945 * sysdeps/mach/xpg-strerror.c: Likewise.
24946 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24947 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24948 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24949 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24950 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24951 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24952 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24953 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24954 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24955 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24956 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24957 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24958 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24959 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24960 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24961 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24962 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24963 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24964 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24965 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24966 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24968 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24970 * stdio-common/_itoa.h: Moved to ...
24971 * sysdeps/generic/_itoa.h: Here.
24973 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24975 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24976 instead of "_itoa.h" and "_itowa.h".
24977 * stdio-common/vfprintf.: Likewise.
24979 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24981 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24983 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24984 (__signbit): Likwise.
24985 (llrintf): Likwise.
24988 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24990 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24993 2012-03-20 Joseph Myers <joseph@codesourcery.com>
24995 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24996 OVERFLOW_EXCEPTION_OK.
24997 * math/libm-test.inc ("Philosophy"): Update comment about
24999 (OVERFLOW_EXCEPTION): Define.
25000 (OVERFLOW_EXCEPTION_OK): Likewise.
25001 (INVALID_EXCEPTION_OK): Renumber.
25002 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25003 (IGNORE_ZERO_INF_SIGN): Likewise.
25004 (test_exceptions): Handle FE_OVERFLOW.
25005 (exp10_test): Expect overflow exceptions.
25006 (exp2_test): Likewise.
25007 (expm1_test): Likewise.
25008 (nextafter_test): Likewise.
25009 (pow_test): Likewise.
25010 (scalbn_test): Likewise.
25011 (scalbln_test): Likewise.
25013 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25015 * sysdeps/x86_64/bits/atomic.h
25016 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25018 (atomic_exchange_acq): Likewise.
25019 (__arch_exchange_and_add_body): Likewise.
25020 (__arch_add_body): Likewise.
25021 (atomic_add_negative): Likewise.
25022 (atomic_add_zero): Likewise.
25024 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25026 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25027 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25029 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25031 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25032 Check __x86_64__ instead of __WORDSIZE.
25034 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25036 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25038 2012-03-19 David S. Miller <davem@davemloft.net>
25040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25042 * sysdeps/sparc/fpu/fenv_private.h: New file.
25043 * sysdeps/sparc/fpu/math_private.h: Use it.
25044 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25046 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25047 (libc_feholdexcept_setroundl): Remove.
25048 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25050 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25051 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25053 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25055 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25056 int64_t instead of long int.
25057 (INSERT_WORDS64): Likwise.
25059 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25061 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25062 _Unwind_GetCFA return to _Unwind_Ptr first.
25064 2012-03-19 Joseph Myers <joseph@codesourcery.com>
25067 * math/s_clog.c: Include <float.h>.
25068 (__clog): Scale large or subnormal inputs.
25069 * math/s_clogf.c: Likewise.
25070 * math/s_clogl.c: Likewise.
25071 * math/s_clog10.c: Include <float.h>.
25072 (M_LOG10_2): Define.
25073 (__clog10): Scale large or subnormal inputs.
25074 * math/s_clog10f.c: Likewise.
25075 * math/s_clog10l.c: Likewise.
25076 * math/libm-test.inc (clog_test): Add more tests.
25077 (clog10_test): Likewise.
25078 * sysdeps/i386/fpu/libm-test-ulps: Update.
25079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25082 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25084 * math/libm-test.inc (atan2_test): Add another test.
25086 * Makerules (common-objdir-compile): Remove.
25087 * sysdeps/unix/Makefile (config-generated): Do not add
25088 $(unix-generated) to variable.
25089 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25090 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25092 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25094 [generic bits/local_lim.h] (before-compile): Do not append to
25096 [generic bits/local_lim.h] (common-generated): Likewise.
25097 [generic sys/param.h] (before-compile): Do not append to variable.
25098 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25099 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25100 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25101 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25103 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25104 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25105 [generic sys/param.h] ($(addprefix
25106 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25107 [generic sys/param.h] (common-generated): Do not append to
25109 [generic sys/param.h] (sysdep_headers): Likewise.
25110 [generic bits/errno.h] (before-compile): Do not append to
25112 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25114 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25115 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25116 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25117 [generic bits/errno.h] (common-generated): Do not append to
25119 [generic bits/ioctls.h] (before-compile): Do not append to
25121 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25123 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25124 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25125 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25127 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25128 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25129 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25130 [generic bits/ioctls.h] (common-generated): Do not append to
25132 [generic sys/syscall.h] (syscall.h): Remove variable.
25133 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25135 [generic sys/syscall.h] (before-compile): Do not append to
25137 [generic sys/syscall.h] (common-generated): Likewise.
25138 * sysdeps/unix/errnos-tmpl.c: Remove file.
25139 * sysdeps/unix/errnos.awk: Likewise.
25140 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25141 * sysdeps/unix/ioctls.awk: Likewise.
25142 * sysdeps/unix/mk-local_lim.c: Likewise.
25143 * sysdeps/unix/snarf-ioctls: Likewise.
25145 2012-03-19 Richard Henderson <rth@twiddle.net>
25147 * sysdeps/i386/fpu/fenv_private.h: New file.
25148 * sysdeps/i386/fpu/math_private.h: Use it.
25149 (math_opt_barrier, math_force_eval): Remove.
25150 (libc_feholdexcept_setround_53bit): Remove.
25151 (libc_feupdateenv_53bit): Remove.
25152 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25153 (math_opt_barrier, math_force_eval): Remove.
25154 (libc_feholdexcept): Remove.
25155 (libc_feholdexcept_setround): Remove.
25156 (libc_fetestexcept, libc_fesetenv): Remove.
25157 (libc_feupdateenv_test): Remove.
25158 (libc_feupdateenv, libc_feholdsetround): Remove.
25159 (libc_feresetround): Remove.
25161 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25162 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25164 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25165 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25166 (libc_feupdateenv_testl): New.
25167 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25168 (libc_feupdateenv_testf): New.
25169 (libc_feupdateenv): Use libc_feupdateenv_test.
25170 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25171 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25173 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25174 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25175 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25176 (libc_feresetround_noex): New.
25177 (libc_feresetround_noexf): New.
25178 (libc_feresetround_noexl): New.
25179 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25180 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25181 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25182 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25184 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25187 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25188 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25189 SET_RESTORE_ROUND_NOEX.
25190 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25191 SET_RESTORE_ROUND_NOEXF.
25192 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25193 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25194 (libc_feholdsetroundf): New.
25195 (libc_feresetround, libc_feresetroundf): New.
25197 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25198 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25199 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25201 * sysdeps/generic/math_private.h: Include <fenv.h>.
25202 (default_libc_feholdexcept): New.
25203 (default_libc_feholdexcept_setround): New.
25204 (default_libc_fesetenv, default_libc_feupdateenv): New.
25205 (libc_feholdexcept): Only define if undefined.
25206 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25207 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25208 (libc_feholdexcept_setroundl): Likewise.
25209 (libc_feholdexcept_setround_53bit): Likewise.
25210 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25211 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25212 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25213 (libc_feupdateenv_53bit): Likewise.
25214 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25215 (libc_feholdexcept): Convert from macro to inline function.
25216 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25217 (libc_fesetenv, libc_feupdateenv): Likewise.
25219 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25220 not previously defined.
25221 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25222 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25223 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25224 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25225 * sysdeps/ieee754/flt-32/math_private.h: New file.
25226 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25227 math_private.h below SET_FLOAT_WORD.
25228 (__isnan, __isinf_ns, __finite): Remove.
25229 (__isnanf, __isinf_nsf, __finitef): Remove.
25231 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25235 2012-03-17 David S. Miller <davem@davemloft.net>
25238 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25241 2012-03-16 David S. Miller <davem@davemloft.net>
25243 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25247 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25249 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25250 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25251 sysdep_routines when subdir is sysvipc.
25252 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25253 __getshmlba helper.
25255 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25257 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25259 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25262 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25264 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25265 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25266 (__lround): Renamed to ...
25267 (__llround): This. Replace long int with long long int.
25268 Define lround functions as aliases of llround functions.
25269 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25271 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25273 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25274 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25275 adresses to uintptr_t. Replace "long int" and "unsigned long
25276 int" with "greg_t" on va_arg.
25278 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25280 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25281 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25283 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25284 Move e_machine check before EI_CLASS check. Handle x32
25285 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25286 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25287 SKIP_EM_IA_64 and include
25288 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25290 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25291 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25292 (add_system_dir): New macro.
25294 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25295 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25297 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25308 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25310 * math/w_j0f.c (j0f): Likewise.
25312 * math/w_j0l.c (__j0l): Likewise.
25314 * math/w_j1.c (j1): Likewise.
25316 * math/w_j1f.c (j1f): Likewise.
25318 * math/w_j1l.c (__j1l): Likewise.
25320 * math/w_jn.c (jn): Likewise.
25322 * math/w_jnf.c (jnf): Likewise.
25324 * math/w_jnl.c (__jnl): Likewise.
25326 * math/libm-test.inc (j0_test): Add more tests.
25327 (j1_test): Likewise.
25328 (jn_test): Likewise. Add trailing semicolon to existing test.
25329 (y0_test): Likewise.
25330 (y1_test): Likewise.
25331 * sysdeps/i386/fpu/libm-test-ulps: Update.
25332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25336 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25337 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25338 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25340 (__tanl): Set errno for infinite argument.
25341 * sysdeps/i386/fpu/mptan.c: Remove.
25342 * sysdeps/i386/fpu/s_tan.S: Likewise.
25343 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25344 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25345 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25346 * math/libm-test.inc (tan_test): Add more tests and enable more
25347 tests for double and long double.
25348 * sysdeps/i386/fpu/libm-test-ulps: Update.
25349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25351 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25353 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25354 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25356 2012-03-16 Roland McGrath <roland@hack.frob.com>
25358 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25359 * configure.in: Use it for both main tree and add-ons.
25360 * configure: Regenerated.
25362 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25364 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25366 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25368 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25372 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25373 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25374 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25375 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25376 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25378 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25380 != 0 for prec == 2.
25381 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25382 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25383 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25384 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25385 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25386 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25387 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25388 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25389 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25390 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25391 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25392 * math/libm-test.inc (cos_test): Add more tests and enable more
25393 tests for long double.
25394 (sin_test): Likewise.
25395 (sincos_test): Likewise.
25396 * sysdeps/i386/fpu/libm-test-ulps: Update.
25397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25399 2012-03-16 David S. Miller <davem@davemloft.net>
25401 * sysdeps/sparc/fpu/math_private.h: New file.
25403 2012-03-15 David S. Miller <davem@davemloft.net>
25405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25415 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25419 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25420 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25422 * sysdeps/sparc/sparc-ifunc.h: New file.
25423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25449 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25450 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25451 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25452 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25455 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25456 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25459 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25460 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25461 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25462 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25463 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25464 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25465 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25468 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25470 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25474 2012-03-15 Andreas Jaeger <aj@suse.de>
25477 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25478 ieee754/flt-32 implementation for sin, cos and sincos.
25479 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25480 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25481 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25482 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25483 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25484 ieee754/flt-32 implementation for tan.
25486 * math/libm-test.inc (cos_test): Enable some large input tests for
25488 (sin_test): Likewise.
25489 (sincos_test): Likewise.
25490 (tan_test): Add tests for large input.
25492 * sysdeps/i386/fpu/libm-test-ulps: Update.
25494 2012-03-15 Andreas Jaeger <aj@suse.de>
25497 * math/libm-test.inc (cos_test): Add more test cases.
25498 (sin_test): Likewise.
25499 (sincos_test): Likewise.
25501 2012-03-15 Andreas Jaeger <aj@suse.de>
25504 * math/libm-test.inc (cos_test): Add a test case for large input
25506 (sin_test): Likewise.
25507 (sincos_test): Likewise.
25509 2012-03-15 Andreas Jaeger <aj@suse.de>,
25510 Joseph Myers <joseph@codesourcery.com>
25513 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25514 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25515 * sysdeps/i386/fpu/branred.c: Likewise.
25516 * sysdeps/i386/fpu/dosincos.c: Likewise.
25517 * sysdeps/i386/fpu/mpa.c: Likewise.
25518 * sysdeps/i386/fpu/s_cos.S: Likewise.
25519 * sysdeps/i386/fpu/s_sin.S: Likewise.
25520 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25521 * sysdeps/i386/fpu/sincos32.c: Likewise.
25523 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25525 (libc_feupdateenv_53bit): Define.
25526 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25528 (libc_feupdateenv_53bit): Define.
25530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25531 53 bit (without extend i386 double precision).
25533 * math/libm-test.inc (sincos_test): Add tests for large input.
25537 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25539 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25543 2012-03-15 David S. Miller <davem@davemloft.net>
25545 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25546 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25547 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25548 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25551 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25552 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25572 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25573 fmin/fmax sysdep routines.
25574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25576 2012-03-14 David S. Miller <davem@davemloft.net>
25578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25580 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25584 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25585 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25588 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25589 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25596 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25597 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25600 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25603 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25604 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25606 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25650 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25655 * sysdeps/sparc/configure.in: New file.
25656 * sysdeps/sparc/configure: Generate.
25657 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25658 * configure: Regenerate.
25659 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25660 * config.make.in (have-as-vis3): New.
25661 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25662 available use -Av9d instead of -Av9a.
25663 * sysdeps/sparc/sparc64/Makefile: Likewise.
25664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25676 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25677 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25679 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25680 fzeros/fnegs to load 0x80000000 into a float register instead of
25682 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25684 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25688 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25689 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25690 ($(inst_includedir)/bits/syscall.h): Remove rule.
25691 ($(objpfx)bits/syscall.d): Include instead of
25692 $(objpfx)syscall-list.d.
25693 (generated): Change syscall-list.h and syscall-list.d to
25694 bits/syscall.h and bits/syscall.d.
25696 2012-03-14 Roland McGrath <roland@hack.frob.com>
25699 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25701 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25704 * math/s_csqrt.c: Include <float.h>.
25705 (__csqrt): Scale large or subnormal inputs.
25706 * math/s_csqrtf.c: Likewise.
25707 * math/s_csqrtl.c: Likewise.
25708 * math/libm-test.inc (csqrt_test): Add more tests.
25709 * sysdeps/i386/fpu/libm-test-ulps: Update.
25710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25713 * math/libm-test.inc (hypot_test): Add more tests.
25715 2012-03-13 David S. Miller <davem@davemloft.net>
25718 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25719 double-precision for the calculation instead of scaling.
25721 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25723 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25724 manipulate bits before adding and subtracting TWO52[sx].
25725 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25728 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25730 2012-03-13 David S. Miller <davem@davemloft.net>
25732 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25733 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25734 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25735 rtld-global-offsets.h
25736 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25738 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25741 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25743 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25744 'err' in the ifdef scope in which it is actually used.
25746 * nss/nss_db/db-init.c: Include string.h
25748 2012-03-12 David S. Miller <davem@davemloft.net>
25750 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25751 masking out of the most significant byte of random value used.
25752 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25753 Fix coding style in previous change.
25755 * sysdeps/unix/sysv/linux/kernel-features.h
25756 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25757 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25759 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25762 2012-03-11 David S. Miller <davem@davemloft.net>
25764 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25765 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25766 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25767 for 'resultvar' otherwise things get truncated on 64-bit.
25769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25770 Fix masking out of the most significant byte of random value used.
25772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25774 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25778 2012-03-09 David S. Miller <davem@davemloft.net>
25780 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25781 variables with appropriate CPP guards.
25782 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25783 frame pointer, not the stack pointer. Correct layout comments. Fix test
25784 on resulting framesize and the management of the outregs buffer for pltexit.
25785 Preserve floating point return values across _dl_call_pltexit call.
25786 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25787 framesize and the management of the outregs buffer for pltexit.
25788 Preserve floating point return values across _dl_call_pltexit
25790 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25791 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25792 (print_exit): Fix format string for return register value.
25794 2012-03-10 Joseph Myers <joseph@codesourcery.com>
25796 * sunrpc/Makefile (others): Add rpcgen.
25797 ($(objpfx)rpcgen): Remove special build rule and dependency on
25799 * sunrpc/rpcgen.c: New file.
25801 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25804 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25805 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25806 * sysdeps/i386/crti.S: Likewise.
25807 * sysdeps/i386/crtn.S: Likewise.
25808 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25809 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25810 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25811 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25812 * sysdeps/sh/crti.S: Likewise.
25813 * sysdeps/sh/crtn.S: Likewise.
25814 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25817 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25819 * locale/programs/locfile-kw.gperf: Likewise.
25820 * locale/programs/charmap-kw.h: Regenerated.
25821 * locale/programs/locfile-kw.h: Likewise.
25824 * intl/plural.y: Replace FSF snail mail address with URL.
25825 * intl/plural.c: Regenerated.
25827 2012-03-09 Richard Henderson <rth@twiddle.net>
25829 * include/math_private.h: Remove file.
25830 * math/math_private.h: Move file ...
25831 * sysdeps/generic/math_private.h: ... here.
25833 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25834 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25835 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25837 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
25838 and <math_private.h>.
25839 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25840 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25841 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25842 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25843 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25854 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25855 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25856 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25860 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25861 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25863 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25864 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25865 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25866 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25868 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25869 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25870 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25871 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25872 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25873 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25874 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25875 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25876 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25877 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25878 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25879 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25880 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25881 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25882 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25883 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25884 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25885 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25886 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25887 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25888 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25889 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25890 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25891 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25892 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25893 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25894 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25895 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25896 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25897 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25898 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25899 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25900 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25901 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25902 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25903 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25904 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25905 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25906 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25907 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25908 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25909 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25910 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25911 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25912 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25913 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25916 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25919 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25920 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25921 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25922 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25923 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25924 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25926 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25927 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25928 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25929 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25930 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25931 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25932 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25933 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25934 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25935 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25936 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25938 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25939 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25940 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25941 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25942 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25943 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25944 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25945 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25946 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25947 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25948 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25949 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25950 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25951 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25952 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25953 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25954 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25955 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25956 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25957 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25958 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25959 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25960 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25961 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25962 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25963 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25964 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25965 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25966 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25967 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25968 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25969 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25970 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25971 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25972 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25973 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25974 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25975 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25976 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25977 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25978 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25979 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25980 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25981 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25982 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25983 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25984 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25985 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25986 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25987 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25988 * sysdeps/ieee754/k_standard.c: Likewise.
25989 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25990 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25992 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25993 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25994 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25995 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25996 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25997 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25998 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25999 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26000 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26001 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26002 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26003 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26004 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26005 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26006 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26007 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26008 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26009 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26010 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26011 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26012 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26013 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26014 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26015 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26016 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26017 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26018 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26019 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26020 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26021 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26022 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26023 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26024 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26025 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26026 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26027 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26028 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26029 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26030 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26031 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26032 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26033 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26034 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26035 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26036 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26037 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26038 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26039 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26040 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26041 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26042 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26043 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26044 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26045 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26046 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26047 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26048 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26049 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26050 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26051 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26052 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26053 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26055 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26056 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26057 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26058 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26059 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26062 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26063 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26064 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26065 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26066 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26067 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26068 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26069 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26071 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26072 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26073 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26074 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26075 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26076 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26077 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26078 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26079 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26080 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26081 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26082 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26084 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26085 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26086 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26087 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26088 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26091 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26092 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26093 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26096 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26097 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26098 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26099 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26100 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26101 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26102 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26103 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26104 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26105 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26106 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26107 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26108 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26109 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26110 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26111 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26112 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26114 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26115 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26116 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26117 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26118 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26119 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26120 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26121 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26122 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26123 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26124 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26125 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26126 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26127 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26128 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26129 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26130 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26131 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26132 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26133 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26135 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26136 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26137 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26138 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26139 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26140 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26141 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26142 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26143 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26144 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26145 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26146 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26147 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26148 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26149 * sysdeps/ieee754/s_lib_version.c: Likewise.
26150 * sysdeps/ieee754/s_matherr.c: Likewise.
26151 * sysdeps/ieee754/s_signgam.c: Likewise.
26152 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26153 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26154 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26155 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26156 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26157 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26158 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26159 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26160 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26161 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26162 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26163 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26164 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26165 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26166 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26167 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26168 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26169 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26170 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26171 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26172 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26174 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26176 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26177 * sunrpc/rpc_main.c: Likewise.
26178 * sunrpc/rpc_svcout.c: Likewise.
26180 2012-03-09 David S. Miller <davem@davemloft.net>
26182 * include/math_private.h: New file.
26184 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26186 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26187 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26188 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26189 from <bits/socket_type.h>.
26190 (enum __socket_type): Don't define here.
26191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26192 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26193 bits/socket_type.h.
26196 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26197 checking __USE_GNU.
26199 * Makerules ($(inst_includedir)/%.h): New rule.
26200 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26201 (install-others): Remove variable setting.
26202 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26204 2012-03-08 Richard Henderson <rth@twiddle.net>
26206 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26207 from macro to inline function; merge with the
26208 !__LIBC_INTERNAL_MATH_INLINES version.
26209 (__ieee754_sqrtf): Likewise.
26211 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26212 to inline function.
26213 (__rintf, __floor, __floorf): Likewise.
26215 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26216 macro to inline function.
26217 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26219 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26220 not <math/math_private.h>.
26222 2012-03-08 David S. Miller <davem@davemloft.net>
26224 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26226 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26228 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26230 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26232 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26233 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26235 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26237 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26238 be defined individually, they must be defined as a block. Define
26239 S for printing a string instead of hidint the different by using a
26240 macro for adding the 'l'.
26241 * stdio-common/tst-fphex-wide.c: Adjust.
26243 2012-03-07 Marek Polacek <polacek@redhat.com>
26245 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26247 2012-03-08 Marek Polacek <polacek@redhat.com>
26250 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26251 * stdio-common/tst-fphex.c: Define a few macros to make the
26252 test reusable. Use them.
26253 * stdio-common/tst-fphex-wide.c: New file.
26255 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26258 * manual/macros.texi (gnusystems): New macro.
26259 (nongnusystems): Likewise.
26260 (gnulinuxhurdsystems): Likewise.
26261 (gnuhurdsystems): Likewise..
26262 (gnulinuxsystems): Likewise.
26263 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26264 variants of the GNU system, not "GNU system".
26265 * manual/conf.texi: Likewise.
26266 * manual/errno.texi: Likewise. Update example of errno macro
26268 * manual/filesys.texi: Likewise.
26269 (getumask): Document as specific to GNU/Hurd.
26270 * manual/install.texi: Likewise. Reword some references to
26272 * manual/intro.texi: Likewise.
26273 * manual/io.texi: Likewise.
26274 (File Name Portability): Detail which constraints are inapplicable
26275 to all GNU systems and which are only inapplicable to GNU/Hurd.
26276 * manual/job.texi: Likewise.
26277 * manual/llio.texi: Likewise.
26278 (O_NOCTTY): Document as present on GNU/Linux.
26279 * manual/maint.texi: Likewise.
26280 * manual/memory.texi: Likewise.
26281 * manual/pattern.texi: Likewise.
26282 * manual/pipe.texi: Likewise.
26283 * manual/process.texi: Likewise.
26284 * manual/resource.texi: Likewise.
26285 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26287 * manual/setjmp.texi: Likewise.
26288 * manual/signal.texi: Likewise.
26289 * manual/startup.texi: Likewise.
26290 * manual/stdio.texi: Likewise.
26291 * manual/terminal.texi: Likewise.
26292 (ONLCR): Document as POSIX.
26293 (OXTABS): Document availability on GNU/Linux as XTABS.
26294 (ONOEOT): Document availability separately from other bits.
26295 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26296 * manual/time.texi: Likewise.
26297 * manual/users.texi: Likewise.
26298 * INSTALL: Regenerated.
26299 * sysdeps/gnu/errlist.c: Regenerated.
26301 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26302 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26303 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26305 * configure: Regenerated.
26307 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26309 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26310 default includes instead of AC_HEADER_CHECK.
26311 * sysdeps/i386/configure: Regenerated.
26314 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26315 * math/s_cacoshf.c (__cacoshf): Likewise.
26316 * math/s_cacoshl.c (__cacoshl): Likewise.
26317 * math/s_casinh.c (__casinh): Set signs of result from argument.
26318 * math/s_casinhf.c (__casinhf): Likewise.
26319 * math/s_casinhl.c (__casinhl): Likewise.
26320 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26321 (casinh_test): Add more tests.
26322 * sysdeps/i386/fpu/libm-test-ulps: Update.
26323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26325 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26327 * po/zh_TW.po: Update from translation team.
26329 * login/Makefile (distribute): Remove variable.
26330 * catgets/Makefile: Likewise.
26331 * mach/Makefile: Likewise.
26332 * malloc/Makefile: Likewise.
26333 * misc/Makefile: Likewise.
26334 * iconv/Makefile: Likewise.
26335 * nscd/Makefile: Likewise.
26336 * hurd/Makefile: Likewise.
26337 * manual/Makefile: Likewise.
26338 * locale/Makefile: Likewise.
26339 * intl/Makefile: Likewise.
26340 * conform/Makefile: Likewise.
26341 * nss/Makefile: Likewise.
26342 * time/Makefile: Likewise.
26343 * soft-fp/Makefile: Likewise.
26344 * dirent/Makefile: Likewise.
26345 * gmon/Makefile: Likewise.
26346 * po/Makefile: Likewise.
26347 * rt/Makefile: Likewise.
26348 * socket/Makefile: Likewise.
26349 * math/Makefile: Likewise.
26350 * signal/Makefile: Likewise.
26351 * debug/Makefile: Likewise.
26352 * elf/Makefile: Likewise.
26353 * timezone/Makefile: Likewise.
26354 * stdlib/Makefile: Likewise.
26355 * iconvdata/Makefile: Likewise.
26356 * sunrpc/Makefile: Likewise.
26357 * io/Makefile: Likewise.
26358 * argp/Makefile: Likewise.
26359 * inet/Makefile: Likewise.
26360 * hesiod/Makefile: Likewise.
26361 * grp/Makefile: Likewise.
26362 * csu/Makefile: Likewise.
26363 * wctype/Makefile: Likewise.
26364 * crypt/Makefile: Likewise.
26365 * libio/Makefile: Likewise.
26366 * string/Makefile: Likewise.
26367 * nis/Makefile: Likewise.
26368 * resolv/Makefile: Likewise.
26369 * stdio-common/Makefile: Likewise.
26370 * wcsmbs/Makefile: Likewise.
26371 * dlfcn/Makefile: Likewise.
26372 * posix/Makefile: Likewise.
26375 * timezone/Makefile: Don't install timezone files, just the programs
26378 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26380 * nss/databases.def: Add missing gshadow entry.
26382 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26384 2012-03-06 Marek Polacek <polacek@redhat.com>
26387 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26388 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26389 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26390 * stdio-common/tst-long-dbl-fphex.c: New file.
26392 2012-03-06 David S. Miller <davem@davemloft.net>
26394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26395 (set_obp_int): New function.
26396 (get_obp_int): New function.
26397 (__get_clockfreq_via_dev_openprom): Likewise.
26398 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26399 Avoid unused variable warnings on 'val' and use builtin_expect.
26400 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26402 (INLINE_CLONE_SYSCALL): Likewise.
26404 2012-03-05 David S. Miller <davem@davemloft.net>
26406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26408 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26412 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26413 only for |x| >= 40.
26414 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26416 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26419 Replace gettimeofday with __vdso_gettimeofday.
26421 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26422 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26423 __vdso_clock_gettime and __vdso_getcpu.
26425 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26426 time with __vdso_time.
26428 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26430 * manual/lang.texi (size_t): Note types to which size_t may be
26431 equivalent with the GNU C Library, but do not describe when
26432 differences between them are significant.
26434 2012-03-05 Andreas Jaeger <aj@suse.de>
26436 * sysdeps/i386/fpu/libm-test-ulps: Update.
26438 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26441 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26442 (__ieee754_pow): Save and restore rounding mode and use
26443 round-to-nearest for main computations.
26444 * math/libm-test.inc (pow_test_tonearest): New function.
26445 (pow_test_towardzero): Likewise.
26446 (pow_test_downward): Likewise.
26447 (pow_test_upward): Likewise.
26448 (main): Call the new functions.
26449 * sysdeps/i386/fpu/libm-test-ulps: Update.
26450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26453 * math/libm-test.inc (cosh_test_tonearest): New function.
26454 (cosh_test_towardzero): Likewise.
26455 (cosh_test_downward): Likewise.
26456 (cosh_test_upward): Likewise.
26457 (sinh_test_tonearest): Likewise.
26458 (sinh_test_towardzero): Likewise.
26459 (sinh_test_downward): Likewise.
26460 (sinh_test_upward): Likewise.
26461 (main): Call the new functions.
26462 * sysdeps/i386/fpu/libm-test-ulps: Update.
26463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26465 2012-03-05 Tom de Vries <tom@codesourcery.com>
26467 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26468 default stack guard is set in last bytes.
26469 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26471 2012-03-05 Kees Cook <keescook@chromium.org>
26473 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26476 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26477 possibly allocate from heap instead of stack.
26478 * stdio-common/bug-vfprintf-nargs.c: New file.
26479 * stdio-common/Makefile (tests): Add nargs overflow test.
26481 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26483 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26485 2012-03-03 Marek Polacek <polacek@redhat.com>
26487 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26488 * math/math_private.h: Likewise.
26489 * stdlib/tst-strtod.c: Likewise.
26490 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26491 * sysdeps/x86_64/bits/atomic.h: Likewise.
26493 2012-03-02 David S. Miller <davem@davemloft.net>
26495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26499 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26500 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26501 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26502 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26504 2012-03-02 Roland McGrath <roland@hack.frob.com>
26507 * manual/examples/README: New file, says the example source files
26508 can be used under GPL>=2.
26509 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26510 line containing just "*/".
26511 * manual/examples/add.c: Add copyright header (GPL>=2).
26512 * manual/examples/argp-ex1.c: Likewise.
26513 * manual/examples/argp-ex2.c: Likewise.
26514 * manual/examples/argp-ex3.c: Likewise.
26515 * manual/examples/argp-ex4.c: Likewise.
26516 * manual/examples/atexit.c: Likewise.
26517 * manual/examples/db.c: Likewise.
26518 * manual/examples/dir.c: Likewise.
26519 * manual/examples/dir2.c: Likewise.
26520 * manual/examples/execinfo.c: Likewise.
26521 * manual/examples/filecli.c: Likewise.
26522 * manual/examples/filesrv.c: Likewise.
26523 * manual/examples/fmtmsgexpl.c: Likewise.
26524 * manual/examples/genpass.c: Likewise.
26525 * manual/examples/inetcli.c: Likewise.
26526 * manual/examples/inetsrv.c: Likewise.
26527 * manual/examples/isockad.c: Likewise.
26528 * manual/examples/longopt.c: Likewise.
26529 * manual/examples/memopen.c: Likewise.
26530 * manual/examples/memstrm.c: Likewise.
26531 * manual/examples/mkfsock.c: Likewise.
26532 * manual/examples/mkisock.c: Likewise.
26533 * manual/examples/mygetpass.c: Likewise.
26534 * manual/examples/pipe.c: Likewise.
26535 * manual/examples/popen.c: Likewise.
26536 * manual/examples/rprintf.c: Likewise.
26537 * manual/examples/search.c: Likewise.
26538 * manual/examples/select.c: Likewise.
26539 * manual/examples/setjmp.c: Likewise.
26540 * manual/examples/sigh1.c: Likewise.
26541 * manual/examples/sigusr.c: Likewise.
26542 * manual/examples/stpcpy.c: Likewise.
26543 * manual/examples/strdupa.c: Likewise.
26544 * manual/examples/strftim.c: Likewise.
26545 * manual/examples/strncat.c: Likewise.
26546 * manual/examples/subopt.c: Likewise.
26547 * manual/examples/swapcontext.c: Likewise.
26548 * manual/examples/termios.c: Likewise.
26549 * manual/examples/testopt.c: Likewise.
26550 * manual/examples/testpass.c: Likewise.
26551 * manual/examples/timeval_subtract.c: Likewise.
26554 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26556 * manual/timeval_subtract.c.texi: ... here, new file.
26558 2012-03-02 David S. Miller <davem@davemloft.net>
26560 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26562 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26565 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26566 (__sin): Save and restore rounding mode and use round-to-nearest
26567 for all computations.
26568 (__cos): Save and restore rounding mode and use round-to-nearest
26569 for all computations.
26570 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26572 (tan): Save and restore rounding mode and use round-to-nearest for
26574 * math/libm-test.inc (cos_test_tonearest): New function.
26575 (cos_test_towardzero): Likewise.
26576 (cos_test_downward): Likewise.
26577 (cos_test_upward): Likewise.
26578 (sin_test_tonearest): Likewise.
26579 (sin_test_towardzero): Likewise.
26580 (sin_test_downward): Likewise.
26581 (sin_test_upward): Likewise.
26582 (tan_test_tonearest): Likewise.
26583 (tan_test_towardzero): Likewise.
26584 (tan_test_downward): Likewise.
26585 (tan_test_upward): Likewise.
26586 (main): Call the new functions.
26587 * sysdeps/i386/fpu/libm-test-ulps: Update.
26588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26591 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26592 small n, then large n, before computing and testing k+n.
26593 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26594 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26596 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26598 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26599 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26600 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26601 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26602 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26603 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26604 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26606 * math/libm-test.inc (scalbn_test): Add more tests.
26607 (scalbln_test): Likewise.
26609 * manual/filesys.texi (mode_t): Describe constraints on size and
26610 signedness, not exact equivalence to a particular type.
26612 (ino64_t): Likewise.
26614 (nlink_t): Likewise.
26615 (blkcnt_t): Likewise.
26616 (blkcnt64_t): Likewise.
26617 * manual/llio.texi (off_t): Likewise.
26620 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26621 (__ieee754_exp): Save and restore rounding mode and use
26622 round-to-nearest for all computations.
26623 * math/libm-test.inc (exp_test_tonearest): New function.
26624 (exp_test_towardzero): Likewise.
26625 (exp_test_downward): Likewise.
26626 (exp_test_upward): Likewise.
26627 (main): Call the new functions.
26628 * sysdeps/i386/fpu/libm-test-ulps: Update.
26629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26631 2012-03-01 Chris Demetriou <cgd@google.com>
26633 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26634 have predictable order.
26636 2012-03-01 David S. Miller <davem@davemloft.net>
26638 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26640 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26641 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26642 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26643 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26645 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26646 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26647 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26649 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26650 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26651 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26652 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26653 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26657 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26658 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26659 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26661 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26662 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26663 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26664 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26665 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26666 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26667 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26668 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26669 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26670 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26671 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26672 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26673 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26674 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26675 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26677 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26678 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26679 * sysdeps/sparc/elf/configure: Regenerated.
26681 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26683 * configure.in (AS, LD): Require binutils 2.20 or later.
26684 * configure: Regenerated.
26685 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26686 as required minimum version.
26687 * INSTALL: Regenerated.
26691 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26692 before squaring exponent.
26693 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26694 bottom long double and 27 bits of top long double before squaring
26696 * math/libm-test.inc (erfc_test): Add more tests.
26697 * sysdeps/i386/fpu/libm-test-ulps: Update.
26698 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26701 2012-03-01 Kai Tietz <ktietz@redhat.com>
26703 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26704 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26705 containing bit-fields.
26706 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26707 * soft-fp/single.h (_FP_UNION_S): Likewise.
26708 * soft-fp/double.h (_FP_UNION_D): Likewise.
26710 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26713 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26714 not include ../strcmp.S.
26715 [USE_AS_STRNCASECMP_L]: Likewise.
26716 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26717 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26718 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26719 (__strncasecmp_l_ia32): Define as alias to
26720 __strncasecmp_l_nonascii.
26723 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26724 * sysdeps/i386/fpu/libm-test-ulps: Update.
26725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26727 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26730 2012-02-29 Jeff Law <law@redhat.com>
26732 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26733 out of bounds read.
26735 2012-02-29 Marek Polacek <polacek@redhat.com>
26738 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26739 * elf/Makefile: Add rules to run tst-unused-dep.out.
26741 2012-02-28 David S. Miller <davem@davemloft.net>
26743 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26744 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26745 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26746 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26747 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26748 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26750 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26752 * math/libm-test.inc (llround_test): Move one test from
26753 lround_test. Use TEST_f_L in moved test.
26754 (lround_test): Move misplaced test to llround_test. Add testcase
26757 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26759 * sysdeps/x86_64/fpu/e_expf.S: New file.
26760 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26762 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26765 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26766 of remain_len that may cause incomplete multi-byte character and
26768 * posix/bug-regex33.c: New file.
26769 * posix/Makefile (tests): Add bug-regex33.
26771 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26773 * manual/macros.texi: New file.
26774 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26775 * manual/libc.texinfo: Include macros.texi.
26776 * manual/creatute.texi: Likewise.
26777 * manual/install.texi: Likewise.
26778 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26779 @glibcadj{} in references to the GNU C Library.
26780 * manual/charset.texi: Likewise.
26781 * manual/conf.texi: Likewise.
26782 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26783 when not using those macros.
26784 * manual/creature.texi: Likewise.
26785 * manual/crypt.texi: Likewise.
26786 * manual/errno.texi: Likewise.
26787 * manual/filesys.texi: Likewise.
26788 * manual/header.texi: Likewise.
26789 * manual/install.texi: Likewise.
26790 * manual/intro.texi: Likewise.
26791 * manual/io.texi: Likewise.
26792 * manual/job.texi: Likewise.
26793 * manual/lang.texi: Likewise.
26794 * manual/libc.texiinfo: Likewise.
26795 * manual/llio.texi: Likewise.
26796 * manual/locale.texi: Likewise.
26797 * manual/maint.texi: Likewise.
26798 * manual/math.texi: Likewise.
26799 * manual/memory.texi: Likewise.
26800 * manual/message.texi: Likewise.
26801 * manual/nss.texi: Likewise.
26802 * manual/pattern.texi: Likewise.
26803 * manual/process.texi: Likewise.
26804 * manual/resource.texi: Likewise.
26805 * manual/search.texi: Likewise.
26806 * manual/setjmp.texi: Likewise.
26807 * manual/signal.texi: Likewise.
26808 * manual/socket.texi: Likewise.
26809 * manual/startup.texi: Likewise.
26810 * manual/stdio.texi: Likewise.
26811 * manual/string.texi: Likewise.
26812 * manual/sysinfo.texi: Likewise.
26813 * manual/syslog.texi: Likewise.
26814 * manual/terminal.texi: Likewise.
26815 * manual/time.texi: Likewise.
26816 * manual/users.texi: Likewise.
26817 * INSTALL: Regenerated.
26818 * NOTES: Regenerated.
26819 * sysdeps/gnu/errlist.c: Regenerated.
26821 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26823 * include/dirent.h: Include <dirstream.h> before
26826 2012-02-28 David S. Miller <davem@davemloft.net>
26828 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26829 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26830 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26831 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26833 2012-02-27 David S. Miller <davem@davemloft.net>
26835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26837 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26838 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26841 frame pointer instead of stack pointer relative arg slot.
26842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26843 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26844 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26846 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26849 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26851 2012-02-27 David S. Miller <davem@davemloft.net>
26853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26857 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26858 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26859 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26860 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26862 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26864 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26865 later. Allow versions 5-9.
26866 * configure: Regenerated.
26867 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26868 required minimum version and 4.6 as recommended version. Do not
26869 mention bugs in GCC 2.7 and 2.8.
26870 * INSTALL: Regenerated.
26872 2012-02-27 David S. Miller <davem@davemloft.net>
26874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26880 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26881 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26884 manipulate bits before adding and subtracting TWO112[sx].
26885 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26887 2012-02-27 Roland McGrath <roland@hack.frob.com>
26890 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26891 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26892 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26893 being in POSIX, because they are in 1003.1-2008.
26895 * rt/tst-aio.c: Include <fcntl.h>.
26896 * rt/tst-aio7.c: Likewise.
26897 * rt/tst-aio64.c: Likewise.
26899 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26901 2012-02-27 Joseph Myers <joseph@codesourcery.com>
26903 * manual/install.texi (--with-headers): Describe headers as
26904 interface headers, not private headers.
26905 (Specific advice for GNU/Linux systems): Describe use of headers
26906 from "make headers_install", not private headers from older
26908 * INSTALL: Regenerated.
26909 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26911 * sysdeps/unix/sysv/linux/configure: Regenerated.
26913 * manual/llio.texi (fclean): Remove documentation.
26915 * manual/Makefile (libc-texi-generated): New variable. Include
26917 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26918 $(libc-texi-generated), not duplicated list of files.
26919 (version.texi, stamp-version): New rules.
26920 (realclean): Remove $(libc-texi-generated), not individual files
26921 from that list. Do not remove dir-add.texinfo.
26922 * manual/libc.texinfo: Comment out uses of edition numbers and
26923 references to printed manual. Remove last-updated dates.
26924 (EDITION): Comment out.
26926 (VERSION, UPDATED): Remove.
26927 (version.texi): Include.
26929 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26931 * sysdeps/posix/spawni.c: Include <signal.h>.
26932 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26933 * sysdeps/pthread/aio_fsync.c: Likewise.
26935 2012-02-26 Ulrich Drepper <drepper@gmail.com>
26937 * conform/Makefile (tests): Run only when not cross-compiling and
26938 when fast-check is not defined.
26940 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26941 * conform/data/limits.h-data: Fixes for POSIX2008.
26942 * conform/run-conformtest.sh: Run all tests.
26943 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26945 * include/bits/dlfcn.h: Likewise.
26946 * include/langinfo.h: Likewise.
26947 * include/monetary.h: Likewise.
26948 * include/sys/poll.h: Likewise.
26950 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26952 * posix/spawn.h: Define __need_sigset_t.
26953 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26954 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26955 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26956 to get sigevent_t only.
26957 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26958 only for __USE_GNU.
26959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26960 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26961 process_vm_writev only for __USE_GNU.
26962 * termios/termios.h: Declare tcgetsid also for POSIX2008.
26964 * conform/Makefile: For now ignore errors from run-conformtest.
26965 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26966 POSIX to avoid namespace pollution. Don't prepend headers.
26967 * conform/data/aio.h-data: Fixes for POSIX testing.
26968 * conform/data/fcntl.h-data: Likewise.
26969 * conform/data/glob.h-data: Likewise.
26970 * conform/data/grp.h-data: Likewise.
26971 * conform/data/pthread.h-data: Likewise.
26972 * conform/data/pwd.h-data: Likewise.
26973 * conform/data/signal.h-data: Likewise.
26974 * conform/data/spawn.h-data: Likewise.
26975 * conform/data/stdio.h-data: Likewise.
26976 * conform/data/stdlib.h-data: Likewise.
26977 * conform/data/stropts.h-data: Likewise.
26978 * conform/data/sys/mman.h-data: Likewise.
26979 * conform/data/sys/stat.h-data: Likewise.
26980 * conform/data/sys/types.h-data: Likewise.
26981 * conform/data/sys/wait.h-data: Likewise.
26982 * conform/data/time.h-data: Likewise.
26983 * conform/data/unistd.h-data: Likewise.
26984 * conform/data/utime.h-data: Likewise.
26986 * io/sys/stat.h: fchmod was always in POSIX.
26987 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26988 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26989 * rt/aio.h: Define __need_timespec before including <time.h>.
26990 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26991 struct. Add forward declaration of pthread_attr_t and use it in
26993 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26994 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26995 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26996 always remove CLK_TCK definition.
26998 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27000 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27002 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27004 * conform/run-conformtest.sh: New file.
27005 * conform/Makefile: Run run-conformtest for tests.
27006 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27009 * conform/data/uchar.h-data: New file.
27010 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27011 * conform/data/arpa/inet.h-data: Likewise.
27012 * conform/data/assert.h-data: Likewise.
27013 * conform/data/complex.h-data: Likewise.
27014 * conform/data/cpio.h-data: Likewise.
27015 * conform/data/ctype.h-data: Likewise.
27016 * conform/data/dirent.h-data: Likewise.
27017 * conform/data/dlfcn.h-data: Likewise.
27018 * conform/data/errno.h-data: Likewise.
27019 * conform/data/fcntl.h-data: Likewise.
27020 * conform/data/float.h-data: Likewise.
27021 * conform/data/fmtmsg.h-data: Likewise.
27022 * conform/data/fnmatch.h-data: Likewise.
27023 * conform/data/ftw.h-data: Likewise.
27024 * conform/data/glob.h-data: Likewise.
27025 * conform/data/grp.h-data: Likewise.
27026 * conform/data/iconv.h-data: Likewise.
27027 * conform/data/inttypes.h-data: Likewise.
27028 * conform/data/langinfo.h-data: Likewise.
27029 * conform/data/libgen.h-data: Likewise.
27030 * conform/data/limits.h-data: Likewise.
27031 * conform/data/locale.h-data: Likewise.
27032 * conform/data/math.h-data: Likewise.
27033 * conform/data/monetary.h-data: Likewise.
27034 * conform/data/mqueue.h-data: Likewise.
27035 * conform/data/ndbm.h-data: Likewise.
27036 * conform/data/net/if.h-data: Likewise.
27037 * conform/data/netdb.h-data: Likewise.
27038 * conform/data/netinet/in.h-data: Likewise.
27039 * conform/data/nl_types.h-data: Likewise.
27040 * conform/data/poll.h-data: Likewise.
27041 * conform/data/pthread.h-data: Likewise.
27042 * conform/data/pwd.h-data: Likewise.
27043 * conform/data/regex.h-data: Likewise.
27044 * conform/data/sched.h-data: Likewise.
27045 * conform/data/search.h-data: Likewise.
27046 * conform/data/semaphore.h-data: Likewise.
27047 * conform/data/setjmp.h-data: Likewise.
27048 * conform/data/signal.h-data: Likewise.
27049 * conform/data/spawn.h-data: Likewise.
27050 * conform/data/stdarg.h-data: Likewise.
27051 * conform/data/stdio.h-data: Likewise.
27052 * conform/data/stdlib.h-data: Likewise.
27053 * conform/data/string.h-data: Likewise.
27054 * conform/data/strings.h-data: Likewise.
27055 * conform/data/stropts.h-data: Likewise.
27056 * conform/data/sys/ipc.h-data: Likewise.
27057 * conform/data/sys/mman.h-data: Likewise.
27058 * conform/data/sys/msg.h-data: Likewise.
27059 * conform/data/sys/resource.h-data: Likewise.
27060 * conform/data/sys/select.h-data: Likewise.
27061 * conform/data/sys/sem.h-data: Likewise.
27062 * conform/data/sys/shm.h-data: Likewise.
27063 * conform/data/sys/socket.h-data: Likewise.
27064 * conform/data/sys/stat.h-data: Likewise.
27065 * conform/data/sys/statvfs.h-data: Likewise.
27066 * conform/data/sys/time.h-data: Likewise.
27067 * conform/data/sys/timeb.h-data: Likewise.
27068 * conform/data/sys/times.h-data: Likewise.
27069 * conform/data/sys/types.h-data: Likewise.
27070 * conform/data/sys/uio.h-data: Likewise.
27071 * conform/data/sys/un.h-data: Likewise.
27072 * conform/data/sys/utsname.h-data: Likewise.
27073 * conform/data/sys/wait.h-data: Likewise.
27074 * conform/data/syslog.h-data: Likewise.
27075 * conform/data/tar.h-data: Likewise.
27076 * conform/data/termios.h-data: Likewise.
27077 * conform/data/utime.h-data: Likewise.
27078 * conform/data/utmpx.h-data: Likewise.
27079 * conform/data/varargs.h-data: Likewise.
27080 * conform/data/wchar.h-data: Likewise.
27081 * conform/data/wctype.h-data: Likewise.
27082 * conform/data/wordexp.h-data: Likewise.
27084 * include/stropts.h: New file.
27085 * include/uchar.h: New file.
27086 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27087 * include/assert.h: Likewise.
27088 * include/ctype.h: Likewise.
27089 * include/dirent.h: Likewise.
27090 * include/dlfcn.h: Likewise.
27091 * include/fcntl.h: Likewise.
27092 * include/fnmatch.h: Likewise.
27093 * include/glob.h: Likewise.
27094 * include/grp.h: Likewise.
27095 * include/libio.h: Likewise.
27096 * include/locale.h: Likewise.
27097 * include/math.h: Likewise.
27098 * include/net/if.h: Likewise.
27099 * include/netdb.h: Likewise.
27100 * include/netinet/in.h: Likewise.
27101 * include/pthread.h: Likewise.
27102 * include/pwd.h: Likewise.
27103 * include/regex.h: Likewise.
27104 * include/sched.h: Likewise.
27105 * include/search.h: Likewise.
27106 * include/setjmp.h: Likewise.
27107 * include/signal.h: Likewise.
27108 * include/stdio.h: Likewise.
27109 * include/stdlib.h: Likewise.
27110 * include/string.h: Likewise.
27111 * include/sys/cdefs.h: Likewise.
27112 * include/sys/mman.h: Likewise.
27113 * include/sys/msg.h: Likewise.
27114 * include/sys/resource.h: Likewise.
27115 * include/sys/select.h: Likewise.
27116 * include/sys/socket.h: Likewise.
27117 * include/sys/stat.h: Likewise.
27118 * include/sys/statvfs.h: Likewise.
27119 * include/sys/time.h: Likewise.
27120 * include/sys/times.h: Likewise.
27121 * include/sys/uio.h: Likewise.
27122 * include/sys/utsname.h: Likewise.
27123 * include/sys/wait.h: Likewise.
27124 * include/termios.h: Likewise.
27125 * include/time.h: Likewise.
27126 * include/ulimit.h: Likewise.
27127 * include/unistd.h: Likewise.
27128 * include/utime.h: Likewise.
27129 * include/wchar.h: Likewise.
27130 * include/wctype.h: Likewise.
27131 * include/wordexp.h: Likewise.
27133 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27135 * time/time.h: TIME_UTC must be a macro.
27136 Make timespec_get available for ISO C11 only as well.
27138 2012-02-24 Ulrich Drepper <drepper@gmail.com>
27140 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27141 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27143 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27145 * configure.in: Use -o not -a in test for unsupported multi-arch.
27147 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27149 * manual/texinfo.tex: Update to version 2012-01-19.16.
27151 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27153 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27155 2012-02-24 Roland McGrath <roland@hack.frob.com>
27158 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27159 * manual/fdl-1.3.texi: New file.
27160 * manual/fdl-1.1.texi: File removed.
27163 * manual/libc.texinfo (FDL_VERSION): New @set.
27164 Use it for mention of FDL in cover text.
27165 (Documentation License): Use it in @include file name.
27167 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27168 Roland McGrath <roland@hack.frob.com>
27171 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27172 not LONG_LONG_MAX and LONG_LONG_MIN.
27173 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27174 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27176 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27178 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27182 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27183 manipulate bits before adding and subtracting TWO23[sx].
27184 * math/libm-test.inc (nearbyint_test): Add more tests.
27186 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27189 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27190 bits before adding and subtracting TWO23[sx].
27191 * math/libm-test.inc (rint_test): Add more tests.
27192 (rint_test_tonearest): Likewise.
27193 (rint_test_towardzero): Likewise.
27194 (rint_test_downward): Likewise.
27195 (rint_test_upward: Likewise.
27197 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27200 * include/stdc-predef.h: New file. Extracted from features.h.
27201 * include/features.h: Include stdc-predef.h.
27202 * Makefile (headers): Add stdc-predef.h.
27203 * CONFORMANCE (Compiler limitations): Update.
27205 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27207 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27209 2012-02-21 David S. Miller <davem@davemloft.net>
27211 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27212 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27214 2012-02-20 David S. Miller <davem@davemloft.net>
27216 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27217 using a normal save/restore sequence, rather than allocating a
27218 dummy stack frame just to store a frame pointer and restore.
27219 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27221 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27223 * manual/install.texi: Fix stray word in line-wrapped comment.
27225 2012-02-20 David S. Miller <davem@davemloft.net>
27227 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27228 both binutils and gcc support GOTDATA.
27230 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27231 "rd %pc" in the PIC register setup sequences.
27233 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27234 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27235 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27236 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27237 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27238 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27239 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27241 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27242 (SYSCALL_ERROR_HANDLER): Likewise.
27243 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27244 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27245 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27246 (SYSCALL_ERROR_HANDLER): Likewise.
27248 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27249 (HAVE_GCC_GOTDATA): New.
27250 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27251 relocation support in both binutils and gcc.
27252 * sysdeps/sparc/elf/configure: Regenerate.
27254 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27255 * sysdeps/sparc/sparc32/elf/configure: Delete.
27256 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27257 * sysdeps/sparc/sparc64/elf/configure: Delete.
27258 * sysdeps/sparc/elf/configure.in: New file.
27259 * sysdeps/sparc/elf/configure: Generate.
27261 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27262 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27263 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27264 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27265 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27267 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27269 * manual/install.texi: Do not mention specific glibc version
27271 * manual/libc.texinfo (VERSION, UPDATED): Update.
27272 (@copying): Use @copyright{} and range of years.
27274 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27277 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27278 [crti.S not in sysdirs] (generated): Do not append.
27279 [crti.S not in sysdirs] (omit-deps): Likewise.
27280 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27281 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27282 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27283 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27284 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27286 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27287 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27288 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27289 * csu/defs.awk: Remove file.
27290 * sysdeps/generic/initfini.c: Likewise.
27291 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27293 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27296 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27298 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27299 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27300 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27301 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27302 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27303 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27305 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27306 (__EPOLL_PACKED): Define to empty if not defined by
27308 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27312 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27314 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27315 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27316 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27317 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27319 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27323 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27325 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27328 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27329 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27332 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27334 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27335 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27337 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27339 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27340 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27342 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27344 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27347 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27349 * math/w_acos.c: Use non-signaling floating-point comparisons.
27350 * math/w_acosf.c: Likewise.
27351 * math/w_acosh.c: Likewise.
27352 * math/w_acoshf.c: Likewise.
27353 * math/w_acoshl.c: Likewise.
27354 * math/w_acosl.c: Likewise.
27355 * math/w_asin.c: Likewise.
27356 * math/w_asinf.c: Likewise.
27357 * math/w_asinl.c: Likewise.
27358 * math/w_atanh.c: Likewise.
27359 * math/w_atanhf.c: Likewise.
27360 * math/w_atanhl.c: Likewise.
27361 * math/w_exp2.c: Likewise.
27362 * math/w_exp2f.c: Likewise.
27363 * math/w_exp2l.c: Likewise.
27364 * math/w_j0.c: Likewise.
27365 * math/w_j0f.c: Likewise.
27366 * math/w_j0l.c: Likewise.
27367 * math/w_j1.c: Likewise.
27368 * math/w_j1f.c: Likewise.
27369 * math/w_j1l.c: Likewise.
27370 * math/w_jn.c: Likewise.
27371 * math/w_jnf.c: Likewise.
27372 * math/w_log.c: Likewise.
27373 * math/w_log10.c: Likewise.
27374 * math/w_log10f.c: Likewise.
27375 * math/w_log10l.c: Likewise.
27376 * math/w_log2.c: Likewise.
27377 * math/w_log2f.c: Likewise.
27378 * math/w_log2l.c: Likewise.
27379 * math/w_logf.c: Likewise.
27380 * math/w_logl.c: Likewise.
27381 * math/w_sqrt.c: Likewise.
27382 * math/w_sqrtf.c: Likewise.
27383 * math/w_sqrtl.c: Likewise.
27384 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27385 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27386 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27387 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27388 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27390 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27393 * manual/string.texi (strnlen): Use correct parameter name in
27394 equivalent expression.
27396 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27399 * manual/users.texi (seteuid): Consistently use neweuid for
27402 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27405 * manual/nss.texi (Services in the NSS configuration): Correct
27406 list of services in example configuration file.
27408 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27411 * manual/arith.texi: Remove statements about negative zero
27412 behaving identically to zero.
27414 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27417 * manual/install.texi: Do not document upgrading from libc5.
27419 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27422 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27424 2012-02-18 David S. Miller <davem@davemloft.net>
27426 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27427 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27428 %o7 across the call.
27429 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27432 SETUP_PIC_REG_LEAF.
27433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27434 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27435 * sysdeps/sparc/crtn.S: Likewise.
27437 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27439 * aout/Makefile: Remove.
27441 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27444 * manual/examples/argp-ex1.c (main): Format definition in GNU
27446 * manual/examples/argp-ex2.c (main): Likewise.
27447 * manual/examples/argp-ex3.c (main): Likewise.
27448 * manual/examples/argp-ex4.c (main): Likewise.
27449 * manual/examples/longopt.c (main): Use new-style prototype
27451 * manual/examples/strncat.c (main): Specify return type and use
27452 (void) for arguments.
27453 * manual/examples/subopt.c (main): Use char **argv argument.
27455 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27458 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27461 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27464 * manual/string.texi (strchr): Change when strchrnul is
27467 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27470 * manual/locale.texi (setlocale): Document LOCPATH.
27472 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27475 * manual/process.texi (execle): Move @dots{} before last argument.
27477 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27480 * manual/charset.texi (Generic Charset Conversion): Fix typo
27481 (LC_TYPE -> LC_CTYPE).
27483 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27486 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27487 (scalbnf): Likewise.
27488 (scalbnl): Likewise.
27489 (scalbln): Likewise.
27490 (scalblnf): Likewise.
27491 (scalblnl): Likewise.
27492 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27493 (vwarnx): Likewise.
27496 * manual/filesys.texi (telldir): Use braces around return type.
27497 * manual/llio.texi (mmap): Add space after comma.
27498 (mmap64): Likewise.
27499 * manual/math.texi (jn): Use @var{} on parameter names.
27505 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27507 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27509 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27510 (sched_get_priority_max): Likewise.
27511 * manual/signal.texi (sigvec): Add space after comma.
27512 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27514 (if_indextoname): Likewise.
27515 (if_freenameindex): Likewise.
27516 (sendto): Use ',' instead of '.' in prototype.
27517 * manual/startup.texi (syscall): Use @dots{} instead of literal
27519 * manual/stdio.texi (__fpending): Separate initial words of
27520 paragraph from @deftypefun line.
27521 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27523 (vsyslog): Use @var{} on parameter names.
27524 * manual/terminal.texi (stty): Use @var{} on parameter names.
27525 * manual/users.texi (getutmp): Use @var{} on parameter names.
27526 (getutmpx): Likewise.
27528 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27531 * manual/stdio.texi (fopen): Fix typos in description of
27534 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27537 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27538 get clock_id definition.
27540 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27543 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27544 (madvise): Cast every argument to void on its own.
27546 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27549 * manual/startup.texi (Exit Status): Fix typo.
27551 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27554 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27555 * manual/examples/argp-ex2.c: Likewise.
27556 * manual/examples/argp-ex3.c: Likewise.
27558 2012-02-16 Richard Henderson <rth@redhat.com>
27560 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27561 * sysdeps/s390/s390-32/initfini.c: Remove.
27562 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27563 * sysdeps/s390/s390-64/initfini.c: Remove.
27565 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27567 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27568 compiler output for sysdeps/generic/initfini.c.
27569 * sysdeps/sh/elf/initfini.c: Remove file.
27571 2012-02-16 David S. Miller <davem@davemloft.net>
27574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27576 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27577 * sysdeps/sparc/crti.S: New file.
27578 * sysdeps/sparc/crtn.S: New file.
27579 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27580 * sysdeps/sparc/sparc64/Makefile: Likewise.
27582 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27585 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27587 2012-02-15 Roland McGrath <roland@hack.frob.com>
27590 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27592 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27593 (write, read, close): Likewise.
27594 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27596 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27598 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27599 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27600 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27601 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27603 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27607 2012-02-14 Marek Polacek <polacek@redhat.com>
27609 * sysdeps/x86_64/crti.S: New file.
27610 * sysdeps/x86_64/crtn.S: New file.
27611 * sysdeps/x86_64/elf/initfini.c: Remove file.
27613 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27615 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27616 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27617 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27618 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27620 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27624 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27626 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27627 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27628 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27629 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27631 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27635 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27637 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27638 __feraiseexcept instead of feraiseexcept.
27640 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27641 nanosleep invocations.
27642 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27643 strings, and add error checking for a nanosleep invocations.
27645 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27647 Replace FSF snail mail address with URLs, as per GNU coding standards.
27648 Most of the snail mail addresses were wrong anyway, and omitting
27649 them makes the source code easier to maintain. Almost all of the
27650 changes are to license notices and to locale LC_IDENTIFICATION
27651 addresses, except for this one:
27652 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27653 not its snail mail address.
27655 2012-02-09 Richard Henderson <rth@twiddle.net>
27657 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27658 of kernel-features.h.
27660 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27662 2012-02-08 Marek Polacek <polacek@redhat.com>
27664 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27665 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27666 * sysdeps/gnu/_G_config.h: Likewise.
27667 * sysdeps/generic/_G_config.h: Likewise.
27669 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27671 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27675 * sysdeps/powerpc/powerpc32/crti.S: New file.
27676 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27677 * sysdeps/powerpc/powerpc64/crti.S: New file.
27678 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27680 * Makeconfig (have-initfini): Don't set.
27681 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27682 * configure.in (nopic_initfini): Don't substitute.
27683 * config.h.in (HAVE_INITFINI): Don't #undef.
27684 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27685 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27687 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27689 Support crti.S and crtn.S provided directly by architectures.
27690 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27691 [crti.S in sysdirs] (omit-deps): Likewise.
27692 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27693 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27694 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27695 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27696 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27697 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27698 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27699 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27700 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27701 compiler output for sysdeps/generic/initfini.c.
27702 * sysdeps/i386/elf/Makefile: Remove file.
27703 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27705 2012-02-07 Marek Polacek <polacek@redhat.com>
27707 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27708 * sysdeps/gnu/_G_config.h: Likewise.
27709 * sysdeps/mach/hurd/_G_config.h: Likewise.
27711 2012-02-07 Marek Polacek <polacek@redhat.com>
27713 * math/Makefile (tests): Add tst-CMPLX2.
27714 * math/tst-CMPLX2.c: New file.
27716 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27718 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27720 * math/libm-test.inc (jn_test): Add missing L suffix.
27722 2012-02-06 Marek Polacek <polacek@redhat.com>
27724 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27725 * sysdeps/i386/fpu/e_powf.S: Likewise.
27726 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27727 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27728 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27729 * sysdeps/i386/fpu/e_pow.S: Likewise.
27730 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27731 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27732 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27733 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27734 * sysdeps/i386/fpu/e_log2.S: Likewise.
27735 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27736 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27737 * sysdeps/i386/fpu/e_powl.S: Likewise.
27738 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27739 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27740 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27741 * sysdeps/i386/fpu/e_logl.S: Likewise.
27742 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27743 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27744 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27745 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27746 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27747 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27748 * sysdeps/i386/fpu/e_log.S: Likewise.
27749 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27750 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27751 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27752 * sysdeps/i386/fpu/e_logf.S: Likewise.
27753 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27754 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27755 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27756 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27757 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27758 * sysdeps/i386/fpu/e_log10.S: Likewise.
27759 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27760 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27761 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27762 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27763 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27764 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27765 * sysdeps/i386/asm-syntax.h: Likewise.
27766 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27767 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27768 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27769 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27770 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27771 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27772 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27773 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27774 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27775 * sysdeps/powerpc/sysdep.h: Likewise.
27776 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27777 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27779 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27782 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27784 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27786 * sysdeps/i386/sysdep.h: Include <features.h>.
27787 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27790 2012-02-05 Joseph Myers <joseph@codesourcery.com>
27792 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27794 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27797 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27799 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27800 (SETUP_PIC_REG): Use GET_PC_THUNK.
27801 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27804 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27806 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27807 for non-PIC compilation.
27808 (SETUP_PIC_REG): Add .p2align directive.
27809 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27810 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27811 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27812 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27813 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27814 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27815 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27816 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27817 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27818 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27819 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27820 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27821 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27822 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27823 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27824 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27825 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27826 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27827 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27828 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27829 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27830 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27831 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27832 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27835 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27836 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27837 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27838 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27839 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27840 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27841 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27842 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27843 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27844 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27845 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27846 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27847 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27848 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27849 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27851 2012-02-03 Joseph Myers <joseph@codesourcery.com>
27853 * math/tst-CMPLX.c: Include <stdio.h>.
27855 2012-01-31 Joseph Myers <joseph@codesourcery.com>
27857 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27859 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27860 * sysdeps/sparc/bits/mathdef.h: Likewise.
27862 2012-01-31 Marek Polacek <polacek@redhat.com>
27864 * libio/libio.h: Don't define _PARAMS.
27865 * locale/programs/config.h: Don't define PARAMS.
27866 * stdlib/strtol_l.c: Likewise.
27867 (__strtol_l): Remove PARAMS from the prototype.
27869 2012-01-31 Ulrich Drepper <drepper@gmail.com>
27871 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27872 names. Just use the correct names. Remove unnecessary wrapper
27874 * malloc/arena.c: Likewise.
27875 * malloc/hooks.c: Likewise.
27877 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27878 ARENA_TEST says not to. Simplify test for creation of a new arena.
27879 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27881 2012-01-30 Ulrich Drepper <drepper@gmail.com>
27883 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27885 (update_get_addr): New function.
27886 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27887 GET_ADDR_MODULE parameter.
27889 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27891 * crypt/cert.c: Remove __STDC__ conditionals.
27892 * crypt/crypt-entry.c: Likewise.
27893 * crypt/crypt_util.c: Likewise.
27894 * libio/filedoalloc.c: Likewise.
27895 * libio/fileops.c: Likewise.
27896 * libio/genops.c: Likewise.
27897 * libio/iofclose.c: Likewise.
27898 * libio/iofdopen.c: Likewise.
27899 * libio/iofopen.c: Likewise.
27900 * libio/iofopen64.c: Likewise.
27901 * libio/iogetdelim.c: Likewise.
27902 * libio/iopopen.c: Likewise.
27903 * libio/obprintf.c: Likewise.
27904 * libio/oldfileops.c: Likewise.
27905 * libio/oldiofclose.c: Likewise.
27906 * libio/oldiofdopen.c: Likewise.
27907 * libio/oldiofopen.c: Likewise.
27908 * libio/oldiopopen.c: Likewise.
27909 * libio/wfiledoalloc.c: Likewise.
27910 * libio/wgenops.c: Likewise.
27911 * locale/programs/xmalloc.c: Likewise.
27912 * misc/syslog.c: Likewise.
27913 * stdio-common/xbug.c: Likewise.
27914 * string/memchr.c: Likewise.
27915 * string/memcmp.c: Likewise.
27916 * string/memrchr.c: Likewise.
27917 * string/rawmemchr.c: Likewise.
27918 * sysdeps/posix/getcwd.c: Likewise.
27919 * time/strftime_l.c: Likewise.
27921 2012-01-30 Joseph Myers <joseph@codesourcery.com>
27923 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
27924 * config.make.in (config-cflags-sse2avx): Define.
27925 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27928 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27930 * scripts/config.guess: Update from upstream config git repository.
27931 * scripts/config.sub: Likewise.
27933 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27935 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27937 (R_TILEPRO_*, R_TILEGX_*): New macros.
27939 * scripts/firstversions.awk: Fix bug in version range handling.
27941 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27943 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27945 * include/sys/epoll.h: New file.
27946 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27949 2012-01-28 Ulrich Drepper <drepper@gmail.com>
27951 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27952 Avoid unnecessary __WORDSIZE == 64 test.
27953 (fmaxf): Use VEX format if possible.
27958 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27959 * math/math_private.h: Remove libc_fegetround* and
27961 * sysdeps/i386/configure.in: Check for -msse2avx.
27962 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27963 also if SSE2AVX is defined.
27964 Remove libc_fegetround* and libc_fesetround*.
27965 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27966 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27967 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27969 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27970 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27971 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27975 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27977 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27979 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27981 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27983 2012-01-27 Ulrich Drepper <drepper@gmail.com>
27986 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27988 * Makeconfig (libm): Define.
27989 * elf/Makefile: Add rules to build and run tst-relsort1.
27990 * elf/tst-relsort1.c: New file.
27991 * elf/tst-relsort1mod1.c: New file.
27992 * elf/tst-relsort1mod2.c: New file.
27994 2012-01-27 Joseph Myers <joseph@codesourcery.com>
27996 * math/s_ldexp.c: Remove __STDC__ conditionals.
27997 * math/s_ldexpf.c: Likewise.
27998 * math/s_ldexpl.c: Likewise.
27999 * math/s_nextafter.c: Likewise.
28000 * math/s_nexttowardf.c: Likewise.
28001 * math/s_significand.c: Likewise.
28002 * math/s_significandf.c: Likewise.
28003 * math/s_significandl.c: Likewise.
28004 * math/w_jnl.c: Likewise.
28005 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28006 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28007 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28008 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28009 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28011 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28012 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28013 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28014 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28015 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28018 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28019 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28020 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28021 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28022 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28024 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28025 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28026 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28027 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28028 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28029 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28030 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28031 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28032 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28033 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28034 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28035 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28036 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28037 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28038 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28039 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28040 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28041 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28042 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28043 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28044 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28045 * sysdeps/ieee754/k_standard.c: Likewise.
28046 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28047 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28048 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28049 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28050 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28051 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28052 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28053 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28054 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28055 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28056 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28057 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28058 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28059 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28060 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28061 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28062 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28063 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28064 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28065 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28066 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28067 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28068 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28069 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28070 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28071 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28072 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28073 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28074 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28075 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28076 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28077 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28078 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28079 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28080 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28081 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28082 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28084 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28085 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28086 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28088 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28089 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28090 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28091 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28092 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28093 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28094 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28095 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28096 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28100 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28101 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28102 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28103 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28104 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28105 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28106 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28107 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28108 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28109 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28110 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28111 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28112 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28113 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28114 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28116 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28117 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28118 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28119 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28120 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28121 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28122 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28123 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28124 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28125 * sysdeps/ieee754/s_matherr.c: Likewise.
28126 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28127 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28128 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28129 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28131 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28133 * crypt/md5.h: Remove __STDC__ conditionals.
28134 * libio/libioP.h: Likewise.
28135 * locale/programs/config.h: Likewise.
28136 * sysdeps/generic/sysdep.h: Likewise.
28137 * sysdeps/i386/asm-syntax.h: Likewise.
28138 * sysdeps/s390/asm-syntax.h: Likewise.
28139 * sysdeps/unix/sysdep.h: Likewise.
28140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28143 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28145 * libio/libio.h: Remove __STDC__ conditionals.
28146 * malloc/obstack.h: Likewise.
28147 * math/complex.h: Likewise.
28148 * math/math.h: Likewise.
28149 * sysdeps/generic/_G_config.h: Likewise.
28150 * sysdeps/gnu/_G_config.h: Likewise.
28151 * sysdeps/mach/hurd/_G_config.h: Likewise.
28152 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28153 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28154 * sysdeps/sparc/bits/mathdef.h: Likewise.
28156 2012-01-26 Ulrich Drepper <drepper@gmail.com>
28159 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28160 Clean up HAS_* macros.
28161 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28162 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28164 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28166 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28167 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28168 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28169 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28172 2012-01-25 Joseph Myers <joseph@codesourcery.com>
28174 * elf/tst-unique3.cc (gets): Remove declaration.
28175 * elf/tst-unique3lib.cc (gets): Likewise.
28176 * elf/tst-unique3lib2.cc (gets): Likewise.
28177 * elf/tst-unique4.cc (gets): Likewise.
28179 2012-01-24 Ulrich Drepper <drepper@gmail.com>
28181 * include/stdio.h: Add C++ protection. Add gets declarations and
28183 * debug/tst-chk1.c: Don't declare gets here.
28184 * stdio-common/tst-gets.c: Likewise.
28186 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28188 * posix/glob: Remove directory.
28190 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28192 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28194 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28196 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28197 of the non-standard EPFNOSUPPORT.
28199 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28201 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28202 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28203 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28205 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28207 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28209 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28211 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28213 * nscd/grpcache.c (cache_addgr): Likewise.
28214 * nscd/hstcache.c (cache_addhst): Likewise.
28215 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28216 * nscd/pwdcache.c (cache_addpw): Likewise.
28217 * nscd/servicescache.c (cache_addserv): Likewise.
28219 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28221 * malloc/malloc.c: Various cleanups.
28222 * malloc/hooks.c: Likewise.
28224 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28225 * stdlib/bug-fmtmsg1.c: New file.
28227 * stdlib/fmtmsg.c (init): Add missing unlock.
28228 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28230 2012-01-12 Marek Polacek <polacek@redhat.com>
28232 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28235 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28237 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28238 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28239 macro to ensure uniqueness of label name.
28240 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28241 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28243 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28245 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28247 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28248 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28249 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28250 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28252 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28254 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28256 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28257 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28258 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28260 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28262 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28263 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28264 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28265 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28267 * math/bits/math-finite.h: Add ldexp support.
28269 2012-01-10 Marek Polacek <polacek@redhat.com>
28271 * locale/programs/localedef.h (show_archive_content): Add noreturn
28274 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28276 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28278 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28280 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28282 * io/Makefile (headers): Add bits/poll2.h.
28284 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28287 typo #include statement.
28289 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28291 * include/sys/cdefs.h: Define __attribute_alloc_size.
28292 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28293 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28294 * elf/pldd.c: Likewise.
28295 * iconv/iconv_charmap.c: Likewise.
28296 * iconv/iconvconfig.c: Likewise.
28297 * iconv/strtab.c: Likewise.
28298 * locale/programs/locale.c: Likewise.
28299 * locale/programs/localedef.h: Likewise.
28300 * locale/programs/simple-hash.c: Likewise.
28301 * nscd/nscd.h: Likewise.
28302 * nss/makedb.c: Likewise.
28303 * sysdeps/generic/ldconfig.h: Likewise.
28304 * locale/programs/localedef.c: Remove xmalloc prototype.
28305 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28307 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28309 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28312 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28314 * math/Makefile (tests): Add tst-CMPLX.
28315 * math/tst-CMPLX.c: New file.
28317 * math/complex.h (CMPLXL): Fix typo.
28319 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28320 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28322 * debug/tst-chk1.c: Add poll and ppoll tests.
28323 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28324 * include/sys/poll.h: Add hidden proto for ppoll.
28325 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28326 * sysdeps/mach/hurd/ppoll.c: Likewise.
28327 * io/ppoll.c: Likewise.
28328 * debug/poll_chk.c: New file.
28329 * debug/ppoll_chk.c: New file.
28330 * include/bits/poll2.h: New file.
28331 * io/bits/poll2.h: New file.
28334 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28336 * configure.in: static is always set to yes. Remove.
28337 * config.make.in: Don't set build-static.
28338 * Makeconfig: Remove use of build-static.
28339 * dlfcn/Makefile: Likewise.
28340 * elf/Makefile: Likewise.
28341 * math/Makefile: Likewise.
28342 * misc/Makefile: Likewise.
28343 * nptl/Makefile: Likewise.
28344 * sysdeps/mach/hurd/Makefile: Likewise.
28346 * configure.in: PWD_P is not used anymore.
28347 * config.make.in: Remove PWD_P entry.
28349 * configure.in: Remove last remnants of RANLIB.
28350 No need to check for signed size_t anymore.
28351 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28353 Remove __builtin_expect test because we require at least gcc 3.4.
28354 * aclocal.m4: Likewise.
28356 * wcsmbs/mbrtoc16.c: Implement using towc function.
28357 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28358 * wcsmbs/wcsmbsload.c: Likewise.
28359 * iconv/gconv_simple.c: Likewise.
28360 * iconv/gconv_int.h: Likewise.
28361 * iconv/gconv_builtin.h: Likewise.
28362 * iconv/iconv_prog.c: Remove CHAR16 handling.
28364 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28366 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28368 * configure.in: Remove --with-elf and --enable-bounded options.
28369 Dont set base_machine for ia64. More non-ELF conditions removed.
28370 Remove testing and setting of leading underscore information.
28371 * config.make.in (build-bounded): Set to no.
28372 * config.h.in: Remove NO_UNDERSCORES entry.
28373 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28375 * csu/start.c: Remove !NO_UNDERSCORE code.
28376 * locale/localeinfo.h: Likewise.
28377 * sysdeps/generic/machine-gmon.h: Likewise.
28378 * sysdeps/generic/sysdep.h: Likewise.
28379 * sysdeps/i386/sysdep.h: Likewise.
28380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28381 * sysdeps/mach/sysdep.h: Likewise.
28382 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28383 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28384 * sysdeps/sh/sysdep.h: Likewise.
28385 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28386 * sysdeps/unix/i386/sysdep.S: Likewise.
28387 * sysdeps/unix/sparc/start.c: Likewise.
28388 * sysdeps/unix/sparc/sysdep.S: Likewise.
28389 * sysdeps/unix/sparc/sysdep.h: Likewise.
28390 * sysdeps/unix/start.c: Likewise.
28391 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28392 * sysdeps/x86_64/sysdep.h: Likewise.
28394 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28397 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28399 * argp/argp-fmtstream.h: Use const instead __const.
28400 * argp/argp.h: Likewise.
28401 * assert/assert.h: Likewise.
28402 * bits/fenv.h: Likewise.
28403 * bits/sched.h: Likewise.
28404 * bits/sigset.h: Likewise.
28405 * bits/sigthread.h: Likewise.
28406 * catgets/nl_types.h: Likewise.
28407 * conform/data/pthread.h-data: Likewise.
28408 * crypt/crypt-private.h: Likewise.
28409 * crypt/crypt.h: Likewise.
28410 * crypt/crypt_util.c: Likewise.
28411 * ctype/ctype.h: Likewise.
28412 * debug/execinfo.h: Likewise.
28413 * debug/mbsnrtowcs_chk.c: Likewise.
28414 * debug/mbsrtowcs_chk.c: Likewise.
28415 * debug/wcsnrtombs_chk.c: Likewise.
28416 * debug/wcsrtombs_chk.c: Likewise.
28417 * debug/wcstombs_chk.c: Likewise.
28418 * dirent/dirent.h: Likewise.
28419 * dlfcn/dlfcn.h: Likewise.
28420 * elf/neededtest4.c: Likewise.
28421 * grp/grp.h: Likewise.
28422 * gshadow/gshadow.h: Likewise.
28423 * iconv/gconv.h: Likewise.
28424 * iconv/gconv_int.h: Likewise.
28425 * iconv/gconv_simple.c: Likewise.
28426 * iconv/iconv.h: Likewise.
28427 * iconv/loop.c: Likewise.
28428 * iconv/skeleton.c: Likewise.
28429 * include/aio.h: Likewise.
28430 * include/aliases.h: Likewise.
28431 * include/argz.h: Likewise.
28432 * include/arpa/inet.h: Likewise.
28433 * include/assert.h: Likewise.
28434 * include/dirent.h: Likewise.
28435 * include/dlfcn.h: Likewise.
28436 * include/execinfo.h: Likewise.
28437 * include/fcntl.h: Likewise.
28438 * include/fenv.h: Likewise.
28439 * include/glob.h: Likewise.
28440 * include/grp.h: Likewise.
28441 * include/libintl.h: Likewise.
28442 * include/mntent.h: Likewise.
28443 * include/netdb.h: Likewise.
28444 * include/pwd.h: Likewise.
28445 * include/rpc/netdb.h: Likewise.
28446 * include/sched.h: Likewise.
28447 * include/search.h: Likewise.
28448 * include/shadow.h: Likewise.
28449 * include/signal.h: Likewise.
28450 * include/stdio.h: Likewise.
28451 * include/stdlib.h: Likewise.
28452 * include/string.h: Likewise.
28453 * include/sys/socket.h: Likewise.
28454 * include/sys/stat.h: Likewise.
28455 * include/sys/statfs.h: Likewise.
28456 * include/sys/statvfs.h: Likewise.
28457 * include/sys/syslog.h: Likewise.
28458 * include/sys/time.h: Likewise.
28459 * include/sys/uio.h: Likewise.
28460 * include/time.h: Likewise.
28461 * include/unistd.h: Likewise.
28462 * include/utmp.h: Likewise.
28463 * include/wchar.h: Likewise.
28464 * include/wctype.h: Likewise.
28465 * inet/aliases.h: Likewise.
28466 * inet/arpa/inet.h: Likewise.
28467 * inet/netinet/ether.h: Likewise.
28468 * inet/netinet/in.h: Likewise.
28469 * intl/libintl.h: Likewise.
28470 * io/bits/fcntl2.h: Likewise.
28471 * io/fcntl.h: Likewise.
28472 * io/ftw.h: Likewise.
28473 * io/sys/poll.h: Likewise.
28474 * io/sys/stat.h: Likewise.
28475 * io/sys/statfs.h: Likewise.
28476 * io/sys/statvfs.h: Likewise.
28477 * io/utime.h: Likewise.
28478 * libio/bits/stdio.h: Likewise.
28479 * libio/bits/stdio2.h: Likewise.
28480 * libio/libio.h: Likewise.
28481 * libio/libioP.h: Likewise.
28482 * libio/stdio.h: Likewise.
28483 * locale/lc-ctype.c: Likewise.
28484 * locale/locale.h: Likewise.
28485 * login/utmp.h: Likewise.
28486 * malloc/arena.c: Likewise.
28487 * malloc/malloc.c: Likewise.
28488 * malloc/malloc.h: Likewise.
28489 * malloc/mcheck.c: Likewise.
28490 * malloc/mtrace.c: Likewise.
28491 * math/bits/mathcalls.h: Likewise.
28492 * math/fenv.h: Likewise.
28493 * math/math_private.h: Likewise.
28494 * misc/bits/error.h: Likewise.
28495 * misc/bits/syslog.h: Likewise.
28496 * misc/err.h: Likewise.
28497 * misc/error.h: Likewise.
28498 * misc/fstab.h: Likewise.
28499 * misc/mntent.h: Likewise.
28500 * misc/regexp.h: Likewise.
28501 * misc/search.h: Likewise.
28502 * misc/sgtty.h: Likewise.
28503 * misc/sys/mman.h: Likewise.
28504 * misc/sys/syslog.h: Likewise.
28505 * misc/sys/uio.h: Likewise.
28506 * misc/sys/xattr.h: Likewise.
28507 * misc/ttyent.h: Likewise.
28508 * nis/rpcsvc/ypclnt.h: Likewise.
28509 * nss/nss.h: Likewise.
28510 * posix/bits/unistd.h: Likewise.
28511 * posix/fnmatch.h: Likewise.
28512 * posix/glob.h: Likewise.
28513 * posix/sched.h: Likewise.
28514 * posix/spawn.h: Likewise.
28515 * posix/sys/wait.h: Likewise.
28516 * posix/unistd.h: Likewise.
28517 * posix/wordexp.h: Likewise.
28518 * pwd/pwd.h: Likewise.
28519 * resolv/netdb.h: Likewise.
28520 * resource/sys/resource.h: Likewise.
28521 * rt/aio.h: Likewise.
28522 * rt/bits/mqueue2.h: Likewise.
28523 * rt/mqueue.h: Likewise.
28524 * shadow/shadow.h: Likewise.
28525 * signal/signal.h: Likewise.
28526 * socket/send.c: Likewise.
28527 * socket/sendto.c: Likewise.
28528 * socket/sys/socket.h: Likewise.
28529 * stdio-common/printf.h: Likewise.
28530 * stdlib/bits/stdlib.h: Likewise.
28531 * stdlib/fmtmsg.h: Likewise.
28532 * stdlib/monetary.h: Likewise.
28533 * stdlib/stdlib.h: Likewise.
28534 * stdlib/ucontext.h: Likewise.
28535 * streams/stropts.h: Likewise.
28536 * string/argz.h: Likewise.
28537 * string/bits/string2.h: Likewise.
28538 * string/string.h: Likewise.
28539 * string/strings.h: Likewise.
28540 * sunrpc/rpc/auth.h: Likewise.
28541 * sunrpc/rpc/auth_des.h: Likewise.
28542 * sunrpc/rpc/clnt.h: Likewise.
28543 * sunrpc/rpc/netdb.h: Likewise.
28544 * sunrpc/rpc/pmap_clnt.h: Likewise.
28545 * sunrpc/rpc/xdr.h: Likewise.
28546 * sysdeps/generic/inttypes.h: Likewise.
28547 * sysdeps/generic/net/if.h: Likewise.
28548 * sysdeps/generic/sys/swap.h: Likewise.
28549 * sysdeps/gnu/net/if.h: Likewise.
28550 * sysdeps/gnu/utmpx.h: Likewise.
28551 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28552 * sysdeps/i386/i486/bits/string.h: Likewise.
28553 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28554 * sysdeps/s390/bits/string.h: Likewise.
28555 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28556 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28557 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28558 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28559 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28560 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28561 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28562 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28563 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28564 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28565 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28566 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28567 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28568 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28569 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28570 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28571 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28572 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28573 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28574 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28576 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28577 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28578 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28579 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28580 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28581 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28583 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28584 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28585 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28586 * sysvipc/sys/ipc.h: Likewise.
28587 * sysvipc/sys/msg.h: Likewise.
28588 * sysvipc/sys/sem.h: Likewise.
28589 * sysvipc/sys/shm.h: Likewise.
28590 * termios/termios.h: Likewise.
28591 * time/sys/time.h: Likewise.
28592 * time/time.h: Likewise.
28593 * wcsmbs/bits/wchar2.h: Likewise.
28594 * wcsmbs/uchar.h: Likewise.
28595 * wcsmbs/wchar.h: Likewise.
28596 * wctype/wctype.h: Likewise.
28599 * Makeconfig: Remove all but ELF support including AIX support.
28600 * Makerules: Likewise.
28601 * config.h.in: Likewise.
28602 * config.make.in: Likewise.
28603 * configure: Likewise.
28604 * configure.in: Likewise.
28605 * csu/Makefile: Likewise.
28606 * csu/version.c: Likewise.
28607 * debug/Makefile: Likewise.
28608 * dlfcn/Makefile: Likewise.
28609 * elf/Makefile: Likewise.
28610 * extra-lib.mk: Likewise.
28611 * iconv/Makefile: Likewise.
28612 * include/libc-symbols.h: Likewise.
28613 * include/shlib-compat.h: Likewise.
28614 * resolv/Makefile: Likewise.
28615 * resolv/res_libc.c: Likewise.
28616 * rt/Makefile: Likewise.
28617 * sysdeps/i386/asm-syntax.h: Likewise.
28618 * sysdeps/i386/sysdep.h: Likewise.
28619 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28620 * sysdeps/mach/sysdep.h: Likewise.
28621 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28622 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28623 * sysdeps/s390/asm-syntax.h: Likewise.
28624 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28625 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28626 * sysdeps/sh/sysdep.h: Likewise.
28627 * sysdeps/unix/sparc/sysdep.h: Likewise.
28628 * sysdeps/wordsize-32/divdi3.c: Likewise.
28629 * sysdeps/x86_64/sysdep.h: Likewise.
28631 * argp/Versions: Remove _argp_unlock_xxx.
28634 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28635 * abilist/libBrokenLocale.abilist: Likewise.
28636 * abilist/libanl.abilist: Likewise.
28637 * abilist/libc.abilist: Likewise.
28638 * abilist/libcrypt.abilist: Likewise.
28639 * abilist/libdl.abilist: Likewise.
28640 * abilist/libm.abilist: Likewise.
28641 * abilist/libnsl.abilist: Likewise.
28642 * abilist/libpthread.abilist: Likewise.
28643 * abilist/libresolv.abilist: Likewise.
28644 * abilist/librt.abilist: Likewise.
28645 * abilist/libthread_db.abilist: Likewise.
28646 * abilist/libutil.abilist: Likewise.
28647 * abilist/libnss_db.abilist: New file.
28649 * scripts/abilist.awk: Add support for indirect functions.
28651 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28653 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28655 * shlib-versions: Remove entries for ports architectures.
28657 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28659 * elf/stackguard-macros.h: Remove support for IA-64.
28660 * elf/tst-auditmod1.c: Likewise.
28661 * sysdeps/generic/ldsodefs.h: Likewise.
28663 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28664 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28668 * configure.in: Remove --enable-omitfp support.
28670 * config.make.in: Likewise.
28671 * Makeconfig: Likewise.
28672 * manual/install.texi: Likewise.
28674 In case anyone cares, the IA-64 architecture could move to ports.
28675 * sysdeps/ia64/*: Removed.
28676 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28677 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28680 * configure.in: Remove entries for unsupported architectures.
28683 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28684 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28686 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28687 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28688 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28689 fall back to using wcrtomb.
28690 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28691 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28693 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28694 * wcsmbs/tst-c16c32-1.c: New file.
28696 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28699 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28701 * elf/tst-unique3.cc: Add explicit declaration of gets.
28702 * elf/tst-unique3lib.cc: Likewise.
28703 * elf/tst-unique3lib2.cc: Likewise.
28704 * elf/tst-unique4.cc: Likewise.
28706 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28708 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28711 * assert/assert.h (static_assert): Don't define for C++.
28712 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28713 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28715 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28717 * iconv/loop.c (single loop): Fix assertion in storing of
28720 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28722 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28724 * posix/getconf.c: Update copyright year.
28725 * nss/getent.c: Likewise.
28726 * nss/makedb.c: Likewise.
28727 * iconv/iconvconfig.c: Likewise.
28728 * iconv/iconv_prog.c: Likewise.
28729 * elf/ldconfig.c: Likewise.
28730 * elf/pldd.c: Likewise.
28731 * elf/sotruss.ksh: Likewise.
28732 * catgets/gencat.c: Likewise.
28733 * csu/version.c: Likewise.
28734 * elf/ldd.bash.in: Likewise.
28735 * elf/sprof.c (print_version): Likewise.
28736 * locale/programs/locale.c: Likewise.
28737 * locale/programs/localedef.c: Likewise.
28738 * login/programs/pt_chown.c: Likewise.
28739 * nscd/nscd.c (print_version): Likewise.
28740 * debug/xtrace.sh: Likewise.
28741 * malloc/memusage.sh: Likewise.
28742 * malloc/mtrace.pl: Likewise.
28743 * debug/catchsegv.sh: Likewise.
28745 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28747 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28750 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28753 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28754 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28756 * iconv/gconv_int.h: Likewise.
28757 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28758 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28759 from libc for GLIBC_2.16.
28760 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28761 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28762 * wcsmbs/uchar.h: Really define mbstate_t.
28763 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28764 * wcsmbs/c16rtomb.c: New file.
28765 * wcsmbs/mbrtoc16.c: New file.
28766 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28767 for C/POSIX locale.
28768 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28769 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28771 * wcsmbs/wchar.h: Add missing __restrict.
28773 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28776 * time/Makefile (routines): Add timespec_get.
28777 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28778 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28779 timespec for ISO C11.
28780 * time/timespec_get.c: New file.
28781 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28782 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28785 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28786 * stdlib/stdlib.h: Declare aligned_alloc.
28787 * Versions.def: Add GLIBC_2.16 for libc.
28788 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28791 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28794 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
28798 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28801 * assert/assert.h (static_assert): Define.
28803 * version.h: Update for 2.16 development version.
28806 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28809 * version.h (RELEASE): Bump for 2.15 release.
28810 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28812 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28813 Patch by Marek Polacek <mpolacek@redhat.com>.
28815 * bits/byteswap.h: Protect long long constants with __extension__.
28816 * sysdeps/i386/bits/byteswap.h: Likewise.
28817 * sysdeps/ia64/bits/byteswap.h: Likewise.
28818 * sysdeps/s390/bits/byteswap.h: Likewise.
28819 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28821 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28824 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28825 destination buffer.
28826 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28828 2011-12-23 Marek Polacek <polacek@redhat.com>
28830 * elf/dl-addr.c (determine_info): Add inline keyword.
28831 * elf/tst-auditmod4b.c (check_avx): Likewise.
28832 * elf/tst-auditmod6b.c (check_avx): Likewise.
28833 * elf/tst-auditmod6c.c (check_avx): Likewise.
28834 * elf/tst-auditmod7b.c (check_avx): Likewise.
28836 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28838 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28841 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28844 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28845 processing for last bytes.
28847 2011-08-06 Bruno Haible <bruno@clisp.org>
28850 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28851 U+0385, not to U+1FEE.
28854 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28855 entry for U+00A5 U+0301.
28857 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28860 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28861 buffer for the output is too small.
28863 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28867 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28868 SSE flags if possible.
28870 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28873 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28874 processing for last bytes.
28876 2011-12-22 Joseph Myers <joseph@codesourcery.com>
28878 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28879 (syscall-list-default-options, syscall-list-default-condition)
28880 (syscall-list-includes): Define.
28881 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28882 list of ABIs and options and #if conditions for each ABI. Do not
28883 handle common syscalls between ABIs specially.
28884 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28886 (syscall-list-variants, syscall-list-32bit-options)
28887 (syscall-list-32bit-condition, syscall-list-64bit-options)
28888 (syscall-list-64bit-condition): Define.
28889 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28890 (syscall-list-variants, syscall-list-32bit-options)
28891 (syscall-list-32bit-condition, syscall-list-64bit-options)
28892 (syscall-list-64bit-condition): Define.
28893 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28895 (syscall-list-variants, syscall-list-32bit-options)
28896 (syscall-list-32bit-condition, syscall-list-64bit-options)
28897 (syscall-list-64bit-condition): Define.
28898 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28900 (syscall-list-variants, syscall-list-32bit-options)
28901 (syscall-list-32bit-condition, syscall-list-64bit-options)
28902 (syscall-list-64bit-condition): Define.
28904 2011-12-22 Ulrich Drepper <drepper@gmail.com>
28906 * locale/iso-639.def: Add brx entry.
28909 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28910 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28912 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28913 __feraiseexcept_renamed.
28915 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28918 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28919 EPOLLET with unsigned values.
28920 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28921 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28923 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28924 to large cancellation.
28925 * math/s_cacoshf.c: Likewise.
28926 * math/s_cacoshl.c: Likewise.
28928 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28932 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28933 * math/s_cacoshf.c: Likewise.
28934 * math/s_cacoshl.c: Likewise.
28936 2011-12-21 Ulrich Drepper <drepper@gmail.com>
28939 * iconv/gconv.h: Define __GCONV_SWAP.
28940 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28941 * iconvdata/utf-16.c: Likewise.
28942 * iconvdata/utf-32.c: Likewise.
28944 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28947 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28948 numerator after shifting it by one limb.
28950 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28952 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28953 under [__USE_EXTERN_INLINES].
28955 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28958 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28960 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28962 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28963 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28965 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28966 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28967 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28968 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28969 for strncasecmp/strncasecmp_l compilation.
28970 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28971 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28973 2011-12-08 Marek Polacek <mpolacek@redhat.com>
28976 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28979 2011-12-17 Ulrich Drepper <drepper@gmail.com>
28982 * time/tzfile.c (__tzfile_read): Check values from file header.
28984 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28986 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28987 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28988 * powerpc/powerpc32/dl-start.S: Likewise.
28989 * powerpc/powerpc32/elf/start.S: Likewise.
28990 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28991 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28992 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28993 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28994 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28995 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28996 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28997 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28998 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28999 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29000 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29001 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29002 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29003 * powerpc/powerpc32/memset.S: Likewise.
29004 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29005 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29006 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29007 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29008 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29009 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29010 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29011 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29012 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29013 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29014 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29015 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29016 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29018 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29020 * math/libm-test.inc: Added more nearbyint tests.
29021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29022 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29023 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29024 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29026 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29028 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29031 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29033 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29034 Add wcscpy-ssse3 wcscpy-c.
29035 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29036 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29037 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29038 * sysdeps/x86_64/wcschr.S: New file.
29039 * sysdeps/x86_64/wcsrchr.S: New file.
29040 * string/test-strcmp.c: Remove checking of wcscmp function for
29042 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29043 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29044 wcsrchr-sse2 wcsrchr-c.
29045 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29046 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29047 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29048 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29049 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29050 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29051 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29052 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29053 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29054 * wcsmbc/wcschr.c (WCSCHR): New macro.
29056 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29058 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29059 * wcsmbs/test-wcsrchr.c: New file.
29060 * string/test-strrchr.c: Add wcsrchr support.
29062 * wcsmbs/test-wcscpy.c: New file.
29063 * string/test-strcpy.c: Add wcscpy support.
29066 2011-12-10 Ulrich Drepper <drepper@gmail.com>
29068 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29071 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29074 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29076 2011-12-04 Ulrich Drepper <drepper@gmail.com>
29078 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29079 Minor optimizations.
29081 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29082 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29083 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29085 2011-12-03 Ulrich Drepper <drepper@gmail.com>
29087 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29088 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29089 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29090 for gcc to avoid warnings.
29091 * inet/Makefile (tests): Add tst-checks.
29092 * inet/tst-checks.c: New file.
29094 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29097 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29100 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29101 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29103 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29105 2011-12-02 Ulrich Drepper <drepper@gmail.com>
29107 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29110 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29112 2011-11-29 Joseph Myers <joseph@codesourcery.com>
29114 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29115 conditional on GCC version.
29116 (__arch_compare_and_exchange_val_8_acq)
29117 (__arch_compare_and_exchange_val_16_acq)
29118 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29119 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29120 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29122 2011-12-02 Joseph Myers <joseph@codesourcery.com>
29124 * sysdeps/sh/backtrace.c: New file.
29126 2011-12-02 Andreas Schwab <schwab@redhat.com>
29128 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29131 2011-12-01 Andreas Schwab <schwab@redhat.com>
29133 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29134 falling back to utime.
29136 2011-11-30 Andreas Schwab <schwab@redhat.com>
29138 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29139 expectations for float.
29141 2011-11-29 Andreas Schwab <schwab@redhat.com>
29143 * locale/weight.h (findidx): Add parameter len.
29144 * locale/weightwc.h (findidx): Likewise.
29145 * posix/fnmatch_loop.c (FCT): Adjust caller.
29146 * posix/regcomp.c (build_equiv_class): Likewise.
29147 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29148 * posix/regexec.c (check_node_accept_bytes): Likewise.
29149 * string/strcoll_l.c (STRCOLL): Likewise.
29150 * string/strxfrm_l.c (STRXFRM): Likewise.
29152 2011-11-17 Ulrich Drepper <drepper@gmail.com>
29154 * Makefile.in: Remove CVSOPT handling.
29155 * configure.in: Remove use of AC_REVISION.
29156 * iconvdata/Makefile (distribute): No need to filter out CVS.
29157 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29160 2011-11-16 Andreas Schwab <schwab@redhat.com>
29162 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29163 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29164 [USE_AS_STRNCASECMP_L]: Likewise.
29165 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29166 NO_TLS_DIRECT_SEG_REFS.
29167 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29168 Fix argument offsets for non-PIC.
29169 [USE_AS_STRNCASECMP_L]: Likewise.
29170 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29171 NO_TLS_DIRECT_SEG_REFS.
29173 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29175 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29177 * locale/loadlocale.c (_nl_load_locale): Likewise.
29179 2011-11-15 Andreas Schwab <schwab@redhat.com>
29181 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29182 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29183 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29184 (SYSCALL_GETTIME): Set errno on error.
29186 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29187 count references to noai6ai_cached.
29189 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29191 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29193 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29194 FD_CLOEXEC for /proc/self/maps.
29196 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29197 FD_CLOEXEC for /proc/meminfo.
29199 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29202 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29203 FD_CLOEXEC for given file.
29205 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29207 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29208 FD_CLOEXEC for /etc/hosts.
29209 (_gethtent): Likewise.
29211 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29213 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29214 cancellation and set FD_CLOEXEC for /etc/netgroup.
29216 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29217 reading /etc/publickey.
29219 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29220 allow cancellation when reading /etc/group.
29222 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29224 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29226 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29227 when using data file.
29229 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29231 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29232 (write_nis_obj): Use "c" and "e" in fopen.
29234 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29236 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29238 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29240 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29242 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29245 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29247 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29249 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29251 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29252 file parsing and set FD_CLOEXEC.
29254 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29256 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29258 2011-11-14 Andreas Schwab <schwab@redhat.com>
29260 * malloc/arena.c (arena_get2): Don't call reused_arena when
29261 _int_new_arena failed.
29263 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29265 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29266 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29267 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29268 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29269 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29271 to compile strcasecmp and strncasecmp.
29272 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29273 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29275 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29277 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29279 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29280 locale-defines.sym to gen-as-const-headers.
29281 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29282 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29284 to compile strcasecmp and strncasecmp.
29285 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29286 strcasecmp_l and strncasecmp_l.
29287 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29288 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29289 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29290 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29291 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29292 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29293 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29294 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29295 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29296 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29297 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29299 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29301 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29302 result of SYSDEP_GETTIME_CPU to retval.
29303 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29304 parameter list to macro. Remove trailing semicolon. Adjust users.
29306 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29309 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29311 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29313 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29314 from unused variable.
29316 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29318 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29321 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29324 * sunrpc/rpc_prot.c (rejected): Fix case value.
29326 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29327 unsigned long long int to avoid warnings in shift.
29329 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29331 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29334 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29335 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29336 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29338 * nis/nis_table.c (nis_list): Use variable of correct type for
29339 result of __follow_path call.
29341 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29343 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29344 of math functions ceil, trunc, floor, round, and sqrt, when
29345 avaliable on the platform.
29346 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29348 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29349 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29350 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29352 2011-10-30 Marek Polacek <mpolacek@redhat.com>
29354 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29355 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29357 2011-11-11 Roland McGrath <roland@hack.frob.com>
29359 * include/unistd.h: Fix __readlink return type.
29360 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29362 2011-11-11 Ulrich Drepper <drepper@gmail.com>
29364 * stdlib/ucontext.h: Undo last change for makecontext.
29366 2011-11-11 Andreas Schwab <schwab@redhat.com>
29368 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29370 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29371 * setjmp/setjmp.h: Mark functions as non-leaf.
29372 * setjmp/bits/setjmp2.h: Likewise.
29373 * stdlib/ucontext.h: Likewise.
29375 2011-11-10 Andreas Schwab <schwab@redhat.com>
29377 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29378 (reused_arena): Don't check arena limit.
29379 (arena_get2): Atomically check arena limit.
29381 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29383 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29384 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29386 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29389 2011-11-07 Andreas Schwab <schwab@redhat.com>
29391 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29392 handler when locking.
29394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29395 Fix size of allocated buffer.
29397 2011-11-04 Andreas Schwab <schwab@redhat.com>
29400 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29401 declarations for long double functions.
29402 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29404 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29406 2011-11-03 Andreas Schwab <schwab@redhat.com>
29408 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29411 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29414 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29416 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29418 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29420 * include/alloca.h (stackinfo_alloca_round): Define.
29421 (extend_alloca): Use it.
29422 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29423 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29426 * scripts/check-local-headers.sh: Ignore libaudit.h.
29428 * nscd/Makefile (extra-objs): Make recursively expanded.
29430 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29432 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29435 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29436 * posix/tst-rfc3484-2.c: Likewise.
29437 * posix/tst-rfc3484-3.c: Likewise.
29439 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29441 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29443 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29444 process_vm_writev from libc using GLIBC_2.15 version.
29446 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29448 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29450 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29453 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29456 * nss/getent.c (initgroups_keys): Show error message in case no group
29459 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29460 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29461 __bump_nl_timestamp.
29462 * nscd/connections (nscd_init): When host database is served open
29463 netlink socket and request notification about configuration changes.
29464 (main_loop_poll): Track netlink file descriptor and bump timestamp
29465 in case data becomes available.
29466 (main_loop_epoll): Likewise.
29467 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29468 (database_pers_head): Add extra_data fileds.
29469 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29470 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29471 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29473 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29474 in6ai data, call __free_in6ai.
29475 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29476 Add -DHAVE_NETLINK.
29477 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29478 interface information. Reuse previous data if netlink timestamp
29480 (__bump_nl_timestamp): New function.
29481 (__free_in6ai): New function.
29483 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29485 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29486 close_not_cancel_no_status here.
29487 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29489 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29492 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29495 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29496 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29497 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29499 2011-07-03 Andreas Jaeger <aj@suse.de>
29502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29503 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29504 * math/libm-test.inc (sin_test): Add test case.
29506 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29509 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29510 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29512 * elf/chroot_canon.c (chroot_canon): Cleanups.
29514 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29517 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29518 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29520 * string/test-strchr.c: Make usable for strchrnul testing.
29521 * string/test-strchrnul.c: New file.
29522 * string/Makefile (strop-tests): Add strchrnul.
29524 * po/it.po: Update from translation team.
29525 * po/es.po: Likewise.
29527 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29529 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29530 the three constants needed as parameters. Drop the others.
29531 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29532 __m128i_strloadu_tolower.
29533 Create and initialize variable zero and use it in all the places
29534 where _mm_setzero_si128 was used.
29536 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29537 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29538 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29539 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29541 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29542 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29543 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29544 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29545 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29546 __mpranred, __mptan.
29547 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29548 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29549 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29550 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29551 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29552 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29553 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29554 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29555 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29557 2011-10-28 Andreas Schwab <schwab@redhat.com>
29559 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29560 redefine if SHARED.
29561 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29563 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29564 wide char related routines to wcsmbs subdir.
29566 2011-10-27 Andreas Schwab <schwab@redhat.com>
29569 * misc/sys/cdefs.h (__THROWNL): Define.
29570 * posix/unistd.h: Use __THREADNL instead of __THREAD
29571 for memory synchronization functions.
29573 2011-10-26 Roland McGrath <roland@hack.frob.com>
29576 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29578 * manual/stdio.texi (Obstack Streams): Node removed.
29580 2011-10-26 Andreas Schwab <schwab@redhat.com>
29582 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29583 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29584 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29586 * math/math_private.h (math_force_eval): Allow non-addressable
29588 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29590 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29592 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29593 file is not needed.
29595 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29596 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29597 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29598 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29599 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29600 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29601 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29602 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29604 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29605 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29606 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29607 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29608 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29609 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29610 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29611 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29612 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29613 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29614 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29615 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29616 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29617 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29618 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29619 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29620 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29621 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29622 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29624 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29625 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29627 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29628 place. Use VEX encoding when compiling for AVX.
29630 2011-10-25 Andreas Schwab <schwab@redhat.com>
29632 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29633 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29635 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29637 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29639 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29640 useless if() expression.
29641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29642 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29643 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29644 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29646 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29647 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29648 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29649 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29650 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29651 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29652 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29653 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29655 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29656 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29657 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29658 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29659 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29661 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29663 2011-10-25 Andreas Schwab <schwab@redhat.com>
29665 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29667 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29669 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29671 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29672 .text section. Avoid duplicate constants.
29673 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29675 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29677 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29678 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29679 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29680 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29681 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29682 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29683 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29684 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29685 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29686 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29687 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29689 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29690 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29691 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29692 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29693 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29694 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29695 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29696 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29697 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29698 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29699 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29700 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29701 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29702 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29703 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29704 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29705 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29706 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29707 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29708 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29709 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29710 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29711 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29712 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29713 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29714 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29715 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29716 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29717 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29719 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29721 * sysdeps/x86_64/dla.h: Move to ...
29722 * sysdeps/x86_64/fpu/dla.h: ...here.
29723 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29724 situations. Use __builtin_fma only for gcc 4.6 and up.
29726 * config.make.in: Add have-mfma4 entry.
29727 * configure.in: Substitute libc_cv_cc_fma4.
29728 * math/Makefile (dbl-only-routines): Add sincostab.
29729 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29730 Use __sincostab not sincos.
29731 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29733 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29738 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29739 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29740 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29741 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29743 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29744 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29746 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29747 define aliases when function name is a macro.
29748 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29749 sysdeps/ieee754/dbl-64/sincos.tbl.
29750 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29751 fma4-enabled routines.
29752 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29753 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29754 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29755 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29756 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29757 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29758 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29759 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29760 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29761 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29762 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29763 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29764 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29765 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29766 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29767 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29768 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29769 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29770 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29771 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29772 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29773 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29774 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29775 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29777 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29779 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29780 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29781 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29783 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29785 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29786 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29787 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29788 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29790 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29791 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29792 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29794 2011-10-24 Andreas Schwab <schwab@redhat.com>
29796 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29798 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29800 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29802 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29804 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29806 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29807 Remove unused variable magic_bits.
29808 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29810 * string/strnlen.c: Define and use STRNLEN macro.
29811 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29812 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29814 * wcsmbs/wcslen.c: Define and use WCSLEN.
29815 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29816 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29817 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29818 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29819 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29820 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29821 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29823 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29826 strnlen-sse2-no-bsf.
29827 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29829 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29830 Add strnlen support.
29831 (USE_AS_STRNLEN): New macro.
29832 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29833 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29834 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29835 * sysdeps/x86_64/wcslen.S: New file.
29837 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29840 XMM-moves are used for copying on small sizes.
29842 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29844 * wcsmbs/Makefile (strop-tests): Add wcschr.
29845 * wcsmbs/test-wcschr.c: New file.
29846 * string/test-strchr.c: Update.
29847 Add wcschr support.
29850 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29852 * wcsmbs/Makefile (strop-tests): Add wcslen.
29853 * wcsmbs/test-wcslen.c: New file.
29854 * string/test-strlen.c: Update.
29855 Add wcslen support.
29858 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29860 * po/it.po: Update from translation team.
29862 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29864 * sysdeps/x86_64/wcscmp.S: Update.
29865 Fix wrong comparison semantics.
29866 wcscmp shall use signed comparison not unsigned.
29867 Don't use substraction to avoid overflow bug.
29868 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29869 * wcsmbc/wcscmp.c: Likewise.
29870 * string/test-strcmp.c: Likewise.
29871 Add new tests to check cases with negative values.
29873 2011-10-23 Ulrich Drepper <drepper@gmail.com>
29875 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29876 * sysdeps/x86_64/dla.h: ...here. New file.
29877 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29878 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29879 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29881 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29882 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29883 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29884 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29887 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29890 __ynl_finite aliases.
29892 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29896 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29898 [DLA_FMA] (EMULV): Use DLA_FMA.
29899 [DLA_FMA] (MUL12): Use EMULV.
29900 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29901 that are not needed.
29902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29904 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29905 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29910 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29912 * math/s_nan.c: Undef __nan.
29913 * math/s_nanf.c: Undef __nanf.
29914 * math/s_nanl.c: Undef __nanl.
29915 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29918 2011-10-22 Ulrich Drepper <drepper@gmail.com>
29920 * math/s_catan.c: Add branch predictions.
29921 * math/s_catanf.c: Likewise.
29922 * math/s_catanh.c: Likewise.
29923 * math/s_catanhf.c: Likewise.
29924 * math/s_catanhl.c: Likewise.
29925 * math/s_catanl.c: Likewise.
29926 * math/s_cexp.c: Likewise.
29927 * math/s_cexpf.c: Likewise.
29928 * math/s_cexpl.c: Likewise.
29929 * math/s_clog.c: Likewise.
29930 * math/s_clog10.c: Likewise.
29931 * math/s_clog10f.c: Likewise.
29932 * math/s_clog10l.c: Likewise.
29933 * math/s_clogf.c: Likewise.
29934 * math/s_clogl.c: Likewise.
29935 * math/s_csqrt.c: Likewise.
29936 * math/s_csqrtf.c: Likewise.
29937 * math/s_csqrtl.c: Likewise.
29938 * math/s_ctanf.c: Likewise.
29939 * math/s_ctanh.c: Likewise.
29940 * math/s_ctanhf.c: Likewise.
29941 * math/s_ctanhl.c: Likewise.
29942 * math/s_ctanl.c: Likewise.
29944 * math/math_private.h: Define __nan, __nanf, __nanl.
29945 * math/s_cacosh.c: Include <math_private.h>.
29946 * math/s_cacoshl.c: Likewise.
29947 * math/s_casinh.c: Likewise.
29948 * math/s_casinhf.c: Likewise.
29949 * math/s_casinhl.c: Likewise.
29950 * math/s_ccos.c: Rely entire on ccosh.
29951 * math/s_ccosf.c: Rely entire on ccoshf.
29952 * math/s_ccosl.c: Rely entirely on ccoshl.
29953 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29954 Remove tests for FE_INVALID.
29955 * math/s_ccoshf.c: Likewise.
29956 * math/s_ccoshl.c: Likewise.
29957 * math/s_csin.c: Likewise.
29958 * math/s_csinf.c: Likewise.
29959 * math/s_csinh.c Likewise.
29960 * math/s_csinhf.c: Likewise.
29961 * math/s_csinhl.c: Likewise.
29962 * math/s_csinl.c: Likewise.
29963 * math/s_ctan.c: Likewise.
29964 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29965 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29966 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29968 2011-10-21 Ulrich Drepper <drepper@gmail.com>
29970 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29971 compilation problems.
29973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29976 2011-10-20 Ulrich Drepper <drepper@gmail.com>
29978 * sysdeps/i386/configure.in: Test for -mfma4 option.
29979 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29980 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29981 COMMON_CPUID_INDEX_80000001.
29982 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29983 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29984 use it if FMA3 is not supported.
29985 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29987 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29988 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29990 2011-10-20 Andreas Schwab <schwab@redhat.com>
29993 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29994 it would create a cycle with a link time dependency.
29996 2011-10-19 Ulrich Drepper <drepper@gmail.com>
29998 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30000 * string/Makefile (strop-tests): Add rawmemchr.
30001 * string/test-rawmemchr.c: New file.
30003 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30004 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30005 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30006 when compiling str{,n}casecmp and when AVX is available. Hook up
30007 new optimized code in initializers.
30009 2011-10-19 Andreas Schwab <schwab@redhat.com>
30011 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30012 __feraiseexcept instead of feraiseexcept.
30014 2011-10-18 Ulrich Drepper <drepper@gmail.com>
30016 * math/math_private.h: Define defaults for libc_fetestexcept and
30018 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30019 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30020 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30021 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30022 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30023 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30024 libc_fetestexcept and libc_feupdateenv.
30026 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30027 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30028 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30029 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30030 libc_feholdexcept_setround.
30032 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30033 Add s_nearbyint-c and s_nearbyintf-c.
30034 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30035 nearbyintf inlines.
30036 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30037 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30038 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30039 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30041 * math/math_private.h: Define defaults for libc_fegetround,
30042 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30043 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30044 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30045 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30046 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30047 standard functions.
30048 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30049 Remove comments and hacks for old compiler versions.
30050 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30051 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30052 libc_feholdexceptl.
30054 2011-10-18 Andreas Schwab <schwab@redhat.com>
30056 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30057 (__feraiseexcept_renamed): Add __NTH.
30058 (feraiseexcept): Add __NTH. Rename local variables to fix
30059 namespace violations.
30061 2011-10-17 Ulrich Drepper <drepper@gmail.com>
30063 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30065 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30067 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30068 recently added interfaces.
30069 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30071 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30072 about macro parameter expansion.
30074 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30075 __NO_MATH_INLINES is defined. Cleanups.
30077 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30078 and __floorf is target has SSE4.1.
30079 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30080 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30081 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30082 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30084 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30086 (floorf): Likewise.
30088 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30090 2011-10-17 Andreas Schwab <schwab@redhat.com>
30092 * misc/sys/cdefs.h: Fix last change.
30094 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30097 2011-10-16 Ulrich Drepper <drepper@gmail.com>
30099 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30101 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30102 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30103 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30104 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30105 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30106 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30107 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30108 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30109 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30110 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30111 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30112 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30113 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30114 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30115 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30116 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30117 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30118 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30119 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30120 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30121 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30122 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30124 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30125 ceil, ceilf, floor, floorf.
30127 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30128 Perform IRELATIVE relocations last.
30130 * elf/do-rel.h: Add another parameter nrelative, replacing the
30131 local variable with the same name. Change name of the function
30132 to end in Rel or Rela (uppercase).
30133 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30134 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30135 elf_dynamic_do_##reloc function.
30137 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30139 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30140 is sufficient, at least on modern CPUs.
30142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30144 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30147 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30149 * math/bits/math-finite.h: Add entries for exp.
30150 * math/e_expl.c: Add __*_finite alias.
30151 * sysdeps/i386/fpu/e_exp.S: Likewise.
30152 * sysdeps/i386/fpu/e_expf.S: Likewise.
30153 * sysdeps/i386/fpu/e_expl.c: Likewise.
30154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30155 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30156 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30157 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30158 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30159 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30160 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30162 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30163 is sufficient, at least on modern CPUs.
30165 * ctype/ctype-info.c (__ctype_init): Define.
30166 * include/ctype.h (__ctype_init): Declare.
30167 (__ctype_b_loc): The variable is always initialized.
30168 (__ctype_toupper_loc): Likewise.
30169 (__ctype_tolower_loc): Likewise.
30170 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30171 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30173 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30175 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30177 * configure.in: Also look in $cxxmachine/include for C++ system
30180 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30182 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30183 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30184 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30185 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30186 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30187 (USE_AS_WMEMCMP): New macro.
30189 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30190 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30191 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30192 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30194 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30195 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30196 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30197 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30198 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30199 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30200 (USE_AS_WMEMCMP): New macro.
30201 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30202 * sysdeps/string/test-memcmp.c: Update.
30203 Fix simple_wmemcmp.
30205 * wcsmbs/wmemcmp.c: Update.
30206 (WMEMCMP): New macro.
30209 2011-10-12 Andreas Jaeger <aj@suse.de>
30212 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30214 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30216 * libio/iofwide.c (do_length): Avoid warning.
30218 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30220 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30222 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30224 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30225 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30226 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30227 * sysdeps/i386/i686/fpu/e_log.S: New file.
30228 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30229 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30231 * ctype/ctype.h: Add support for inlined isXXX functions when
30232 compiling C++ code.
30234 2011-10-14 Andreas Schwab <schwab@redhat.com>
30236 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30238 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30240 2011-10-13 Roland McGrath <roland@hack.frob.com>
30243 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30245 2011-10-13 Andreas Schwab <schwab@redhat.com>
30247 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30248 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30251 * sysdeps/x86_64/memrchr.S: Check for zero size.
30253 * string/stratcliff.c: Add memrchr tests.
30255 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30257 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30258 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30259 rawmemchr-sse2 rawmemchr-sse2-bsf.
30260 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30261 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30262 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30263 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30264 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30265 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30266 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30267 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30268 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30269 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30270 * string/memrchr.c (MEMRCHR): New macro.
30272 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30274 Add integration with gcc's -ffinite-math-only and optimize wrapper
30276 * Versions.def: Define GLIBC_2.15 version for libm.
30277 * math/Makefile (headers): Add bits/math-finite.h.
30278 * math/bits/math-finite.h: New file.
30279 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30280 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30281 * math/e_acoshl.c: Add __*_finite alias.
30282 * math/e_acosl.c: Likewise.
30283 * math/e_asinl.c: Likewise.
30284 * math/e_atan2l.c: Likewise.
30285 * math/e_atanhl.c: Likewise.
30286 * math/e_coshl.c: Likewise.
30287 * math/e_exp10.c: Likewise.
30288 * math/e_exp10f.c: Likewise.
30289 * math/e_exp10l.c: Likewise.
30290 * math/e_exp2l.c: Likewise.
30291 * math/e_fmodl.c: Likewise.
30292 * math/e_gammal_r.c: Likewise.
30293 * math/e_hypotl.c: Likewise.
30294 * math/e_j0l.c: Likewise.
30295 * math/e_j1l.c: Likewise.
30296 * math/e_jnl.c: Likewise.
30297 * math/e_lgammal_r.c: Likewise.
30298 * math/e_log10l.c: Likewise.
30299 * math/e_log2l.c: Likewise.
30300 * math/e_logl.c: Likewise.
30301 * math/e_powl.c: Likewise.
30302 * math/e_sinhl.c: Likewise.
30303 * math/e_sqrtl.c: Likewise.
30304 * math/e_scalb.c: Completely rewritten and optimized.
30305 * math/e_scalbf.c: Likewise.
30306 * math/e_scalbl.c: Likewise.
30307 * math/w_acos.c: Likewise.
30308 * math/w_acosf.c: Likewise.
30309 * math/w_acosl.c: Likewise.
30310 * math/w_acosh.c: Likewise.
30311 * math/w_acoshf.c: Likewise.
30312 * math/w_acoshl.c: Likewise.
30313 * math/w_asin.c: Likewise.
30314 * math/w_asinf.c: Likewise.
30315 * math/w_asinl.c: Likewise.
30316 * math/w_atan2.c: Likewise.
30317 * math/w_atan2f.c: Likewise.
30318 * math/w_atan2l.c: Likewise.
30319 * math/w_atanh.c: Likewise.
30320 * math/w_atanhf.c: Likewise.
30321 * math/w_atanhl.c: Likewise.
30322 * math/w_exp10.c: Likewise.
30323 * math/w_exp10f.c: Likewise.
30324 * math/w_exp10l.c: Likewise.
30325 * math/w_fmod.c: Likewise.
30326 * math/w_fmodf.c: Likewise.
30327 * math/w_fmodl.c: Likewise.
30328 * math/w_j0.c: Likewise.
30329 * math/w_j0f.c: Likewise.
30330 * math/w_j0l.c: Likewise.
30331 * math/w_j1.c: Likewise.
30332 * math/w_j1f.c: Likewise.
30333 * math/w_j1l.c: Likewise.
30334 * math/w_jn.c: Likewise.
30335 * math/w_jnf.c: Likewise.
30336 * math/w_log.c: Likewise.
30337 * math/w_logf.c: Likewise.
30338 * math/w_logl.c: Likewise.
30339 * math/w_log10.c: Likewise.
30340 * math/w_log10f.c: Likewise.
30341 * math/w_log10l.c: Likewise.
30342 * math/w_log2.c: Likewise.
30343 * math/w_log2f.c: Likewise.
30344 * math/w_log2l.c: Likewise.
30345 * math/w_pow.c: Likewise.
30346 * math/w_powf.c: Likewise.
30347 * math/w_powl.c: Likewise.
30348 * math/w_remainder.c: Likewise.
30349 * math/w_remainderf.c: Likewise.
30350 * math/w_remainderl.c: Likewise.
30351 * math/w_scalb.c: Likewise.
30352 * math/w_scalbf.c: Likewise.
30353 * math/w_scalbl.c: Likewise.
30354 * math/w_sqrt.c: Likewise.
30355 * math/w_sqrtf.c: Likewise.
30356 * math/w_sqrtl.c: Likewise.
30357 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30358 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30360 * math/math_private.h: Declare __kernel_standard_f.
30361 * math/w_cosh.c: Remove cruft and optimize a bit.
30362 * math/w_coshf.c: Likewise.
30363 * math/w_coshl.c: Likewise.
30364 * math/w_exp2.c: Likewise.
30365 * math/w_exp2f.c: Likewise.
30366 * math/w_exp2l.c: Likewise.
30367 * math/w_hypot.c: Likewise.
30368 * math/w_hypotf.c: Likewise.
30369 * math/w_hypotl.c: Likewise.
30370 * math/w_lgamma.c: Likewise.
30371 * math/w_lgamma_r.c: Likewise.
30372 * math/w_lgammaf.c: Likewise.
30373 * math/w_lgammaf_r.c: Likewise.
30374 * math/w_lgammal.c: Likewise.
30375 * math/w_lgammal_r.c: Likewise.
30376 * math/w_sinh.c: Likewise.
30377 * math/w_sinhf.c: Likewise.
30378 * math/w_sinhl.c: Likewise.
30379 * math/w_tgamma.c: Likewise.
30380 * math/w_tgammaf.c: Likewise.
30381 * math/w_tgammal.c: Likewise.
30382 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30383 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30384 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30385 Minor optimizations. Pretty printing. Remove cruft.
30386 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30387 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30388 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30389 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30390 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30391 * sysdeps/i386/fpu/e_asin.S: Likewise.
30392 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30393 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30394 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30395 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30396 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30397 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30398 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30399 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30400 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30401 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30402 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30403 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30404 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30405 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30406 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30407 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30408 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30409 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30410 * sysdeps/i386/fpu/e_log.S: Likewise.
30411 * sysdeps/i386/fpu/e_log10.S: Likewise.
30412 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30413 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30414 * sysdeps/i386/fpu/e_log2.S: Likewise.
30415 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30416 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30417 * sysdeps/i386/fpu/e_logf.S: Likewise.
30418 * sysdeps/i386/fpu/e_logl.S: Likewise.
30419 * sysdeps/i386/fpu/e_pow.S: Likewise.
30420 * sysdeps/i386/fpu/e_powf.S: Likewise.
30421 * sysdeps/i386/fpu/e_powl.S: Likewise.
30422 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30423 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30424 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30425 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30426 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30427 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30428 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30429 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30430 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30431 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30432 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30434 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30435 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30436 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30437 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30438 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30439 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30440 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30441 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30442 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30443 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30444 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30445 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30446 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30447 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30448 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30449 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30450 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30451 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30452 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30453 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30454 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30455 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30456 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30457 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30458 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30459 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30460 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30461 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30462 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30465 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30466 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30467 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30468 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30469 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30470 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30471 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30472 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30473 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30474 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30475 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30476 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30477 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30478 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30479 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30480 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30481 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30482 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30483 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30484 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30485 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30486 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30487 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30488 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30489 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30490 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30491 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30492 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30494 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30495 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30496 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30497 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30498 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30499 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30500 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30501 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30502 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30503 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30504 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30505 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30506 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30507 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30508 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30509 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30510 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30511 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30512 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30513 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30514 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30515 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30516 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30517 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30518 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30519 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30520 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30521 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30522 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30523 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30524 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30525 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30526 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30527 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30528 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30529 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30530 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30531 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30532 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30533 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30534 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30535 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30536 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30537 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30538 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30539 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30540 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30541 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30542 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30543 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30544 (__isnanf): Likewise.
30545 (__isinf_ns): Likewise.
30546 (__isinf_nsf): Likewise.
30547 (__finite): Likewise.
30548 (__finitef): Likewise.
30549 (__ieee754_sqrt): Define as macro.
30550 (__ieee754_sqrtf): Define as macro.
30551 (__ieee754_sqrtl): Define as macro.
30552 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30554 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30555 __FINITE_MATH_ONLY__ consistent.
30556 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30558 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30560 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30563 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30565 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30567 * po/ja.po: Update from translation team.
30569 2011-10-08 Roland McGrath <roland@hack.frob.com>
30571 * locale/programs/locarchive.c (prepare_address_space): New function.
30572 (create_archive, enlarge_archive, open_archive): Use it.
30574 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30575 inside [SHARED], where it is used.
30577 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30579 * nss/getent.c (netgroup_keys): Remove unused variable.
30580 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30582 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30584 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30585 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30586 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30587 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30588 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30589 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30590 * math/Makefile (libm-calls): Add s_isinf_ns.
30591 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30592 * math/multc3.c: Likewise.
30593 * math/s_casin.c: Likewise.
30594 * math/s_casinf.c: Likewise.
30595 * math/s_casinl.c: Likewise.
30596 * math/s_ccos.c: Likewise.
30597 * math/s_ccosf.c: Likewise.
30598 * math/s_ccosl.c: Likewise.
30599 * math/s_ctan.c: Likewise.
30600 * math/s_ctanf.c: Likewise.
30601 * math/s_ctanh.c: Likewise.
30602 * math/s_ctanhf.c: Likewise.
30603 * math/s_ctanhl.c: Likewise.
30604 * math/s_ctanl.c: Likewise.
30605 * math/w_fmod.c: Likewise.
30606 * math/w_fmodf.c: Likewise.
30607 * math/w_fmodl.c: Likewise.
30608 * math/w_remainder.c: Likewise.
30609 * math/w_remainderf.c: Likewise.
30610 * math/w_remainderl.c: Likewise.
30611 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30612 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30614 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30615 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30616 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30617 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30618 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30620 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30622 * stdio-common/printf_fphex.c: Likewise.
30623 * stdio-common/printf_size.c: Likewise.
30625 * math/e_exp10.c: Include math_private.h using <...> not "...".
30626 * math/e_exp10f.c: Likewise.
30627 * math/e_exp10l.c: Likewise.
30628 * math/e_exp2l.c: Likewise.
30629 * math/e_j0l.c: Likewise.
30630 * math/e_j1l.c: Likewise.
30631 * math/e_jnl.c: Likewise.
30632 * math/e_lgammal_r.c: Likewise.
30633 * math/e_rem_pio2l.c: Likewise.
30634 * math/e_scalb.c: Likewise.
30635 * math/e_scalbf.c: Likewise.
30636 * math/e_scalbl.c: Likewise.
30637 * math/k_cosl.c: Likewise.
30638 * math/k_sinl.c: Likewise.
30639 * math/k_tanl.c: Likewise.
30640 * math/s_cacoshf.c: Likewise.
30641 * math/s_catan.c: Likewise.
30642 * math/s_catanf.c: Likewise.
30643 * math/s_catanh.c: Likewise.
30644 * math/s_catanhf.c: Likewise.
30645 * math/s_catanhl.c: Likewise.
30646 * math/s_catanl.c: Likewise.
30647 * math/s_ccosh.c: Likewise.
30648 * math/s_ccoshf.c: Likewise.
30649 * math/s_ccoshl.c: Likewise.
30650 * math/s_cexp.c: Likewise.
30651 * math/s_cexpf.c: Likewise.
30652 * math/s_cexpl.c: Likewise.
30653 * math/s_clog.c: Likewise.
30654 * math/s_clog10.c: Likewise.
30655 * math/s_clog10f.c: Likewise.
30656 * math/s_clog10l.c: Likewise.
30657 * math/s_clogf.c: Likewise.
30658 * math/s_clogl.c: Likewise.
30659 * math/s_csin.c: Likewise.
30660 * math/s_csinf.c: Likewise.
30661 * math/s_csinh.c: Likewise.
30662 * math/s_csinhf.c: Likewise.
30663 * math/s_csinhl.c: Likewise.
30664 * math/s_csinl.c: Likewise.
30665 * math/s_csqrt.c: Likewise.
30666 * math/s_csqrtf.c: Likewise.
30667 * math/s_csqrtl.c: Likewise.
30668 * math/s_ctan.c: Likewise.
30669 * math/s_ctanf.c: Likewise.
30670 * math/s_ctanh.c: Likewise.
30671 * math/s_ctanhf.c: Likewise.
30672 * math/s_ctanhl.c: Likewise.
30673 * math/s_ctanl.c: Likewise.
30674 * math/s_ldexp.c: Likewise.
30675 * math/s_ldexpf.c: Likewise.
30676 * math/s_ldexpl.c: Likewise.
30677 * math/s_significand.c: Likewise.
30678 * math/s_significandf.c: Likewise.
30679 * math/s_significandl.c: Likewise.
30680 * math/w_acos.c: Likewise.
30681 * math/w_acosf.c: Likewise.
30682 * math/w_acosh.c: Likewise.
30683 * math/w_acoshf.c: Likewise.
30684 * math/w_acoshl.c: Likewise.
30685 * math/w_acosl.c: Likewise.
30686 * math/w_asin.c: Likewise.
30687 * math/w_asinf.c: Likewise.
30688 * math/w_asinl.c: Likewise.
30689 * math/w_atan2.c: Likewise.
30690 * math/w_atan2f.c: Likewise.
30691 * math/w_atan2l.c: Likewise.
30692 * math/w_atanh.c: Likewise.
30693 * math/w_atanhf.c: Likewise.
30694 * math/w_atanhl.c: Likewise.
30695 * math/w_cosh.c: Likewise.
30696 * math/w_coshf.c: Likewise.
30697 * math/w_coshl.c: Likewise.
30698 * math/w_dremf.c: Likewise.
30699 * math/w_exp10.c: Likewise.
30700 * math/w_exp10f.c: Likewise.
30701 * math/w_exp10l.c: Likewise.
30702 * math/w_exp2.c: Likewise.
30703 * math/w_exp2f.c: Likewise.
30704 * math/w_fmod.c: Likewise.
30705 * math/w_fmodf.c: Likewise.
30706 * math/w_fmodl.c: Likewise.
30707 * math/w_hypot.c: Likewise.
30708 * math/w_hypotf.c: Likewise.
30709 * math/w_hypotl.c: Likewise.
30710 * math/w_j0.c: Likewise.
30711 * math/w_j0f.c: Likewise.
30712 * math/w_j0l.c: Likewise.
30713 * math/w_j1.c: Likewise.
30714 * math/w_j1f.c: Likewise.
30715 * math/w_j1l.c: Likewise.
30716 * math/w_jn.c: Likewise.
30717 * math/w_jnf.c: Likewise.
30718 * math/w_jnl.c: Likewise.
30719 * math/w_lgamma.c: Likewise.
30720 * math/w_lgamma_r.c: Likewise.
30721 * math/w_lgammaf.c: Likewise.
30722 * math/w_lgammaf_r.c: Likewise.
30723 * math/w_lgammal.c: Likewise.
30724 * math/w_lgammal_r.c: Likewise.
30725 * math/w_log.c: Likewise.
30726 * math/w_log10.c: Likewise.
30727 * math/w_log10f.c: Likewise.
30728 * math/w_log10l.c: Likewise.
30729 * math/w_log2.c: Likewise.
30730 * math/w_log2f.c: Likewise.
30731 * math/w_log2l.c: Likewise.
30732 * math/w_logf.c: Likewise.
30733 * math/w_logl.c: Likewise.
30734 * math/w_pow.c: Likewise.
30735 * math/w_powf.c: Likewise.
30736 * math/w_powl.c: Likewise.
30737 * math/w_remainder.c: Likewise.
30738 * math/w_remainderf.c: Likewise.
30739 * math/w_remainderl.c: Likewise.
30740 * math/w_scalb.c: Likewise.
30741 * math/w_scalbf.c: Likewise.
30742 * math/w_scalbl.c: Likewise.
30743 * math/w_sinh.c: Likewise.
30744 * math/w_sinhf.c: Likewise.
30745 * math/w_sinhl.c: Likewise.
30746 * math/w_sqrt.c: Likewise.
30747 * math/w_sqrtf.c: Likewise.
30748 * math/w_sqrtl.c: Likewise.
30749 * math/w_tgamma.c: Likewise.
30750 * math/w_tgammaf.c: Likewise.
30751 * math/w_tgammal.c: Likewise.
30753 * po/ja.po: Update from translation team.
30755 2011-09-29 Andreas Jaeger <aj@suse.de>
30758 * sunrpc/netname.c (netname2host): Fix logic.
30762 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30764 * math/w_remainder.c (__remainder): Likewise.
30765 * math/w_remainderf.c (__remainderf): Likewise.
30766 * math/libm-test.inc (remainder_test): Add test cases.
30768 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30770 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30773 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30775 * string/test-memcmp.c: Avoid unncessary #defines.
30776 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30778 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30780 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30781 Use new sse2 version for core i3 - i7 as it's faster
30782 than sse42 version.
30783 (bit_Prefer_PMINUB_for_stringop): New.
30784 * sysdeps/x86_64/rawmemchr.S: Update.
30785 Replace with faster SSE2 version.
30786 * sysdeps/x86_64/memrchr.S: New file.
30787 * sysdeps/x86_64/memchr.S: Update.
30788 Replace with faster SSE2 version.
30790 2011-09-12 Marek Polacek <mpolacek@redhat.com>
30792 * elf/dl-load.c (lose): Add cast to avoid warning.
30794 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30796 * po/ca.po: Update from translation team.
30798 * inet/getnetgrent_r.c: Hook up nscd.
30799 * nscd/Makefile (routines): Add nscd_netgroup.
30800 (nscd-modules): Add netgroupcache.
30801 (CFLAGS-netgroupcache.c): Define.
30802 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30803 (cache_search): Add const to second parameter.
30804 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30806 (dbs): Add netgrdb entry.
30807 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30808 (verify_persistent_db): Handle netgrdb.
30809 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30810 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30812 (netgroup_response_header): Define.
30813 (innetgroup_response_header): Define.
30814 (datahead): Add netgroup_response_header and innetgroup_response_header
30816 * nscd/nscd.conf: Add entries for netgroup cache.
30817 * nscd/nscd.h (dbtype): Add netgrdb.
30818 (_PATH_NSCD_NETGROUP_DB): Define.
30819 (netgroup_iov_disabled): Declare.
30820 (xmalloc, xcalloc, xrealloc): Move declarations here.
30821 (cache_search): Adjust prototype.
30822 Add netgroup-related prototypes.
30823 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30824 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30825 (__nscd_innetgr): Declare.
30826 * nscd/selinux.c (perms): Use access_vector_t as element type and
30827 add netgroup-related initializers.
30828 * nscd/netgroupcache.c: New file.
30829 * nscd/nscd_netgroup.c: New file.
30830 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30831 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30832 For four parameters use innetgr.
30833 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30834 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30835 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30836 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30838 * nscd/connections.c (register_traced_file): Don't register file
30839 for disabled databases.
30841 2011-10-06 Ulrich Drepper <drepper@gmail.com>
30843 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30845 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30846 from tree and freeing node.
30848 2011-09-25 Jiri Olsa <jolsa@redhat.com>
30850 * nss/nsswitch.c (__nss_database_lookup): Handle
30851 nss_parse_service_list out of memory case.
30853 2011-09-15 Jiri Olsa <jolsa@redhat.com>
30855 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30856 out of memory case.
30858 2011-10-04 Andreas Schwab <schwab@redhat.com>
30860 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30861 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30863 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30864 elf_machine_rela, elf_machine_lazy_rel.
30865 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30866 (ELF_DYNAMIC_DO_REL): Likewise.
30867 (ELF_DYNAMIC_DO_RELA): Likewise.
30868 (ELF_DYNAMIC_RELOCATE): Likewise.
30869 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30870 to ELF_DYNAMIC_DO_REL.
30871 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30872 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30873 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30875 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30876 skip_ifunc, don't call ifunc function if non-zero.
30877 (elf_machine_rela): Likewise.
30878 (elf_machine_lazy_rel): Likewise.
30879 (elf_machine_lazy_rela): Likewise.
30880 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30881 (elf_machine_lazy_rel): Likewise.
30882 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30884 (elf_machine_lazy_rel): Likewise.
30885 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30887 (elf_machine_lazy_rel): Likewise.
30888 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30889 (elf_machine_lazy_rel): Likewise.
30890 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30891 (elf_machine_lazy_rel): Likewise.
30892 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30893 (elf_machine_lazy_rel): Likewise.
30894 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30895 (elf_machine_lazy_rel): Likewise.
30896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30897 (elf_machine_lazy_rel): Likewise.
30898 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30899 (elf_machine_lazy_rel): Likewise.
30901 2011-09-28 Ulrich Drepper <drepper@gmail.com>
30903 * nss/nss_files/files-init.c (_nss_files_init): Use static
30904 initialization for all the *_traced_file variables.
30906 2011-09-28 Andreas Schwab <schwab@redhat.com>
30908 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30910 2011-09-27 Roland McGrath <roland@hack.frob.com>
30913 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30915 2011-09-27 Andreas Schwab <schwab@redhat.com>
30917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30918 Reread the line before reparsing it.
30920 2011-09-26 Andreas Schwab <schwab@redhat.com>
30922 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30924 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30925 Maxim Kuvyrkov <maxim@codesourcery.com>
30926 Joseph Myers <joseph@codesourcery.com>
30928 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30929 if needed for __stack_chk_guard.
30931 2011-09-19 Roland McGrath <roland@hack.frob.com>
30933 * sysdeps/posix/spawni.c (script_execute): Always define it.
30934 It will be optimized away if unused.
30935 (maybe_script_execute): New function.
30936 (__spawni): Call it.
30938 * Makerules: Don't include tls.make.
30939 (config-tls): Always set to thread.
30940 * tls.make.c: File removed.
30942 2011-09-19 Mike Frysinger <vapier@gentoo.org>
30944 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30945 * config.make.in (CPPFLAGS-config): New substituted variable.
30947 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30952 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30953 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30955 2011-09-15 Roland McGrath <roland@hack.frob.com>
30957 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30958 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30960 (CALL_FAIL): Likewise.
30961 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30962 (CALL_FAIL): Macro removed.
30963 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30965 2011-09-15 Ulrich Drepper <drepper@gmail.com>
30967 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30968 for __FINITE_MATH_ONLY__ == 1.
30970 2011-09-15 Andreas Schwab <schwab@redhat.com>
30972 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30973 __ieee754_sqrt instead of sqrt.
30974 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30975 __ieee754_sqrtf instead of sqrtf.
30976 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30977 __floorf instead of floorf.
30978 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30979 __floorf, __truncf instead of floorf, truncf.
30981 2011-09-14 Ulrich Drepper <drepper@gmail.com>
30983 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30985 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30986 __extern_always_inline.
30987 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30990 2011-09-14 Andreas Schwab <schwab@redhat.com>
30992 * elf/rtld.c (dl_main): Also relocate in dependency order when
30993 doing symbol dependency testing.
30995 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30997 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30998 Always define `refsym'.
31000 2011-09-13 Andreas Schwab <schwab@redhat.com>
31002 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31003 (__FD_ELT): Renamed from __FDELT.
31004 * misc/bits/select2.h (__FD_ELT): Likewise.
31005 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31006 __FD_MASK instead of __FDELT, __FDMASK.
31007 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31009 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31012 * elf/Makefile (gen-ldd): Fix pattern.
31014 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31015 (init_tls): Likewise.
31017 2011-09-12 Ulrich Drepper <drepper@gmail.com>
31019 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31021 2011-09-12 Andreas Schwab <schwab@redhat.com>
31023 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31024 `struct cmsghdr *' instead of `void *'.
31025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31028 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31030 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31032 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31033 ldd_rewrite_script.
31035 2011-09-11 Ulrich Drepper <drepper@gmail.com>
31037 * configure.in: Remove --with-tls option.
31038 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31039 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31040 out in case it is missing.
31041 * sysdeps/ia64/elf/configure.in: Likewise.
31042 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31043 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31044 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31045 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31046 * sysdeps/sh/elf/configure.in: Likewise.
31047 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31048 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31049 * sysdeps/x86_64/elf/configure.in: Likewise.
31050 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31051 * sysdeps/mach/hurd/tls.h: Likewise.
31054 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31057 * configure.in: Fix use of AC_INIT.
31059 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31061 2011-09-10 Ulrich Drepper <drepper@gmail.com>
31063 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31065 * malloc/hooks.c: Likewise.
31068 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31069 variables statically.
31070 (narenas): Initialize.
31071 (list_lock): Initialize.
31072 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31073 initializtion of main_arena and list_lock. Small cleanups.
31074 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31075 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31076 Add initializers to main_arena and mp_.
31077 (malloc_state): Remove pagesize member. Change all users to use
31080 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31081 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31082 is always initialized.
31084 * malloc/malloc.c: Removed unused configurations and dead code.
31085 * malloc/arena.c: Likewise.
31086 * malloc/hooks.c: Likewise.
31087 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31089 * include/tls.h: Removed. USE___THREAD must always be defined.
31090 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31091 * elf/dl-libc.c: Likewise.
31092 * elf/dl-tsd.c: Likewise.
31093 * include/errno.h: Likewise.
31094 * include/netdb.h: Likewise.
31095 * include/resolv.h: Likewise.
31096 * inet/herrno-loc.c: Likewise.
31097 * inet/herrno.c: Likewise.
31098 * malloc/arena.c: Likewise.
31099 * malloc/hooks.c: Likewise.
31100 * malloc/malloc.c: Likewise.
31101 * resolv/res-state.c: Likewise.
31102 * resolv/res_libc.c: Likewise.
31103 * sysdeps/i386/dl-machine.h: Likewise.
31104 * sysdeps/ia64/dl-machine.h: Likewise.
31105 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31106 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31107 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31108 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31109 * sysdeps/sh/dl-machine.h: Likewise.
31110 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31111 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31112 * sysdeps/unix/i386/sysdep.S: Likewise.
31113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31114 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31115 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31117 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31118 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31119 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31120 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31123 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31124 * sysdeps/x86_64/dl-machine.h: Likewise.
31125 * tls.make.c: Likewise.
31127 * configure.in: Remove --with-__thread option. Make tests for
31128 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31129 tls_model attribute fail if no support is available. Remove
31131 * Makeconfig: Adjust for dropped configure option. All features are
31133 * Makerules: Likewise.
31134 * Versions.def: Likewise.
31135 * argp/argp-fmtstream.c: Likewise.
31136 * argp/argp-fmtstream.h: Likewise.
31137 * argp/argp-help.c: Likewise.
31138 * assert/assert.c: Likewise.
31139 * config.h.in: Likewise.
31140 * config.make.in: Likewise.
31141 * configure: Likewise.
31142 * configure.in: Likewise.
31143 * csu/Versions: Likewise.
31144 * csu/init.c: Likewise.
31145 * elf/tst-audit2.c: Likewise.
31146 * elf/tst-tls10.c: Likewise.
31147 * elf/tst-tls10.h: Likewise.
31148 * elf/tst-tls11.c: Likewise.
31149 * elf/tst-tls12.c: Likewise.
31150 * elf/tst-tls14.c: Likewise.
31151 * elf/tst-tlsmod11.c: Likewise.
31152 * elf/tst-tlsmod12.c: Likewise.
31153 * elf/tst-tlsmod13.c: Likewise.
31154 * elf/tst-tlsmod13a.c: Likewise.
31155 * elf/tst-tlsmod14a.c: Likewise.
31156 * elf/tst-tlsmod15b.c: Likewise.
31157 * elf/tst-tlsmod16a.c: Likewise.
31158 * elf/tst-tlsmod16b.c: Likewise.
31159 * elf/tst-tlsmod7.c: Likewise.
31160 * elf/tst-tlsmod8.c: Likewise.
31161 * elf/tst-tlsmod9.c: Likewise.
31162 * gmon/gmon.c: Likewise.
31163 * grp/fgetgrent_r.c: Likewise.
31164 * grp/putgrent.c: Likewise.
31165 * hurd/fopenport.c: Likewise.
31166 * include/libc-symbols.h: Likewise.
31167 * include/tls.h: Likewise.
31168 * intl/gettextP.h: Likewise.
31169 * intl/loadinfo.h: Likewise.
31170 * locale/global-locale.c: Likewise.
31171 * locale/localeinfo.h: Likewise.
31172 * mach/devstream.c: Likewise.
31173 * malloc/arena.c: Likewise.
31174 * malloc/set-freeres.c: Likewise.
31175 * misc/err.c: Likewise.
31176 * misc/getttyent.c: Likewise.
31177 * misc/mntent_r.c: Likewise.
31178 * posix/getopt.c: Likewise.
31179 * posix/wordexp.c: Likewise.
31180 * pwd/fgetpwent_r.c: Likewise.
31181 * resolv/Versions: Likewise.
31182 * resolv/res_hconf.c: Likewise.
31183 * shadow/fgetspent_r.c: Likewise.
31184 * shadow/putspent.c: Likewise.
31185 * stdio-common/printf_fphex.c: Likewise.
31186 * stdio-common/tmpfile.c: Likewise.
31187 * stdlib/abort.c: Likewise.
31188 * stdlib/fmtmsg.c: Likewise.
31189 * sunrpc/auth_unix.c: Likewise.
31190 * sunrpc/clnt_perr.c: Likewise.
31191 * sunrpc/clnt_tcp.c: Likewise.
31192 * sunrpc/clnt_udp.c: Likewise.
31193 * sunrpc/clnt_unix.c: Likewise.
31194 * sunrpc/openchild.c: Likewise.
31195 * sunrpc/svc_simple.c: Likewise.
31196 * sunrpc/svc_tcp.c: Likewise.
31197 * sunrpc/svc_udp.c: Likewise.
31198 * sunrpc/svc_unix.c: Likewise.
31199 * sunrpc/xdr.c: Likewise.
31200 * sunrpc/xdr_array.c: Likewise.
31201 * sunrpc/xdr_rec.c: Likewise.
31202 * sunrpc/xdr_ref.c: Likewise.
31203 * sunrpc/xdr_stdio.c: Likewise.
31205 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31207 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31209 2011-07-03 Andreas Jaeger <aj@suse.de>
31211 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31212 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31213 regenerate with gen-libm-tests.pl.
31215 2010-05-12 Petr Baudis <pasky@suse.cz>
31218 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31219 around j0() zero points by switching to j1().
31220 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31225 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31227 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31229 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31231 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31232 Patch in part by Pavel Roskin <proski@gnu.org>.
31235 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31237 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31238 Free memory block if necessary.
31241 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31242 be NULL. Don't lock in this case.
31244 2011-09-09 Roland McGrath <roland@hack.frob.com>
31246 * elf/elf.h (ELFOSABI_GNU): New macro.
31247 (ELFOSABI_LINUX): Define to that.
31249 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31251 * string/strncat.c (strncat): Undef the symbol in case it has been
31252 defined in bits/string.h.
31254 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31256 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31258 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31261 2011-08-17 Andreas Jaeger <aj@suse.de>
31263 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31265 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31266 Ian Lance Taylor <iant@google.com>
31268 * math/libm-test.inc (lround_test): New testcase.
31269 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31271 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31273 * Makefile: Remove support for automatic cvs check-ins.
31274 * Makerules: Likewise.
31275 * config.make.in: Likewise.
31276 * configure.in: Likewise.
31277 * intl/Makefile: Likewise.
31278 * locale/Makefile: Likewise.
31279 * po/Makefile: Likewise.
31280 * posix/Makefile: Likewise.
31281 * sysdeps/gnu/Makefile: Likewise.
31282 * sysdeps/mach/hurd/Makefile: Likewise.
31283 * sysdeps/sparc/sparc32/Makefile: Likewise.
31286 * posix/Makefile (bug-regex32-ENV): Define.
31287 Patch by John Stanley <jpsinthemix@verizon.net>.
31289 * misc/Makefile (headers): Add bits/select2.h.
31290 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31291 * misc/bits/select2.h: New file.
31292 * include/bits/select2.h: New file.
31293 * debug/Makefile (routines): Add fdelt_chk.
31294 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31295 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31297 * debug/fdelt_chk.c: New file.
31299 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31300 * wcsmbs/test-wmemcmp.c: Likewise.
31301 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31302 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31304 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31306 * string/Makefile (strop-tests): Add memcmp.
31307 * string/test-wmemcmp.c: New file.
31308 * string/test-memcmp.c: Add wmemcmp support.
31310 2011-09-08 Roland McGrath <roland@hack.frob.com>
31313 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31316 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31317 garbage value in a __mach_port_mod_refs call in the cases of the
31318 task-self and thread-self ports.
31320 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31322 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31324 2011-09-08 Andreas Schwab <schwab@redhat.com>
31326 * elf/dl-load.c (lose): Check for non-null L.
31328 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31330 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31332 * elf/dl-libc.c (dlerror_run): Pass back error code from
31336 * elf/dl-load.c (lose): Free l_origin if it is valid.
31338 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31340 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31341 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31342 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31343 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31344 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31345 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31347 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31349 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31350 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31351 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31352 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31353 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31354 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31355 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31356 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31357 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31358 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31360 2011-08-15 Alan Modra <amodra@gmail.com>
31363 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31364 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31365 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31366 ppc_mcount to static-only-routines.
31367 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31369 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31370 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31372 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31374 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31375 for finite and infinity parameters.
31377 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31380 and add nop instructions for throughput optimization.
31381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31383 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31385 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31386 aligned copy for power7 with vector-scalar instructions.
31387 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31389 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31391 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31394 2011-09-07 Andreas Schwab <schwab@redhat.com>
31397 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31400 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31402 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31403 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31404 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31405 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31408 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31410 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31411 Forgot to demangle the pointer.
31413 * sysdeps/i386/sysdep.h: Define atom_text_section.
31414 * sysdeps/x86_64/sysdep.h: Likewise.
31415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31416 section with atom_text_section.
31417 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31418 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31419 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31421 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31423 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31425 already be defined. Change to take two parameters and don't assign
31426 result to variable. Adjust all users.
31427 Define INTERNAL_GETTIME if not already defined.
31428 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31430 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31431 HAVE_CLOCK_GETTIME_VSYSCALL.
31432 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31435 gettimeofday vsyscall, just use time.
31437 2011-09-06 Andreas Schwab <schwab@redhat.com>
31439 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31442 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31444 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31446 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31448 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31450 syscall if possible.
31452 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31454 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31455 e_ident. Don't pass to find_mapsXX.
31456 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31458 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31461 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31462 * sysdeps/x86_64/multiarch/strchr.S: Update.
31463 Check bit_slow_BSF bit.
31464 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31465 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31466 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31468 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31471 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31473 (tryshell): Define.
31474 (__spawni): Change last parameter to be flag. Test
31475 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31476 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31477 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31478 * posix/spawni.c: Likewise.
31479 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31480 * posix/spawnp.c: Likewise. Change normal version to use
31481 SPAWN_XFLAGS_USE_PATH.
31482 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31483 SPAWN_XFLAGS_TRY_SHELL.
31486 * posix/glob.h: Remove gcc 1.x support.
31489 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31491 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31493 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31494 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31496 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31497 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31498 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31499 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31500 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31501 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31503 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31505 * sysdeps/x86_64/wcscmp.S: New file.
31507 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31508 wcscmp-c wcscmp-sse2
31509 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31510 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31511 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31512 * wcsmbs/wcscmp.c: Allow renaming.
31514 2011-09-05 David S. Miller <davem@davemloft.net>
31516 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31517 stack slot, rather than the struct return pointer slot.
31518 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31519 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31521 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31523 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31525 * po/ja.po: Update from translation team.
31528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31529 kernel in 64-bit binaries.
31531 2011-09-01 David S. Miller <davem@davemloft.net>
31533 * elf/elf.h (HWCAP_SPARC_*): Move to..
31534 * sysdeps/sparc/sysdep.h: this new file and add new values.
31535 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31536 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31537 _DL_HWCAP_COUNT to 24.
31538 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31540 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31541 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31542 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31543 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31544 instead of magic constants.
31545 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31547 2011-08-31 David S. Miller <davem@davemloft.net>
31549 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31550 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31551 Reimplement to do errno handling inline.
31552 (SYSCALL_ERROR_HANDLER): New macro.
31553 (__SYSCALL_STRING): Do not do errno handling in asm.
31554 (__CLONE_SYSCALL_STRING): Delete.
31555 (__INTERNAL_SYSCALL_STRING): Delete.
31556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31557 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31558 (PSEUDO): Reimplement to do errno handling inline.
31559 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31560 (SYSCALL_ERROR_HANDLER): New macro.
31561 (__SYSCALL_STRING): Do not do errno handling in asm.
31562 (__CLONE_SYSCALL_STRING): Delete.
31563 (__INTERNAL_SYSCALL_STRING): Delete.
31564 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31565 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31567 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31568 (inline_syscall*): Add 'err' argument.
31569 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31570 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31571 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31572 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31574 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31575 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31577 2011-08-30 Andreas Schwab <schwab@redhat.com>
31579 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31581 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31583 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31586 2011-08-24 David S. Miller <davem@davemloft.net>
31588 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31590 2011-08-24 Andreas Schwab <schwab@redhat.com>
31592 * elf/Makefile: Add rules to build and run unload8 test.
31593 * elf/unload8.c: New file.
31594 * elf/unload8mod1.c: New file.
31595 * elf/unload8mod1x.c: New file.
31596 * elf/unload8mod2.c: New file.
31597 * elf/unload8mod3.c: New file.
31599 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31602 2011-08-23 David S. Miller <davem@davemloft.net>
31604 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31605 subtract stack bias.
31606 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31607 %sp not %fp in calculations.
31608 (_JMPBUF_UNWINDS_ADJ): Likewise.
31610 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31611 (aio_suspend): Call it to force an exception region around the
31612 AIO_MISC_WAIT() invocation.
31614 2011-08-23 Andreas Schwab <schwab@redhat.com>
31616 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31619 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31621 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31623 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31624 and <dl-machine.h>.
31625 (Elf64_FuncDesc): Remove.
31627 2011-08-22 David S. Miller <davem@davemloft.net>
31629 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31630 sigaltstack check, add missing cfi directives.
31631 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31632 missing cfi directives, and sigaltstack handling.
31634 2011-08-16 Andreas Schwab <schwab@redhat.com>
31637 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31638 object is seen twice.
31639 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31641 * elf/Makefile (distribute): Add tst-initorder2.c.
31642 (tests): Add tst-initorder2.
31643 (modules-names): Add tst-initorder2a tst-initorder2b
31644 tst-initorder2c tst-initorder2d. Add rules to build them.
31645 ($(objpfx)tst-initorder2.out): New rule.
31646 * elf/tst-initorder2.c: New file.
31647 * elf/tst-initorder2.exp: New file.
31649 2011-08-22 Andreas Schwab <schwab@redhat.com>
31651 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31653 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31654 dependencies back to end of function.
31656 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31657 $(elfobjdir)/ld.so.
31659 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31662 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31663 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31664 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31665 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31666 of __vdso_gettimeofday.
31667 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31668 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31670 (_libc_vdso_platform_setup): Remove initialization of
31671 __vdso_gettimeofday and __vdso_time.
31673 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31675 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31676 and fgetc_unlocked.
31677 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31680 * elf/dl-open.c (add_to_global): Report additions to the global scope
31681 for LD_DEBUG=scopes.
31682 (dl_open_worker): Also print scope of newly loaded dependencies.
31683 (_dl_show_scope): Indicate if there is no scope.
31686 * stdio-common/Makefile (tests): Add bug24.
31687 * stdio-common/bug24.c: New file.
31689 2011-08-19 Andreas Jaeger <aj@suse.de>
31692 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31693 non-existant file when using close-on-exec mode.
31695 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31697 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31698 the very first instruction.
31700 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31701 the CFI state in the end.
31702 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31703 inclusion of dl-trampoline.h.
31704 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31706 2011-08-19 Andreas Schwab <schwab@redhat.com>
31708 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31709 expectations for long double.
31711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31712 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31714 2011-08-14 David S. Miller <davem@davemloft.net>
31716 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31717 artificual limit depends upon the system page size.
31719 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31721 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31722 * resolv/Makefile: Define CFLAGS-libresolv.
31724 2011-08-17 Andreas Schwab <schwab@redhat.com>
31726 * nss/makedb.c (compute_tables): Make variables used in nested
31729 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31731 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31732 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31733 if buffer was too small.
31735 * elf/pldd.c (main): Attach to all threads in the process.
31736 Rewrite /proc handling to use *at functions.
31738 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31740 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31741 specifies first scope to show.
31742 (dl_open_worker): Update callers. Move printing scope of new
31743 object to before the relocation.
31744 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31745 * sysdeps/generic/ldsodefs.h: Update declaration.
31747 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31748 string for the scope number.
31750 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31752 * nscd/servicescache.c (cache_addserv): Make sure written is always
31755 2011-08-14 Roland McGrath <roland@hack.frob.com>
31757 * sysdeps/i386/i486/bits/atomic.h
31758 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31759 statement expression, so as to suppress "set but not used" warning.
31760 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31762 * string/strncat.c (STRNCAT): Use prototype definition.
31764 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31765 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31767 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31768 (localedef-modules): Add localedef.
31769 (locale-modules): Add locale.
31771 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31772 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31773 to avoid a warning.
31775 2011-08-14 David S. Miller <davem@davemloft.net>
31777 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31778 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31780 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31782 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31783 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31784 * elf/rtld.c (dl_main): Set l_name of vDSO.
31785 Call _dl_show_scope when DL_DEBUG_SCOPES.
31786 (process_dl_debug): Recognize scopes flag and also set it for all.
31787 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31788 Declare _dl_show_scope.
31790 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31791 (do_dlopen): Pass caller_dlopen to dl_open.
31792 (__libc_dlopen_mode): Initialize caller_dlopen.
31794 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31795 of libc. Make tolower call locale-independent. Optimize a bit by
31796 using isdigit instead of isalnum.
31797 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31799 2011-08-12 Ulrich Drepper <drepper@gmail.com>
31801 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31802 was a dependency or dynamically loaded.
31804 2011-08-11 Ulrich Drepper <drepper@gmail.com>
31806 * intl/l10nflist.c: Allow architecture-specific pop function.
31807 * sysdeps/x86_64/l10nflist.c: New file.
31809 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31812 2011-08-10 Andreas Schwab <schwab@redhat.com>
31814 * include/dirent.h: Add libc_hidden_proto for scandirat and
31815 scandirat64. Don't declare __scandirat64.
31816 * dirent/scandirat.c: Add libc_hidden_def.
31817 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31818 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31820 2011-08-10 David S. Miller <davem@davemloft.net>
31822 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31824 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31825 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31826 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31828 2011-08-09 Ulrich Drepper <drepper@gmail.com>
31830 * Versions.def [libc]: Add GLIBC_2.15.
31831 * dirent/Makefile (routines): Add scandirat and scandirat64.
31832 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31834 * dirent/dirent.h: Declare scandirat and scandirat64.
31835 * dirent/scandirat.c: New file.
31836 * dirent/scandirat64.c: New file.
31837 * sysdeps/wordsize-64/scandirat.c: New file.
31838 * sysdeps/wordsize-64/scandirat64.c: New file.
31839 * dirent/opendir.c: Define opendirat.
31840 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31842 * dirent/scandir64.c: Adjust for scandir.c change.
31843 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31844 __scandirat64, and __scandir_cancel_handler.
31845 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31846 additional parameter and use openat instead of open (outside of ld.so).
31847 Add new __opendir as wrapper around __opendirat.
31848 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31849 here without requiring old scandirat implementation.
31851 2011-08-08 Ulrich Drepper <drepper@gmail.com>
31853 * dirent/scandir.c (cancel_handler): Renamed to
31854 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31855 defined. Adjust users.
31856 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31857 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31859 2011-08-04 Ulrich Drepper <drepper@gmail.com>
31861 * string/test-string.h (IMPL): Use __STRING to expand name and then
31864 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31867 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31869 * string/Makefile: Update.
31870 (strop-tests): Append strncat.
31871 * string/test-wcscmp.c: New file.
31872 New comprehensive test for wcscmp.
31873 * string/test-strcmp.c: Update.
31874 (WIDE): New define.
31876 2011-07-22 Andreas Schwab <schwab@redhat.com>
31878 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31881 2011-07-26 Andreas Schwab <schwab@redhat.com>
31883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31884 encoding to ACE if AI_IDN.
31886 2011-08-01 Jakub Jelinek <jakub@redhat.com>
31888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31889 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31891 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31893 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31894 Fix overflow bug in strncat.
31895 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31897 * string/test-strncat.c: Update.
31898 Add new tests for checking overflow bugs.
31900 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31903 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31904 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31905 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31906 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31907 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31908 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31909 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31910 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31912 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31913 (USE_AS_STRCAT): Define.
31914 Add strcat and strncat support.
31915 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31917 2011-07-25 Andreas Schwab <schwab@redhat.com>
31919 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31920 __n bigger than INT_MAX+1.
31921 (__strncmp_g): Likewise.
31923 2011-07-23 Ulrich Drepper <drepper@gmail.com>
31925 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31926 * libio/stido.h: Likewise.
31928 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31930 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31933 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31934 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31935 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31936 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31937 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31940 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31945 (_dl_x86_64_save_sse): Likewise.
31947 2011-07-22 Ulrich Drepper <drepper@gmail.com>
31949 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31951 (_dl_x86_64_save_sse): Likewise.
31953 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31955 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31957 2011-07-21 Andreas Schwab <schwab@redhat.com>
31959 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31961 (_dl_x86_64_save_sse): Use correct AVX check.
31963 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31965 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31966 bug in strncpy/strncat.
31967 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31969 2011-07-21 Ulrich Drepper <drepper@gmail.com>
31971 * string/tester.c (test_strcat): Add tests for different alignments
31972 of source and destination.
31973 (test_strncat): Likewise.
31975 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31978 * posix/glob.c (glob): Check passed in values before using them in
31979 expressions to avoid some overflows.
31980 (glob_in_dir): Likewise.
31983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31984 check for AVX enablement so that we don't crash with old kernels and
31986 * elf/tst-audit4.c: Add same checks here.
31987 * elf/tst-audit6.c: Likewise.
31989 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
31991 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31993 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31995 2011-07-20 Ulrich Drepper <drepper@gmail.com>
31997 * po/cs.po: Update from translation team.
31998 * po/bg.po: Likewise.
32000 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32002 * misc/sys/cdefs.h: Add support for const attribute.
32003 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32004 to gnu_dev_{major,minor,makedev} functions.
32006 2011-07-20 Marek Polacek <mpolacek@redhat.com>
32008 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32010 2011-07-20 Andreas Schwab <schwab@redhat.com>
32012 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32015 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32017 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32018 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32019 register in order to avoid conflicts with the soft frame pointer
32020 being held in r11 when necessary.
32021 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32022 (INTERNAL_VSYSCALL_NCS): Likewise.
32024 2011-07-14 Marek Polacek <mpolacek@redhat.com>
32026 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32027 * elf/dl-fini.c (_dl_fini): Adjust caller.
32028 * elf/dl-close.c (_dl_close_worker): Likewise.
32029 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32031 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32033 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32034 "aux_cache->nlibs < 0".
32036 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32037 in the reload-count case.
32039 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32042 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32043 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32044 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32045 * sysdeps/x86_64/multiarch/strcat.S: New file.
32046 * sysdeps/x86_64/multiarch/strncat.S: New file.
32047 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32048 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32049 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32050 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32051 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32052 (USE_AS_STRCAT): Define.
32053 Add strcat and strncat support.
32054 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32055 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32056 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32057 * string/strncat.c: Update.
32058 (USE_AS_STRNCAT): Define.
32059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32060 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32062 * sysdeps/x86_64/multiarch/init-arch.h
32063 (bit_Prefer_PMINUB_for_stringop): New.
32064 (index_Prefer_PMINUB_for_stringop): Likewise.
32065 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32066 bit_Prefer_PMINUB_for_stringop.
32068 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32070 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32072 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32073 of casting of buffer.
32074 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32075 buffer32 and buffer64.
32076 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32077 writes instead of casting of buffer.
32078 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32080 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32083 2011-07-19 Andreas Schwab <schwab@redhat.com>
32085 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32087 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32089 * nscd/nscd.c (termination_handler): Don't do anything for a database
32090 if it has not yet been initialized.
32092 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32094 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32096 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32098 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32100 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32102 * po/nl.po: Update from translation team.
32103 * po/sv.po: Likewise.
32105 2011-07-16 Roland McGrath <roland@hack.frob.com>
32107 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32108 now disallowed by GCC.
32110 * configure.in (use-default-link): Default to yes if a test -shared
32111 link meets our qualifications.
32112 * configure: Regenerated.
32114 * config.make.in (output-format): New variable.
32115 * configure.in: Check for ld --print-output-format support.
32116 * configure: Regenerated.
32117 * Makerules ($(common-objpfx)format.lds)
32118 [$(output-format) != unknown]: Just use $(output-format),
32119 instead of the linker-script munging.
32121 2011-07-14 Roland McGrath <roland@hack.frob.com>
32123 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32124 of $(common-objpfx)shlib.lds.
32125 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32127 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32128 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32130 * configure.in (-z relro check): Adjust test code to add a large
32131 writable data section after it.
32132 * configure: Regenerated.
32134 2011-07-11 Roland McGrath <roland@hack.frob.com>
32136 * configure.in (-z relro check): Fix test code to make the variable
32138 * configure: Regenerated.
32140 2011-07-11 Ulrich Drepper <drepper@gmail.com>
32142 * nscd/nscd.h (struct traced_file): Define.
32143 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32144 elements. Add traced_files.
32145 (inotify_fd): Declare.
32146 (register_traced_file): Declare.
32147 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32148 (inotify_fd): Export.
32149 (resolv_conf_descr): Remove.
32150 (nscd_init): Move inotify descriptor creation to main.
32151 Don't register files for notification here.
32152 (register_traced_file): New function.
32153 (invalidate_cache): Don't use reset_res to determine whether to call
32154 res_init, go through the list of registered files.
32155 (main_loop_poll): The inotify descriptors are now stored in the
32156 structures for the traced files.
32157 (main_loop_epoll): Likewise
32158 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32159 to __nss_disable_nscd.
32160 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32161 for a database anymore. Check the records for all the registered
32163 * nss/Makefile (libnss_files-routines): Add files-init.
32164 (libnss_db-routines): Add db-init.
32165 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32166 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32167 * nss/nss_db/db-init.c: New file.
32168 * nss/nss_files/files-init.c: New file.
32169 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32170 __nss_lookup_function.
32171 (__nss_lookup_function): Call nss_load_library.
32172 (nss_load_all_libraries): New function.
32173 (__nss_disable_nscd): Take parameter with callback function for files
32174 to register. Set is_nscd. Load all the DSOs for the NSS modules
32175 used for the cached services.
32176 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32178 options for features to all the files in nscd.
32180 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32182 2011-07-10 Roland McGrath <roland@hack.frob.com>
32184 * csu/elf-init.c (__libc_csu_init): Comment typo.
32186 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32188 * po/pl.po: Update from translation team.
32189 * po/ja.po: Likewise.
32190 * po/ru.po: Likewise.
32191 * po/ko.po: Likewise.
32192 * po/fr.po: Likewise.
32194 2011-07-09 Roland McGrath <roland@hack.frob.com>
32196 * configure.in (.ctors/.dtors header and trailer check):
32197 Use an empirical test on a built program.
32198 * configure: Regenerated.
32200 * configure.in (-z relro check): Use an empirical test on a built DSO.
32201 Detect, but do not require, on ia64.
32202 * configure: Regenerated.
32204 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32205 Update tests that use readelf to use $READELF instead.
32206 * configure: Regenerated.
32208 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32210 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32211 if the result is not used.
32213 2011-07-05 Andreas Jaeger <aj@suse.de>
32216 * stdlib/tst-strtod.c: Add testcase.
32218 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32220 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32221 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32222 The latter has a higher limit. Take additional parameter to pass to
32224 (__pathconf): Pass file to __statfs_link_max.
32225 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32227 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32231 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32232 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32234 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32235 (__statfs_filesize_max): Likewise.
32236 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32238 2011-07-05 Andreas Jaeger <aj@suse.de>
32240 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32242 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32244 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32246 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32249 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32251 * Makefile (strop-tests): Add strncat.
32252 * string/test-strncat.c: New file.
32254 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32256 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32258 2011-06-21 Andreas Jaeger <aj@suse.de>
32260 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32261 Copy rule from iconvdata/Makefile.
32263 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32266 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32267 but no long options are defined, just return 'W'.
32269 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32272 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32274 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32276 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32278 (innetgr): Likewise.
32280 2011-07-05 Roland McGrath <roland@hack.frob.com>
32282 * config.make.in (install_root): Default to $(DESTDIR).
32284 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32286 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32288 2011-07-02 Roland McGrath <roland@hack.frob.com>
32290 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32292 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32293 containing directory rather than embedding absolute directory names.
32295 * scripts/check-local-headers.sh: Rewritten using awk.
32296 Match by word, not by line. Print error messages for matches.
32297 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32299 * Makerules [shlib-lds-flags empty]:
32300 ($(common-objpfx)libc_pic.opts): New target.
32301 ($(common-objpfx)libc_pic.os.clean): New target.
32302 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32304 * config.make.in (OBJCOPY): New variable.
32305 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32306 * configure: Regenerated.
32308 * config.make.in (use-default-link): New variable.
32309 * configure.in (use_default_link): Grok --with-default-link to set it.
32310 * configure: Regenerated.
32311 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32312 (shlib-lds, shlib-lds-flags): Define to empty.
32314 * Makerules (shlib-lds): New variable.
32315 (shlib-lds-flags): New variable.
32316 (build-shlib, build-moduile, build-module-asneeded): Use it.
32317 ($(common-objpfx)libc.so): Use $(shlib-lds).
32318 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32319 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32321 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32322 DT_FLAGS/DT_FLAGS_1 with zero flags.
32324 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32325 linker script munging.
32327 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32329 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32331 * crypt/sha512.c (sha512_process_block): Perform total addition using
32332 128-bit if possible.
32333 (__sha512_finish_ctx): Likewise.
32334 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32336 * crypt/sha256.c (SWAP64): Define.
32337 (sha256_process_block): Perform total addition using 64-bit if
32339 (__sha256_finish_ctx): Likewise.
32341 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32343 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32344 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32345 * nscd/hstcache.c (cache_addhst): Likewise.
32346 * nscd/grpcache.c (cache_addgr): Likewise.
32347 * nscd/aicache.c (addhstaiX): Likewise
32348 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32350 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
32352 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32353 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32354 * nscd/hstcache.c (cache_addhst): Likewise.
32355 * nscd/grpcache.c (cache_addgr): Likewise.
32356 * nscd/aicache.c (addhstaiX): Likewise
32358 2011-07-01 Andreas Schwab <schwab@redhat.com>
32360 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32361 domain only when needed.
32363 2011-06-30 Andreas Schwab <schwab@redhat.com>
32365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32366 is always restored.
32368 2011-06-29 Ulrich Drepper <drepper@gmail.com>
32370 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32371 are re-adding the entry.
32372 * nscd/servicescache.c (cache_addserv): Likewise.
32374 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32376 * sysdeps/generic/dl-irel.h: fix protection against multiple
32378 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32380 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32383 * malloc/memusage.sh: Fix quoting in message.
32384 * debug/xtrace.sh: Likewise.
32386 * configure.in: Remove support for --experimental-malloc option, make
32388 * config.make.in: Likewise.
32389 * malloc/Makefile: Likewise.
32391 2011-06-27 Andreas Schwab <schwab@redhat.com>
32393 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32394 two-byte characters.
32396 2011-06-27 Roland McGrath <roland@hack.frob.com>
32398 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32399 AC_CACHE_CHECK invocation.
32400 * configure: Regenerated.
32402 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32404 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32407 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32408 bit from old_res_options.
32410 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32412 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32413 value type for setfct.
32415 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32417 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32418 __gettimeofday instead of gettimeofday.
32420 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32422 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32424 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32426 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32431 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32434 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32435 strcpy-sse2-unaligned strncpy-sse2-unaligned
32436 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32437 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32438 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32439 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32440 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32443 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32444 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32445 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32446 (STRCPY): Support SSE2 and SSSE3 versions.
32448 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32451 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32452 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32453 kernels which artificially limit size of requests.
32455 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32458 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32459 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32460 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32461 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32462 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32463 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32464 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32466 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32467 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32468 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32469 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32470 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32471 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32473 Enable unaligned load optimization for Intel Core i3, i5 and i7
32475 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32477 (index_Fast_Unaligned_Load): Define.
32478 (HAS_FAST_UNALIGNED_LOAD): Define.
32480 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32482 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32484 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32488 until it is clear that the information is realy needed.
32489 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32491 2011-06-22 Andreas Schwab <schwab@redhat.com>
32493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32495 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32497 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32498 /sys/devices/system/cpu/online if it is usable.
32500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32501 reading the information from the /proc filesystem to once a second.
32503 2011-06-21 Andreas Jaeger <aj@suse.de>
32505 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32506 NULL after inclusion of kernel headers.
32508 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32510 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32511 calls to internal_setent.
32514 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32515 addresses using gethostbyname4_r ignore IPv4 addresses.
32517 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32518 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32520 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32522 2011-06-20 David S. Miller <davem@davemloft.net>
32524 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32526 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32528 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32529 (elf_irel): Use it.
32530 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32531 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32532 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32533 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32534 * sysdeps/x86_64/dl-irel.h: Likewise.
32536 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32537 * elf/dl-sym.c: Likewise.
32539 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32541 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32542 need to dereference resplen2.
32544 2011-06-14 Andreas Schwab <schwab@redhat.com>
32546 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32548 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32550 * Makeconfig: Define vardbdir and inst_vardbdir.
32551 * nss/Makefile: Add rules to install db-Makefile.
32553 * nss/nss_db/db-XXX.c: Cleanup.
32555 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32556 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32558 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32559 * nss/makedb.c: Implement -g option to specify that value strings
32560 are generated and should not be added to table iterated over for
32562 * nss/nss_db/db-initgroups.c: New file.
32564 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32567 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32568 (internal_getgrouplist): Adjust to name change.
32569 Update use_initgroups_entry if this is not the first call.
32570 * nss/databases.def: Add initgroups entry.
32572 * nss/makedb.c (compute_tables): Check result of multiple hash table
32573 sizes to minimize maximum chain length.
32575 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32577 * Versions.def: Add entry for libnss_db.
32578 * shlib-versions: Likewise.
32579 * nss/Makefile: Add rules to build libnss_db.
32580 * nss/Versions: Add libnss_db information. Organize libnss_files
32582 * nss/db-Makefile: Add gshadow support. Change rules for the new
32583 makedb progra. Some minor improvements to generate smaller files.
32584 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32586 * nss/makedb.c: ...here.
32587 Improve database format to be smaller and require less memory at
32589 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32591 * nss/nss_db/db-netgrp.c: Likewise.
32592 * nss/nss_db/db-open.c: Likewise.
32593 * nss/nss_files/flies-XXX.x: Adjust comments.
32594 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32595 * nss/nss_files/files-grp.c: Likewise.
32596 * nss/nss_files/files-hosts.c: Likewise.
32597 * nss/nss_files/files-network.c: Likewise.
32598 * nss/nss_files/files-proto.c: Likewise.
32599 * nss/nss_files/files-pwd.c: Likewise.
32600 * nss/nss_files/files-rpc.c: Likewise.
32601 * nss/nss_files/files-service.c: Likewise.
32602 * nss/nss_files/files-sgrp.c: Likewise.
32603 * nss/nss_files/files-spwd.c: Likewise.
32604 * nss/nss_db/db-alias.c: Removed.
32605 * nss/nss_db/dummy-db.h: Removed.
32607 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32609 * nss/makedb.c: Rewritten to not use database library.
32610 * nss/Makefile: Update to build new makedb program.
32612 2011-06-14 Andreas Jaeger <aj@suse.de>
32614 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32615 memset declaration.
32617 2011-06-10 Andreas Schwab <schwab@redhat.com>
32619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32622 2011-06-10 Roland McGrath <roland@hack.frob.com>
32624 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32625 * elf/Makefile ($(objpfx)ld.so): Likewise.
32627 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32628 Don't list ld.so twice in dependencies.
32630 * posix/bug-regex31.c: Include <stdlib.h>.
32632 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32634 * nis/nss_compat/compat-spwd.c
32635 (getspent_next_nss_netgr): Remove unused variable.
32636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32638 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32639 nonmembers" output to use the right array.
32641 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32643 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32645 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32646 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32647 * catgets/gencat.c (read_input_file): Likewise.
32648 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32650 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32651 variable definition inside #if's controlling its use.
32653 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32655 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32657 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32659 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32662 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32664 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32665 * configure: Regenerated.
32667 * Makerules: Revert last change.
32668 * elf/Makefile: Likewise.
32670 2011-06-09 Roland McGrath <roland@hack.frob.com>
32672 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32673 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32674 (reloc-link): Likewise.
32676 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32678 * elf/Makefile: Add rules to build pldd.
32679 * elf/pldd.c: New file.
32680 * elf/pldd-xx.c: New file.
32682 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32684 * version.h: Update for 2.15 development version.
32686 2011-06-07 David S. Miller <davem@davemloft.net>
32688 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32690 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32691 elf_machine_lazy_rel): Likewise.
32692 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32694 elf_machine_lazy_rel): Likewise.
32695 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32696 dl_hwcap via passed in argument.
32697 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32700 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32702 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32704 2011-06-06 Roland McGrath <roland@hack.frob.com>
32707 * manual/fdl-1.1.texi: New file, verbatim from:
32708 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32709 * manual/lgpl-2.1.texi: New file, verbatim from:
32710 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32711 * manual/Makefile (licenses): New variable, list those new file names.
32713 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32715 * manual/fdl.texi: File removed.
32716 * manual/lesser.texi: File removed.
32717 * manual/libc.texinfo (Copying, Documentation License):
32718 Use new @include file names, put @appendix directive before @include.
32720 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32723 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32724 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32725 (mq_open): Add __NTH.
32727 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32730 Assume Intel Core i3/i5/i7 processor if AVX is available.
32732 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32737 2011-05-31 Andreas Schwab <schwab@redhat.com>
32739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32740 memory. Use alloca_account. Fix memory leak when retrying.
32742 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32744 * version.h (RELEASE): Bump for 2.14 release.
32745 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32747 * config.make.in (RANLIB): Remove entry.
32749 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32751 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32752 (libc.pot): Work around missing support for .ksh extension in xgettext.
32755 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32756 if both request failed.
32757 (send_dg): In case of server errors clear resplen or *resplen2.
32760 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32761 when there are multiple maps.
32762 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32763 (_dl_fini): Remove test here.
32765 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32767 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32770 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32771 bit from old_res_options.
32772 (gaih_inet): Likewise.
32775 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32778 * resolv/res_init.c (res_setoptions): Make the code more compact.
32781 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32785 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32787 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32790 * malloc/malloc.h: Declare malloc hook variables as volatile.
32792 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32796 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
32797 raise in the comment.
32798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32800 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
32802 2011-05-28 Ulrich Drepper <drepper@gmail.com>
32805 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32806 grow the buffers more if it already has to be sufficient.
32807 (build_wcs_upper_buffer): Likewise.
32808 * posix/regexec.c (check_matching): Likewise.
32809 (clean_state_log_if_needed): Likewise.
32810 (extend_buffers): Don't enlarge buffers beyond size of the input
32812 Patches mostly by Emil Wojak <emil@wojak.eu>.
32813 * posix/bug-regex32.c: New file.
32814 * posix/Makefile (tests): Add bug-regex32.
32816 * locale/findlocale.c (_nl_find_locale): Return right away if
32817 _nl_explode_name failed.
32818 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32820 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32822 * debug/xtrace.sh: Unify messages.
32823 * malloc/memusage.sh: Likewise.
32826 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32827 time symbol from vDSO. Substitute with vsyscall if not available.
32828 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32831 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32832 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32833 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32834 Add sendmmsg and internal_sendmmsg.
32835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32836 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32837 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32839 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32840 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32841 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32843 2011-05-27 Ulrich Drepper <drepper@gmail.com>
32846 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32847 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32849 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32853 * iconvdata/Makefile (tests): Add bug-iconv9.
32854 * iconvdata/bug-iconv9.c: New file.
32856 2011-05-27 Andreas Schwab <schwab@redhat.com>
32859 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32861 2011-05-25 Jakub Jelinek <jakub@redhat.com>
32863 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32864 (struct user_regs_struct): Change intcs field back to cs.
32866 2011-05-25 Ulrich Drepper <drepper@gmail.com>
32868 * po/ja.po: Update from translation team.
32870 2011-05-23 Ulrich Drepper <drepper@gmail.com>
32873 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32874 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32876 2011-05-20 Andreas Schwab <schwab@redhat.com>
32878 * stdlib/longlong.h: Update from GCC.
32880 2011-05-23 Andreas Schwab <schwab@redhat.com>
32882 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32884 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32885 Add parameter name.
32886 (__sysconf): Pass it down.
32888 2011-05-22 Ulrich Drepper <drepper@gmail.com>
32891 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32893 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32894 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32895 add in in __libc_use_alloca calls. Adjust callers.
32896 (glob): Use malloc in some situations.
32898 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32899 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32902 2011-05-21 Ulrich Drepper <drepper@gmail.com>
32904 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32905 and CLOCK_BOOTTIME_ALARM.
32908 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32911 * string/_strerror.c (__strerror_r): Print negative errors as signed
32915 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32916 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32917 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32919 * configure.in: Fix typo in redirection and correct removal of test
32920 files in two cases.
32923 * locale/setlocale.c (new_composite_name): Fix test to check for
32924 identical name of all categories.
32927 * libio/filedoalloc.c (local_isatty): New function.
32928 (_IO_file_doallocate): Use local_isatty.
32929 * stdio-common/perror.c (perror): In case a new stream is used
32930 forward the stream error.
32931 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32934 2011-05-20 Ulrich Drepper <drepper@gmail.com>
32937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32939 * include/alloca.h (extend_alloca_account): Define.
32942 * posix/regex.h: Fix comments with documentation of user-accessible
32943 fields after compilation and describe correct free'ing of pattern
32944 after re_compile_pattern.
32945 Patch by Reuben Thomas <rrt@sc3d.org>.
32947 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32949 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32950 and -mno-altivec to prevent the compiler from using Altivec and/or
32951 VSX instructions when the corresponding registers are not available.
32953 2011-05-19 Andreas Schwab <schwab@redhat.com>
32955 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32957 2011-05-19 Ulrich Drepper <drepper@gmail.com>
32959 * libio/freopen.c (freopen): Use __dup2, not dup2.
32960 * libio/freopen64.c (freopen64): Likewise.
32962 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32965 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32966 * math/Makefile (tests): Add test-powl.
32967 (CFLAGS-test-powl.c): Define.
32968 * math/test-powl.c: New file.
32970 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32972 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32974 2011-05-17 Ulrich Drepper <drepper@gmail.com>
32977 * iconvdata/gb18030.c: Update to GB18020-2005.
32979 2011-05-16 Ulrich Drepper <drepper@gmail.com>
32981 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32982 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32983 Patch by Aharon Robbins <arnold@skeeve.com>.
32986 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32990 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32991 through underflows.
32994 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32995 point to strings before performing equality test for error_one_per_line
32999 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33002 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33003 (struct user_fpregs_struct): Avoid __uint*_t types.
33006 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33007 symbol info. Use it instead of calling _dl_addr locally.
33008 (lock_and_info): New function.
33009 (tr_freehook): Call lock_and_info and pass symbol info as additional
33010 parameter to tr_where.
33011 (tr_mallochook): Likewise.
33012 (tr_reallochook): Likewise.
33013 (tr_memalignhook): Likewise.
33015 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33016 used and couldn't be at all thread-safe.
33018 2011-05-15 Ulrich Drepper <drepper@gmail.com>
33020 * libio/freopen.c (freopen): Don't close old file descriptor
33021 before the new one is opened. Instead dup the new file descriptor
33022 to the old one after the new stream is created.
33023 * libio/freopen64.c (freopen64): Likewise.
33024 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33025 * libio/fileops.c (_IO_new_file_close_it): Handle new
33026 _IO_FLAGS2_NOCLOSE flag.
33027 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33028 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33029 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33030 _IO_FLAGS2_NOCLOSE flag.
33031 * include/unistd.h: Add hidden_proto for dup3.
33032 Define __have_dup3.
33033 * io/dup3.c: Define hidden symbol.
33034 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33037 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33038 when an incomplete long option is used.
33039 * posix/tst-getopt_long1.c: New file.
33040 * posix/Makefile (tests): Add tst-getopt_long1.
33043 * scripts/config.guess: Update from autoconf-2.68.
33044 * scripts/config.sub: Likewise.
33047 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33049 (has_cpuclock): ...this. New function.
33050 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33051 macro here based on has_cpuclock code.
33054 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33055 First byte (not low byte) is now always NUL.
33056 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33058 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33059 Use non-cancelable interfaces.
33062 * locale/iso-639.def: Add entry for Sorani.
33065 * include/stdlib.h: Move include protection to the right place.
33066 Define abort_msg_s. Declare __abort_msg with it.
33067 * stdlib/abort.c (__abort_msg): Adjust type.
33068 * assert/assert.c (__assert_fail_base): New function. Majority
33069 of code from __assert_fail. Allocate memory for __abort_msg with
33071 (__assert_fail): Now call __assert_fail_base.
33072 * assert/assert-perr.c: Remove bulk of implementation. Use
33073 __assert_fail_base.
33074 * include/assert.hL Declare __assert_fail_base.
33075 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33077 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33079 2011-05-14 Ulrich Drepper <drepper@gmail.com>
33083 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33084 until all modules are registered in the DTV.
33085 * elf/Makefile: Add rules to build and run tst-tls19.
33086 * elf/tst-tls19.c: New file.
33087 * elf/tst-tls19mod1.c: New file.
33088 * elf/tst-tls19mod2.c: New file.
33089 * elf/tst-tls19mod3.c: New file.
33090 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33093 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33097 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33098 two-byte sequence errors.
33099 * iconvdata/Makefile (tests): Add bug-iconv8.
33100 * iconvdata/bug-iconv8.c: New file.
33103 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33106 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33109 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33110 (dummy_getcfa): New function.
33111 (init): Get _Unwind_GetCFA address, use dummy if not found.
33112 (backtrace_helper): In recursion check, also check whether CFA changes.
33113 (__backtrace): Completely initialize arg.
33115 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33116 storing incomplete byte sequence in state object. Avoid testing for
33117 guaranteed too small input if we know there is enough data available.
33119 2011-05-11 Andreas Schwab <schwab@redhat.com>
33121 * Makeconfig (+link-pie): Indent.
33122 * Rules (binaries-pie): Define if $(have-fpie) and
33124 (binaries-shared): Also filter out $(binaries-pie).
33125 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33126 * nscd/Makefile (others-pie): Add nscd.
33127 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33128 ($(objpfx)nscd): Remove command override.
33129 * login/Makefile (others-pie): Add pt_chown.
33130 ($(objpfx)pt_chown): Remove command override.
33131 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33132 remove command overrides.
33134 2011-05-13 Ulrich Drepper <drepper@gmail.com>
33136 * libio/tst_putwc.c: Fix error messages.
33139 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33140 currently writing and seek to current position when not.
33141 * libio/Makefile (tests): Add bug-fclose1.
33142 * libio/bug-fclose1.c: New file.
33144 2011-05-12 Ulrich Drepper <drepper@gmail.com>
33147 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33148 don't set DF_1_NODELETE here.
33149 (do_lookup_x): When entering new entry test for copy relocation
33150 and if necessary set DF_1_NODELETE flag.
33151 * elf/tst-unique4.cc: New file.
33152 * elf/tst-unique4.h: New file.
33153 * elf/tst-unique4lib.cc: New file.
33154 * elf/Makefile: Add rules to build and run tst-unique4.
33155 Patch by Piotr Bury <pbury@goahead.com>.
33157 2011-05-11 Ulrich Drepper <drepper@gmail.com>
33160 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33163 * misc/mntent_r.c (addmntent): Flush the stream after the output
33166 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33167 (is_trusted_path_normalize): Skip initial colon. Append slash
33168 to empty buffer. Duplicate is_trusted_path code but allow
33169 constructed patch to be prefix.
33170 (is_dst): Allow $ORIGIN followed by /.
33171 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33172 Correct testing of result of is_trusted_path_normalize
33173 (decompose_rpath): Fix warning.
33175 2011-05-10 Ulrich Drepper <drepper@gmail.com>
33178 * grp/initgroups.c (internal_getgrouplist): When we found the service
33179 list through the initgroups entry in nsswitch.conf do not always
33180 continue on a successful lookup. Don't always use the
33181 __nss_group_database value if it is set.
33182 * nss/nsswitch.conf (initgroups): Change action for successful db
33183 lookup to continue for compatibility.
33185 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33188 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33190 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33192 * iconvdata/tst-tables.sh: Likewise.
33193 * iconvdata/cp770.c: New file.
33194 * iconvdata/cp771.c: New file.
33195 * iconvdata/cp772.c: New file.
33196 * iconvdata/cp773.c: New file.
33197 * iconvdata/cp774.c: New file.
33198 * iconvdata/testdata/CP770: New file.
33199 * iconvdata/testdata/CP770..UTF8: New file.
33200 * iconvdata/testdata/CP771: New file.
33201 * iconvdata/testdata/CP771..UTF8: New file.
33202 * iconvdata/testdata/CP772: New file.
33203 * iconvdata/testdata/CP772..UTF8: New file.
33204 * iconvdata/testdata/CP773: New file.
33205 * iconvdata/testdata/CP773..UTF8: New file.
33206 * iconvdata/testdata/CP774: New file.
33207 * iconvdata/testdata/CP774..UTF8: New file.
33209 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33211 * iconvdata/gen-8bit-gap.sh: Likewise.
33212 * iconvdata/gen-8bit.sh: Likewise.
33214 * locale/iso-639.def: Add ary entry.
33217 * locale/C-translit.h.in: Add U20A1 transliteration.
33220 * locale/iso-639.def: Add wae entry.
33221 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33224 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33228 * locale/C-translit.h.in: Add entry for U20B9.
33229 Patch by pravin.d.s@gmail.com.
33231 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33234 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33235 ENAMETOOLONG use generic getcwd.
33236 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33237 in rtld. Use *stat64.
33238 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33239 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33240 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33241 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33242 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33243 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33244 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33245 __fstatat64 macros.
33246 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33247 * dirent/rewinddir.c: Add libc_hidden_def.
33248 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33249 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33251 * include/dirent.h (__alloc_dir): Add flags parameter.
33252 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33253 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33255 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33256 from fdopendir if O_CLOEXEC is already set.
33258 2011-03-15 Alan Modra <amodra@gmail.com>
33260 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33261 l_tls_firstbyte_offset non-zero. Save padding offset in
33262 l_tls_firstbyte_offset for later use.
33263 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33264 freeing static tls block.
33266 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33268 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33269 where #ifdef was intended. The intent is to prevent ARG_MAX from
33270 being defined by the kernel headers.
33272 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33275 * resolv/resolv.h: Define RES_NOTLDQUERY.
33276 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33277 no-tld-query and set RES_NOTLDQUERY.
33278 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33279 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33280 modern BIND to search name as TLD unless forbidden.
33282 2011-05-07 Petr Baudis <pasky@suse.cz>
33283 Ulrich Drepper <drepper@gmail.com>
33286 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33287 (is_trusted_path): ...to here.
33288 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33289 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33290 using is_trusted_path_normalize() in setuid scripts.
33292 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33294 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33295 __BEGIN/__END_DECLS.
33297 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33299 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33300 NSS_STATUS_NOTFOUND if no record was found.
33302 2011-05-05 Andreas Schwab <schwab@redhat.com>
33304 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33305 (headers-not-in-tirpc): Remove rpc/netdb.h
33306 * resolv/netdb.h: Revert last change.
33308 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33310 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33311 circular dependency between libgcc.a and libc.a.
33313 2011-05-05 Andreas Schwab <schwab@redhat.com>
33315 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33316 * nis/Makefile: Don't install rpcsvc/*.
33317 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33318 instead of <rpc/types.h>.
33319 (MAXHOSTNAMELEN): Define.
33321 2011-05-03 Andreas Schwab <schwab@redhat.com>
33323 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33325 2011-04-28 Maciej Babinski <mbabinski@google.com>
33328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33329 gethostbyname4_r when IPv6 results are possible.
33331 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33334 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33335 _PC_PIPE_BUF handling.
33337 2011-04-30 Bruno Haible <bruno@clisp.org>
33340 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33341 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33343 * inet/getnameinfo.c (getnameinfo): Likewise.
33345 2011-04-29 Ulrich Drepper <drepper@gmail.com>
33347 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33348 to groups setting in database lookup.
33349 * nss/nsswitch.conf: Add initgroups entry.
33351 2011-04-22 Ulrich Drepper <drepper@gmail.com>
33354 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33356 Patch by Eric Blake <eblake@redhat.com>.
33358 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33360 * sunrpc/Makefile (need-export-routines): Add svc_run.
33361 (routines): Remove svc_run.
33362 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33363 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33364 * sunrpc/svc_run.c (svc_run): Likewise.
33365 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33367 2011-04-21 Ulrich Drepper <drepper@gmail.com>
33369 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33370 problem in reallocation in last patch.
33372 2011-04-20 Ulrich Drepper <drepper@gmail.com>
33374 * sunrpc/Makefile: Move inclusion of Rules.
33376 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33378 * nss/nss_files/files-initgroups.c: New file.
33379 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33380 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33381 _nss_files_initgroups_dyn.
33383 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33385 * elf/elf.h (R_ARM_IRELATIVE): Define.
33387 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33389 * po/ru.po: Update from translation team.
33391 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33393 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33396 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33399 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33400 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33401 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33402 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33403 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33405 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33407 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33409 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33413 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33416 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33418 * stdlib/bug-getcontext.c: New file.
33419 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33421 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33423 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33424 instructions into .machine "z9-109".
33425 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33426 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33428 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33430 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33431 between environment variables and auxiliary vector.
33433 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33435 * Makefile: Add rules to build linkobj/libc.so.
33436 * include/libc-symbols.h: Define libc_hidden_nolink.
33437 * include/rpc/auth.h: Mark functions which are to be hidden.
33438 * include/rpc/auth_des.h: Likewise.
33439 * include/rpc/auth_unix.h: Likewise.
33440 * include/rpc/clnt.h: Likewise.
33441 * include/rpc/des_crypt.h: Likewise.
33442 * include/rpc/key_prot.h: Likewise.
33443 * include/rpc/pmap_clnt.h: Likewise.
33444 * include/rpc/pmap_prot.h: Likewise.
33445 * include/rpc/pmap_rmt.h: Likewise.
33446 * include/rpc/rpc_msg.h: Likewise.
33447 * include/rpc/svc.h: Likewise.
33448 * include/rpc/svc_auth.h: Likewise.
33449 * include/rpc/xdr.h: Likewise.
33450 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33451 * nss/Makefile: Likewise.
33452 * sunrpc/Makefile: Don't install headers. Build library with normal
33453 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33454 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33455 for the compat linking library. Remove use of INTDEF/INTUSE.
33456 * sunrpc/auth_none.c: Likewise.
33457 * sunrpc/auth_unix.c: Likewise.
33458 * sunrpc/authdes_prot.c: Likewise.
33459 * sunrpc/authuxprot.c: Likewise.
33460 * sunrpc/clnt_gen.c: Likewise.
33461 * sunrpc/clnt_perr.c: Likewise.
33462 * sunrpc/clnt_raw.c: Likewise.
33463 * sunrpc/clnt_simp.c: Likewise.
33464 * sunrpc/clnt_tcp.c: Likewise.
33465 * sunrpc/clnt_udp.c: Likewise.
33466 * sunrpc/clnt_unix.c: Likewise.
33467 * sunrpc/des_crypt.c: Likewise.
33468 * sunrpc/des_soft.c: Likewise.
33469 * sunrpc/get_myaddr.c: Likewise.
33470 * sunrpc/key_call.c: Likewise.
33471 * sunrpc/key_prot.c: Likewise.
33472 * sunrpc/netname.c: Likewise.
33473 * sunrpc/pm_getmaps.c: Likewise.
33474 * sunrpc/pm_getport.c: Likewise.
33475 * sunrpc/pmap_clnt.c: Likewise.
33476 * sunrpc/pmap_prot.c: Likewise.
33477 * sunrpc/pmap_prot2.c: Likewise.
33478 * sunrpc/pmap_rmt.c: Likewise.
33479 * sunrpc/publickey.c: Likewise.
33480 * sunrpc/rpc_cmsg.c: Likewise.
33481 * sunrpc/rpc_common.c: Likewise.
33482 * sunrpc/rpc_dtable.c: Likewise.
33483 * sunrpc/rpc_prot.c: Likewise.
33484 * sunrpc/rpc_thread.c: Likewise.
33485 * sunrpc/rtime.c: Likewise.
33486 * sunrpc/svc.c: Likewise.
33487 * sunrpc/svc_auth.c: Likewise.
33488 * sunrpc/svc_authux.c: Likewise.
33489 * sunrpc/svc_raw.c: Likewise.
33490 * sunrpc/svc_run.c: Likewise.
33491 * sunrpc/svc_simple.c: Likewise.
33492 * sunrpc/svc_tcp.c: Likewise.
33493 * sunrpc/svc_udp.c: Likewise.
33494 * sunrpc/svc_unix.c: Likewise.
33495 * sunrpc/svcauth_des.c: Likewise.
33496 * sunrpc/xcrypt.c: Likewise.
33497 * sunrpc/xdr.c: Likewise.
33498 * sunrpc/xdr_array.c: Likewise.
33499 * sunrpc/xdr_float.c: Likewise.
33500 * sunrpc/xdr_intXX_t.c: Likewise.
33501 * sunrpc/xdr_mem.c: Likewise.
33502 * sunrpc/xdr_rec.c: Likewise.
33503 * sunrpc/xdr_ref.c: Likewise.
33504 * sunrpc/xdr_sizeof.c: Likewise.
33505 * sunrpc/xdr_stdio.c: Likewise.
33507 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33510 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33511 * sysdeps/ia64/dl-tls.h: Likewise.
33512 * sysdeps/powerpc/dl-tls.h: Likewise.
33513 * sysdeps/s390/dl-tls.h: Likewise.
33514 * sysdeps/sh/dl-tls.h: Likewise.
33515 * sysdeps/sparc/dl-tls.h: Likewise.
33516 * sysdeps/x86_64/dl-tls.h: Likewise.
33517 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33519 2011-03-14 Andreas Schwab <schwab@redhat.com>
33521 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33522 rpath element also skip the following colon.
33523 (expand_dynamic_string_token): Add is_path parameter and pass
33524 down to DL_DST_REQUIRED and _dl_dst_substitute.
33525 (decompose_rpath): Call expand_dynamic_string_token with
33526 non-zero is_path. Ignore empty rpaths.
33527 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33530 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33535 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33538 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33539 Patch by Filipe David Manana <fdmanana@apache.org>.
33541 2011-04-07 Andreas Schwab <schwab@redhat.com>
33543 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33544 Maintain aligned stack.
33545 (CHECK_RSP): Remove unused macro.
33547 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33549 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33550 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33552 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33554 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33556 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33558 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33561 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33562 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33563 * sysdeps/x86_64/memmove.c: New file.
33564 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33565 (memcpy): Renamed to ...
33566 (__new_memcpy): This.
33567 (memcpy): Provide GLIBC_2_14 memcpy.
33568 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33569 (memcpy): Provide GLIBC_2_2_5 memcpy.
33571 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33574 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33576 2011-03-30 Andreas Schwab <schwab@redhat.com>
33578 * misc/syncfs.c: New file.
33579 * misc/Makefile (routines): Add syncfs.
33580 * posix/unistd.h: Declare syncfs.
33581 * sysdeps/unix/syscalls.list: Add syncfs.
33583 2011-04-01 Andreas Schwab <schwab@redhat.com>
33585 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33587 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33588 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33590 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33591 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33592 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33595 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33597 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33598 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33599 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33600 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33601 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33603 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33605 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33606 sync_file_range.c with -fexceptions.
33607 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33608 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33609 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33610 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33611 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33612 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33613 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33614 sync_file_range as cancellation point
33615 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33616 now a wrapper around __call_sync_file_range with cancellation handling.
33617 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33618 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33619 function name to __call_sync_file_range.
33620 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33621 Add call_sync_file_range.
33623 2011-04-01 Andreas Schwab <schwab@redhat.com>
33625 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33628 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33630 * iconv/iconv.h: Fix typo in comment.
33631 * io/fcntl.h: Likewise.
33632 * libio/stdio.h: Likewise.
33633 * posix/spawn.h: Likewise.
33634 * posix/unistd.h: Likewise.
33635 * stdlib/stdlib.h: Likewise.
33636 * time/time.h: Likewise.
33637 * wcsmbs/wchar.h: Likewise.
33639 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33640 open_by_handle): Add.
33641 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33642 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33643 Augment a few comments.
33644 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33646 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33647 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33648 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33649 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33652 * io/fcntl.h (AT_EMPTY_PATH): Define.
33654 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33656 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33657 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33658 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33660 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33661 * Versions.def: Add GLIBC_2.14.
33662 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33665 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33667 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33669 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33671 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33674 * string/test-strncmp.c (do_page_test): New function.
33675 (check2): Likewise.
33676 (test_main): Call check2.
33677 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33679 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33682 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33683 Handle cache information in CPU leaf 4.
33684 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33686 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33689 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33690 character representation.
33691 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33693 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33695 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33696 END(__isnan) to END(__isnanf) to match function entry point/label
33697 EALIGN(__isnanf,...).
33699 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33701 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33703 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33706 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33707 copy from the symbol referenced in the relocation to initialize the
33709 Patch by Piotr Bury <pbury@goahead.com>.
33710 * elf/Makefile: Add rules to build and tst-unique3.
33711 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33712 * elf/tst-unique3.cc: New file.
33713 * elf/tst-unique3.h: New file.
33714 * elf/tst-unique3lib.cc: New file.
33715 * elf/tst-unique3lib2.cc: New file.
33717 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33719 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33721 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33722 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33725 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33727 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33728 to-be-loaded object along a path to loader is ld.so.
33730 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33731 Ulrich Drepper <drepper@gmail.com>
33733 * sysdeps/x86_64/memset.S: After aligning destination, code
33734 branches to different locations depending on the value of
33735 misalignment, when multiarch is enabled. Fix this.
33737 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33739 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33740 Set _x86_64_preferred_memory_instruction for AMD processsors.
33741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33742 Set bit_Prefer_SSE_for_memop for AMD processors.
33744 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33746 * libio/fmemopen.c (fmemopen): Optimize a bit.
33748 2011-03-03 Andreas Schwab <schwab@redhat.com>
33750 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33752 2011-03-03 Roland McGrath <roland@redhat.com>
33754 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33756 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33758 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33759 __bzero_ultra1 instead of __memset_ultra1.
33761 2011-02-23 Andreas Schwab <schwab@redhat.com>
33762 Ulrich Drepper <drepper@gmail.com>
33765 * include/link.h (struct link_map): Add l_orig_initfini.
33766 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33767 returning unsuccessfully.
33768 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33769 close of a file loaded at startup, restore the original l_initfini
33771 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33772 list, store the pointer.
33773 * elf/Makefile ($(objpfx)noload-mem): New rule.
33774 (noload-ENV): Define.
33775 (tests): Add $(objpfx)noload-mem.
33776 * elf/noload.c: Include <memcheck.h>.
33777 (main): Call mtrace. Close all opened handles.
33779 2011-02-17 Andreas Schwab <schwab@redhat.com>
33782 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33783 dependencies are missing.
33785 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33787 Fix __if_freereq crash: Unlike the generic version which uses free,
33789 * sysdeps/mach/hurd/ifreq.h: New file.
33791 2011-01-27 Petr Baudis <pasky@suse.cz>
33792 Ulrich Drepper <drepper@gmail.com>
33795 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33796 to extend_alloca().
33797 * stdio-common/bug23.c: New file.
33798 * stdio-common/Makefile (tests): Add bug23.
33800 2010-09-28 Andreas Schwab <schwab@redhat.com>
33801 Ulrich Drepper <drepper@gmail.com>
33804 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33805 before performing relro protection. At old place add assertion
33806 to make sure nothing changed.
33808 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33809 Glauber de Oliveira Costa <glommer@gmail.com>
33811 * elf/elf.h: Add new ARM TLS relocs.
33813 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33816 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33818 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33820 * sysdeps/wordsize-64/tst-writev.c: New file.
33822 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33824 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33825 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33826 insns in _dl_start to prevent a TOC reference before relocs are
33829 2011-02-15 Ulrich Drepper <drepper@gmail.com>
33832 * Makeconfig: Remove RANLIB definition.
33833 * Makerules: Don't use RANLIB.
33834 * aclocal.m4: Remove ranlib test.
33835 * configure.in: No need to check for ranlib.
33836 * elf/rtld-Rules: Don't use RANLIB.
33838 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33840 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33842 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33843 inclusion protection macro.
33845 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33846 SIGRTMIN and SIGRTMAX and print information in that case only when
33847 SIGRTMIN is defined.
33849 2011-02-11 Jakub Jelinek <jakub@redhat.com>
33851 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33852 arginfo fn returning -1.
33854 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33855 and thousands string is zero terminated.
33857 2011-02-03 Andreas Schwab <schwab@redhat.com>
33859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33860 sysdeps/unix/sysv/linux/bits/socket.h.
33862 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33864 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33865 (__CPU_COUNT): Remove old macros.
33866 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33867 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33868 (__CPU_ALLOC, __CPU_FREE): Add macros.
33869 (__sched_cpualloc, __sched_cpufree): Add declarations.
33871 2011-02-05 Ulrich Drepper <drepper@gmail.com>
33873 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33874 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33875 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33876 (readdhstai): Return value of addhstaiX call.
33877 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33878 (addgrbyX): Return value returned by cache_addgr.
33879 (readdgrbyname): Return value returned by addgrbyX.
33880 (readdgrbygid): Likewise.
33881 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33882 (addpwbyX): Return value returned by cache_addpw.
33883 (readdpwbyname): Return value returned by addhstbyX.
33884 (readdpwbyuid): Likewise.
33885 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33886 (addservbyX): Return value returned by cache_addserv.
33887 (readdservbyname): Return value returned by addservbyX:
33888 (readdservbyport): Likewise.
33889 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33890 (addhstbyX): Return value returned by cache_addhst.
33891 (readdhstbyname): Return value returned by addhstbyX.
33892 (readdhstbyaddr): Likewise.
33893 (readdhstbynamev6): Likewise.
33894 (readdhstbyaddrv6): Likewise.
33895 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33896 (readdinitgroups): Return value returned by addinitgroupsX.
33897 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33898 (prune_cache): Keep track of timeout value of re-added entries.
33899 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33900 * nscd/nscd.h: Adjust prototypes of readd* functions.
33902 2011-02-04 Roland McGrath <roland@redhat.com>
33904 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33905 (nis_stats): Likewise.
33906 * nis/nis_modify.c (nis_modify): Likewise.
33907 * nis/nis_remove.c (nis_remove): Likewise.
33908 * nis/nis_add.c (nis_add): Likewise.
33910 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33912 * posix/fnmatch_loop.c: Add some consts.
33914 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33916 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33919 * config.make.in (config-cflags-novzeroupper): Define.
33920 * configure.in: Substitute libc_cv_cc_novzeroupper.
33921 * elf/Makefile (AVX-CFLAGS): Define.
33922 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33923 (CFLAGS-tst-auditmod4a.c): Likewise.
33924 (CFLAGS-tst-auditmod4b.c): Likewise.
33925 (CFLAGS-tst-auditmod6b.c): Likewise.
33926 (CFLAGS-tst-auditmod6c.c): Likewise.
33927 (CFLAGS-tst-auditmod7b.c): Likewise.
33928 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33930 2011-02-02 Ulrich Drepper <drepper@gmail.com>
33932 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33933 function to the callback.
33934 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33936 2011-02-02 Andreas Schwab <schwab@redhat.com>
33938 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33941 2011-01-19 Ulrich Drepper <drepper@gmail.com>
33944 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33946 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33948 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33951 * elf/Makefile: Add rules to build and run new test.
33952 * elf/tst-initorder.c: New file.
33953 * elf/tst-initorder.exp: New file.
33954 * elf/tst-initordera1.c: New file.
33955 * elf/tst-initordera2.c: New file.
33956 * elf/tst-initordera3.c: New file.
33957 * elf/tst-initordera4.c: New file.
33958 * elf/tst-initorderb1.c: New file.
33959 * elf/tst-initorderb2.c: New file.
33960 * elf/tst-order-a1.c: New file.
33961 * elf/tst-order-a2.c: New file.
33962 * elf/tst-order-a3.c: New file.
33963 * elf/tst-order-a4.c: New file.
33964 * elf/tst-order-b1.c: New file.
33965 * elf/tst-order-b2.c: New file.
33966 * elf/tst-order-main.c: New file.
33967 New test case by George Gensure <werkt0@gmail.com>.
33969 2010-10-01 Andreas Schwab <schwab@redhat.com>
33971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33972 decoding ACE if AI_CANONIDN.
33974 2011-01-18 Ulrich Drepper <drepper@gmail.com>
33976 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33978 2011-01-17 Ulrich Drepper <drepper@gmail.com>
33980 * version.h (RELEASE): Bump for 2.13 release.
33981 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33983 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33985 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33987 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33988 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33989 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33990 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33991 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33992 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33994 * posix/getconf.c: Update copyright year.
33995 * catgets/gencat.c: Likewise.
33996 * csu/version.c: Likewise.
33997 * debug/catchsegv.sh: Likewise.
33998 * debug/xtrace.sh: Likewise.
33999 * elf/ldconfig.c: Likewise.
34000 * elf/ldd.bash.in: Likewise.
34001 * elf/sprof.c (print_version): Likewise.
34002 * iconv/iconv_prog.c: Likewise.
34003 * iconv/iconvconfig.c: Likewise.
34004 * locale/programs/locale.c: Likewise.
34005 * locale/programs/localedef.c: Likewise.
34006 * malloc/memusage.sh: Likewise.
34007 * malloc/mtrace.pl: Likewise.
34008 * nscd/nscd.c (print_version): Likewise.
34009 * nss/getent.c: Likewise.
34011 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34012 PF_CAIF, and PF_ALG.
34013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34015 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34017 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34018 (modules-names): Use them.
34019 (ifunc-test-modules, ifunc-pie-tests): Define.
34020 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34021 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34022 (test-extras): Likewise.
34023 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34024 $(compile-command.c).
34025 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34026 (all-built-dso): Define.
34027 (check-textrel.out, check-execstack.out): Depend on it.
34029 * configure.in: Don't override --enable-multi-arch.
34031 2011-01-15 Ulrich Drepper <drepper@gmail.com>
34034 * nscd/hstcache.c (tryagain): Define.
34035 (cache_addhst): Return tryagain not notfound for temporary errors.
34036 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34039 2011-01-14 Ulrich Drepper <drepper@gmail.com>
34042 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34043 to make the syscall.
34044 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34047 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34048 and fall back to matching as normal character if the string ends before
34049 the matching ']' is found. This is what POSIX requires.
34050 * posix/testfnm.c: Adjust test result.
34051 * posix/globtest.sh: Adjust test result. Add new test.
34052 * posix/tst-fnmatch.input: Likewise.
34053 * posix/tst-fnmatch2.c: Add new test.
34055 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34057 * elf/Makefile (check-execstack): Revert last change. Depend on
34059 (check-execstack.h): New target.
34060 (generated): Add check-execstack.h.
34061 * elf/check-execstack.c: Include "check-execstack.h".
34062 (main): Revert last change.
34063 (handle_file): Return zero if GNU_STACK is absent and
34064 DEFAULT_STACK_PERMS doesn't include PF_X.
34066 2011-01-13 Ulrich Drepper <drepper@gmail.com>
34068 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34069 in child fails because the descriptor is already closed.
34070 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34071 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34072 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34075 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34079 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34080 temporary buffer used to handle multi lookups locally.
34081 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34083 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34085 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34088 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34090 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34091 alignment for SSE2.
34093 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34096 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34097 characters. When rounding increased number of integer digits recompute
34099 * stdio-common/tst-grouping.c: New file.
34100 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34102 2011-01-09 Ulrich Drepper <drepper@gmail.com>
34104 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34105 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34107 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34109 * bits/select.h: Likewise.
34111 2011-01-08 Ulrich Drepper <drepper@gmail.com>
34113 * po/ja.po: Update from translation team.
34115 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
34118 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34119 implementation just like for lxstat, fxstatat, et al.
34121 2010-12-27 Jim Meyering <meyering@redhat.com>
34124 * posix/regexec.c (build_trtable): Return failure indication upon
34125 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34127 2010-12-25 Ulrich Drepper <drepper@gmail.com>
34130 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34131 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34132 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34133 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34136 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34139 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34140 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34142 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34144 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34145 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34146 script has SORT_BY_INIT_PRIORITY.
34147 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34148 NO_CTORS_DTORS_SECTIONS is defined.
34149 * elf/soinit.c: Likewise.
34150 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34151 NO_CTORS_DTORS_SECTIONS is defined.
34152 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34153 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34154 * sysdeps/sh/init-first.c: Likewise.
34155 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34157 2010-12-24 Ulrich Drepper <drepper@gmail.com>
34159 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34160 always use the slow path.
34162 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34164 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34165 similar rule which adds the sysdep directories to the header search in
34166 order to pick up the correct platform stackinfo.h.
34167 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34168 perform test if it is, otherwise return successfully without testing.
34169 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34170 DEFAULT_STACK_PERMS define in stackinfo.h.
34171 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34172 defined in stackinfo.h.
34173 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34174 DEFAULT_STACK_PERMS defined in stackinfo.h.
34175 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34176 * sysdeps/ia64/stackinfo.h: Likewise.
34177 * sysdeps/s390/stackinfo.h: Likewise.
34178 * sysdeps/sh/stackinfo.h: Likewise.
34179 * sysdeps/sparc/stackinfo.h: Likewise.
34180 * sysdeps/x86_64/stackinfo.h: Likewise.
34181 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34182 PF_X for powerpc64. Retain PF_X for powerpc32.
34184 2010-12-19 Ulrich Drepper <drepper@gmail.com>
34186 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34188 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34189 GETDENTS_64BIT_ALIGNED.
34191 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34193 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34195 2010-12-10 Andreas Schwab <schwab@redhat.com>
34197 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34200 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34201 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34203 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34204 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34206 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34209 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34212 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34214 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34216 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34218 * po/it.po: Update from translation team.
34220 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34222 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34225 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34227 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34229 2010-11-24 Andreas Schwab <schwab@redhat.com>
34231 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34233 (gaih_getanswer_slice): Likewise.
34235 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34237 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34239 2010-05-31 Petr Baudis <pasky@suse.cz>
34242 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34243 silently even in the chroot mode.
34245 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34247 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34248 last patch a bit. Pretty printing
34250 2010-05-31 Petr Baudis <pasky@suse.cz>
34253 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34254 initialization of skip_initgroups_dyn.
34256 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34258 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34259 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34261 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34263 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34265 2010-11-11 Andreas Schwab <schwab@redhat.com>
34267 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34268 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34269 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34270 ($(objpfx)tst-fnmatch-mem): New rule.
34271 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34272 * posix/tst-fnmatch.c (main): Call mtrace.
34274 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34277 Support Intel processor model 6 and model 0x2c.
34279 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34281 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34284 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34287 * string/test-strncasecmp.c (check_result): New function.
34288 (do_one_test): Use it.
34289 (check1): New function.
34290 (test_main): Use it.
34291 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34292 Support strcasecmp and strncasecmp.
34294 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34297 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34300 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34302 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34306 * sysdeps/x86_64/multiarch/bzero.S: New file.
34307 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34308 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34309 * sysdeps/x86_64/multiarch/memset.S: New file.
34310 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34312 Set bit_Prefer_SSE_for_memop for Intel processors.
34313 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34315 (index_Prefer_SSE_for_memop): Define.
34316 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34318 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34320 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34321 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34323 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34326 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34327 (__x86_64_raw_data_cache_size_half): Likewise.
34328 (__x86_64_raw_shared_cache_size): Likewise.
34329 (__x86_64_raw_shared_cache_size_half): Likewise.
34331 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34332 (__x86_64_raw_data_cache_size_half): Likewise.
34333 (__x86_64_raw_shared_cache_size): Likewise.
34334 (__x86_64_raw_shared_cache_size_half): Likewise.
34335 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34336 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34337 and __x86_64_raw_shared_cache_size_half. Round
34338 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34339 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34340 to multiple of 256 bytes.
34342 2010-11-03 Ulrich Drepper <drepper@gmail.com>
34345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34346 of inacessible symlinks. Verify result of symlink before returning it.
34347 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34348 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34350 2010-10-28 Erich Ritz <erichritz@gmail.com>
34352 * math/math.h (isinf): Fix typo in comment.
34354 2010-11-01 Ulrich Drepper <drepper@gmail.com>
34356 * po/da.po: Update from translation team.
34358 2010-10-26 Ulrich Drepper <drepper@gmail.com>
34360 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34361 is added to the list.
34363 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34364 Ulrich Drepper <drepper@gmail.com>
34366 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34367 the global list here. Move code to...
34368 (_dl_add_to_namespace_list): ...here. New function.
34369 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34370 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34371 * elf/dl-load.c (lose): Don't remove the element from the list.
34372 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34373 (_dl_map_object): Likewise.
34375 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34378 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34379 into all bytes of SSE register.
34380 Patch by Richard Li <richardpku@gmail.com>.
34382 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34385 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34388 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34390 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34391 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34392 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34393 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34398 2010-10-22 Andreas Schwab <schwab@redhat.com>
34400 * include/dlfcn.h (__RTLD_SECURE): Define.
34401 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34402 mode & __RTLD_SECURE instead.
34403 (open_path): Rename preloaded parameter to secure.
34404 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34405 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34406 * elf/dl-deps.c (openaux): Likewise.
34407 * elf/rtld.c (struct map_args): Remove is_preloaded.
34408 (map_doit): Don't use it.
34409 (dl_main): Likewise.
34410 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34411 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34413 2010-09-09 Andreas Schwab <schwab@redhat.com>
34415 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34416 (sysd-rules-targets): Remove duplicates.
34417 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34418 rtld-%.$o dependency.
34420 2010-10-18 Andreas Schwab <schwab@redhat.com>
34422 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34423 _dl_map_object do it.
34425 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34427 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34428 fast fma builtins, define the macros in the C99 standard.
34429 (FP_FAST_FMAF): Likewise.
34430 (FP_FAST_FMAL): Likewise.
34431 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34433 * bits/mathdef.h: Update copyright year.
34434 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34436 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34438 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34439 builtins, define the macros in the C99 standard.
34440 (FP_FAST_FMAF): Likewise.
34441 (FP_FAST_FMAL): Likewise.
34442 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34444 (FP_FAST_FMAF): Likewise.
34446 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34449 * math/libm-test.inc (fma_test): Some new testcases.
34450 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34451 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34452 y and infinite z. Do multiplication by C already in long double.
34453 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34454 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34455 y and infinite z. Do bitwise or of inexact bit into u.d.
34456 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34457 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34458 * sysdeps/i386/fpu/s_fma.S: Removed.
34459 * sysdeps/i386/fpu/s_fmal.S: Removed.
34461 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34464 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34465 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34466 computation is not scheduled after fetestexcept. Fix value
34467 of minimum denormal long double.
34469 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34472 * math/libm-test.inc (fma_test): Add some more tests.
34473 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34476 2010-10-15 Andreas Schwab <schwab@redhat.com>
34478 * scripts/data/localplt-s390-linux-gnu.data: New file.
34479 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34481 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34484 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34485 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34487 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34489 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34490 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34491 if one of x and y is very large and the other is subnormal.
34492 * sysdeps/s390/fpu/s_fmaf.c: New file.
34493 * sysdeps/s390/fpu/s_fma.c: New file.
34494 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34495 * sysdeps/powerpc/fpu/s_fma.S: New file.
34496 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34497 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34498 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34500 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34503 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34505 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34506 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34507 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34508 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34509 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34510 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34511 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34513 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34516 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34517 * posix/bug-regex31.input: Add test case.
34519 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34521 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34522 * posix/bug-regex31.input: New file.
34525 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34526 (parse_sub_exp): Fix last change, use postorder.
34528 * posix/bug-regex31.c: New file.
34529 * posix/Makefile: Add rules to build and run bug-regex31.
34531 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34534 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34537 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34538 to have entries in sys_siglist.
34541 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34544 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34547 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34548 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34549 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34550 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34551 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34552 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34553 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34554 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34555 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34556 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34557 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34558 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34559 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34560 * math/ftestexcept.c (fetestexcept): Likewise.
34561 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34562 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34563 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34564 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34565 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34566 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34567 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34569 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34572 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34575 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34577 * string/bug-strstr1.c: New file.
34578 * string/Makefile: Add rules to build and run bug-strstr1.
34580 2010-10-05 Eric Blake <eblake@redhat.com>
34583 * string/str-two-way.h (two_way_long_needle): Always clear memory
34584 when skipping input due to the shift table.
34586 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34589 * malloc/mcheck.c: Handle large requests.
34592 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34593 for strncmp and strncasecmp.
34594 * string/stratcliff.c: Add tests for strcmp and strncmp.
34595 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34597 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34599 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34602 2010-09-30 Andreas Jaeger <aj@suse.de>
34604 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34605 (CGROUP_SUPER_MAGIC): Define.
34606 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34607 Handle btrfs and cgroup file systems.
34608 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34611 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34613 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34614 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34616 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34619 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34620 trying to locate the ELF header.
34622 2010-09-27 Andreas Schwab <schwab@redhat.com>
34625 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34626 Mask out sign-bit copies when constructing f_fsid.
34628 2010-09-24 Petr Baudis <pasky@suse.cz>
34630 * debug/stack_chk_fail_local.c: Add missing licence exception.
34631 * debug/warning-nop.c: Likewise.
34633 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34635 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34636 implementing getdents64 using getdents syscall, set d_type if
34637 __ASSUME_GETDENTS32_D_TYPE.
34639 2010-09-16 Andreas Schwab <schwab@redhat.com>
34641 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34642 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34644 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34647 * posix/unistd.h: Undo change of feature selection for ftruncate from
34650 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34652 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34655 2010-09-20 Andreas Schwab <schwab@redhat.com>
34657 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34659 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34661 2010-09-14 Andreas Schwab <schwab@redhat.com>
34663 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34664 variables after CHECK_SP call.
34665 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34667 2010-09-13 Andreas Schwab <schwab@redhat.com>
34668 Ulrich Drepper <drepper@redhat.com>
34670 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34671 re-relocationg ld.so.
34672 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34673 _dl_init_paths call.
34674 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34677 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34679 * resolv/res_init.c (__res_vinit): Count the default server we added.
34681 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34682 Ulrich Drepper <drepper@redhat.com>
34685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34686 (____longjmp_chk): Use %ebx for saving value across system call.
34689 2010-09-06 Andreas Schwab <schwab@redhat.com>
34691 * manual/Makefile: Don't mix pattern rules with normal rules.
34693 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34695 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34697 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34698 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34699 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34700 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34701 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34704 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34707 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34708 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34710 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34712 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34713 * sysdeps/x86_64/addmul_1.S: Likewise.
34714 * sysdeps/x86_64/lshift.S: Likewise.
34715 * sysdeps/x86_64/mul_1.S: Likewise.
34716 * sysdeps/x86_64/rshift.S: Likewise.
34717 * sysdeps/x86_64/sub_n.S: Likewise.
34718 * sysdeps/x86_64/submul_1.S: Likewise.
34720 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34722 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34723 Define __sched_param instead of SCHED_* and sched_param when
34724 <bits/sched.h> is included with __need_schedparam defined.
34725 * bits/sched.h [__need_schedparam]
34726 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34727 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34728 (__defined_schedparam): Define to 1.
34729 (__sched_param): New structure, identical to sched_param.
34730 (__need_schedparam): Undefine.
34732 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34734 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34735 (epoll_create1): Declare.
34737 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34739 2010-08-31 Andreas Schwab <schwab@redhat.com>
34742 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34743 shifting retval into place.
34745 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34747 * nis/rpcsvc/nis.h: Update copyright notice.
34748 * nis/rpcsvc/nis.x: Likewise.
34749 * nis/rpcsvc/nis_callback.h: Likewise.
34750 * nis/rpcsvc/nis_callback.x: Likewise.
34751 * nis/rpcsvc/nis_object.x: Likewise.
34752 * nis/rpcsvc/nis_tags.h: Likewise.
34753 * nis/rpcsvc/yp.h: Likewise.
34754 * nis/rpcsvc/yp.x: Likewise.
34755 * nis/rpcsvc/ypupd.h: Likewise.
34756 * nis/yp_xdr.c: Likewise.
34757 * nis/ypupdate_xdr.c: Likewise.
34759 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34760 mainly the body of pmap_getport. Add parameters to specify timeouts.
34761 (pmap_getport): Use __libc_rpc_getport.
34762 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34763 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34764 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34766 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34771 2010-08-27 Roland McGrath <roland@redhat.com>
34773 * sysdeps/i386/i686/multiarch/Makefile
34774 (CFLAGS-varshift.c): New variable.
34776 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34778 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34779 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34783 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34785 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34787 * sysdeps/x86_64/strlen.S: Unroll the loop.
34788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34789 strlen-sse2 strlen-sse2-bsf.
34790 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34791 __strlen_no_bsf if bit_Slow_BSF is set.
34792 (__strlen_sse42): Removed.
34793 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34794 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34796 2010-08-25 Roland McGrath <roland@redhat.com>
34798 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34799 * sysdeps/x86_64/multiarch/varshift.c: New file.
34800 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34801 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34802 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34803 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34805 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34807 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34808 strlen-sse2 strlen-sse2-bsf.
34809 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34810 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34811 (__strlen_sse2): Removed.
34812 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34815 bit_Slow_BSF for Atom.
34816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34817 (index_Slow_BSF): Define.
34818 (HAS_SLOW_BSF): Define.
34820 2010-08-25 Ulrich Drepper <drepper@redhat.com>
34823 * resolv/res_init.c (__res_vinit): When no server address at all
34824 is given default to loopback.
34826 2010-08-24 Roland McGrath <roland@redhat.com>
34828 * configure.in: Remove config-name.h generation.
34829 * configure: Regenerated.
34830 * config-name.in: File removed.
34831 * scripts/config-uname.sh: New file.
34832 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34833 ($(objdir)config-name.h): New target.
34835 * sunrpc/rpc_parse.h: Avoid nested comment.
34837 2010-08-24 Richard Henderson <rth@redhat.com>
34838 Ulrich Drepper <drepper@redhat.com>
34839 H.J. Lu <hongjiu.lu@intel.com>
34841 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34843 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34844 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34845 _mm_alignr_epi8 with _mm_loadu_si128.
34846 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34847 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34848 (__m128i_shift_right): Removed.
34849 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34850 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34851 * sysdeps/x86_64/multiarch/varshift.h: New file.
34852 * sysdeps/x86_64/multiarch/varshift.S: New file.
34854 2010-08-21 Mike Frysinger <vapier@gentoo.org>
34856 * configure.in: Move assembler checks to before sysdep dir checking.
34858 2010-08-20 Petr Baudis <pasky@suse.cz>
34860 * LICENSES: Sync the sunrpc license.
34862 2010-08-19 Ulrich Drepper <drepper@redhat.com>
34864 * sunrpc/auth_des.c: Update copyright notice once again.
34865 * sunrpc/auth_none.c: Likewise.
34866 * sunrpc/auth_unix.c: Likewise.
34867 * sunrpc/authdes_prot.c: Likewise.
34868 * sunrpc/authuxprot.c: Likewise.
34869 * sunrpc/bindrsvprt.c: Likewise.
34870 * sunrpc/clnt_gen.c: Likewise.
34871 * sunrpc/clnt_perr.c: Likewise.
34872 * sunrpc/clnt_raw.c: Likewise.
34873 * sunrpc/clnt_simp.c: Likewise.
34874 * sunrpc/clnt_tcp.c: Likewise.
34875 * sunrpc/clnt_udp.c: Likewise.
34876 * sunrpc/clnt_unix.c: Likewise.
34877 * sunrpc/des_crypt.c: Likewise.
34878 * sunrpc/des_soft.c: Likewise.
34879 * sunrpc/get_myaddr.c: Likewise.
34880 * sunrpc/getrpcport.c: Likewise.
34881 * sunrpc/key_call.c: Likewise.
34882 * sunrpc/key_prot.c: Likewise.
34883 * sunrpc/openchild.c: Likewise.
34884 * sunrpc/pm_getmaps.c: Likewise.
34885 * sunrpc/pm_getport.c: Likewise.
34886 * sunrpc/pmap_clnt.c: Likewise.
34887 * sunrpc/pmap_prot.c: Likewise.
34888 * sunrpc/pmap_prot2.c: Likewise.
34889 * sunrpc/pmap_rmt.c: Likewise.
34890 * sunrpc/rpc/auth.h: Likewise.
34891 * sunrpc/rpc/auth_unix.h: Likewise.
34892 * sunrpc/rpc/clnt.h: Likewise.
34893 * sunrpc/rpc/des_crypt.h: Likewise.
34894 * sunrpc/rpc/key_prot.h: Likewise.
34895 * sunrpc/rpc/netdb.h: Likewise.
34896 * sunrpc/rpc/pmap_clnt.h: Likewise.
34897 * sunrpc/rpc/pmap_prot.h: Likewise.
34898 * sunrpc/rpc/pmap_rmt.h: Likewise.
34899 * sunrpc/rpc/rpc.h: Likewise.
34900 * sunrpc/rpc/rpc_des.h: Likewise.
34901 * sunrpc/rpc/rpc_msg.h: Likewise.
34902 * sunrpc/rpc/svc.h: Likewise.
34903 * sunrpc/rpc/svc_auth.h: Likewise.
34904 * sunrpc/rpc/types.h: Likewise.
34905 * sunrpc/rpc/xdr.h: Likewise.
34906 * sunrpc/rpc_clntout.c: Likewise.
34907 * sunrpc/rpc_cmsg.c: Likewise.
34908 * sunrpc/rpc_common.c: Likewise.
34909 * sunrpc/rpc_cout.c: Likewise.
34910 * sunrpc/rpc_dtable.c: Likewise.
34911 * sunrpc/rpc_hout.c: Likewise.
34912 * sunrpc/rpc_main.c: Likewise.
34913 * sunrpc/rpc_parse.c: Likewise.
34914 * sunrpc/rpc_parse.h: Likewise.
34915 * sunrpc/rpc_prot.c: Likewise.
34916 * sunrpc/rpc_sample.c: Likewise.
34917 * sunrpc/rpc_scan.c: Likewise.
34918 * sunrpc/rpc_scan.h: Likewise.
34919 * sunrpc/rpc_svcout.c: Likewise.
34920 * sunrpc/rpc_tblout.c: Likewise.
34921 * sunrpc/rpc_util.c: Likewise.
34922 * sunrpc/rpc_util.h: Likewise.
34923 * sunrpc/rpcinfo.c: Likewise.
34924 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34925 * sunrpc/rpcsvc/key_prot.x: Likewise.
34926 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34927 * sunrpc/rpcsvc/mount.x: Likewise.
34928 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34929 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34930 * sunrpc/rpcsvc/rex.x: Likewise.
34931 * sunrpc/rpcsvc/rstat.x: Likewise.
34932 * sunrpc/rpcsvc/rusers.x: Likewise.
34933 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34934 * sunrpc/rpcsvc/spray.x: Likewise.
34935 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34936 * sunrpc/rtime.c: Likewise.
34937 * sunrpc/svc.c: Likewise.
34938 * sunrpc/svc_auth.c: Likewise.
34939 * sunrpc/svc_authux.c: Likewise.
34940 * sunrpc/svc_raw.c: Likewise.
34941 * sunrpc/svc_run.c: Likewise.
34942 * sunrpc/svc_simple.c: Likewise.
34943 * sunrpc/svc_tcp.c: Likewise.
34944 * sunrpc/svc_udp.c: Likewise.
34945 * sunrpc/svc_unix.c: Likewise.
34946 * sunrpc/svcauth_des.c: Likewise.
34947 * sunrpc/xcrypt.c: Likewise.
34948 * sunrpc/xdr.c: Likewise.
34949 * sunrpc/xdr_array.c: Likewise.
34950 * sunrpc/xdr_float.c: Likewise.
34951 * sunrpc/xdr_mem.c: Likewise.
34952 * sunrpc/xdr_rec.c: Likewise.
34953 * sunrpc/xdr_ref.c: Likewise.
34954 * sunrpc/xdr_sizeof.c: Likewise.
34955 * sunrpc/xdr_stdio.c: Likewise.
34957 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34960 2010-08-19 Andreas Schwab <schwab@redhat.com>
34962 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34964 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
34966 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34967 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34968 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34969 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34970 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34971 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34972 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34973 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34974 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34975 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34976 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34977 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34978 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34979 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34981 2010-07-26 Anton Blanchard <anton@samba.org>
34983 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34984 * malloc/arena.c (heap_trim): Likewise.
34986 2010-08-16 Ulrich Drepper <drepper@redhat.com>
34988 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34991 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34993 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34995 * sysdeps/i386/elf/Makefile: New file.
34997 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34999 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35000 from fanotify_init.
35001 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35002 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35004 2010-08-15 Ulrich Drepper <drepper@redhat.com>
35006 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35008 * sysdeps/multiarch/strcmp.S: Likewise.
35010 2010-08-14 Ulrich Drepper <drepper@redhat.com>
35012 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35013 strncase_l-nonascii.
35014 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35015 Add strncase_l-ssse3.
35016 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35017 * sysdeps/x86_64/strcmp.S: Likewise.
35018 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35019 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35020 * sysdeps/x86_64/strncase.S: New file.
35021 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35022 * sysdeps/x86_64/strncase_l.S: New file.
35023 * string/Makefile (strop-tests): Add strncasecmp.
35024 * string/test-strncasecmp.c: New file.
35026 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35029 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35030 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35032 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35034 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35036 2010-08-12 Ulrich Drepper <drepper@redhat.com>
35038 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35039 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35040 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35042 2010-05-01 Alan Modra <amodra@gmail.com>
35044 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35045 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35046 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35047 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35048 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35049 tidying. Don't tail-call __sigjmp_save for static lib.
35050 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35052 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35053 (CALL_MCOUNT): Add eh info, and nop after bl.
35054 (TAIL_CALL_SYSCALL_ERROR): New macro.
35055 (PSEUDO_RET): Use it.
35056 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35057 Correct save location of integer regs and cr.
35058 (_dl_profile_resolve): Correct cr save location. Delete nops
35059 after bl when SHARED. Reduce cfi size a little by better
35060 placement of cfi directives.
35061 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35062 make a stack frame. Instead use parm save area as a temp.
35063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35064 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35066 Don't make a stack frame for parent, use parm save area.
35067 Increase child stack frame to 112 bytes. Don't save unused reg,
35068 and adjust reg usage. Set up cfi on error recovery and
35069 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35071 (__makecontext): Add dummy nop after jump to exit.
35072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35073 Use correct parm save area and cr save, reduce stack frame.
35074 Correct cfi for possible PSEUDO_RET frame setup.
35075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35076 Branch to local label emitted by PSEUDO_RET rather than
35079 2010-08-12 Andreas Schwab <schwab@redhat.com>
35082 * locale/programs/locale.c (print_assignment): New function.
35083 (show_locale_vars): Use it.
35085 2010-08-11 Ulrich Drepper <drepper@redhat.com>
35087 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35089 (struct statfs64): Likewise.
35090 (_STATFS_F_FLAGS): Define.
35091 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35092 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35093 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35094 (ST_VALID): Define locally.
35095 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35096 __statvfs_getflags, use the provided value.
35097 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35098 __ASSUME_STATFS_F_FLAGS.
35100 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35102 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35103 Add sys/fanotify.h.
35104 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35105 fanotify_mask for GLIBC_2.13.
35106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35107 fanotify_init and fanotify_mark.
35108 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35109 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35111 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35113 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35114 prlimit64 for GLIBC_2.13.
35115 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35117 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35120 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35121 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35122 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35123 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35125 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35128 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35129 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35131 * nss/Makefile: Add rules to build and run tst-nss-test1.
35132 * shlib-versions: Add entry for libnss_test1.
35133 * nss/nss_test1.c: New file.
35134 * nss/tst-nss-test1.c: New file.
35136 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35137 (__nss_configure_lookup): Set appropriate entry in
35138 __nss_configure_lookup to true.
35139 * nss/nsswitch.h: Define enum with indeces of databases in
35140 databases and __nss_database_custom arrays. Declare
35141 __nss_database_custom.
35142 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35143 to avoid using nscd when custom rules are installed.
35144 * nss/getXXbyYY_r.c: Likewise.
35145 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35147 * nss/nss_files/files-parse.c: Whitespace fixes.
35149 2010-08-09 Ulrich Drepper <drepper@redhat.com>
35152 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35153 * posix/fnmatch_loop.c: Likewise.
35155 2010-07-17 Andi Kleen <ak@linux.intel.com>
35157 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35158 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35159 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35160 * Versions.def [GLIBC_2.13]: Add.
35162 2010-08-06 Ulrich Drepper <drepper@redhat.com>
35164 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35165 Also fail if tpwd after pwuid call is NULL.
35167 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35169 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35170 when converting to ms.
35172 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35174 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35175 EOPNOTSUPP errors with ENOTTY.
35176 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35177 EOPNOTSUPP errors with ENOTTY.
35179 2010-07-31 Ulrich Drepper <drepper@redhat.com>
35181 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35182 Add strcasecmp_l-ssse3.
35183 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35185 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35186 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35187 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35189 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35191 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35193 * string/Makefile (strop-tests): Add strcasecmp.
35194 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35195 strcasecmp_l-nonascii.
35196 (gen-as-const-headers): Add locale-defines.sym.
35197 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35198 * sysdeps/x86_64/strcasecmp.S: New file.
35199 * sysdeps/x86_64/strcasecmp_l.S: New file.
35200 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35201 * sysdeps/x86_64/locale-defines.sym: New file.
35202 * string/test-strcasecmp.c: New file.
35204 * string/test-strcasestr.c: Test both ends of the range of characters.
35205 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35207 2010-07-29 Roland McGrath <roland@redhat.com>
35210 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35212 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35214 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35217 2010-07-27 Andreas Schwab <schwab@redhat.com>
35219 * manual/memory.texi (Malloc Tunable Parameters): Document
35222 2010-07-26 Roland McGrath <roland@redhat.com>
35225 * configure.in (-fgnu89-inline check): Set and substitute
35226 gnu89_inline, not libc_cv_gnu89_inline.
35227 * configure: Regenerated.
35228 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35230 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35232 * string/test-strnlen.c: New file.
35233 * string/Makefile (strop-tests): Add strnlen.
35234 * string/tester.c (test_strnlen): Add a few more test cases.
35235 * string/tst-strlen.c: Better error reporting.
35237 * sysdeps/x86_64/strnlen.S: New file.
35239 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35241 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35242 lower-latency instructions.
35244 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35246 * string/test-strcasestr.c: New file.
35247 * string/test-strstr.c: New file.
35248 * string/Makefile (strop-tests): Add strstr and strcasestr.
35249 * string/str-two-way.h: Don't undefine MAX.
35250 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35252 2010-07-21 Andreas Schwab <schwab@redhat.com>
35254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35255 strcasestr-nonascii.
35256 (CFLAGS-strcasestr-nonascii.c): Define.
35257 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35258 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35259 Remove unused attribute.
35261 2010-07-20 Roland McGrath <roland@redhat.com>
35263 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35264 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35265 ld.so.cache was broken. With it, there is no way to disable dsocaps
35266 like LD_HWCAP_MASK can disable hwcaps.
35268 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35270 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35272 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35274 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35275 call in strcasestr.
35276 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35277 __strcasestr_sse42_nonascii.
35278 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35279 strcasestr-nonascii.c.
35280 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35282 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35284 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35285 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35286 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35287 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35289 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35294 2010-07-06 Andreas Schwab <schwab@redhat.com>
35297 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35300 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35303 _PC_PIPE_BUF using F_GETPIPE_SZ.
35305 2010-07-05 Roland McGrath <roland@redhat.com>
35307 * manual/arith.texi (Rounding Functions): Fix rint description
35308 implicit in round description.
35310 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35312 * elf/Makefile: Fix linking for a few tests to make recent linker
35315 2010-06-30 Andreas Schwab <schwab@redhat.com>
35317 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35318 $(common-objpfx)libc_nonshared.a.
35320 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35322 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35323 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35324 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35325 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35326 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35327 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35328 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35329 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35344 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35345 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35346 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35347 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35348 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35349 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35350 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35351 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35352 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35353 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35354 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35355 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35371 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35373 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35374 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35375 * string/memmove.c (memmove): Renamed to ...
35376 (MEMMOVE): ...this. Default to memmove.
35377 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35378 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35381 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35382 mempcpy-ssse3-back memmove-ssse3-back.
35383 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35384 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35386 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35387 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35388 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35389 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35390 * sysdeps/x86_64/multiarch/memmove.c: New file.
35391 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35392 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35393 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35394 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35395 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35398 (index_Fast_Copy_Backward): Define.
35399 (HAS_ARCH_FEATURE): Define.
35400 (HAS_FAST_REP_STRING): Define.
35401 (HAS_FAST_COPY_BACKWARD): Define.
35403 2010-06-21 Andreas Schwab <schwab@redhat.com>
35405 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35406 Restore proper fallback handling.
35408 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35411 * posix/group_member.c (__group_member): Correct checking loop.
35413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35414 OOM in getpwuid_r correctly. Return error number when the caller
35415 should return, otherwise -1.
35416 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35417 call returning > 0 value.
35418 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35420 2010-06-07 Andreas Schwab <schwab@redhat.com>
35422 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35423 libc_nonshared.a from targets in modules-names.
35425 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35427 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35430 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35432 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35433 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35434 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35435 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35437 2010-06-02 Andreas Schwab <schwab@redhat.com>
35439 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35441 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35443 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35445 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35446 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35447 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35449 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35452 2010-06-14 Roland McGrath <roland@redhat.com>
35454 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35456 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35458 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35459 __REDIRECT followed by __THROW.
35460 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35461 * posix/getopt.h (getopt): Likewise.
35463 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35465 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35466 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35467 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35469 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35470 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35472 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35474 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35476 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35480 Properly check family and model.
35482 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35484 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35486 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35488 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35490 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35492 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35495 2010-05-19 Andreas Schwab <schwab@redhat.com>
35497 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35500 2010-05-21 Andreas Schwab <schwab@redhat.com>
35502 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35503 and internal_recvmmsg.
35504 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35505 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35506 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35507 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35509 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35510 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35511 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35513 2010-05-20 Andreas Schwab <schwab@redhat.com>
35515 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35517 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35519 POWER7 optimizations.
35520 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35521 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35523 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35525 * version.h: Update for 2.13 development version.
35527 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35529 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35530 exceptions. Return 0.
35532 2010-05-07 Roland McGrath <roland@redhat.com>
35534 * elf/ldconfig.c (main): Add a const.
35536 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35538 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35539 (args_options): Add no-idn option.
35540 (ahosts_keys_int): Add idn_flags to ai_flags.
35541 (parse_option): Handle 'i' option to clear idn_flags.
35543 * malloc/malloc.c (_int_free): Possible race in the most recently
35544 added check. Only act on the data if no current modification
35547 See ChangeLog.17 for earlier changes.