1 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
5 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6 (STAP_PROBE0): New macro.
7 (STAP_PROBE1): Likewise.
8 (STAP_PROBE2): Likewise.
9 (STAP_PROBE3): Likewise.
10 (STAP_PROBE4): Likewise.
12 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
14 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16 2013-12-02 Steve Ellcey <sellcey@mips.com>
18 * benchtests/Makefile (bench): Add sqrt.
19 (LDLIBS-bench-sqrt): New.
20 * benchtests/sqrt-input: New.
22 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
27 (gaih_inet): Likewise.
28 (getaddrinfo): Don't use GAIH_EAI.
30 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
31 (struct gaih): Remove definition.
33 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
38 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42 2013-11-30 Joseph Myers <joseph@codesourcery.com>
44 * math/gen-auto-libm-tests.c (test_functions): Add more
45 single-argument functions.
46 (special_fill_pi_2): New function.
47 (special_fill_minus_pi_2): Likewise.
48 (special_fill_pi_6): Likewise.
49 (special_fill_minus_pi_6): Likewise.
50 (special_fill_pi_3): Likewise.
51 (special_fill_2pi_3): Likewise.
52 (special_fill_e): Likewise.
53 (special_fill_1_e): Likewise.
54 (special_fill_e_minus_1): Likewise.
55 (special_real_inputs): Add more special inputs.
56 (output_for_one_input_case): Do not require ERANGE on underflow to
57 zero if round-to-nearest result does not underflow to zero, unless
58 exact results required.
59 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60 atan, atanh, cbrt, cos and cosh.
61 * math/auto-libm-test-out: Regenerated.
62 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
63 (acos_tonearest_test_data): Likewise.
64 (acos_towardzero_test_data): Likewise.
65 (acos_downward_test_data): Likewise.
66 (acos_upward_test_data): Likewise.
67 (acosh_test_data): Likewise.
68 (asin_test_data): Likewise.
69 (asin_tonearest_test_data): Likewise.
70 (asin_towardzero_test_data): Likewise.
71 (asin_upward_test_data): Likewise.
72 (asinh_test_data): Likewise.
73 (atan_test_data): Likewise.
74 (atanh_test_data): Likewise.
75 (cbrt_test_data): Likewise.
76 (cos_test_data): Likewise.
77 (cos_tonearest_test_data): Likewise.
78 (cos_towardzero_test_data): Likewise.
79 (cos_downward_test_data): Likewise.
80 (cos_upward_test_data): Likewise.
81 (cosh_test_data): Likewise.
82 (cosh_tonearest_test_data): Likewise.
83 (cosh_towardzero_test_data): Likewise.
84 (cosh_downward_test_data): Likewise.
85 (cosh_upward_test_data): Likewise.
86 * sysdeps/i386/fpu/libm-test-ulps: Update.
87 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
89 2013-11-29 Joseph Myers <joseph@codesourcery.com>
92 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
93 * math/w_exp10f.c (__exp10f): Likewise.
94 * math/w_exp10l.c (__exp10l): Likewise.
95 * math/libm-test.inc (exp10_test_data): Add more tests and expect
96 errno settings in existing tests.
99 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
100 precision control set to double precision.
101 * sysdeps/i386/fpu/w_sqrt.c: New file.
102 * math/auto-libm-test-in: Add more tests.
103 * math/auto-libm-test-out: Update.
105 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
106 (sqrt_test_tonearest): New function.
107 (sqrt_towardzero_test_data): New variable.
108 (sqrt_test_towardzero): New function.
109 (sqrt_downward_test_data): New variable.
110 (sqrt_test_downward): New function.
111 (sqrt_upward_test_data): New variable.
112 (sqrt_test_upward): New function.
113 (main): Call the new functions.
115 * math/gen-auto-libm-tests.c: New file.
116 * math/auto-libm-test-in: Likewise.
117 * math/auto-libm-test-out: New generated file.
118 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
120 (%beautify): Add generated representations of zero.
121 (top level): Set $auto_input and call parse_auto_input.
122 (beautify): Remove trailing "f" from hex float constants.
123 (parse_args): Handle XFAIL_TEST.
124 (convert_condition): New function.
125 (or_value): Likewise.
126 (or_cond_value): Likewise.
127 (generate_testfile): Handle AUTO_TESTS_* lines.
128 (parse_auto_input): New function.
129 * math/libm-test.inc (XFAIL_TEST): New macro.
130 (ERRNO_UNCHANGED): Update value.
131 (ERRNO_EDOM): Likewise.
132 (ERRNO_ERANGE): Likewise.
133 (IGNORE_RESULT): Likewise.
134 (TEST_COND_flt_32): New macro.
135 (TEST_COND_dbl_64): Likewise.
136 (TEST_COND_ldbl_96_intel): Likewise.
137 (TEST_COND_ldbl_96_m68k): Likewise.
138 (TEST_COND_ldbl_128): Likewise.
139 (TEST_COND_ldbl_128ibm): Likewise.
140 (TEST_COND_long32): Likewise.
141 (TEST_COND_long64): Likewise.
142 (TEST_COND_before_rounding): Likewise.
143 (TEST_COND_after_rounding): Likewise.
144 (enable_test): Handle XFAIL_TEST flag.
145 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
147 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
150 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
151 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
154 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
155 __tls_get_addr_internal instead of __tls_get_offset in order to
156 avoid GOT pointer dependency. Make rtld export
157 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
158 __tls_get_addr since we are a __tls_get_offset platform.
159 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
160 GOT pointer being set up before.
161 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
163 2013-11-28 Joseph Myers <joseph@codesourcery.com>
165 * manual/math.texi (Errors in Math Functions): Document accuracy
169 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
170 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
171 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
172 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
173 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
174 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
175 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
176 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
177 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
178 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
179 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
180 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
181 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
182 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
183 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
184 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
186 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
187 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
188 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
189 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
190 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
192 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
194 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
196 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
197 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
198 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
199 atomic-feupdateenv and flt-rounds.
200 * sysdeps/powerpc/nofpu/Versions (libc): Add
201 __atomic_feholdexcept, __atomic_feclearexcept,
202 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
203 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
204 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
205 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
206 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
211 * manual/arith.texi (FP Exceptions): Document that exceptions may
212 not be raised when matherr is used.
213 (Math Error Reporting): Document overflow in directed rounding
214 modes. Document that errno may not be set when finite values are
215 returned on overflow. Document intent to set errno on underflow
216 only for underflow to zero.
219 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
220 round-to-nearest then adjust result for other rounding modes.
221 * include/fenv.h (fegetround): Use libm_hidden_proto.
222 * math/fegetround.c (fegetround): Use libm_hidden_def.
223 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
224 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
225 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
226 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
228 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
229 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
230 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
231 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
233 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
236 * nss/Versions (libnss_files): Add
237 _nss_files_gethostbyname3_r.
238 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
240 (HOST_DB_LOOKUP): Remove macro.
241 (_nss_files_gethostbyname_r): Implement function without the
242 HOST_DB_LOOKUP macro.
243 (_nss_files_gethostbyname2_r): Likewise.
245 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
247 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
249 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
251 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
252 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
255 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
257 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
258 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
259 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
260 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
261 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
262 __fe_nomask_env_priv and attribute_hidden.
263 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
264 (libc_feupdateenv_test_ppc): Likewise.
265 (libc_feresetround_ppc): Likewise.
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
267 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
270 (__fe_nomask_env): Likewise.
271 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
273 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
275 * string/Makefile: Remove ifunc tests.
276 * string/test-string.h: Define TEST_IFUNC.
277 * string/test-bcopy-ifunc.c: Remove.
278 * string/test-bzero-ifunc.c: Likewise.
279 * string/test-memccpy-ifunc.c: Likewise.
280 * string/test-memchr-ifunc.c: Likewise.
281 * string/test-memcmp-ifunc.c: Likewise.
282 * string/test-memcpy-ifunc.c: Likewise.
283 * string/test-memmem-ifunc.c: Likewise.
284 * string/test-memmove-ifunc.c: Likewise.
285 * string/test-mempcpy-ifunc.c: Likewise.
286 * string/test-memrchr-ifunc.c: Likewise.
287 * string/test-memset-ifunc.c: Likewise.
288 * string/test-rawmemchr-ifunc.c: Likewise.
289 * string/test-stpcpy-ifunc.c: Likewise.
290 * string/test-stpncpy-ifunc.c: Likewise.
291 * string/test-strcasecmp-ifunc.c: Likewise.
292 * string/test-strcasestr-ifunc.c: Likewise.
293 * string/test-strcat-ifunc.c: Likewise.
294 * string/test-strchr-ifunc.c: Likewise.
295 * string/test-strchrnul-ifunc.c: Likewise.
296 * string/test-strcmp-ifunc.c: Likewise.
297 * string/test-strcpy-ifunc.c: Likewise.
298 * string/test-strcspn-ifunc.c: Likewise.
299 * string/test-strlen-ifunc.c: Likewise.
300 * string/test-strncasecmp-ifunc.c: Likewise.
301 * string/test-strncat-ifunc.c: Likewise.
302 * string/test-strncmp-ifunc.c: Likewise.
303 * string/test-strncpy-ifunc.c: Likewise.
304 * string/test-strnlen-ifunc.c: Likewise.
305 * string/test-strpbrk-ifunc.c: Likewise.
306 * string/test-strrchr-ifunc.c: Likewise.
307 * string/test-strspn-ifunc.c: Likewise.
308 * string/test-strstr-ifunc.c: Likewise.
310 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
312 * benchtests/Makefile: Remove ifunc tests.
313 * benchtests/bench-string.h: Define TEST_IFUNC.
314 * benchtests/bench-bcopy-ifunc.c: Remove.
315 * benchtests/bench-bzero-ifunc.c: Likewise.
316 * benchtests/bench-memccpy-ifunc.c: Likewise.
317 * benchtests/bench-memchr-ifunc.c: Likewise.
318 * benchtests/bench-memcmp-ifunc.c: Likewise.
319 * benchtests/bench-memcpy-ifunc.c: Likewise.
320 * benchtests/bench-memmem-ifunc.c: Likewise.
321 * benchtests/bench-memmove-ifunc.c: Likewise.
322 * benchtests/bench-mempcpy-ifunc.c: Likewise.
323 * benchtests/bench-memrchr-ifunc.c: Likewise.
324 * benchtests/bench-memset-ifunc.c: Likewise.
325 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
326 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
327 * benchtests/bench-stpcpy-ifunc.c: Likewise.
328 * benchtests/bench-stpncpy-ifunc.c: Likewise.
329 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
330 * benchtests/bench-strcasestr-ifunc.c: Likewise.
331 * benchtests/bench-strcat-ifunc.c: Likewise.
332 * benchtests/bench-strchr-ifunc.c: Likewise.
333 * benchtests/bench-strchrnul-ifunc.c: Likewise.
334 * benchtests/bench-strcmp-ifunc.c: Likewise.
335 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
336 * benchtests/bench-strcpy-ifunc.c: Likewise.
337 * benchtests/bench-strcspn-ifunc.c: Likewise.
338 * benchtests/bench-strlen-ifunc.c: Likewise.
339 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
340 * benchtests/bench-strncat-ifunc.c: Likewise.
341 * benchtests/bench-strncmp-ifunc.c: Likewise.
342 * benchtests/bench-strncpy-ifunc.c: Likewise.
343 * benchtests/bench-strnlen-ifunc.c: Likewise.
344 * benchtests/bench-strpbrk-ifunc.c: Likewise.
345 * benchtests/bench-strrchr-ifunc.c: Likewise.
346 * benchtests/bench-strsep-ifunc.c: Likewise.
347 * benchtests/bench-strspn-ifunc.c: Likewise.
348 * benchtests/bench-strstr-ifunc.c: Likewise.
350 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
352 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
354 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
356 * resolv/netdb.h: Use __glibc_reserved instead __unused.
357 * rt/aio.h: Likewise.
358 * sysdeps/gnu/bits/utmp.h: Likewise.
359 * sysdeps/gnu/bits/utmpx.h: Likewise.
360 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
361 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
362 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
363 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
364 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
365 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
366 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
367 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
368 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
369 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
370 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
371 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
372 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
374 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
375 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
376 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
377 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
378 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
379 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
380 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
381 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
382 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
383 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
384 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
385 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
386 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
387 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
388 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
389 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
390 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
391 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
392 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
393 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
394 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
395 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
396 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
397 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
398 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
399 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
400 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
401 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
403 2013-11-25 Carlos O'Donell <carlos@redhat.com>
406 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
407 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
409 2013-11-25 Joseph Myers <joseph@codesourcery.com>
411 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
412 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
415 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
418 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
419 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
420 (__fesetround): Remove define.
421 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
422 rounding and exceptions handling.
423 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
424 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
425 (__fe_nomask_env): Likewise.
426 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
427 __fegetround instead of fegetround.
428 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
429 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
431 2013-11-21 Roland McGrath <roland@hack.frob.com>
433 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
436 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
438 2013-11-21 Meador Inge <meadori@codesourcery.com>
441 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
442 (encrypt_r): Likewise.
443 * malloc/obstack.h (obstack_free): Likewise.
444 * posix/unistd.h (encrypt): Likewise.
446 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
448 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
449 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
450 DL_CALL_DT_FINI() that call the functions directly.
451 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
452 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
453 * elf/dl-fini.c: Likewise.
455 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
457 * malloc/hooks.c (memalign_check): Add alignment rounding.
458 * malloc/malloc.c (_mid_memalign): New function.
459 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
460 Implement by calling _mid_memalign.
461 * manual/probes.texi (Memory Allocation Probes): Remove
462 memory_valloc_retry and memory_pvalloc_retry.
464 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
466 * locale/programs/locarchive.c (open_archive): Add const
467 qualifier to ARCHIVEFNAME and copy default fname to
471 * libio/tst-widetext.input: Rename Oriya to Odia.
472 * locale/iso-639.def: Likewise.
474 * manual/probes.texi (Mathematical Function Probes): Add
475 documentation for sin, cos, asin and acos probes.
476 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
477 (__sin32): Add slowasin probe.
478 (__cos32): Add slowacos probe.
479 (__mpsin): Add slowsin probe.
480 (__mpcos): Add slowcos probe.
482 2013-11-19 Joseph Myers <joseph@codesourcery.com>
485 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
486 thread-local __sim_exceptions_thread and global
487 __sim_exceptions_global.
488 (__sim_disabled_exceptions): Change to thread-local
489 __sim_disabled_exceptions_thread and global
490 __sim_disabled_exceptions_global.
491 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
492 and global __sim_round_mode_global.
493 (__simulate_exceptions): Use thread-local floating-point state and
494 set global state from it as needed.
495 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
496 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
497 __sim_round_mode_thread.
498 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
499 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
500 and global __sim_exceptions_global.
501 (__sim_disabled_exceptions): Change to thread-local
502 __sim_disabled_exceptions_thread and global
503 __sim_disabled_exceptions_global.
504 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
505 and global __sim_round_mode_global.
506 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
507 (SIM_SET_GLOBAL): Likewise.
508 * sysdeps/powerpc/soft-fp/sfp-machine.h
509 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
510 __sim_round_mode_thread.
511 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
512 __sim_disabled_exceptions_thread.
513 (__sim_exceptions): Change to __sim_exceptions_thread.
514 (__sim_disabled_exceptions): Change to
515 __sim_disabled_exceptions_thread.
516 (__sim_round_mode): Change to __sim_round_mode_thread.
517 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
518 thread-local floating-point state and set global state from it as
520 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
521 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
522 (__sim_disabled_exceptions): Remove extern declaration.
523 (feenableexcept): Use thread-local floating-point state and set
524 global state from it as needed.
525 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
527 (__sim_disabled_exceptions): Likewise.
528 (__sim_round_mode): Likewise.
529 (__fegetenv): Use thread-local floating-point state.
530 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
531 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
532 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
533 floating-point state and set global state from it as needed.
534 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
535 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
536 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
538 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
539 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
541 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
542 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
543 Use __sim_round_mode_thread.
544 * math/test-fenv-tls.c: New file.
545 * math/Makefile (tests): Add test-fenv-tls.
546 ($(objpfx)test-fenv-tls): Depend on
547 $(common-objpfx)nptl/libpthread.so.
549 2013-11-19 Andreas Schwab <schwab@suse.de>
551 * locale/programs/locale.c (show_info): Decode wordarray elements.
552 * locale/categories.def (LC_MONETARY): Add element for
553 _NL_MONETARY_CRNCYSTR.
554 * locale/C-monetary.c (conversion_rate): New variable.
555 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
558 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
560 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
561 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
563 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
565 * elf/Makefile (tst-auxv): New test.
566 * elf/tst-auxv.c: New
567 * elf/rtld.c (dl_main): Adjust AT_EXECFN
569 2013-11-18 Joseph Myers <joseph@codesourcery.com>
571 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
572 (hidden_proto): Caller changed.
573 (hidden_tls_proto): New macro.
574 (libc_hidden_tls_proto): Likewise.
575 (rtld_hidden_tls_proto): Likewise.
576 (libm_hidden_tls_proto): Likewise.
577 (libresolv_hidden_tls_proto): Likewise.
578 (librt_hidden_tls_proto): Likewise.
579 (libdl_hidden_tls_proto): Likewise.
580 (libnss_files_hidden_tls_proto): Likewise.
581 (libnsl_hidden_tls_proto): Likewise.
582 (libnss_nisplus_hidden_tls_proto): Likewise.
583 (libutil_hidden_tls_proto): Likewise.
585 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
588 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
589 (decompose_rpath): Defer expansion to fillin_rpath.
590 (_dl_init_paths): Pass linkmap to fillin_rpath.
592 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
594 * benchtests/Makefile: Add strsep.
595 * benchtests/bench-strsep.c: New file: strsep benchtest.
596 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
598 2013-11-18 Andreas Schwab <schwab@suse.de>
600 * locale/programs/locale.c (show_info) [case byte]: Check for
601 '\377' instead of '\177'.
602 * locale/C-monetary.c (not_available): Always use "\377".
603 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
604 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
605 detect unavailable sign_posn locale elements.
606 * locale/localeconv.c (__localeconv): For grouping and
607 mon_grouping handle "\177" and "\377" like no grouping.
608 (INT_ELEM): New macro. Use it to set all numeric members.
609 * locale/programs/ld-monetary.c (monetary_read)
610 <tok_mon_grouping>: Normalize single -1 to the empty string.
611 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
614 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
617 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
619 * stdio-common/tst-sscanf.c (struct test): Add testcase.
621 2013-11-16 Joseph Myers <joseph@codesourcery.com>
623 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
624 (NO_TEST_INLINE): Update value.
625 (ERRNO_UNCHANGED): Likewise.
626 (ERRNO_EDOM): Likewise.
627 (ERRNO_ERANGE): Likewise.
628 (IGNORE_RESULT): Likewise.
629 (check_float_internal): Check signs of NaN results if
631 (check_complex): Pass TEST_NAN_SIGN flag through to second
632 check_float_internal call.
633 (copysign_test_data): Add tests with quiet NaNs as second
634 argument. Use TEST_NAN_SIGN.
635 (fabs_test_data): Add test of negative quiet NaN argument. Use
637 (signbit_test_data): Add tests of quiet NaN argument.
638 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
640 * math/gen-libm-test.pl (show_exceptions): Take extra argument
642 (parse_args): Handle function results specified as IGNORE.
643 * math/libm-test.inc (IGNORE_RESULT): New macro.
644 (check_float_internal): Do not check numerical result if flag
646 (check_complex): Pass through IGNORE_RESULT to second
647 check_float_internal call.
648 (check_int): Do not check numerical result if flag IGNORE_RESULT
650 (check_long): Likewise.
651 (check_bool): Likewise.
652 (check_longlong): Likewise.
653 (lrint_test_data): Add tests of infinite and NaN arguments.
654 (lrint_tonearest_test_data): Likewise.
655 (lrint_towardzero_test_data): Likewise.
656 (lrint_downward_test_data): Likewise.
657 (lrint_upward_test_data): Likewise.
658 (llrint_test_data): Likewise.
659 (llrint_tonearest_test_data): Likewise.
660 (llrint_towardzero_test_data): Likewise.
661 (llrint_downward_test_data): Likewise.
662 (llrint_upward_test_data): Likewise.
663 (lround_test_data): Likewise.
664 (llround_test_data): Likewise.
666 * math/libm-test.inc (NO_TEST_INLINE): New macro.
667 (ERRNO_UNCHANGED): Update value.
668 (ERRNO_EDOM): Likewise.
669 (ERRNO_ERANGE): Likewise.
670 (NO_TEST_INLINE_FLOAT): New macro.
671 (NO_TEST_INLINE_DOUBLE): Likewise.
672 (enable_test): New function.
673 (RUN_TEST_f_f): Check enable_test before running test.
674 (RUN_TEST_2_f): Likewise.
675 (RUN_TEST_fff_f): Likewise.
676 (RUN_TEST_c_f): Likewise.
677 (RUN_TEST_f_f1): Likewise.
678 (RUN_TEST_fF_f1): Likewise.
679 (RUN_TEST_fI_f1): Likewise.
680 (RUN_TEST_ffI_f1): Likewise.
681 (RUN_TEST_c_c): Likewise.
682 (RUN_TEST_cc_c): Likewise.
683 (RUN_TEST_f_i): Likewise.
684 (RUN_TEST_f_i_tg): Likewise.
685 (RUN_TEST_ff_i_tg): Likewise.
686 (RUN_TEST_f_b): Likewise.
687 (RUN_TEST_f_b_tg): Likewise.
688 (RUN_TEST_f_l): Likewise.
689 (RUN_TEST_f_L): Likewise.
690 (RUN_TEST_fFF_11): Likewise.
691 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
693 (cosh_test_data): Likewise.
694 (exp_test_data): Likewise.
695 (expm1_test_data): Likewise.
696 (hypot_test_data): Likewise.
697 (pow_test_data): Likewise.
698 (sinh_test_data): Likewise.
699 (tanh_test_data): Likewise.
700 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
703 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
704 tests with quiet NaN input and output.
705 (acosh_test_data): Likewise.
706 (asin_test_data): Likewise.
707 (asinh_test_data): Likewise.
708 (atan_test_data): Likewise.
709 (atanh_test_data): Likewise.
710 (atan2_test_data): Likewise.
711 (cbrt_test_data): Likewise.
712 (cos_test_data): Likewise.
713 (cosh_test_data): Likewise.
714 (erf_test_data): Likewise.
715 (erfc_test_data): Likewise.
716 (exp_test_data): Likewise.
717 (exp10_test_data): Likewise.
718 (exp2_test_data): Likewise.
719 (expm1_test_data): Likewise.
720 (hypot_test_data): Likewise.
721 (j0_test_data): Likewise.
722 (j1_test_data): Likewise.
723 (jn_test_data): Likewise.
724 (lgamma_test_data): Likewise.
725 (log_test_data): Likewise.
726 (log10_test_data): Likewise.
727 (log1p_test_data): Likewise.
728 (log2_test_data): Likewise.
729 (pow_test_data): Likewise.
730 (scalb_test_data): Likewise.
731 (sin_test_data): Likewise.
732 (sincos_test_data): Likewise.
733 (sinh_test_data): Likewise.
734 (tan_test_data): Likewise.
735 (tanh_test_data): Likewise.
736 (tgamma_test_data): Likewise.
737 (y0_test_data): Likewise.
738 (y1_test_data): Likewise.
739 (yn_test_data): Likewise.
742 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
743 argument being NaN and avoid computations with second argument in
745 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
746 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
747 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
749 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
751 * locale/iso-639.def: Add Chitwani Tharu (the).
753 2013-11-14 Andreas Schwab <schwab@suse.de>
755 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
756 word instead of empty string.
758 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
761 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
763 (__fe_nomask_env): Likewise.
765 2013-11-13 Steve Ellcey <sellcey@mips.com>
767 * benchtests/bench-timing.h: Include time.h.
769 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
772 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
774 * sysdeps/unix/sysv/linux/configure: Regenerated.
776 2013-11-13 Joseph Myers <joseph@codesourcery.com>
779 * stdlib/strtod_l.c (round_and_return): Do not consider
780 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
781 exponent one less than half the least subnormal exponent.
782 * stdlib/test-strtod-round-data: Add more tests.
783 * stdlib/tst-strtod-round.c (tests): Regenerated.
785 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
788 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
789 (__fe_mask_env): Likewise.
790 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
791 libm_hidden_proto and add function prototype.
792 (__fe_mask_env): Add function prototype.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
794 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
796 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
798 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
800 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
802 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
803 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
805 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
807 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
810 2013-11-11 David S. Miller <davem@davemloft.net>
813 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
814 symbol in the non-vis3 case in static builds.
815 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
816 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
817 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
818 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
820 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
823 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
826 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
828 * benchtests/Makefile: Add bench-strtod.
829 * benchtests/bench-strtod.c: New file: strtod benchtest
831 2013-11-11 Andreas Schwab <schwab@suse.de>
834 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
835 terminating NUL in key length.
837 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
840 Add artificial ODP entry for vDSO symbol for PPC64.
841 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
842 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
844 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
847 * nss/getent.c (services_keys): Recognize services starting with digit.
849 2013-11-06 David S. Miller <davem@davemloft.net>
852 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
853 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
855 2013-11-06 Will Newton <will.newton@linaro.org>
857 * manual/memory.texi (Malloc Examples): Remove register
858 keyword from examples.
860 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
862 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
864 2013-11-04 Joseph Myers <joseph@codesourcery.com>
866 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
867 depending on [__GCC_IEC_559 > 0].
868 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
869 depending on [__GCC_IEC_559_COMPLEX > 0].
871 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
873 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
876 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
878 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
880 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
883 * malloc/malloc (malloc_info): Do not handle first bin as
886 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
888 * locale/iso-639.def: Add Central Nahuatl (nhn).
890 2013-11-01 Bruno Haible <bruno@clisp.org>
893 * manual/math.texi (BSD Random): Specify range upper bound as
896 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
898 * locale/iso-639.def: Add Meadow Mari (mhr).
900 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
902 [BZ #14752], [BZ #15763]
903 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
905 * rt/tst_shm.c: Add test for escaping directory.
907 2013-10-31 Andreas Schwab <schwab@suse.de>
910 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
911 followed by 'x' as part of digit sequence.
912 * stdio-common/tst-sscanf.c (double_tests2): New tests.
914 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
917 * configure.ac: allow GNU Make 4.0 and greater.
918 * configure: Regenerated.
920 2013-10-30 Will Newton <will.newton@linaro.org>
923 * malloc/hooks.c (memalign_check): Limit alignment to the
924 maximum representable power of two.
925 * malloc/malloc.c (__libc_memalign): Likewise.
926 * malloc/tst-memalign.c (do_test): Add test for very
927 large alignment values.
928 * malloc/tst-posix_memalign.c (do_test): Likewise.
930 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
933 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
934 (munmap_chunk): Likewise.
935 (mremap_chunk): Likewise.
937 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
940 * stdlib/div.c (div): Remove obsolete code.
941 * stdlib/ldiv.c (ldiv): Likewise.
942 * stdlib/lldiv.c (lldiv): Likewise.
944 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
947 * nss/nss_files/files-XXX.c (get_contents_ret): New
949 (get_contents): New function.
950 (internal_getent): Use it. Expand size of LINEBUFLEN.
952 2013-10-30 Mike Frysinger <vapier@gentoo.org>
954 * configure.in: Moved to ...
955 * configure.ac: ... here. Change reference to configure.in
957 * sysdeps/arm/preconfigure.ac: ... here.
958 configure.in to configure.ac.
959 * sysdeps/gnu/configure.in: Moved to ...
960 * sysdeps/gnu/configure.ac: ... here.
961 * sysdeps/i386/configure.in: Moved to ...
962 * sysdeps/i386/configure.ac: ... here.
963 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
964 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
965 * sysdeps/mach/configure.in: Moved to ...
966 * sysdeps/mach/configure.ac: ... here.
967 * sysdeps/mach/hurd/configure.in: Moved to ...
968 * sysdeps/mach/hurd/configure.ac: ... here.
969 * sysdeps/powerpc/configure.in: Moved to ...
970 * sysdeps/powerpc/configure.ac: ... here.
971 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
972 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
973 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
974 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
975 * sysdeps/s390/s390-32/configure.in: Moved to ...
976 * sysdeps/s390/s390-32/configure.ac: ... here.
977 * sysdeps/s390/s390-64/configure.in: Moved to ...
978 * sysdeps/s390/s390-64/configure.ac: ... here.
979 * sysdeps/sh/configure.in: Moved to ...
980 * sysdeps/sh/configure.ac: ... here.
981 * sysdeps/sparc/configure.in: Moved to ...
982 * sysdeps/sparc/configure.ac: ... here.
983 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
984 * sysdeps/unix/sysv/linux/configure.ac: ... here.
985 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
986 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
987 * sysdeps/x86_64/configure.in: Moved to ...
988 * sysdeps/x86_64/configure.ac: ... here.
989 * sysdeps/x86_64/preconfigure.in: Moved to ...
990 * sysdeps/x86_64/preconfigure.ac: ... here.
991 * aclocal.m4: Change reference to configure.in to configure.ac.
992 * config.h.in: Likewise.
993 * manual/install.texi: Likewise.
994 * manual/maint.texi: Likewise.
995 * Makefile: Likewise.
996 * malloc/Makefile: Likewise.
997 * nscd/Makefile: Likewise.
998 * Makeconfig: Change reference to configure.in and
999 preconfigure.in to configure.ac and preconfigure.ac
1001 * INSTALL: Regenerated.
1002 * configure: Likewise.
1003 * sysdeps/gnu/configure: Likewise.
1004 * sysdeps/i386/configure: Likewise.
1005 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1006 * sysdeps/mach/configure: Likewise.
1007 * sysdeps/mach/hurd/configure: Likewise.
1008 * sysdeps/powerpc/configure: Likewise.
1009 * sysdeps/powerpc/powerpc32/configure: Likewise.
1010 * sysdeps/powerpc/powerpc64/configure: Likewise.
1011 * sysdeps/s390/s390-32/configure: Likewise.
1012 * sysdeps/s390/s390-64/configure: Likewise.
1013 * sysdeps/sh/configure: Likewise.
1014 * sysdeps/sparc/configure: Likewise.
1015 * sysdeps/unix/sysv/linux/configure: Likewise.
1016 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1017 * sysdeps/x86_64/configure: Likewise.
1018 * sysdeps/x86_64/preconfigure: Likewise.
1020 2013-10-29 Andreas Schwab <schwab@suse.de>
1022 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1024 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1026 * benchtests/pow-inputs: Add new inputs.
1028 * benchtests/exp-inputs: Add new inputs.
1030 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1031 conditional check for return value.
1032 (__cos32): Likewise.
1034 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1036 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1037 to provide a boost for large inputs with word alignment.
1038 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1039 implementation based on optimized PPC64 strcpy.
1040 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1041 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1042 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1043 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1045 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1048 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1050 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1053 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1054 * time/tst-strptime.c (day_tests): Add testcase.
1056 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1059 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1061 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1064 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1065 MAP_FAILED on error.
1067 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1070 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1071 heap for large requests.
1073 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1076 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1077 result if the result has no associated interface.
1078 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1079 interface for all 127.X.Y.Z addresses.
1081 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
1083 * locale/iso-639.def: Add Ligurian (lij)
1085 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
1088 * sunrpc/rpc_main.c: Document rpcgen -5.
1090 2013-10-19 Michael Stahl <mstahl@redhat.com>
1092 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1094 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1097 * posix/glob.c: Match only directories when trailing slash is present.
1098 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1099 (main): Add testcase.
1101 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1104 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1106 2013-10-18 Carlos O'Donell <carlos@redhat.com>
1108 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1109 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1110 AUTH_DES and cindex for FIPS 140-2.
1111 (DES Encryption): Add cindex FIPS 46-3.
1113 * locale/locarchive.h (struct locarhandle): Add fname.
1114 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1115 if an optional argument was specified to --list-archive,
1117 * locale/programs/locarchive.c (show_archive_content): Take new
1118 argument fname and pass it via ah.fname to open_archive.
1119 * locale/programs/localedef.h: Update decl.
1120 (open_archive): If AH->fname is non-null, open that file
1121 rather than the default file name, and don't ignore ENOENT.
1122 (create_archive): Set AH.fname to NULL.
1123 (delete_locales_from_archive): Likewise.
1124 (add_locales_to_archive): Likewise.
1125 * locale/programs/locfile.c (write_all_categories): Likewise.
1127 2013-10-18 Joseph Myers <joseph@codesourcery.com>
1128 Aldy Hernandez <aldyh@redhat.com>
1130 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1131 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1132 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1133 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1134 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1135 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1136 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1138 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1139 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1140 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1141 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1142 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1143 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1144 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1146 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1148 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1150 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1152 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1153 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1155 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1156 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1157 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1158 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1160 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1161 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1162 * sysdeps/powerpc/preconfigure: Likewise.
1163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1165 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1166 Replace contents of file by #include of <fenv_libc.h>.
1167 * sysdeps/powerpc/soft-fp/sfp-machine.h
1168 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1170 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1171 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1172 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1173 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1174 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1175 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1176 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1177 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1178 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1179 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1180 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1181 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1183 Allow copysignl PLT reference to be missing.
1185 2013-10-18 Richard Sandiford <richard@codesourcery.com>
1186 Joseph Myers <joseph@codesourcery.com
1189 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1191 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1193 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1195 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1196 * elf/tst-tls1.c: Likewise.
1197 * elf/tst-tls10.h: Likewise.
1198 * elf/tst-tls14.c: Likewise.
1199 * elf/tst-tls2.c: Likewise.
1200 * elf/tst-tls3.c: Likewise.
1201 * elf/tst-tls4.c: Likewise.
1202 * elf/tst-tls5.c: Likewise.
1203 * elf/tst-tls6.c: Likewise.
1204 * elf/tst-tls7.c: Likewise.
1205 * elf/tst-tls8.c: Likewise.
1206 * elf/tst-tls9.c: Likewise.
1207 * elf/tst-tlsmod1.c: Likewise.
1208 * elf/tst-tlsmod13.c: Likewise.
1209 * elf/tst-tlsmod13a.c: Likewise.
1210 * elf/tst-tlsmod14a.c: Likewise.
1211 * elf/tst-tlsmod16a.c: Likewise.
1212 * elf/tst-tlsmod16b.c: Likewise.
1213 * elf/tst-tlsmod2.c: Likewise.
1214 * elf/tst-tlsmod3.c: Likewise.
1215 * elf/tst-tlsmod4.c: Likewise.
1216 * elf/tst-tlsmod5.c: Likewise.
1217 * elf/tst-tlsmod6.c: Likewise.
1219 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
1222 * malloc/malloc.c: remove checks for statistics.
1224 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1227 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1228 * inet/tst-network.c: Add testcase.
1230 2013-10-17 Andreas Schwab <schwab@suse.de>
1233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1234 to determine canonical name.
1236 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1238 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1239 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1241 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1243 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1244 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1245 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1246 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1247 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1248 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1249 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1250 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1251 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1252 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1253 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1254 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1255 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1256 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1257 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1261 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1262 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1263 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1264 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1265 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1266 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1267 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1268 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1269 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1270 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1271 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1272 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1273 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1274 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1275 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1276 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1277 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1278 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1279 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1280 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1281 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1282 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1283 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1284 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1285 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1286 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1287 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1288 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1289 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1290 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1291 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1292 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1293 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1294 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1295 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1297 2013-10-17 Joseph Myers <joseph@codesourcery.com>
1300 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1301 make result into a quiet NaN.
1303 2013-10-16 Joseph Myers <joseph@codesourcery.com>
1305 * soft-fp/adddf3.c: Fix horizontal whitespace.
1306 * soft-fp/addsf3.c: Likewise.
1307 * soft-fp/addtf3.c: Likewise.
1308 * soft-fp/divdf3.c: Likewise.
1309 * soft-fp/divsf3.c: Likewise.
1310 * soft-fp/divtf3.c: Likewise.
1311 * soft-fp/double.h: Likewise.
1312 * soft-fp/eqdf2.c: Likewise.
1313 * soft-fp/eqsf2.c: Likewise.
1314 * soft-fp/eqtf2.c: Likewise.
1315 * soft-fp/extenddftf2.c: Likewise.
1316 * soft-fp/extended.h: Likewise.
1317 * soft-fp/extendsfdf2.c: Likewise.
1318 * soft-fp/extendsftf2.c: Likewise.
1319 * soft-fp/extendxftf2.c: Likewise.
1320 * soft-fp/fixdfdi.c: Likewise.
1321 * soft-fp/fixdfsi.c: Likewise.
1322 * soft-fp/fixdfti.c: Likewise.
1323 * soft-fp/fixsfdi.c: Likewise.
1324 * soft-fp/fixsfsi.c: Likewise.
1325 * soft-fp/fixsfti.c: Likewise.
1326 * soft-fp/fixtfdi.c: Likewise.
1327 * soft-fp/fixtfsi.c: Likewise.
1328 * soft-fp/fixtfti.c: Likewise.
1329 * soft-fp/fixunsdfdi.c: Likewise.
1330 * soft-fp/fixunsdfsi.c: Likewise.
1331 * soft-fp/fixunsdfti.c: Likewise.
1332 * soft-fp/fixunssfdi.c: Likewise.
1333 * soft-fp/fixunssfsi.c: Likewise.
1334 * soft-fp/fixunssfti.c: Likewise.
1335 * soft-fp/fixunstfdi.c: Likewise.
1336 * soft-fp/fixunstfsi.c: Likewise.
1337 * soft-fp/fixunstfti.c: Likewise.
1338 * soft-fp/floatdidf.c: Likewise.
1339 * soft-fp/floatdisf.c: Likewise.
1340 * soft-fp/floatditf.c: Likewise.
1341 * soft-fp/floatsidf.c: Likewise.
1342 * soft-fp/floatsisf.c: Likewise.
1343 * soft-fp/floatsitf.c: Likewise.
1344 * soft-fp/floattidf.c: Likewise.
1345 * soft-fp/floattisf.c: Likewise.
1346 * soft-fp/floattitf.c: Likewise.
1347 * soft-fp/floatundidf.c: Likewise.
1348 * soft-fp/floatundisf.c: Likewise.
1349 * soft-fp/floatunditf.c: Likewise.
1350 * soft-fp/floatunsidf.c: Likewise.
1351 * soft-fp/floatunsisf.c: Likewise.
1352 * soft-fp/floatunsitf.c: Likewise.
1353 * soft-fp/floatuntidf.c: Likewise.
1354 * soft-fp/floatuntisf.c: Likewise.
1355 * soft-fp/floatuntitf.c: Likewise.
1356 * soft-fp/fmadf4.c: Likewise.
1357 * soft-fp/fmasf4.c: Likewise.
1358 * soft-fp/fmatf4.c: Likewise.
1359 * soft-fp/gedf2.c: Likewise.
1360 * soft-fp/gesf2.c: Likewise.
1361 * soft-fp/getf2.c: Likewise.
1362 * soft-fp/ledf2.c: Likewise.
1363 * soft-fp/lesf2.c: Likewise.
1364 * soft-fp/letf2.c: Likewise.
1365 * soft-fp/muldf3.c: Likewise.
1366 * soft-fp/mulsf3.c: Likewise.
1367 * soft-fp/multf3.c: Likewise.
1368 * soft-fp/negdf2.c: Likewise.
1369 * soft-fp/negsf2.c: Likewise.
1370 * soft-fp/negtf2.c: Likewise.
1371 * soft-fp/op-1.h: Likewise.
1372 * soft-fp/op-2.h: Likewise.
1373 * soft-fp/op-4.h: Likewise.
1374 * soft-fp/op-8.h: Likewise.
1375 * soft-fp/op-common.h: Likewise.
1376 * soft-fp/quad.h: Likewise.
1377 * soft-fp/single.h: Likewise.
1378 * soft-fp/soft-fp.h: Likewise.
1379 * soft-fp/sqrtdf2.c: Likewise.
1380 * soft-fp/sqrtsf2.c: Likewise.
1381 * soft-fp/sqrttf2.c: Likewise.
1382 * soft-fp/subdf3.c: Likewise.
1383 * soft-fp/subsf3.c: Likewise.
1384 * soft-fp/subtf3.c: Likewise.
1385 * soft-fp/truncdfsf2.c: Likewise.
1386 * soft-fp/trunctfdf2.c: Likewise.
1387 * soft-fp/trunctfsf2.c: Likewise.
1388 * soft-fp/trunctfxf2.c: Likewise.
1389 * soft-fp/unorddf2.c: Likewise.
1390 * soft-fp/unordsf2.c: Likewise.
1391 * soft-fp/unordtf2.c: Likewise.
1393 2013-10-15 Joseph Myers <joseph@codesourcery.com>
1395 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1396 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1398 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
1400 * elf/dl-libc.c: Clear initfini list after freeing.
1402 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1404 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1405 * soft-fp/addsf3.c: Likewise.
1406 * soft-fp/addtf3.c: Likewise.
1407 * soft-fp/divdf3.c: Likewise.
1408 * soft-fp/divsf3.c: Likewise.
1409 * soft-fp/divtf3.c: Likewise.
1410 * soft-fp/double.h: Likewise.
1411 * soft-fp/eqdf2.c: Likewise.
1412 * soft-fp/eqsf2.c: Likewise.
1413 * soft-fp/eqtf2.c: Likewise.
1414 * soft-fp/extenddftf2.c: Likewise.
1415 * soft-fp/extended.h: Likewise.
1416 * soft-fp/extendsfdf2.c: Likewise.
1417 * soft-fp/extendsftf2.c: Likewise.
1418 * soft-fp/extendxftf2.c: Likewise.
1419 * soft-fp/fixdfdi.c: Likewise.
1420 * soft-fp/fixdfsi.c: Likewise.
1421 * soft-fp/fixdfti.c: Likewise.
1422 * soft-fp/fixsfdi.c: Likewise.
1423 * soft-fp/fixsfsi.c: Likewise.
1424 * soft-fp/fixsfti.c: Likewise.
1425 * soft-fp/fixtfdi.c: Likewise.
1426 * soft-fp/fixtfsi.c: Likewise.
1427 * soft-fp/fixtfti.c: Likewise.
1428 * soft-fp/fixunsdfdi.c: Likewise.
1429 * soft-fp/fixunsdfsi.c: Likewise.
1430 * soft-fp/fixunsdfti.c: Likewise.
1431 * soft-fp/fixunssfdi.c: Likewise.
1432 * soft-fp/fixunssfsi.c: Likewise.
1433 * soft-fp/fixunssfti.c: Likewise.
1434 * soft-fp/fixunstfdi.c: Likewise.
1435 * soft-fp/fixunstfsi.c: Likewise.
1436 * soft-fp/fixunstfti.c: Likewise.
1437 * soft-fp/floatdidf.c: Likewise.
1438 * soft-fp/floatdisf.c: Likewise.
1439 * soft-fp/floatditf.c: Likewise.
1440 * soft-fp/floatsidf.c: Likewise.
1441 * soft-fp/floatsisf.c: Likewise.
1442 * soft-fp/floatsitf.c: Likewise.
1443 * soft-fp/floattidf.c: Likewise.
1444 * soft-fp/floattisf.c: Likewise.
1445 * soft-fp/floattitf.c: Likewise.
1446 * soft-fp/floatundidf.c: Likewise.
1447 * soft-fp/floatundisf.c: Likewise.
1448 * soft-fp/floatunsidf.c: Likewise.
1449 * soft-fp/floatunsisf.c: Likewise.
1450 * soft-fp/floatuntidf.c: Likewise.
1451 * soft-fp/floatuntisf.c: Likewise.
1452 * soft-fp/floatuntitf.c: Likewise.
1453 * soft-fp/fmadf4.c: Likewise.
1454 * soft-fp/fmasf4.c: Likewise.
1455 * soft-fp/fmatf4.c: Likewise.
1456 * soft-fp/gedf2.c: Likewise.
1457 * soft-fp/gesf2.c: Likewise.
1458 * soft-fp/getf2.c: Likewise.
1459 * soft-fp/ledf2.c: Likewise.
1460 * soft-fp/lesf2.c: Likewise.
1461 * soft-fp/letf2.c: Likewise.
1462 * soft-fp/muldf3.c: Likewise.
1463 * soft-fp/mulsf3.c: Likewise.
1464 * soft-fp/multf3.c: Likewise.
1465 * soft-fp/negdf2.c: Likewise.
1466 * soft-fp/negsf2.c: Likewise.
1467 * soft-fp/negtf2.c: Likewise.
1468 * soft-fp/op-1.h: Likewise.
1469 * soft-fp/op-2.h: Likewise.
1470 * soft-fp/op-4.h: Likewise.
1471 * soft-fp/op-8.h: Likewise.
1472 * soft-fp/op-common.h: Likewise.
1473 * soft-fp/quad.h: Likewise.
1474 * soft-fp/single.h: Likewise.
1475 * soft-fp/soft-fp.h: Likewise.
1476 * soft-fp/sqrtdf2.c: Likewise.
1477 * soft-fp/sqrtsf2.c: Likewise.
1478 * soft-fp/sqrttf2.c: Likewise.
1479 * soft-fp/subdf3.c: Likewise.
1480 * soft-fp/subsf3.c: Likewise.
1481 * soft-fp/subtf3.c: Likewise.
1482 * soft-fp/truncdfsf2.c: Likewise.
1483 * soft-fp/trunctfdf2.c: Likewise.
1484 * soft-fp/trunctfsf2.c: Likewise.
1485 * soft-fp/trunctfxf2.c: Likewise.
1486 * soft-fp/unorddf2.c: Likewise.
1487 * soft-fp/unordsf2.c: Likewise.
1488 * soft-fp/unordtf2.c: Likewise.
1490 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1493 * misc/error.c (error_tail): Fix possible buffer overflow.
1495 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1498 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1501 2013-10-14 P. J. McDermott <pj@pehjota.net>
1504 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1505 testing pipefail option.
1507 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1509 * soft-fp/double.h: Indent preprocessor directives inside #if.
1510 * soft-fp/extended.h: Likewise.
1511 * soft-fp/op-2.h: Likewise.
1512 * soft-fp/op-4.h: Likewise.
1513 * soft-fp/op-common.h: Likewise.
1514 * soft-fp/quad.h: Likewise.
1515 * soft-fp/single.h: Likewise.
1516 * soft-fp/soft-fp.h: Likewise.
1518 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1520 * iconv/iconv_prog.c: Fix typos.
1521 * stdio-common/psiginfo-data.h: Likewise.
1523 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1526 * locale/setlocale.c: Fix typo.
1528 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1531 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1532 signaling NaN arguments.
1533 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1534 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1537 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1539 * soft-fp/gesf2.c (__gesf2): Likewise.
1540 * soft-fp/getf2.c (__getf2): Likewise.
1541 * soft-fp/ledf2.c (__ledf2): Likewise.
1542 * soft-fp/lesf2.c (__lesf2): Likewise.
1543 * soft-fp/letf2.c (__letf2): Likewise.
1545 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1546 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1547 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1548 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1549 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1550 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1551 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1552 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1553 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1554 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1555 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1556 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1557 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1558 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1559 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1560 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1561 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1562 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1563 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1564 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1565 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1566 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1567 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1568 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1569 * soft-fp/floattidf.c (__floattidf): Likewise.
1570 * soft-fp/floattisf.c (__floattisf): Likewise.
1571 * soft-fp/floattitf.c (__floattitf): Likewise.
1572 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1573 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1574 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1575 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1576 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1577 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1578 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1579 * soft-fp/gesf2.c (__gesf2): Likewise.
1580 * soft-fp/getf2.c (__getf2): Likewise.
1581 * soft-fp/ledf2.c (__ledf2): Likewise.
1582 * soft-fp/lesf2.c (__lesf2): Likewise.
1583 * soft-fp/letf2.c (__letf2): Likewise.
1585 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1586 Undefine and redefine.
1587 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1588 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1589 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1590 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1591 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1592 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1593 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1594 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1595 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1596 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1597 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1598 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1599 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1600 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1601 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1604 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1605 without decrementing exponent if mantissa >= that for the
1607 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1608 denominator, not >. Decrement exponent in < case instead of
1609 incrementing in >= case.
1610 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1611 without decrementing exponent if mantissa >= that for the
1614 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1615 computing saturated result for unsigned overflow.
1617 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1618 Jeff Law <law@redhat.com>
1620 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1621 (atan2Mp): Add systemtap probe marker.
1622 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1623 (__ieee754_log): Add systemtap probe marker.
1624 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1625 (atanMp): Add systemtap probe marker.
1626 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1627 (tanMp): Add systemtap probe marker.
1628 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1629 (__slowexp): Add systemtap probe marker.
1630 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1631 (__slowpow): Add systemtap probe marker.
1632 * manual/probes.texi: Document probes.
1634 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
1637 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1639 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1641 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1642 written to buffer but not flushed.
1643 * libio/iofwrite_u.c: Likewise.
1644 * libio/iopadn.c: Return bytes returned even if EOF was
1646 * libio/iowpadn.c: Likewise.
1647 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1648 if _IO_padn does not write the whole buffer.
1649 [!COMPILE_WPRINTF] (PAD): Likewise.
1651 2013-10-10 David S. Miller <davem@davemloft.net>
1653 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1656 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1658 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1659 instead of FSF address.
1660 * soft-fp/fixdfti.c: Likewise.
1661 * soft-fp/fixsfti.c: Likewise.
1662 * soft-fp/fixtfti.c: Likewise.
1663 * soft-fp/fixunsdfti.c: Likewise.
1664 * soft-fp/fixunssfti.c: Likewise.
1665 * soft-fp/fixunstfti.c: Likewise.
1666 * soft-fp/floattidf.c: Likewise.
1667 * soft-fp/floattisf.c: Likewise.
1668 * soft-fp/floattitf.c: Likewise.
1669 * soft-fp/floatuntidf.c: Likewise.
1670 * soft-fp/floatuntisf.c: Likewise.
1671 * soft-fp/floatuntitf.c: Likewise.
1672 * soft-fp/trunctfxf2.c: Likewise.
1674 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1675 * soft-fp/fixdfti.c: Likewise.
1676 * soft-fp/fixsfti.c: Likewise.
1677 * soft-fp/fixtfti.c: Likewise.
1678 * soft-fp/fixunsdfti.c: Likewise.
1679 * soft-fp/fixunssfti.c: Likewise.
1680 * soft-fp/fixunstfti.c: Likewise.
1681 * soft-fp/floattidf.c: Likewise.
1682 * soft-fp/floattisf.c: Likewise.
1683 * soft-fp/floattitf.c: Likewise.
1684 * soft-fp/floatuntidf.c: Likewise.
1685 * soft-fp/floatuntisf.c: Likewise.
1686 * soft-fp/floatuntitf.c: Likewise.
1687 * soft-fp/trunctfxf2.c: Likewise.
1689 2013-10-10 David S. Miller <davem@davemloft.net>
1691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1693 2013-10-10 Joseph Myers <joseph@codsourcery.com>
1695 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1696 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1697 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1698 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1699 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1700 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1701 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1704 for NaNs before doing comparisons on argument.
1705 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1708 2013-10-10 Will Newton <will.newton@linaro.org>
1710 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1711 passed to _int_memalign does not overflow.
1713 2013-10-10 Torvald Riegel <triegel@redhat.com>
1715 * scripts/bench.pl: Add include-sources directive.
1716 * benchtests/README: Update documentation.
1718 2013-10-10 Joseph Myers <joseph@codesourcery.com>
1720 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1721 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1722 instead of FP_INIT_ROUNDMODE.
1723 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1724 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1727 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1728 copy class of input value.
1729 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1730 not handle exceptions.
1731 * soft-fp/negsf2.c (__negsf2): Likewise.
1732 * soft-fp/negtf2.c (__negtf2): Likewise.
1733 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1735 2013-10-09 Joseph Myers <joseph@codesourcery.com>
1737 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1738 semicolon. From Linux kernel.
1740 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1742 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1744 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1747 * manual/socket.texi: Added statement about buffer
1748 for gethostbyname2_r.
1750 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
1752 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1753 Use .p2align directive instead, throughout.
1754 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1755 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1756 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1757 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1758 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1759 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1760 * sysdeps/x86_64/strchr.S: Likewise.
1761 * sysdeps/x86_64/strrchr.S: Likewise.
1763 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1765 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1767 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1769 * sysdeps/generic/math_private.h (__mpsin1): Remove
1771 (__mpcos1): Likewise.
1772 (__mpsin): New argument __range_reduce.
1773 (__mpcos): Likewise.
1774 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1775 (slow): Use __mpsin and __mpcos.
1782 (bsloww1): Likewise.
1783 (bsloww2): Likewise.
1786 (csloww1): Likewise.
1787 (csloww2): Likewise.
1788 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1789 range_reduce. Merge in __mpsin1.
1790 (__mpcos): Likewise.
1792 (__mpcos1): Likewise.
1794 2013-10-07 Joseph Myers <joseph@codesourcery.com>
1796 * locale/loadlocale.c (_nl_intern_locale_data): Use
1798 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1799 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1800 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1801 obstack data is appropriately aligned.
1802 (obstack_int32_grow_fast): Likewise.
1803 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1804 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1805 (add_locale_uint32_array): Likewise.
1807 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1809 * benchtests/Makefile: Remove ARGLIST and RET variables.
1810 ($(objpfx)bench-%.c): Pass only function name to the script.
1811 * benchtests/README: Update documentation.
1812 * benchtests/acos-inputs: Add new directives.
1813 * benchtests/acosh-inputs: Likewise.
1814 * benchtests/asin-inputs: Likewise.
1815 * benchtests/asinh-inputs: Likewise.
1816 * benchtests/atan-inputs: Likewise.
1817 * benchtests/atanh-inputs: Likewise.
1818 * benchtests/cos-inputs: Likewise.
1819 * benchtests/cosh-inputs: Likewise.
1820 * benchtests/exp-inputs: Likewise.
1821 * benchtests/log-inputs: Likewise.
1822 * benchtests/pow-inputs: Likewise.
1823 * benchtests/rint-inputs: Likewise.
1824 * benchtests/sin-inputs: Likewise.
1825 * benchtests/sinh-inputs: Likewise.
1826 * benchtests/tan-inputs: Likewise.
1827 * benchtests/tanh-inputs: Likewise.
1828 * scripts/bench.pl: Add support for new directives.
1830 2013-10-07 Alan Modra <amodra@gmail.com>
1832 * README: Fix careless merge.
1834 2013-10-05 Alan Modra <amodra@gmail.com>
1836 * NEWS: Mention powerpc64le support and bugs fixed.
1837 * README: Both big-endian and little-endian powerpc64 supported.
1839 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1841 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1842 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1843 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1844 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1846 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1848 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1851 2013-10-04 Joseph Myers <joseph@codesourcery.com>
1853 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1854 Move -mhard-float appending from
1855 ports/sysdeps/powerpc/powerpc32/Makefile.
1856 [$(with-fp) = yes] (ASFLAGS): Likewise.
1857 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1858 * sysdeps/powerpc/nofpu: Move directory from
1859 ports/sysdeps/powerpc/nofpu.
1860 * sysdeps/powerpc/soft-fp: Move directory from
1861 ports/sysdeps/powerpc/soft-fp.
1862 * sysdeps/powerpc/powerpc32/405: Move directory from
1863 ports/sysdeps/powerpc/powerpc32/405.
1864 * sysdeps/powerpc/powerpc32/440: Move directory from
1865 ports/sysdeps/powerpc/powerpc32/440.
1866 * sysdeps/powerpc/powerpc32/464: Move directory from
1867 ports/sysdeps/powerpc/powerpc32/464.
1868 * sysdeps/powerpc/powerpc32/476: Move directory from
1869 ports/sysdeps/powerpc/powerpc32/476.
1870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1871 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1873 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1875 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1877 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1879 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1880 * README: Update for powerpc-*-linux-gnu software floating point
1883 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1884 case to powerpc/powerpc32*.
1885 * sysdeps/unix/sysv/linux/configure: Regenerated.
1887 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1888 (_FPU_MASK_OM): Define as 0x04.
1889 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1890 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1892 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1894 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1897 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1900 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1903 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1904 and setcontext_e500.
1906 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1908 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1910 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1912 * manual/threads.texi (Default Thread Attributes): Fix typo.
1914 2013-10-04 Will Newton <will.newton@linaro.org>
1916 * malloc/Makefile: Add tst-memalign.
1917 * malloc/tst-memalign.c: New file.
1919 * malloc/tst-posix_memalign.c: Add comments.
1920 (do_test): Add comments and call free on all potentially
1921 allocated pointers. Add space after cast.
1923 * malloc/tst-pvalloc.c: Add comments.
1924 (do_test): Add comments and call free on all potentially
1925 allocated pointers. Remove duplicate check for NULL pointer.
1926 Add space after cast.
1928 * malloc/tst-valloc.c: Add comments.
1929 (do_test): Add comments and call free on all potentially
1930 allocated pointers. Remove duplicate check for NULL pointer.
1931 Add space after cast.
1933 2013-10-04 Alan Modra <amodra@gmail.com>
1935 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1936 Use stdint types in rather than __attribute__((mode())).
1937 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1939 2013-10-04 Alan Modra <amodra@gmail.com>
1941 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1942 Correct handling of unaligned relocs for little-endian.
1943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1945 2013-10-04 Alan Modra <amodra@gmail.com>
1947 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1948 * configure: Regenerate.
1949 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1950 * shlib-versions: Likewise.
1952 2013-10-04 Alan Modra <amodra@gmail.com>
1954 * string/tester.c (test_memrchr): Increment reported test cycle.
1956 2013-10-04 Alan Modra <amodra@gmail.com>
1958 * string/test-memcpy.c (do_one_test): When reporting errors, print
1959 string address and don't overrun end of string.
1961 2013-10-04 Alan Modra <amodra@gmail.com>
1963 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1964 insrdi. Make better use of reg selection to speed exit slightly.
1965 Schedule entry path a little better. Remove useless "are we done"
1966 checks on entry to main loop. Handle wrapping around zero address.
1967 Correct main loop count. Handle single left-over word from main
1968 loop inline rather than by using loop_small. Remove extra word
1969 case in loop_small caused by wrong loop count. Add little-endian
1971 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1972 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1974 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1975 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1976 support. Avoid rlwimi.
1977 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1979 2013-10-04 Alan Modra <amodra@gmail.com>
1981 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
1983 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1984 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1985 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1986 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1987 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1988 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1990 2013-10-04 Alan Modra <amodra@gmail.com>
1992 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1993 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1994 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1995 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1996 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1997 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1998 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1999 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2000 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2001 use of regs. Use power7 mtocrf. Tidy function tails.
2003 2013-10-04 Alan Modra <amodra@gmail.com>
2005 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2006 Formatting. Consistently use rXXX register defines or rN defines.
2007 Use early exit labels that avoid restoring unused non-volatile regs.
2008 Make cr field use more consistent with rWORDn compares. Rename
2009 regs used as shift registers for unaligned loop, using rN defines
2010 for short lifetime/multiple use regs.
2011 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2012 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2013 addi 1,1,64 to pop stack frame. Simplify return value code.
2014 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2016 2013-10-04 Alan Modra <amodra@gmail.com>
2018 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2019 support. Correct typos, formatting. Optimize tail. Use insrdi
2021 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2022 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2023 little-endian support. Correct typos.
2024 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2026 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2027 in loop and entry code to keep "and." results.
2028 (strchr): Add little-endian support. Comment. Move cntlzd
2030 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2032 2013-10-04 Alan Modra <amodra@gmail.com>
2034 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2035 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2036 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2037 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2039 2013-10-04 Alan Modra <amodra@gmail.com>
2041 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2042 (rTMP): Define as r11.
2043 (strcmp): Add little-endian support. Optimise tail.
2044 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2045 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2046 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2047 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2048 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2049 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2050 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2052 2013-10-04 Alan Modra <amodra@gmail.com>
2054 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2055 little-endian support. Remove unnecessary "are we done" tests.
2056 Handle "s" wrapping around zero and extremely large "size".
2057 Correct main loop count. Handle single left-over word from main
2058 loop inline rather than by using small_loop. Correct comments.
2059 Delete "zero" tail, use "end_max" instead.
2060 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2062 2013-10-04 Alan Modra <amodra@gmail.com>
2064 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2065 support. Don't branch over align.
2066 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2067 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2068 support. Rearrange tmp reg use to suit. Comment.
2069 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2071 2013-10-04 Alan Modra <amodra@gmail.com>
2073 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2075 2013-10-04 Alan Modra <amodra@gmail.com>
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2078 conditional form of branch and link when obtaining pc.
2079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2081 2013-10-04 Alan Modra <amodra@gmail.com>
2083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2088 2013-10-04 Alan Modra <amodra@gmail.com>
2090 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2091 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2092 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2093 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2094 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2095 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2096 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2097 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2098 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2099 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2101 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2102 Alistair Popple <alistair@ozlabs.au.ibm.com>
2103 Alan Modra <amodra@gmail.com>
2106 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2107 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2108 _dl_hwcap access for little-endian.
2109 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2110 destroy vmx regs when saving unaligned.
2111 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2112 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2113 destroy vmx regs when saving unaligned.
2115 2013-10-04 Alan Modra <amodra@gmail.com>
2117 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2118 Don't use a union to pack hi/low value.
2120 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2122 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2124 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2125 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2126 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2127 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2128 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2130 2013-10-04 Alan Modra <amodra@gmail.com>
2132 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2133 constants to usual value for .cst8 section, and remove redundant
2135 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2136 constant for 0x1p52. Load little-endian words of double from
2137 correct stack offsets.
2139 2013-10-04 Alan Modra <amodra@gmail.com>
2141 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2142 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2143 words of double from correct stack offsets.
2144 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2145 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2146 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2147 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2148 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2149 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2150 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2151 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2152 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2153 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2154 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2155 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2156 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2157 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2158 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2159 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2160 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2162 2013-10-04 Alan Modra <amodra@gmail.com>
2164 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2165 64-bit int/double union.
2166 (_FPU_SETCW): Likewise.
2167 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2168 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2170 2013-10-04 Alan Modra <amodra@gmail.com>
2172 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2173 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2175 2013-10-04 Alan Modra <amodra@gmail.com>
2177 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2178 use vector int constants.
2179 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2181 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2183 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2184 array with long long.
2185 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2186 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2187 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2188 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2189 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2190 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2191 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2192 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2193 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2194 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2195 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2196 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2197 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2199 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2201 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2202 (__signbit): Likewise. Correct for little-endian.
2203 (__signbitl): Call __signbit.
2204 (lrint): Correct for little-endian.
2205 (lrintf): Call lrint.
2207 2013-10-04 Alan Modra <amodra@gmail.com>
2209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2210 union 32-bit int array member with 64-bit int array.
2211 (t515, tm256): Double rather than long double.
2212 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2214 2013-10-04 Alan Modra <amodra@gmail.com>
2216 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2218 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2220 version of math_ldbl.h.
2222 2013-10-04 Alan Modra <amodra@gmail.com>
2224 [BZ #15734], [BZ #15735]
2225 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2226 all uses of ieee875 long double macros and unions. Simplify test
2227 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2228 ldbl_extract_mantissa value for ix,iy exponents. Properly
2229 normalize after ldbl_extract_mantissa, and don't add hidden bit
2230 already handled. Don't treat low word of ieee854 mantissa like
2231 low word of IBM long double and mask off bit when testing for
2233 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2234 all uses of ieee875 long double macros and unions. Simplify tests
2235 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2236 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2237 two1022, instead use their values. Recognise that tests for large
2238 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2239 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2240 Rewrite all uses of ieee875 long double macros and unions. Simplify
2241 test for 0.0L and nan. Correct negation.
2242 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2243 ieee875 long double macros and unions. Correct output for large
2244 magnitude x. Correct absolute value calculation.
2245 (__erfcl): Likewise.
2246 * math/libm-test.inc: Add tests for errors discovered in IBM long
2247 double versions of fmodl, remainderl, erfl and erfcl.
2249 2013-10-04 Alan Modra <amodra@gmail.com>
2251 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2252 all uses of ieee854 long double macros and unions. Simplify tests
2253 for long doubles that are fully specified by the high double.
2254 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2256 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2257 Remove dead code too.
2258 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2259 (__ieee754_ynl): Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2263 Remove dead code too.
2264 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2269 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2274 Comment on variable precision.
2275 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2276 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2278 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2279 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2280 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2282 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2284 2013-10-04 Alan Modra <amodra@gmail.com>
2286 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2287 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2288 all uses of ieee854 long double macros and unions.
2289 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2290 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2291 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2296 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2300 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2301 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2302 Simplify sign and nan test too.
2303 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2306 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2308 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2309 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2311 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2312 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2313 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2318 2013-10-04 Alan Modra <amodra@gmail.com>
2320 * stdio-common/printf_size.c (__printf_size): Don't use
2321 union ieee854_long_double in fpnum union.
2322 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2323 signbit macro to retrieve sign from long double.
2324 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2325 retrieve sign from long double.
2326 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2327 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2328 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2329 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2330 * math/test-misc.c (main): Don't use union ieee854_long_double.
2332 2013-10-04 Alan Modra <amodra@gmail.com>
2335 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2336 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2337 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2338 calculation. Remove unnecessary test for denormal exponent.
2339 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2340 Correct handling of denormals. Avoid undefined shift behaviour.
2341 Correct normalisation of low mantissa when low double is denormal.
2342 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2343 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2344 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2345 Correct normalisation of low mantissa. Test for overflow of high
2346 mantissa and normalise.
2347 (ldbl_nearbyint): Use more readable constant for two52.
2348 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2349 (__mpn_construct_long_double): Fix test for overflow of high
2350 mantissa and correct normalisation. Avoid undefined shift.
2352 2013-10-04 Alan Modra <amodra@gmail.com>
2354 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2355 (union ibm_extended_long_double): Define as an array of ieee754_double.
2356 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2357 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2358 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2359 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2363 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2368 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2370 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2371 page size instead of calling getpagesize.
2373 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2374 (LOCFILE_ALIGN_MASK): Likewise.
2375 (LOCFILE_ALIGN_UP): Likewise.
2376 (LOCFILE_ALIGNED_P): Likewise.
2377 * locale/programs/ld-collate.c (collate_output): Use the new
2378 macros instead of __alignof__ (int32_t).
2379 * locale/weight.h (findidx): Likewise.
2381 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
2384 * manual/string.texi: Fix strncat and wcsncat.
2386 2013-10-03 Brooks Moses <bmoses@google.com>
2389 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2390 * Makerules: ...here, and adjust associated comments.
2392 2013-10-02 Will Newton <will.newton@linaro.org>
2394 * malloc/Makefile: Add tst-pvalloc.
2395 * malloc/tst-pvalloc.c: New file.
2397 2013-10-02 Will Newton <will.newton@linaro.org>
2399 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2400 improve test coverage.
2402 2013-10-02 Will Newton <will.newton@linaro.org>
2404 * malloc/Makefile: Add tst-posix_memalign.
2405 * malloc/tst-posix_memalign.c: New file.
2407 2013-10-01 Eric Blake <eblake@redhat.com>
2409 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2410 Use __THROWNL rather than __THROW on static functions.
2412 2013-09-30 Petr Machata <pmachata@redhat.com>
2414 * elf/elf.h (R_AARCH64_ABS16): New macro.
2415 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2416 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2417 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2418 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2419 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2420 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2421 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2422 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2423 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2424 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2425 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2426 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2427 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2428 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2429 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2430 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2431 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2432 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2433 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2434 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2435 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2436 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2437 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2438 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2439 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2440 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2441 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2442 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2443 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2444 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2445 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2446 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2447 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2448 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2449 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2450 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2451 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2452 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2453 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2454 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2455 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2456 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2457 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2458 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2459 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2460 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2461 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2462 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2463 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2464 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2465 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2466 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2467 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2468 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2469 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2470 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2471 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2472 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2473 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2474 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2475 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2476 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2477 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2478 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2479 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2480 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2481 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2482 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2483 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2484 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2485 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2486 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2487 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2488 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2489 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2490 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2491 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2492 (R_AARCH64_TLSDESC_LDR): Likewise.
2493 (R_AARCH64_TLSDESC_ADD): Likewise.
2494 (R_AARCH64_TLSDESC_CALL): Likewise.
2496 2013-09-30 Andreas Schwab <schwab@suse.de>
2499 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2500 the nss database lookup.
2501 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2502 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2504 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2506 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2508 2013-09-28 P. J. McDermott <pj@pehjota.net>
2510 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2511 ${Bash-specific parameter/pattern/string} parameter expansion.
2512 * sysdeps/unix/make-syscalls.sh: Likewise.
2514 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2516 * sysdeps/sh/stackguard-macros.h: New file.
2518 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2520 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2521 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2522 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2523 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2524 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2525 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2527 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2529 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2530 Fix thread ID register.
2532 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2534 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2535 [POSIX || UNIX98]: Require rather than permitting all symbols from
2537 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2538 element of struct sched_param.
2539 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2540 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2541 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2542 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2545 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2547 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2548 argument calculation.
2550 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2552 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2554 [POSIX] (pthread_attr_t): Do not require type.
2555 [POSIX] (pthread_cond_t): Likewise.
2556 [POSIX] (pthread_condattr_t): Likewise.
2557 [POSIX] (pthread_key_t): Likewise.
2558 [POSIX] (pthread_mutex_t): Likewise.
2559 [POSIX] (pthread_mutexattr_t): Likewise.
2560 [POSIX] (pthread_once_t): Likewise.
2561 [POSIX] (pthread_t): Likewise.
2562 [POSIX-based standards] (pthread_atfork): Expect function.
2564 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2565 Richard Sandiford <richard@codesourcery.com>
2567 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2568 (swap_endianness_p): New extern variable.
2569 (set_big_endian): New inline function.
2570 (maybe_swap_uint32): Likewise.
2571 (maybe_swap_uint32_array): Likewise.
2572 (maybe_swap_uint32_obstack): Likewise.
2573 * locale/programs/locfile.c: Include <stdbool.h>.
2574 (swap_endianness_p): New variable.
2575 (add_locale_uint32): Call maybe_swap_uint32.
2576 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2577 (write_locale_data): Call maybe_swap_uint32_array.
2578 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2580 (obstack_int32_grow_fast): Likewise.
2581 (output_weightwc): Call maybe_swap_uint32_obstack.
2582 (collate_output): Likewise.
2583 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2584 (OPT_LITTLE_ENDIAN): Likewise.
2585 (options): Add --little-endian and --big-endian options.
2586 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2587 * locale/programs/locarchive.c: Include "locfile.h".
2591 (create_archive): Use the new macros to access fields of
2592 structures directly mapped from or written to locale archives.
2593 (oldlocrecentcmp): Likewise.
2594 (enlarge_archive): Likewise.
2595 (insert_name): Likewise.
2596 (add_alias): Likewise.
2597 (add_locale): Likewise.
2598 (delete_locales_from_archive): Likewise.
2599 (show_archive_content): Likewise.
2600 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2603 2013-09-24 Roland McGrath <roland@hack.frob.com>
2605 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2606 http://www.gnu.org/doc/freemanuals.texi.
2607 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2609 2013-09-24 Will Newton <will.newton@linaro.org>
2611 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2614 2013-09-23 Joseph Myers <joseph@codesourcery.com>
2616 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2619 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2621 * manual/threads.texi (POSIX Threads): Fix a typo.
2623 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2626 * string/tst-strcoll-overflow.c: New test case.
2627 * string/Makefile (xtests): Add tst-strcoll-overflow.
2628 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2629 cache if string sizes may cause integer overflow.
2632 * string/strcoll_l.c (coll_seq): New members rule, idx,
2633 save_idx and back_us.
2634 (get_next_seq_nocache): New function.
2635 (do_compare_nocache): New function.
2636 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2639 2013-09-23 Carlos O'Donell <carlos@redhat.com>
2642 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2643 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2644 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2647 * elf/Makefile (tests): Add tst-ptrguard1.
2648 (tests-static): Add tst-ptrguard1-static.
2649 (tst-ptrguard1-ARGS): Define.
2650 (tst-ptrguard1-static-ARGS): Define.
2651 * elf/tst-ptrguard1.c: New file.
2652 * elf/tst-ptrguard1-static.c: New file.
2653 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2654 * sysdeps/i386/stackguard-macros.h: Likewise.
2655 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2656 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2657 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2658 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2659 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2660 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2662 2013-09-23 Hector Marco <hecmargi@upv.es>
2663 Ismael Ripoll <iripoll@disca.upv.es>
2664 Carlos O'Donell <carlos@redhat.com>
2667 * sysdeps/generic/stackguard-macros.h: Define
2668 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2669 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2670 Define __pointer_chk_guard_local.
2671 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2672 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2674 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2677 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2679 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2681 * include/string.h (__ffs): Declare as hidden.
2682 * string/ffs.c (__ffs): Define as hidden.
2683 * sysdeps/i386/ffs.c (__ffs): Likewise.
2684 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2685 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2686 * sysdeps/s390/ffs.c (__ffs): Likewise.
2687 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2689 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
2691 * NEWS: Mention malloc probes.
2693 * malloc/arena.c (new_heap): New memory_heap_new probe.
2694 (grow_heap): New memory_heap_more probe.
2695 (shrink_heap): New memory_heap_less probe.
2696 (heap_trim): New memory_heap_free probe.
2697 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2698 (systrim): New memory_sbrk_less probe.
2699 * manual/probes.texi: Document them.
2701 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2702 * manual/probes.texi: Document it.
2704 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2705 (__libc_realloc): Add memory_realloc_retry probe.
2706 (__libc_memalign): Add memory_memalign_retry probe.
2707 (__libc_valloc): Add memory_valloc_retry probe.
2708 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2709 (__libc_calloc): Add memory_calloc_retry probe.
2710 * manual/probes.texi: Document them.
2712 * malloc/arena.c (get_free_list): Add probe
2713 memory_arena_reuse_free_list.
2714 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2715 and memory_arena_reuse.
2716 (arena_get2) [!PER_THREAD]: Likewise.
2717 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2718 memory_arena_reuse_realloc.
2719 * manual/probes.texi: Document them.
2721 * malloc/malloc.c (__libc_free): Add
2722 memory_mallopt_free_dyn_thresholds probe.
2723 (__libc_mallopt): Add multiple memory_mallopt probes.
2724 * manual/probes.texi: Document them.
2726 * malloc/malloc.c: Include stap-probe.h.
2727 (__libc_mallopt): Add memory_mallopt probe.
2728 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2729 * manual/probes.texi: New.
2730 * manual/Makefile (chapters): Add probes.
2731 * manual/threads.texi: Set next node.
2733 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
2736 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2737 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2738 Add `Chinese' to `nan' entry name.
2740 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2742 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2743 (POLYNOMIAL): Likewise.
2744 (TAYLOR_SINCOS): Likewise.
2745 (TAYLOR_SLOW): Likewise.
2746 (__sin): Use TAYLOR_SINCOS.
2748 (slow): Use TAYLOR_SLOW.
2753 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2755 * stdlib/strtod_l.c: Fix buffer overrun.
2757 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2759 * benchtests/Makefile (bench): Add sincos.
2760 * benchtests/bench-sincos.c: New file.
2762 * math/libm-test.inc (cos_test_data): New test inputs.
2763 (sin_test_data): Likewise.
2765 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2773 (bsloww1): Likewise.
2774 (bsloww2): Likewise.
2776 (csloww1): Likewise.
2777 (csloww2): Likewise.
2779 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2784 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2788 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2790 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2791 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2792 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2793 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2794 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2795 * elf/cache.c (print_entry): Handle the new cache flags.
2797 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2798 Aldy Hernandez <aldyh@redhat.com>
2800 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2801 Change condition to [_SOFT_FLOAT].
2802 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2803 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2806 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2808 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2810 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2811 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2812 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2813 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2814 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2815 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2817 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2820 2013-09-18 Joseph Myers <joseph@codesourcery.com>
2822 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2823 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2824 (__longjmp): Use LOAD_GP to load saved GPRs.
2825 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2826 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2827 (__sigsetjmp): Use SAVE_GP to save GPRs.
2829 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2830 Do not append -msoft-float.
2831 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2833 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2835 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2837 2013-09-17 Joseph Myers <joseph@codesourcery.com>
2840 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2841 (_FPU_GETCW): Use initial "__" on variable and field names but not
2842 on macro parameter name.
2843 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2844 parentheses around reference to macro parameter.
2846 2013-09-13 Richard Sandiford <richard@codesourcery.com>
2848 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2850 (ctype_startup): Use uint32_t in cast and sizeof for
2853 2013-09-11 Jia Liu <proljc@gmail.com>
2855 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2857 [__FreeBSD__]: Likewise.
2859 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
2861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2862 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2863 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2864 (strchr): Remove __strchr_sse42 ifunc selection.
2865 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2866 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2868 2013-09-11 Will Newton <will.newton@linaro.org>
2870 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2871 parameter to RES. Remove hardcoded 1000 value.
2872 * benchtests/bench-skeleton.c (main): Pass RES parameter
2873 to TIMING_INIT and multiply result by 1000.
2875 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2879 2013-09-11 Andreas Schwab <schwab@suse.de>
2881 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2883 (O_TMPFILE) [__USE_GNU]: Define.
2884 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2887 2013-09-11 Will Newton <will.newton@linaro.org>
2890 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2893 2013-09-11 Will Newton <will.newton@linaro.org>
2896 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2899 2013-09-11 Will Newton <will.newton@linaro.org>
2902 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2905 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
2907 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2908 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2909 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2910 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2911 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2913 2013-09-10 Allan McRae <allan@archlinux.org>
2916 * manual/arith.texi (Parsing of Floats): Clarify
2920 * manual/install.texi (Running make install): Mention
2922 * INSTALL: Regenerated.
2924 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2926 * csu/init-first.c (_init): Remove the !SHARED condition around
2927 FPU control word initialization.
2928 * elf/dl-support.c (_dl_fpu_control): New variable.
2929 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2930 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2931 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2932 * math/test-fpucw-static.c: New file.
2933 * math/test-fpucw-ieee.c: New file.
2934 * math/test-fpucw-ieee-static.c: New file.
2935 * math/Makefile (tests): Add `test-fpucw-ieee' and
2937 (tests-static): New variable.
2938 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2940 [($(build-shared),yes)]
2941 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2943 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2946 2013-09-09 Allan McRae <allan@archlinux.org>
2949 * manual/string.texi (Collation Functions): Fix typo in
2951 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2954 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2957 * libio/memstream.c (open_memstream): Fix memory leak.
2958 * libio/wmemstream.c (open_wmemstream): Likewise.
2961 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2963 2013-09-09 Will Newton <will.newton@linaro.org>
2965 * malloc/Makefile: Add tst-realloc to tests.
2966 * malloc/tst-realloc.c: New file.
2968 2013-09-09 Allan McRae <allan@archlinux.org>
2971 * COPYING: Update from GNU website to fix FSF address.
2972 * COPYING.LIB: Likewise.
2974 2013-09-06 David S. Miller <davem@davemloft.net>
2976 * po/zh_TW.po: Update Chinese (traditional) translation from
2977 translation project.
2979 2013-09-06 Richard Sandiford <richard@codesourcery.com>
2980 Joseph Myers <joseph@codesourcery.com>
2982 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2984 (obstack_chunk_alloc): New macro.
2985 (obstack_chunk_free): Likewise.
2986 (record_offset): New function.
2987 (init_locale_data): Likewise.
2988 (align_locale_data): Likewise.
2989 (add_locale_empty): Likewise.
2990 (add_locale_raw_data): Likewise.
2991 (add_locale_raw_obstack): Likewise.
2992 (add_locale_string): Likewise.
2993 (add_locale_wstring): Likewise.
2994 (add_locale_uint32): Likewise.
2995 (add_locale_uint32_array): Likewise.
2996 (add_locale_char): Likewise.
2997 (start_locale_structure): Likewise.
2998 (end_locale_structure): Likewise.
2999 (start_locale_prelude): Likewise.
3000 (end_locale_prelude): Likewise.
3001 (write_locale_data): Take locale_file structure rather than an
3003 * locale/programs/locfile.h: Include "obstack.h".
3004 (struct locale_file): Change to store locale file contents instead
3006 (init_locale_data): New prototype.
3007 (align_locale_data): Likewise.
3008 (add_locale_empty): Likewise.
3009 (add_locale_raw_data): Likewise.
3010 (add_locale_raw_obstack): Likewise.
3011 (add_locale_string): Likewise.
3012 (add_locale_wstring): Likewise.
3013 (add_locale_uint32): Likewise.
3014 (add_locale_uint32_array): Likewise.
3015 (add_locale_char): Likewise.
3016 (start_locale_structure): Likewise.
3017 (end_locale_structure): Likewise.
3018 (start_locale_prelude): Likewise.
3019 (end_locale_prelude): Likewise.
3020 (write_locale_data): Update prototype.
3021 * locale/programs/3level.h (struct TABLE): Remove result field.
3022 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3023 Use new locale_file interface.
3024 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3025 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3026 * locale/programs/ld-address.c (address_output): Use new
3027 locale_file interface.
3028 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3030 (collate_finish): Don't call collseq_table_finalize.
3031 (collate_output): Use new locale_file interface.
3032 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3034 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3035 (TABLE): Move defines earlier in file.
3036 (ELEMENT): Likewise.
3037 (DEFAULT): Likewise.
3038 (wctrans_table_add): Move macro and inline function earlier in
3040 (struct wctype_table): Move type earlier in file.
3041 (add_locale_wctype_table): New static prototype.
3042 (struct locale_ctype_t): Use logical types instead of struct iovec
3043 pointers for members.
3044 (ctype_output): Use new locale_file interface.
3045 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3046 new locale_file interface.
3047 (allocate_arrays): Update for use of new locale_file interface.
3048 * locale/programs/ld-identification.c (identification_output): Use
3049 new locale_file interface.
3050 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3051 * locale/programs/ld-messages.c (messages_output): Likewise.
3052 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3053 * locale/programs/ld-name.c (name_output): Likewise.
3054 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3055 * locale/programs/ld-paper.c (paper_output): Likewise.
3056 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3057 * locale/programs/ld-time.c (time_output): Likewise.
3059 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3061 * benchtests/Makefile: Add memrchr benchmark.
3062 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3063 benchmark as memrchr.
3064 * benchtests/bench-memrchr-ifunc.c: New file.
3065 * benchtests/bench-memrchr.c: New file.
3067 2013-09-06 Will Newton <will.newton@linaro.org>
3069 * benchtests/Makefile (string-bench): Add memcpy.
3071 2013-09-05 Carlos O'Donell <carlos@redhat.com>
3072 Cong Wang <amwang@redhat.com>
3074 * sysdeps/unix/sysv/linux/bits/in.h
3075 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3076 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3077 before __USE_KERNEL_IPV6_DEFS uses.
3078 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3080 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3081 sockaddr_in6, or ipv6_mreq.
3083 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3085 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3086 memory access for final bytes in some large inputs.
3087 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3089 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3091 * string/test-memrchr.c: New file.
3092 * string/test-memrchr-ifunc.c: New file.
3093 * string/Makefile: Add new memrchr testcase.
3095 2013-09-05 Mike Frysinger <vapier@gentoo.org>
3097 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3098 fanotify_init returns EPERM.
3100 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3102 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3104 (top level): Treat second token from macro or constant entries for
3105 allowed headers as allowed.
3106 * include/complex.h: Condition internal declarations on
3108 * include/fenv.h: Condition include of <stdbool.h> and internal
3109 declarations on [!_ISOMAC].
3111 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3114 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3116 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3118 * configure.in (--enable-versioning): Remove configure option.
3119 (libc_cv_asm_symver_directive): Remove configure test.
3120 (libc_cv_ld_version_script_option): Likewise.
3121 (VERSIONING): Remove variable and AC_SUBST.
3122 (DO_VERSIONING): Remove AC_DEFINE.
3123 * configure: Regenerated.
3124 * config.h.in (DO_VERSIONING): Remove macro.
3125 * Makerules [$(versioning) = yes]: Change conditionals to
3126 [$(build-shared) = yes].
3127 * config.make.in (versioning): Remove variable.
3128 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3129 [$(build-shared) = yes].
3130 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3131 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3132 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3133 [$(build-shared) = yes].
3134 * extra-lib.mk [$(versioning) = yes]: Likewise.
3135 * hurd/Makefile [$(versioning) = yes]: Likewise.
3136 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3138 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3140 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3141 [SHARED && !NO_HIDDEN].
3142 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3144 [SHARED && DO_VERSIONING]: Likewise..
3145 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3146 [$(build-shared) = yes].
3147 * manual/install.texi (--disable-versioning): Remove
3149 * INSTALL: Regenerated.
3150 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3152 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3153 [$(build-shared) = yes].
3154 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3155 * sysdeps/i386/i686/multiarch/strstr-c.c
3156 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3157 [SHARED && !NO_HIDDEN].
3158 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3159 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3160 * sysdeps/powerpc/powerpc32/dl-machine.c
3161 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3162 * sysdeps/powerpc/powerpc32/sysdep.h
3163 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3164 to [SHARED && PIC && !NO_HIDDEN].
3165 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3166 conditional to [SHARED].
3168 2013-09-04 Will Newton <will.newton@linaro.org>
3170 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3171 * benchtests/bench-string.h: Include bench-timing.h instead
3172 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3173 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3174 call to HP_TIMING_DIFF_INIT.
3175 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3176 instead of hp-timing.h macros.
3177 * benchtests/bench-memchr.c: Likewise.
3178 * benchtests/bench-memcmp.c: Likewise.
3179 * benchtests/bench-memcpy.c: Likewise.
3180 * benchtests/bench-memmem.c: Likewise.
3181 * benchtests/bench-memmove.c: Likewise.
3182 * benchtests/bench-memset.c: Likewise.
3183 * benchtests/bench-rawmemchr.c: Likewise.
3184 * benchtests/bench-strcasecmp.c: Likewise.
3185 * benchtests/bench-strcasestr.c: Likewise.
3186 * benchtests/bench-strcat.c: Likewise.
3187 * benchtests/bench-strchr.c: Likewise.
3188 * benchtests/bench-strcmp.c: Likewise.
3189 * benchtests/bench-strcpy.c: Likewise.
3190 * benchtests/bench-strcpy_chk.c: Likewise.
3191 * benchtests/bench-strlen.c: Likewise.
3192 * benchtests/bench-strncasecmp.c: Likewise.
3193 * benchtests/bench-strncat.c: Likewise.
3194 * benchtests/bench-strncmp.c: Likewise.
3195 * benchtests/bench-strncpy.c: Likewise.
3196 * benchtests/bench-strnlen.c: Likewise.
3197 * benchtests/bench-strpbrk.c: Likewise.
3198 * benchtests/bench-strrchr.c: Likewise.
3199 * benchtests/bench-strspn.c: Likewise.
3200 * benchtests/bench-strstr.c: Likewise.
3202 2013-09-04 Will Newton <will.newton@linaro.org>
3204 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3206 2013-09-03 Joseph Myers <joseph@codesourcery.com>
3209 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3210 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3211 * math/libm-test.inc (lgamma_test_data): Add more tests.
3212 * sysdeps/i386/fpu/libm-test-ulps: Update.
3213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3215 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3217 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3218 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3220 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3221 Add strcmp-sse2-unaligned
3222 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3224 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3226 * Versions.def (libc): Add GLIBC_2.19.
3228 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3230 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3231 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3233 2013-09-02 Joseph Myers <joseph@codesourcery.com>
3236 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3237 intermediate calculations in recurrence.
3238 (__ieee754_ynf): Likewise.
3239 * math/libm-test.inc (jn_test_data): Do not allow spurious
3240 underflow exception. Add more tests.
3241 (yn_test_data): Add more tests.
3242 * sysdeps/i386/fpu/libm-test-ulps: Update.
3243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3245 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
3247 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3249 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3251 * csu/init-first.c: Fix then/than typos.
3252 * locale/programs/ld-collate.c: Likewise.
3253 * locale/programs/linereader.h: Likewise.
3254 * manual/charset.texi: Likewise.
3255 * manual/filesys.texi: Likewise.
3256 * manual/stdio.texi: Likewise.
3257 * manual/string.texi: Likewise.
3258 * stdlib/fmtmsg.c: Likewise.
3259 * sysdeps/i386/stpncpy.S: Likewise.
3260 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3261 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3262 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3263 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3265 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3267 * elf/dl-open.c: Fix typos.
3268 * iconvdata/gbbig5.c: Likewise.
3269 * iconvdata/iso-2022-jp.c: Likewise.
3270 * iconv/gconv_int.h: Likewise.
3271 * iconv/loop.c: Likewise.
3272 * nis/rpcsvc/nis.h: Likewise.
3273 * resolv/ns_name.c: Likewise.
3274 * stdio-common/vfscanf.c: Likewise.
3275 * streams/stropts.h: Likewise.
3276 * sunrpc/rpc_thread.c: Likewise.
3277 * sysdeps/i386/strpbrk.S: Likewise.
3278 * sysdeps/ieee754/k_standard.c: Likewise.
3279 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3281 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3282 * sysdeps/mach/hurd/profil.c: Likewise.
3283 * sysdeps/s390/dl-procinfo.h: Likewise.
3284 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3285 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3286 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3287 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3288 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3290 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3292 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3295 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3297 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3299 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3300 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3301 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3302 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3303 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3304 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3305 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3306 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3308 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3309 Roland McGrath <roland@hack.frob.com>
3311 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3312 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3314 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3316 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3317 __executable_start symbol instead of _start.
3319 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3321 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3322 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3324 * sysdeps/gnu/ldsodefs.h: ... this new file.
3326 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3327 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3328 instead of ELFOSABI_LINUX.
3330 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3331 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3332 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3333 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3335 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3336 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3337 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3339 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3340 (ibm_extended_long_double): Add ieee_nan member.
3341 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3342 (do_test): New function.
3344 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3346 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3347 functions, renamed from truncdfsf_test, trunctfsf_test,
3349 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3351 (do_test): Run all these.
3353 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3355 * argp/argp-help.c: Fix typos.
3356 * argp/argp-parse.c: Likewise.
3357 * debug/backtracesyms.c: Likewise.
3358 * elf/elf.h: Likewise.
3359 * malloc/malloc.c: Likewise.
3360 * nis/nis_print.c: Likewise.
3361 * resolv/res_comp.c: Likewise.
3362 * stdlib/stdlib.h: Likewise.
3363 * sunrpc/clnt_tcp.c: Likewise.
3364 * sunrpc/clnt_udp.c: Likewise.
3365 * sunrpc/clnt_unix.c: Likewise.
3366 * sysdeps/unix/bsd/ptsname.c: Likewise.
3367 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3368 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3375 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3377 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3379 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3382 2013-08-27 Mike Frysinger <vapier@gentoo.org>
3385 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3386 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3387 ($(objpfx)bug-dl-leaf): New rule.
3388 ($(objpfx)bug-dl-leaf.so): Likewise.
3389 ($(objpfx)bug-dl-leaf.out): Likewise.
3390 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3391 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3392 * dlfcn/bug-dl-leaf.c: New test.
3393 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3394 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3395 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3396 (dlclose): Likewise.
3397 (dlmopen): Likewise.
3399 2013-08-27 Roland McGrath <roland@hack.frob.com>
3401 * include/netdb.h [!_ISOMAC]:
3402 Don't include <tls.h>.
3403 (h_errno, __libc_h_errno): Move declaration and macros out of
3406 * include/resolv.h [_RESOLV_H_]:
3407 Don't include <tls.h>.
3408 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3409 * resolv/res_libc.c: Don't include <tls.h>.
3410 (_res): Use __attribute__ ((nocommon)) in place of
3411 __attribute__ ((section (".bss"))).
3413 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3414 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3416 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3418 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3419 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3421 * resolv/res_mkquery.c: Include <sys/time.h>.
3423 * inet/ifreq.c: Moved to ...
3424 * sysdeps/unix/ifreq.c: ... here.
3425 * inet/ifreq.c: New file, true stub version.
3427 * socket/sa_len.c: New file.
3428 * socket/Makefile (aux): Add it.
3429 * sysdeps/unix/sysv/linux/Makefile
3430 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3431 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3432 and #include <socket/sa_len.c>.
3433 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3434 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3436 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3437 * bits/socket.h: ... here.
3439 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3440 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3441 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3443 2013-08-27 Andreas Schwab <schwab@suse.de>
3446 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3447 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3448 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3449 * string/test-strcasecmp.c (test_main): Run tests in several
3451 * string/test-strncasecmp.c (test_main): Likewise.
3453 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3454 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3455 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3457 (__strncasecmp_ssse3) [PIC]: Likewise.
3459 2013-08-26 Roland McGrath <roland@hack.frob.com>
3461 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3463 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3464 instead of explicitly declaring xdecrypt.
3465 * nis/nss_nis/nis-publickey.c: Likewise.
3467 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3470 * nscd/aicache.c: Include res_hconf.h.
3471 (addhstaiX): Initialize res_hconf.
3473 2013-08-26 Andreas Schwab <schwab@suse.de>
3475 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3476 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3478 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3480 * nscd/aicache.c (addhstaiX): Fix indentation.
3482 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3484 * configure.ac: Quote $build_pt_chown test.
3485 * configure: Regenerated.
3487 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3490 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3491 * math/s_cexpf.c (__cexpf): Likewise.
3492 * math/s_cexpl.c (__cexpl): Likewise.
3493 * math/libm-test.inc (cexp_test_data): Correct expected return
3494 value for NaN + i0. Add another test.
3496 2013-08-22 David S. Miller <davem@davemloft.net>
3498 * po/ca.po: Update Catalan translation from translation project.
3499 * po/uk.po: Add Ukrainian translations from translation project.
3501 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3504 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3505 is infinite, not alongside NaN test.
3506 * math/s_fdimf.c (__fdimf): Likewise.
3507 * math/s_fdiml.c (__fdiml): Likewise.
3508 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3511 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3513 * argp/argp-help.c: Fix typos.
3514 * crypt/speeds.c: Likewise.
3515 * csu/check_fds.c: Likewise.
3516 * elf/dl-load.c: Likewise.
3517 * elf/dl-open.c: Likewise.
3518 * elf/reldep3.c: Likewise.
3519 * elf/reldep.c: Likewise.
3520 * elf/sprof.c: Likewise.
3521 * iconv/iconv_charmap.c: Likewise.
3522 * iconv/skeleton.c: Likewise.
3523 * iconv/strtab.c: Likewise.
3524 * io/lockf64.c: Likewise.
3525 * libio/libioP.h: Likewise.
3526 * resolv/gai_notify.c: Likewise.
3527 * resolv/ns_name.c: Likewise.
3528 * resolv/ns_samedomain.c: Likewise.
3529 * resolv/res_send.c: Likewise.
3530 * stdlib/random.c: Likewise.
3531 * sunrpc/rpc/xdr.h: Likewise.
3532 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3533 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3534 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3535 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3536 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3537 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3539 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3540 * sysdeps/mach/hurd/check_fds.c: Likewise.
3541 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3542 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3543 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3544 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3545 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3546 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3547 * sysdeps/pthread/aio_notify.c: Likewise.
3548 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3549 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3550 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3551 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3552 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3554 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3556 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3557 version if bit_Slow_SSE4_2 is set.
3558 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3559 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3561 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3564 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3565 trampoline stack frame information.
3566 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3567 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3568 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3569 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3570 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3571 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3572 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3573 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3575 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3576 interrupting a syscall and set with option SA_SIGINFO.
3578 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3581 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3582 argument is infinite.
3583 * math/s_cprojf.c (__cprojf): Likewise.
3584 * math/s_cprojl.c (__cprojl): Likewise.
3585 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3586 * math/libm-test.inc (cproj_test_data): Add more tests.
3588 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3590 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3591 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3592 size. Use __ffs to determine corresponding shift.
3594 2013-08-20 Joseph Myers <joseph@codesourcery.com>
3595 Roland McGrath <roland@hack.frob.com>
3597 * Makefile (INSTALL): Remove trailing blank lines from output of
3600 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3602 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3603 Align 32 bit compat elf_greg to 8 bytes.
3605 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3607 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3609 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3611 * string/strcoll_l.c (coll_seq): New structure.
3612 (get_next_seq_cached): New function.
3613 (get_next_seq): New function.
3614 (do_compare): New function.
3615 (STRCOLL): Use GNU style definition. Simplify implementation
3616 by using get_next_seq, get_next_seq_cached and do_compare.
3618 2013-08-16 Florian Weimer <fweimer@redhat.com>
3622 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3624 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3626 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3627 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3628 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3630 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3631 GETDENTS_64BIT_ALIGNED.
3632 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3633 * manual/filesys.texi (Reading/Closing Directory): Document
3634 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3636 * manual/conf.texi (Limits for Files): Add portability note to
3638 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3640 2013-08-13 Andreas Schwab <schwab@suse.de>
3643 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3645 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3646 LDBL_MAX_EXP >= 16384]: Add tests for it.
3648 2013-08-12 David S. Miller <davem@davemloft.net>
3650 * version.h (RELEASE): Set to "development".
3651 (VERSION): Set to "2.18.90".
3652 * NEWS: Add 2.19 section.
3654 2013-08-03 David S. Miller <davem@davemloft.net>
3656 * po/ko.po: Update Korean translation from translation project.
3658 2013-08-01 David S. Miller <davem@davemloft.net>
3660 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3661 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3664 2013-07-30 David S. Miller <davem@davemloft.net>
3666 * po/fr.po: Update French translation from translation project.
3668 2013-07-28 David S. Miller <davem@davemloft.net>
3670 * po/cs.po: Update Czech translation from translation project.
3672 * po/sv.po: Update Swedish translation from translation project.
3674 2013-07-27 David S. Miller <davem@davemloft.net>
3676 * po/eo.po: Update Esperanto translation from translation project.
3678 * po/vi.po: Update Vietnamese translation from translation project.
3680 * po/de.po: Update German translation from translation project.
3682 2013-07-26 David S. Miller <davem@davemloft.net>
3684 * po/bg.po: Update Bulgarian translation from translation project.
3686 * po/nl.po: Update Dutch translation from translation project.
3687 * po/pl.po: Update Polish translation from translation project.
3688 * po/ru.po: Update Russian translation from translation project.
3690 2013-07-24 David S. Miller <davem@davemloft.net>
3692 * po/libc.pot: Update.
3694 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3696 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3698 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3699 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3700 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3702 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3704 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3706 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3707 Andreas Schwab <schwab@suse.de>
3708 Roland McGrath <roland@hack.frob.com>
3709 Joseph Myers <joseph@codesourcery.com>
3710 Carlos O'Donell <carlos@redhat.com>
3713 * config.h.in: Define HAVE_PT_CHOWN.
3714 * config.make.in (build-pt-chown): New variable.
3715 * configure.in (--enable-pt_chown): New configure option.
3716 * configure: Regenerate.
3717 * login/Makefile: Include Makeconfig. Build pt_chown only if
3718 build-pt-chown is enabled.
3719 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3720 pt_chown to fix pty ownership.
3721 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3723 * manual/install.texi (Configuring and compiling): Mention
3724 --enable-pt_chown. Add @findex for grantpt.
3725 * INSTALL: Regenerate.
3727 2013-07-20 David S. Miller <davem@davemloft.net>
3729 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3730 difference between 32-bit and 64-bit.
3732 2013-07-15 Carlos O'Donell <carlos@redhat.com>
3735 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3736 Avoid system header dependency with -ffreestanding.
3737 ($(objpfx)bits/syscall%d): Likewise.
3739 2013-07-13 David S. Miller <davem@davemloft.net>
3741 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3742 underflows from atanl/atan2l due to bug 15319.
3743 (casinh_test_data): Likewise.
3745 2013-07-07 David S. Miller <davem@davemloft.net>
3747 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3749 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3751 * sysdeps/i386/fpu/libm-test-ulps: Update.
3752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3754 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3756 * configure.in (--enable-lock-elision): Fix message text.
3757 * INSTALL: Regenerate.
3758 * configure: Regenerate.
3760 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3764 2013-07-03 Andreas Jaeger <aj@suse.de>
3766 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3768 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3769 (ptrace_peeksiginfo_args): Add.
3770 (__ptrace_peeksiginfo_flags): Add.
3771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3772 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3773 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3775 2013-07-03 Allan McRae <allan@archlinux.org>
3777 * sysdeps/i386/fpu/libm-test-ulps: Update.
3779 2013-07-02 David S. Miller <davem@davemloft.net>
3781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3783 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3787 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3789 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3792 2013-07-02 Andi Kleen <ak@linux.intel.com>
3794 * config.h.in (ENABLE_LOCK_ELISION): Add.
3795 * configure.in (--enable-lock-elision): Add option.
3796 * manual/install.texi: Document --enable lock elision.
3797 * configure: Regenerate
3798 * INSTALL: Regenerate.
3800 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3802 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3803 SSE4.2 strcasecmp for libc.a.
3804 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3806 2013-07-02 Joseph Myers <joseph@codesourcery.com>
3809 * soft-fp/op-common.h (_FP_FMA): New macro.
3810 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3811 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3812 (_FP_MUL_MEAT_1_imm): ... here.
3813 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3814 (_FP_MUL_MEAT_1_wide): ... here.
3815 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3816 (_FP_MUL_MEAT_1_hard): ... here.
3817 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3818 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3819 (_FP_MUL_MEAT_2_wide): ... here.
3820 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3821 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3822 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3823 (_FP_MUL_MEAT_2_gmp): ... here.
3824 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3825 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3826 (_FP_MUL_MEAT_4_wide): ... here.
3827 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3828 (_FP_MUL_MEAT_4_gmp): ... here.
3829 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3830 (_FP_WFRACBITS_DW_S): Likewise.
3831 (_FP_WFRACXBITS_DW_S): Likewise.
3832 (_FP_HIGHBIT_DW_S): Likewise.
3833 (FP_FMA_S): Likewise.
3834 (_FP_FRAC_HIGH_DW_S): Likewise.
3835 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3836 (_FP_WFRACBITS_DW_D): Likewise.
3837 (_FP_WFRACXBITS_DW_D): Likewise.
3838 (_FP_HIGHBIT_DW_D): Likewise.
3839 (FP_FMA_D): Likewise.
3840 (_FP_FRAC_HIGH_DW_D): Likewise.
3841 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3842 (_FP_WFRACBITS_DW_E): Likewise.
3843 (_FP_WFRACXBITS_DW_E): Likewise.
3844 (_FP_HIGHBIT_DW_E): Likewise.
3845 (FP_FMA_E): Likewise.
3846 (_FP_FRAC_HIGH_DW_E): Likewise.
3847 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3848 (_FP_WFRACBITS_DW_Q): Likewise.
3849 (_FP_WFRACXBITS_DW_Q): Likewise.
3850 (_FP_HIGHBIT_DW_Q): Likewise.
3851 (FP_FMA_Q): Likewise.
3852 (_FP_FRAC_HIGH_DW_Q): Likewise.
3853 * soft-fp/fmasf4.c: New file.
3854 * soft-fp/fmadf4.c: Likewise.
3855 * soft-fp/fmatf4.c: Likewise.
3857 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3860 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3862 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3864 (index_Slow_SSE4_2): Likewise.
3865 (index_Prefer_PMINUB_for_stringop): Likewise.
3866 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3867 bit_Slow_SSE4_2 is set.
3868 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3869 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3871 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3873 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3874 rtld_global._dl_hwcap2.
3875 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3877 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3878 POWER8 feature descriptions defined in _dl_hwcap2.
3879 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3880 string handling for POWER8 feature bits.
3881 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3882 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3883 _dl_powerpc_cap_flags.
3884 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3885 * sysdeps/powerpc/rtld-global-offsets.sym
3886 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3887 _dl_hwcap2 in the rtld_global_ro structure.
3889 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3891 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3892 hardware capabilities in support of AT_HWCAP2.
3893 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3894 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3896 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3897 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3898 explicitly the unknown a_type display mechanism is used.
3899 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3900 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3902 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3903 to macro prototype for AT_HWCAP2 support.
3904 * sysdeps/i386/dl-procinfo.h: Likewise.
3905 * sysdeps/s390/dl-procinfo.h: Likewise.
3906 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3907 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3908 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3909 return -1 for unknown a_type display fallback.
3910 * sysdeps/sparc/dl-procinfo.h: Likewise.
3911 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3912 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3914 2013-06-28 Joseph Myers <joseph@codesourcery.com>
3916 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3917 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3919 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3922 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3923 mprotect making __stack_prot writable.
3925 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3926 Joseph Myers <joseph@codesourcery.com>
3928 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3929 as being properly aligned.
3931 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3933 * dlfcn/modstatic5.c: New file.
3934 * dlfcn/tststatic5.c: New file.
3935 * dlfcn/Makefile (tests): Add tststatic5.
3936 (tests-static): Likewise.
3937 (modules-names): Add modstatic5.
3938 (tststatic5-ENV): New variable.
3939 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3942 * elf/dl-support.c (_dl_main_map): New variable.
3943 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3944 (_dl_nns, _dl_load_adds): Set to 1.
3945 (_dl_initial_searchlist): Refer to _dl_main_map.
3946 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3947 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3948 call to _dl_get_origin.
3949 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3951 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3952 * dlfcn/modstatic3.c: New file.
3953 * dlfcn/tststatic3.c: New file.
3954 * dlfcn/tststatic4.c: New file.
3955 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3956 (tests-static): Likewise.
3957 (modules-names): Add modstatic3.
3958 (tststatic3-ENV, tststatic4-ENV): New variables.
3959 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3960 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3962 2013-06-26 Joseph Myers <joseph@codesourcery.com>
3964 * configure.in (CC): Require GCC version 4.4 or later.
3965 * configure: Regenerated.
3966 * manual/install.texi (Tools for Compilation): Update GCC version
3968 * INSTALL: Regenerated.
3970 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3973 * string/test-memcmp.c (check2): New.
3974 (main): Call check2.
3976 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3978 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3981 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3983 (dl_open_worker) [!SHARED]: ... here.
3985 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3987 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3989 2013-06-25 Richard Henderson <rth@redhat.com>
3991 * locale/programs/locarchive.c: Include <libc-internal.h>
3993 2013-06-25 Joseph Myers <joseph@codesourcery.com>
3995 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3996 trailing whitespace removed.
3998 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4001 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4002 * locale/programs/locarchive.c: Include libc-mmap.h.
4003 (prepare_address_space): Take two new outputs (the mmap base and len).
4004 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4006 (create_archive): Declare new mmap base and len values for
4007 prepare_address_space, and store the result in ah.
4008 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4009 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4010 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4011 Declare new mmap base and len values for
4012 prepare_address_space, and store the result in new_ah.
4013 (open_archive): Declare new mmap base and len values for
4014 prepare_address_space, and store the result in ah.
4015 (close_archive): If ah->mmap_base is not NULL, use that and
4016 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4017 * sysdeps/generic/libc-mmap.h: New file.
4019 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4021 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4022 (ALIGN_UP): Likewise.
4023 (PTR_ALIGN_DOWN): Likewise.
4024 (PTR_ALIGN_UP): Likewise.
4026 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4028 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4029 entry mapped to PPC_PLATFORM_POWER8.
4030 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4032 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4033 (_dl_string_platform): Add case for exporting platform position for
4035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4036 search path to sysdeps/powerpc/powerpc32/power8 directory.
4037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4038 search path to sysdeps/powerpc/powerpc64/power8 directory.
4039 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4041 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4044 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4046 * INSTALL: Regenerate.
4048 * nscd/connections.c (nscd_init): Fix comment.
4050 2013-06-22 Joseph Myers <joseph@codesourcery.com>
4052 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4055 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4056 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4058 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4060 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4062 (DL_DST_REQ_STATIC): Remove macro.
4064 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4067 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4068 with a shift of 0 bits.
4070 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4072 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4075 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4078 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4080 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4082 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4083 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4084 accepts -fno-tree-loop-distribute-patterns.
4085 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4086 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4088 * string/memset.c (memset): Likewise.
4089 * string/test-memmove.c (simple_memmove): Disable loop transformation
4091 * string/test-memset.c (simple_memset): Likewise.
4092 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4093 * benchtests/bench-memset.c (simple_memset): Likewise.
4094 * configure: Regenerated.
4096 2013-06-20 Joseph Myers <joseph@codesourcery.com>
4098 * math/test-misc.c (main): Ignore fesetround failure when failures
4099 of subsequent rounding tests would be ignored.
4102 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4103 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4104 * math/fegetenv.c (__fegetenv): Return 0.
4105 * math/fegetexcept.c (fegetexcept): Return 0.
4106 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4108 * math/feholdexcpt.c (feholdexcept): Return 0.
4109 * math/fesetenv.c (__fesetenv): Return 0.
4110 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4111 argument FE_TONEAREST.
4112 * math/feupdateenv.c (__feupdateenv): Return 0.
4113 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4115 2013-06-18 Roland McGrath <roland@hack.frob.com>
4117 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4118 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4119 ($(objpfx)rtld-%.os rules): Use them.
4121 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4123 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4126 2013-06-17 Roland McGrath <roland@hack.frob.com>
4128 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4129 length of target pattern, then descending length of dependency pattern.
4130 * configure.in (AWK): Require gawk 3.1.2 or newer.
4131 * manual/install.texi (Tools for Compilation): Say that we do.
4132 * configure: Regenerated.
4134 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4135 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4136 * scripts/sysd-rules.awk: ... this new script.
4137 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4138 than a glob-style pattern.
4140 2013-06-17 Joseph Myers <joseph@codesourcery.com>
4142 * math/test-misc.c (main): Do not treat incorrectly rounded
4143 conversions as failure unless ROUNDING_TESTS passes.
4145 2013-06-15 Joseph Myers <joseph@codesourcery.com>
4148 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4149 restore exception state around main square root computation, then
4150 check for inexactness explicitly.
4152 * math/libm-test.inc (fma_test_data): Add another test.
4154 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4156 * manual/threads.texi (Non-POSIX Extensions): New document
4157 node. Document pthread_getattr_default_np and
4158 pthread_setattr_default_np.
4160 * Versions.def (libpthread): Add GLIBC_2.18.
4161 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4170 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4181 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4184 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4186 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4187 H.J. Lu <hjl.tools@gmail.com>
4190 * sysdeps/x86_64/rtld-memset.c: Remove file.
4191 * sysdeps/x86_64/rtld-memset.S: New file.
4193 2013-06-14 Joseph Myers <joseph@codesourcery.com>
4195 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4196 (test_in_one_mode): Take arguments for whether the rounding mode
4197 is supported for each floating-point type.
4198 (do_test): Pass new arguments to test_in_one_mode using
4201 2013-06-13 Roland McGrath <roland@hack.frob.com>
4203 * posix/tst-waitid.c (do_test): Distinguish different instances of
4204 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4205 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4206 before entering the kernel for waitpid.
4208 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4210 * NEWS: Fix note on clock function precision. Text by Roland
4213 2013-06-13 Roland McGrath <roland@hack.frob.com>
4215 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4216 it into place only when and if the sanity check passes.
4218 2013-06-13 Joseph Myers <joseph@codesourcery.com>
4220 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4221 output for whether conversion result is exact. Take argument
4222 indicating whether type is IBM long double.
4223 (round_for_all): Change need_exact field to ibm_ld.
4224 * stdlib/tst-strtod-round.c (struct exactness): New type.
4225 (struct test): Change bool ld_ok field to struct exactness exact.
4226 (TEST): Update all definitions for change to field.
4227 (tests): Regenerate array contents.
4228 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4229 field value. Check for IBM long double here.
4230 (do_test): Update calls to test_in_one_mode.
4232 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4235 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4236 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4238 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4241 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4242 generated by the compiler on loop optimizations.
4243 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4244 general definitions.
4246 2013-06-12 Joseph Myers <joseph@codesourcery.com>
4248 * math/bug-nextafter.c: Include <math-tests.h>.
4249 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4251 * math/bug-nexttoward.c: Include <math-tests.h>.
4252 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4254 * math/test-misc.c: Include <math-tests.h>.
4255 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4258 2013-06-12 Andreas Jaeger <aj@suse.de>
4260 * po/ia.po: Update Interlingua translation from translation
4263 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4265 * include/fenv.h: Include stdbool.h.
4266 (struct rm_ctx): New structure.
4267 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4269 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4270 (SET_RESTORE_ROUNDF): Likewise.
4271 (SET_RESTORE_ROUNDL): Likewise.
4272 (SET_RESTORE_ROUND_NOEX): Likewise.
4273 (SET_RESTORE_ROUND_NOEXF): Likewise.
4274 (SET_RESTORE_ROUND_NOEXL): Likewise.
4275 (SET_RESTORE_ROUND_53BIT): Likewise.
4276 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4277 (libc_feresetround_noexf_ctx): Likewise.
4278 (libc_feresetround_noexl_ctx): Likewise.
4279 (libc_feholdsetround_53bit_ctx): Likewise.
4280 (libc_feresetround_53bit_ctx): Likewise.
4281 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4282 (libc_feholdexcept_setround_sse_ctx): New function.
4283 (libc_fesetenv_sse_ctx): Likewise.
4284 (libc_feupdateenv_sse_ctx): Likewise.
4285 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4286 (libc_feholdexcept_setround_387_ctx): Likewise.
4287 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4288 (libc_feholdsetround_387_prec_ctx): Likewise.
4289 (libc_feholdsetround_387_ctx): Likewise.
4290 (libc_feholdsetround_387_53bit_ctx): Likewise.
4291 (libc_feholdsetround_sse_ctx): Likewise.
4292 (libc_feresetround_sse_ctx): Likewise.
4293 (libc_feresetround_387_ctx): Likewise.
4294 (libc_feupdateenv_387_ctx): Likewise.
4295 (libc_feholdexcept_setroundf_ctx): Define macro.
4296 (libc_fesetenvf_ctx): Likewise.
4297 (libc_feupdateenvf_ctx): Likewise.
4298 (libc_feholdsetroundf_ctx): Likewise.
4299 (libc_feresetroundf_ctx): Likewise.
4300 (libc_feholdexcept_setround_ctx): Likewise.
4301 (libc_fesetenv_ctx): Likewise.
4302 (libc_feupdateenv_ctx): Likewise.
4303 (libc_feholdsetround_ctx): Likewise.
4304 (libc_feresetround_ctx): Likewise.
4305 (libc_feholdexcept_setroundl_ctx): Likewise.
4306 (libc_feupdateenvl_ctx): Likewise.
4307 (libc_feholdsetroundl_ctx): Likewise.
4308 (libc_feresetroundl_ctx): Likewise.
4309 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4310 (libc_feresetround_53bit_ctx): Likewise.
4312 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4314 * locale/iso-639.def: Convert to UTF-8.
4316 2013-06-11 Joseph Myers <joseph@codesourcery.com>
4318 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4319 (EXCEPTION_TESTS_double): Likewise.
4320 (EXCEPTION_TESTS_long_double): Likewise.
4321 (EXCEPTION_TESTS): Likewise.
4322 * math/libm-test.inc (test_exceptions): Only test exceptions if
4323 EXCEPTION_TESTS (FLOAT).
4325 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4327 * benchtests/Makefile (string-bench): Add strcpy_chk and
4329 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4330 * benchtests/bench-stpcpy_chk.c: New file.
4331 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4332 * benchtests/bench-strcpy_chk.c: New file.
4333 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4335 (do_test): Likewise.
4337 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4339 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4340 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4341 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4342 with tabs where appropriate.
4343 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4345 [PPC_PLATFORM_PPC440]: Likewise.
4346 [PPC_PLATFORM_PPC464]: Likewise.
4347 [PPC_PLATFORM_PPC476]: Likewise.
4348 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4349 ppc464, and ppc476 platform strings merging from ports/
4352 2013-06-11 Andreas Schwab <schwab@suse.de>
4355 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4356 (from_ucs4_idx): Regenerate.
4357 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4358 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4359 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4360 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4361 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4362 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4363 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4364 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4365 from FROM_LOOP and TO_LOOP specific macros.
4366 (BODY): Handle combining characters.
4367 * iconvdata/BIG5HKSCS.irreversible: Update.
4368 * iconvdata/BIG5HKSCS.precomposed: New file.
4369 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4371 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4373 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4375 * include/sys/time.h: Fix indentation and add copyright header.
4377 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4378 (do_test): Likewise.
4379 * string/test-memchr.c (do_one_test): Likewise.
4380 (do_test): Likewise.
4381 * string/test-memcmp.c (do_one_test): Likewise.
4382 (do_test): Likewise.
4383 * string/test-memcpy.c (do_one_test): Likewise.
4384 (do_test): Likewise.
4385 * string/test-memmem.c (do_one_test): Likewise.
4386 (do_test): Likewise.
4387 (do_random_tests): Likewise.
4388 * string/test-memmove.c (do_one_test): Likewise.
4389 (do_test): Likewise.
4390 * string/test-memset.c (do_one_test): Likewise.
4391 (do_test): Likewise.
4392 * string/test-rawmemchr.c (do_one_test): Likewise.
4393 (do_test): Likewise.
4394 * string/test-strcasecmp.c (do_one_test): Likewise.
4395 (do_test): Likewise.
4396 * string/test-strcasestr.c (do_one_test): Likewise.
4397 (do_test): Likewise.
4398 * string/test-strcat.c (do_one_test): Likewise.
4399 (do_test): Likewise.
4400 * string/test-strchr.c (do_one_test): Likewise.
4401 (do_test): Likewise.
4402 * string/test-strcmp.c (do_one_test): Likewise.
4403 (do_test): Likewise.
4404 * string/test-strcpy.c (do_one_test): Likewise.
4405 (do_test): Likewise.
4406 * string/test-string.h: Likewise.
4407 (test_init): Likewise.
4408 * string/test-strlen.c (do_one_test): Likewise.
4409 (do_test): Likewise.
4410 * string/test-strncasecmp.c (do_one_test): Likewise.
4411 (do_test): Likewise.
4412 * string/test-strncat.c (do_one_test): Likewise.
4413 (do_test): Likewise.
4414 * string/test-strncmp.c (do_one_test): Likewise.
4415 (do_test_limit): Likewise.
4416 (do_test): Likewise.
4417 * string/test-strncpy.c (do_one_test): Likewise.
4418 (do_test): Likewise.
4419 * string/test-strnlen.c (do_one_test): Likewise.
4420 (do_test): Likewise.
4421 * string/test-strpbrk.c (do_one_test): Likewise.
4422 (do_test): Likewise.
4423 * string/test-strrchr.c (do_one_test): Likewise.
4424 (do_test): Likewise.
4425 * string/test-strspn.c (do_one_test): Likewise.
4426 (do_test): Likewise.
4427 * string/test-strstr.c (do_one_test): Likewise.
4428 (do_test): Likewise.
4430 * benchtests/Makefile (string-bench): Add string benchmarks.
4431 * benchtests/bench-bcopy-ifunc.c: New file.
4432 * benchtests/bench-bcopy.c: New file.
4433 * benchtests/bench-bzero-ifunc.c: New file.
4434 * benchtests/bench-bzero.c: New file.
4435 * benchtests/bench-memccpy-ifunc.c: New file.
4436 * benchtests/bench-memccpy.c: New file.
4437 * benchtests/bench-memchr-ifunc.c: New file.
4438 * benchtests/bench-memchr.c: New file.
4439 * benchtests/bench-memcmp-ifunc.c: New file.
4440 * benchtests/bench-memcmp.c: New file.
4441 * benchtests/bench-memmem-ifunc.c: New file.
4442 * benchtests/bench-memmem.c: New file.
4443 * benchtests/bench-memmove-ifunc.c: New file.
4444 * benchtests/bench-memmove.c: New file.
4445 * benchtests/bench-mempcpy-ifunc.c: New file.
4446 * benchtests/bench-mempcpy.c: New file.
4447 * benchtests/bench-memset-ifunc.c: New file.
4448 * benchtests/bench-memset.c: New file.
4449 * benchtests/bench-rawmemchr-ifunc.c: New file.
4450 * benchtests/bench-rawmemchr.c: New file.
4451 * benchtests/bench-stpcpy-ifunc.c: New file.
4452 * benchtests/bench-stpcpy.c: New file.
4453 * benchtests/bench-stpncpy-ifunc.c: New file.
4454 * benchtests/bench-stpncpy.c: New file.
4455 * benchtests/bench-strcasecmp-ifunc.c: New file.
4456 * benchtests/bench-strcasecmp.c: New file.
4457 * benchtests/bench-strcasestr-ifunc.c: New file.
4458 * benchtests/bench-strcasestr.c: New file.
4459 * benchtests/bench-strcat-ifunc.c: New file.
4460 * benchtests/bench-strcat.c: New file.
4461 * benchtests/bench-strchr-ifunc.c: New file.
4462 * benchtests/bench-strchr.c: New file.
4463 * benchtests/bench-strchrnul-ifunc.c: New file.
4464 * benchtests/bench-strchrnul.c: New file.
4465 * benchtests/bench-strcmp-ifunc.c: New file.
4466 * benchtests/bench-strcmp.c: New file.
4467 * benchtests/bench-strcpy-ifunc.c: New file.
4468 * benchtests/bench-strcpy.c: New file.
4469 * benchtests/bench-strcspn-ifunc.c: New file.
4470 * benchtests/bench-strcspn.c: New file.
4471 * benchtests/bench-strlen-ifunc.c: New file.
4472 * benchtests/bench-strlen.c: New file.
4473 * benchtests/bench-strncasecmp-ifunc.c: New file.
4474 * benchtests/bench-strncasecmp.c: New file.
4475 * benchtests/bench-strncat-ifunc.c: New file.
4476 * benchtests/bench-strncat.c: New file.
4477 * benchtests/bench-strncmp-ifunc.c: New file.
4478 * benchtests/bench-strncmp.c: New file.
4479 * benchtests/bench-strncpy-ifunc.c: New file.
4480 * benchtests/bench-strncpy.c: New file.
4481 * benchtests/bench-strnlen-ifunc.c: New file.
4482 * benchtests/bench-strnlen.c: New file.
4483 * benchtests/bench-strpbrk-ifunc.c: New file.
4484 * benchtests/bench-strpbrk.c: New file.
4485 * benchtests/bench-strrchr-ifunc.c: New file.
4486 * benchtests/bench-strrchr.c: New file.
4487 * benchtests/bench-strspn-ifunc.c: New file.
4488 * benchtests/bench-strspn.c: New file.
4489 * benchtests/bench-strstr-ifunc.c: New file.
4490 * benchtests/bench-strstr.c: New file.
4492 * benchtests/Makefile: Disable parallel execution of targets.
4493 (string-bench): Add memcpy.
4494 (benchset): New variable to store a list of benchmark sets.
4495 (bench-func): Renamed from bench.
4496 (bench-set): New target.
4497 (bench): Depend on bench-func and bench-set.
4498 * benchtests/README: Add section on benchmark sets.
4499 * benchtests/bench-memcpy-ifunc.c: New file.
4500 * benchtests/bench-memcpy.c: New file.
4501 * benchtests/bench-string.h: New file.
4503 2013-06-11 Andreas Schwab <schwab@suse.de>
4506 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4507 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4508 values in the triple.
4509 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4510 terminator in the group key.
4512 2013-06-11 Andreas Jaeger <aj@suse.de>
4514 * po/zh_TW.po: Update Chinese (traditional) translation from
4515 translation project.
4517 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4519 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4520 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4521 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4522 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4523 (clock_getcpuclockid): Likewise.
4524 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4525 Add weak_alias and libc_hidden_def.
4526 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4527 * rt/clock_gettime.c (clock_gettime): Rename to
4528 __clock_gettime. Add weak_alias and libc_hidden_def.
4529 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4530 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4531 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4532 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4533 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4535 * rt/clock_settime.c (clock_settime): Rename to
4536 __clock_settime. Add weak_alias and libc_hidden_def.
4537 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4539 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4541 * mach/err_boot.sub: Remove trailing whitespace.
4542 * mach/err_ipc.sub: Likewise.
4543 * mach/err_mach.sub: Likewise.
4545 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4546 (ROUNDING_TESTS_double): Likewise.
4547 (ROUNDING_TESTS_long_double): Likewise.
4548 (ROUNDING_TESTS): Likewise.
4549 * math/libm-test.inc: Include <math-tests.h>.
4550 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4551 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4552 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4553 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4555 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4557 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4560 2013-06-08 Joseph Myers <joseph@codesourcery.com>
4562 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4563 otherwise empty TRANS lines.
4564 * sysdeps/gnu/errlist.c: Regenerated.
4566 * catgets/gencat.c (error_print): Use (void) in function
4568 * crypt/crypt_util.c (__init_des): Likewise.
4569 * crypt/speeds.c (Stop): Likewise.
4571 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4572 * inet/ruserpass.c (token): Likewise.
4573 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4574 * intl/localealias.c (extend_alias_table): Likewise.
4575 * intl/plural-exp.c (init_germanic_plural): Likewise.
4576 * libio/fcloseall.c (__fcloseall): Likewise.
4577 * libio/genops.c (_IO_flush_all): Likewise.
4578 (_IO_flush_all_linebuffered): Likewise.
4579 (_IO_cleanup): Likewise.
4580 (_IO_iter_begin): Likewise.
4581 (_IO_iter_end): Likewise.
4582 (_IO_list_lock): Likewise.
4583 (_IO_list_unlock): Likewise.
4584 (_IO_list_resetlock): Likewise.
4585 * libio/getchar.c (getchar): Likewise.
4586 * libio/getchar_u.c (getchar_unlocked): Likewise.
4587 * libio/getwchar.c (getwchar): Likewise.
4588 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4589 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4590 * login/getpt.c (__getpt): Likewise.
4591 * login/tst-utmp.c (main): Likewise.
4592 * malloc/hooks.c (__malloc_check_init): Likewise.
4593 * malloc/malloc.c (__malloc_stats): Likewise.
4594 * malloc/mtrace.c (tr_break): Likewise.
4596 (muntrace): Likewise.
4597 * misc/fstab.c (endfsent): Likewise.
4598 * misc/getclktck.c (__getclktck): Likewise.
4599 * misc/getdtsz.c (__getdtablesize): Likewise.
4600 * misc/gethostid.c (gethostid): Likewise.
4601 * misc/getpagesize.c (__getpagesize): Likewise.
4602 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4603 (__get_nprocs): Likewise.
4604 (__get_phys_pages): Likewise.
4605 (__get_avphys_pages): Likewise.
4606 * misc/getttyent.c (getttyent): Likewise.
4607 (setttyent): Likewise.
4608 (endttyent): Likewise.
4609 * misc/getusershell.c (getusershell): Likewise.
4610 (endusershell): Likewise.
4611 (setusershell): Likewise.
4612 (initshells): Likewise.
4613 * misc/hsearch.c (__hdestroy): Likewise.
4614 * misc/sync.c (sync): Likewise.
4615 * misc/syslog.c (closelog_internal): Likewise.
4616 (closelog): Likewise.
4617 * misc/ttyslot.c (ttyslot): Likewise.
4618 * misc/vhangup.c (vhangup): Likewise.
4619 * posix/fork.c (__fork): Likewise.
4620 * posix/getegid.c (__getegid): Likewise.
4621 * posix/geteuid.c (__geteuid): Likewise.
4622 * posix/getgid.c (__getgid): Likewise.
4623 * posix/getpid.c (__getpid): Likewise.
4624 * posix/getppid.c (__getppid): Likewise.
4625 * posix/getuid.c (__getuid): Likewise.
4626 * posix/pause.c (pause): Likewise.
4627 * posix/setpgrp.c (setpgrp): Likewise.
4628 * posix/setsid.c (__setsid): Likewise.
4629 * posix/test-vfork.c (noop): Likewise.
4630 * resolv/gethnamaddr.c (_endhtent): Likewise.
4631 (_gethtent): Likewise.
4632 (ht_endhostent): Likewise.
4633 (gethostent): Likewise.
4634 (dns_service): Likewise.
4635 * stdlib/drand48.c (drand48): Likewise.
4636 * stdlib/lrand48.c (lrand48): Likewise.
4637 * stdlib/mrand48.c (mrand48): Likewise.
4638 * stdlib/rand.c (rand): Likewise.
4639 * stdlib/random.c (__random): Likewise.
4640 * stdlib/setenv.c (clearenv): Likewise.
4641 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4642 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4643 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4644 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4645 (__get_nprocs): Likewise.
4646 (__get_phys_pages): Likewise.
4647 (__get_avphys_pages): Likewise.
4648 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4649 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4650 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4651 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4652 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4653 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4654 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4655 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4656 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4657 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4658 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4659 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4660 * sysdeps/posix/clock.c (clock): Likewise.
4661 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4662 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4663 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4664 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4665 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4667 (__get_nprocs_conf): Likewise.
4668 (__get_phys_pages): Likewise.
4669 (__get_avphys_pages): Likewise.
4670 * time/clock.c (clock): Likewise.
4671 * time/tzset.c (__tzname_max): Likewise.
4673 2013-06-07 Joseph Myers <joseph@codesourcery.com>
4675 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4676 (__bswap_32): Do not use "register".
4677 * crypt/crypt.c (_ufc_doit_r): Likewise.
4678 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4679 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4680 * gmon/gmon.c (__monstartup): Likewise.
4681 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4682 * hurd/hurdmalloc.c (more_memory): Likewise.
4685 (realloc): Likewise.
4686 (malloc_fork_prepare): Likewise.
4687 (malloc_fork_parent): Likewise.
4688 (malloc_fork_child): Likewise.
4689 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4690 (_svcauth_des): Likewise.
4691 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4692 * inet/inet_net.c (inet_network): Likewise.
4693 * inet/inet_netof.c (inet_netof): Likewise.
4694 * inet/rcmd.c (__validuser2_sa): Likewise.
4695 * io/fts.c (fts_open): Likewise.
4696 (fts_load): Likewise.
4697 (fts_close): Likewise.
4698 (fts_read): Likewise.
4699 (fts_children): Likewise.
4700 (fts_build): Likewise.
4701 (fts_stat): Likewise.
4702 (fts_sort): Likewise.
4703 (fts_alloc): Likewise.
4704 (fts_lfree): Likewise.
4705 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4706 (_IO_file_xsgetn): Likewise.
4707 (_IO_file_xsgetn_mmap): Likewise.
4708 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4709 (_IO_cookie_write): Likewise.
4710 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4711 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4712 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4713 * malloc/obstack.c (_obstack_begin): Likewise.
4714 (_obstack_begin_1): Likewise.
4715 (_obstack_newchunk): Likewise.
4716 (_obstack_allocated_p): Likewise.
4717 (obstack_free): Likewise.
4718 (_obstack_memory_used): Likewise.
4719 * misc/getttyent.c (getttynam): Likewise.
4720 (getttyent): Likewise.
4723 * misc/getusershell.c (initshells): Likewise.
4724 * misc/syslog.c (__vsyslog_chk): Likewise.
4725 * misc/ttyslot.c (ttyslot): Likewise.
4726 * nis/nis_hash.c (__nis_hash): Likewise.
4727 * posix/fnmatch_loop.c (FCT): Likewise.
4728 * posix/getconf.c (print_all): Likewise.
4730 * posix/getopt.c (exchange): Likewise.
4731 * posix/glob.c (globfree): Likewise.
4732 (prefix_array): Likewise.
4733 (__glob_pattern_type): Likewise.
4734 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4735 (NS_GET32): Likewise.
4736 (NS_PUT16): Likewise.
4737 (NS_PUT32): Likewise.
4738 * resolv/gethnamaddr.c (getanswer): Likewise.
4739 (gethostbyname2): Likewise.
4740 (gethostbyaddr): Likewise.
4741 (_gethtent): Likewise.
4742 (_gethtbyname2): Likewise.
4743 (_gethtbyaddr): Likewise.
4744 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4745 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4746 * resolv/res_init.c (__res_vinit): Likewise.
4747 (net_mask): Likewise.
4748 * resolv/res_mkquery.c (outchar): Likewise.
4750 * stdio-common/printf_fp.c (outchar): Likewise.
4752 * stdio-common/printf_fphex.c (outchar): Likewise.
4754 * stdio-common/printf_size.c (outchar): Likewise.
4756 * stdio-common/test_rdwr.c (main): Likewise.
4757 * stdio-common/tfformat.c (matches): Likewise.
4758 * stdio-common/vfprintf.c (outchar): Likewise.
4759 (printf_unknown): Likewise.
4760 (buffered_vfprintf): Likewise.
4761 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4762 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4763 (ReadFile): Likewise.
4764 * stdlib/qsort.c (SWAP): Likewise.
4765 (_quicksort): Likewise.
4766 * stdlib/setenv.c (__add_to_environ): Likewise.
4767 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4768 * stdlib/strtol_l.c (__strtol_l): Likewise.
4769 * stdlib/tst-strtod.c (main): Likewise.
4770 * stdlib/tst-strtol.c (main): Likewise.
4771 * stdlib/tst-strtoll.c (main): Likewise.
4772 * string/bits/string2.h (__strcmp_cc): Likewise.
4773 (__strcmp_cg): Likewise.
4774 (__strcspn_c1): Likewise.
4775 (__strcspn_c2): Likewise.
4776 (__strcspn_c3): Likewise.
4777 (__strspn_c1): Likewise.
4778 (__strspn_c2): Likewise.
4779 (__strspn_c3): Likewise.
4780 (__strsep_1c): Likewise.
4781 (__strsep_2c): Likewise.
4782 (__strsep_3c): Likewise.
4783 * string/memccpy.c (__memccpy): Likewise.
4784 * string/stpcpy.c (__stpcpy): Likewise.
4785 * string/strcmp.c (strcmp): Likewise.
4786 * string/strrchr.c (strrchr): Likewise.
4787 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4789 * sysdeps/mach/hurd/getcwd.c
4790 (_hurd_canonicalize_directory_name_internal): Likewise.
4791 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4792 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4793 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4794 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4795 Likewise, in both definitions.
4796 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4798 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4799 64] (__bswap_64): Likewise.
4800 * time/test_time.c (main): Likewise.
4801 * time/tzfile.c (__tzfile_read): Likewise.
4802 (__tzfile_compute): Likewise.
4803 * time/tzset.c (__tzset_parse_tz): Likewise.
4804 (tzset_internal): Likewise.
4805 (compute_change): Likewise.
4806 * wcsmbs/wcscat.c (__wcscat): Likewise.
4807 * wcsmbs/wcschr.c (wcschr): Likewise.
4808 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4809 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4810 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4811 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4812 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4813 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4814 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4815 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4816 * wcsmbs/wmemset.c (wmemset): Likewise.
4818 2013-06-06 Joseph Myers <joseph@codesourcery.com>
4820 * scripts/config.guess: Update to version 2013-05-16.
4821 * scripts/config.sub: Update to version 2013-04-24.
4822 * scripts/install-sh: Update to version 2011-11-20.07.
4823 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4824 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4826 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
4828 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4829 * elf/sln.c: Likewise.
4830 * hurd/hurd/ioctl.h: Likewise.
4831 * hurd/hurdmalloc.c: Likewise.
4832 * hurd/xattr.c: Likewise.
4833 * include/shlib-compat.h: Likewise.
4834 * inet/ruserpass.c: Likewise.
4835 * libio/iofgets_u.c: Likewise.
4836 * libio/iofgetws_u.c: Likewise.
4837 * locale/programs/ld-identification.c: Likewise.
4838 * locale/programs/ld-time.c: Likewise.
4839 * mach/msg-destroy.c: Likewise.
4840 * nss/nss_files/files-netgrp.c: Likewise.
4841 * resolv/res_data.c: Likewise.
4842 * soft-fp/op-1.h: Likewise.
4843 * soft-fp/op-2.h: Likewise.
4844 * soft-fp/op-4.h: Likewise.
4845 * soft-fp/op-common.h: Likewise.
4846 * stdio-common/printf_fphex.c: Likewise.
4847 * stdlib/strtod_l.c: Likewise.
4848 * sunrpc/rpc/clnt.h: Likewise.
4849 * sysdeps/generic/framestate.c: Likewise.
4850 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4851 * sysdeps/i386/bsd-setjmp.S: Likewise.
4852 * sysdeps/i386/__longjmp.S: Likewise.
4853 * sysdeps/i386/setjmp.S: Likewise.
4854 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4855 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4856 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4872 * sysdeps/ieee754/support.c: Likewise.
4873 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4874 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4875 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4876 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4877 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4878 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4879 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4880 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4881 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4882 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4883 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4884 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4885 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4886 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4887 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4888 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4889 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4892 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
4894 * posix/transbug.c: Remove executable mode.
4896 2013-06-05 Joseph Myers <joseph@codesourcery.com>
4898 * crypt/speeds.c: Remove trailing whitespace.
4899 * dlfcn/default.c: Likewise.
4900 * elf/ifuncdep2.c: Likewise.
4901 * elf/ifuncmain1.c: Likewise.
4902 * elf/ifuncmain1vis.c: Likewise.
4903 * elf/testobj.h: Likewise.
4904 * elf/tst-stackguard1.c: Likewise.
4905 * gmon/sys/gmon.h: Likewise.
4906 * hurd/hurdmsg.c: Likewise.
4907 * hurd/new-fd.c: Likewise.
4908 * hurd/ports-get.c: Likewise.
4909 * iconvdata/ibm1008_420.c: Likewise.
4910 * inet/tst-getni1.c: Likewise.
4911 * inet/tst-getni2.c: Likewise.
4912 * libio/ioungetc.c: Likewise.
4913 * libio/wfiledoalloc.c: Likewise.
4914 * manual/libm-err-tab.pl: Likewise.
4915 * math/w_dremf.c: Likewise.
4916 * misc/ftruncate.c: Likewise.
4917 * posix/bug-glob2.c: Likewise.
4918 * posix/tst-pcre.c: Likewise.
4919 * posix/wait4.c: Likewise.
4920 * resolv/README: Likewise.
4921 * resolv/res_debug.h: Likewise.
4922 * resolv/tst-inet_ntop.c: Likewise.
4923 * setjmp/bug269-setjmp.c: Likewise.
4924 * soft-fp/extended.h: Likewise.
4925 * soft-fp/op-1.h: Likewise.
4926 * soft-fp/op-2.h: Likewise.
4927 * soft-fp/op-4.h: Likewise.
4928 * soft-fp/op-8.h: Likewise.
4929 * soft-fp/testit.c: Likewise.
4930 * stdio-common/bug16.c: Likewise.
4931 * stdlib/random.c: Likewise.
4932 * sunrpc/rpcsvc/rquota.x: Likewise.
4933 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4934 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4935 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4936 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4937 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4938 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4939 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4940 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4941 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4942 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4943 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4944 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4945 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4949 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4951 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4952 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4953 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4954 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4955 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4956 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4958 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4959 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4960 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4961 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4962 * sysdeps/ieee754/s_lib_version.c: Likewise.
4963 * sysdeps/mach/hurd/check_fds.c: Likewise.
4964 * sysdeps/mach/hurd/getsockname.c: Likewise.
4965 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4966 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4967 * sysdeps/powerpc/bits/link.h: Likewise.
4968 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4969 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4970 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4971 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4972 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4973 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4974 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4975 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4976 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4977 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4978 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4979 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4980 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4981 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4982 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4983 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4984 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4985 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4986 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4987 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4988 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4989 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4990 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4991 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4992 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4993 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4994 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4995 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4996 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4997 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4998 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4999 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5000 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5002 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5003 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5004 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5005 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5006 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5007 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5008 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5009 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5010 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5011 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5012 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5013 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5014 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5015 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5016 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5017 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5018 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5019 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5020 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5021 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5022 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5023 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5024 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5025 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5026 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5027 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5028 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5029 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5030 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5031 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5032 * sysdeps/powerpc/sysdep.h: Likewise.
5033 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5034 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5035 * sysdeps/sh/dl-trampoline.S: Likewise.
5036 * sysdeps/sh/memset.S: Likewise.
5037 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5038 * sysdeps/sh/strlen.S: Likewise.
5039 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5040 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5041 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5042 * sysdeps/sparc/sparc32/rem.S: Likewise.
5043 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5044 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5045 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5046 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5047 * sysdeps/sparc/sparc32/urem.S: Likewise.
5048 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5049 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5050 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5051 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5052 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5053 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5054 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5055 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5056 * sysdeps/unix/bsd/times.c: Likewise.
5057 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5058 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5062 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5063 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5064 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5065 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5066 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5067 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5068 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5069 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5070 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5072 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5073 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5074 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5075 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5076 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5077 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5078 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5079 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5080 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5081 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5082 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5083 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5084 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5085 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5086 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5087 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5088 * sysdeps/x86_64/strcspn.S: Likewise.
5090 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5092 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5093 generated file. Regenerate properly from gen-translit.pl.
5094 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5095 locale/C-translit.h.
5097 2013-06-05 Andreas Schwab <schwab@suse.de>
5100 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5101 week as 6 instead of -1.
5102 * time/tst-strptime.c (day_tests): Add test case.
5104 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5106 * sysdeps/generic/math_private.h
5107 (libc_feholdexcept_setround_53bit): Replace with
5108 libc_feholdsetround_53bit.
5109 (libc_feupdateenv_53bit): Replace with
5110 libc_feresetround_53bit.
5111 (SET_RESTORE_ROUND_53BIT): Adjust.
5113 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5115 * string/test-strchrnul.c: Add copyright header.
5117 * posix/tst-getaddrinfo4.c: Increase test timeout.
5119 2013-06-03 Carlos O'Donell <carlos@redhat.com>
5122 * math/libm-test.inc (MAX_EXP): Remove
5124 (ulp): Use MIN_EXP - MANT_DIG.
5125 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5127 2013-05-31 Carlos O'Donell <carlos@redhat.com>
5129 * po/be.po: Revert last change.
5130 * po/zh_CN.po: Likewise.
5131 * po/header.pot: Likewise.
5133 2013-05-31 Joseph Myers <joseph@codesourcery.com>
5135 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5136 link-libc-deps to empty as target-specific variable.
5137 * Makerules (link-libc-args): New variable.
5138 (libc-for-link): Likewise.
5139 (link-libc-deps): Likewise.
5140 (lib%.so): Depend on $(link-libc-deps). Link with
5142 (build-module): Link with $(link-libc-args).
5143 (build-module-asneeded): Likewise.
5144 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5146 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5147 target-specific variable.
5148 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5149 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5150 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5152 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5154 ($(objpfx)libpcprofile.so): Likewise.
5155 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5157 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5158 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5159 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5161 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5162 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5163 * login/Makefile ($(objpfx)libutil.so): Likewise.
5164 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5165 * math/Makefile ($(objpfx)libm.so): Likewise.
5166 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5167 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5168 variable instead of depending directly on libc.
5169 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5170 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5172 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5174 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5175 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5176 ($(objpfx)libanl.so): Likewise.
5177 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5179 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5181 * sysdeps/i386/fpu/Makefile: Remove file.
5182 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5183 ($(objpfx)libm.so): Remove dependency on ld.so.
5185 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
5188 * nis/yp_xdr.c (XDRMAXNAME): Define.
5189 (XDRMAXRECORD): Define.
5190 (xdr_domainname): Use XDRMAXNAME.
5191 (xdr_mapname): Likewise.
5192 (xdr_peername): Likewise.
5193 (xdr_keydat): Use XDRMAXRECORD.
5194 (xdr_valdat): Likewise.
5196 2013-05-30 Jeff Law <law@redhat.com>
5199 * manual/errno.texi (ESTALE): Update to account for more than
5200 just NFS file systems.
5201 * sysdeps/gnu/errlist.c: Regenerated.
5203 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5206 * elf/Makefile (tests): Add tst-null-argv.
5207 (modules-names): Add tst-null-argv-lib.
5208 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5209 (tst-null-argv-ENV): Set environment for tst-null-argv.
5210 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5211 (RTLD_PROGNAME): New macro.
5212 * elf/tst-null-argv.c: New test case.
5213 * elf/tst-null-argv-lib.c: Library for test case.
5214 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5215 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5216 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5217 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5218 * elf/dl-init.c (call_init): Likewise.
5219 (_dl_init): Likewise.
5220 * elf/dl-load.c (print_search_path): Likewise.
5221 (_dl_map_object): Likewise.
5222 * elf/dl-lookup.c (do_lookup_x): Likewise.
5223 (add_dependency): Likewise.
5224 (_dl_lookup_symbol_x): Likewise.
5225 (_dl_debug_bindings): Likewise.
5226 * elf/dl-open.c (_dl_show_scope): Likewise.
5227 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5228 * elf/dl-version.c (match_symbol): Likewise.
5229 (_dl_check_map_versions): Likewise.
5230 * elf/rtld.c (dl_main): Likewise.
5231 (print_unresolved): Use RTLD_PROGNAME.
5232 (print_missing_version): Likewise.
5233 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5234 (elf_machine_rela): Likewise.
5235 * sysdeps/powerpc/powerpc32/dl-machine.c
5236 (__process_machine_rela): Likewise.
5237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5239 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5241 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5243 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5244 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5246 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5248 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5250 2013-05-28 Carlos O'Donell <carlos@redhat.com>
5252 * po/be.po: Add descriptive title.
5253 * po/zh_CN.po: Likewise.
5254 * po/header.pot: Likewise.
5256 2013-05-28 Mike Frysinger <vapier@gentoo.org>
5258 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5260 (enlarge_archive): Likewise.
5262 2013-05-28 Ben North <ben@redfrontdoor.org>
5264 * manual/arith.texi (frexp): It is the magnitude of the return
5265 value which lies in [0.5, 1), not the return value itself.
5267 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5271 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5273 * stdio-common/bug26.c (main): Correct fscanf template.
5275 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5276 declare _dl_skip_args.
5278 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5281 * manual/platform.texi: Add missing @end deftypefun.
5283 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5286 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5287 bit of mantissa of 2^16382.
5288 * math/libm-test.inc (hypot_test_data): Add more tests.
5290 * math/libm-test.inc: Add drem and pow10 to list of tested
5292 (pow10_test): New function.
5293 (drem_test): Likewise.
5294 (drem_test_tonearest): Likewise.
5295 (drem_test_towardzero): Likewise.
5296 (drem_test_downward): Likewise.
5297 (drem_test_upward): Likewise.
5298 (main): Call the new functions.
5300 * math/libm-test.inc (finite_test_data): Remove.
5301 (finite_test): Run tests from isfinite_test_data.
5302 (gamma_test_data): Remove.
5303 (gamma_test): Run tests from lgamma_test_data.
5304 * sysdeps/i386/fpu/libm-test-ulps: Update.
5305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5307 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5309 * manual/platform.texi: Add PowerPC PPR function set documentation.
5310 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5313 2013-05-24 Carlos O'Donell <carlos@redhat.com>
5315 * math/libm-test.inc (MAX_EXP): Define.
5317 (ulp): New function.
5318 (check_float_internal): Use ULPDIFF.
5319 (cpow_test): Disable failing test.
5320 (check_ulp): Test ulp() implemetnation.
5321 (main): Call check_ulp before starting tests.
5323 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5325 * math/gen-libm-test.pl (generate_testfile): Do not handle
5326 START_DATA and END_DATA.
5327 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5329 (acos_tonearest_test_data): Likewise.
5330 (acos_towardzero_test_data): Likewise.
5331 (acos_downward_test_data): Likewise.
5332 (acos_upward_test_data): Likewise.
5333 (acosh_test_data): Likewise.
5334 (asin_test_data): Likewise.
5335 (asin_tonearest_test_data): Likewise.
5336 (asin_towardzero_test_data): Likewise.
5337 (asin_downward_test_data): Likewise.
5338 (asin_upward_test_data): Likewise.
5339 (asinh_test_data): Likewise.
5340 (atan_test_data): Likewise.
5341 (atanh_test_data): Likewise.
5342 (atan2_test_data): Likewise.
5343 (cabs_test_data): Likewise.
5344 (cacos_test_data): Likewise.
5345 (cacosh_test_data): Likewise.
5346 (carg_test_data): Likewise.
5347 (casin_test_data): Likewise.
5348 (casinh_test_data): Likewise.
5349 (catan_test_data): Likewise.
5350 (catanh_test_data): Likewise.
5351 (cbrt_test_data): Likewise.
5352 (ccos_test_data): Likewise.
5353 (ccosh_test_data): Likewise.
5354 (ceil_test_data): Likewise.
5355 (cexp_test_data): Likewise.
5356 (cimag_test_data): Likewise.
5357 (clog_test_data): Likewise.
5358 (clog10_test_data): Likewise.
5359 (conj_test_data): Likewise.
5360 (copysign_test_data): Likewise.
5361 (cos_test_data): Likewise.
5362 (cos_tonearest_test_data): Likewise.
5363 (cos_towardzero_test_data): Likewise.
5364 (cos_downward_test_data): Likewise.
5365 (cos_upward_test_data): Likewise.
5366 (cosh_test_data): Likewise.
5367 (cosh_tonearest_test_data): Likewise.
5368 (cosh_towardzero_test_data): Likewise.
5369 (cosh_downward_test_data): Likewise.
5370 (cosh_upward_test_data): Likewise.
5371 (cpow_test_data): Likewise.
5372 (cproj_test_data): Likewise.
5373 (creal_test_data): Likewise.
5374 (csin_test_data): Likewise.
5375 (csinh_test_data): Likewise.
5376 (csqrt_test_data): Likewise.
5377 (ctan_test_data): Likewise.
5378 (ctan_tonearest_test_data): Likewise.
5379 (ctan_towardzero_test_data): Likewise.
5380 (ctan_downward_test_data): Likewise.
5381 (ctan_upward_test_data): Likewise.
5382 (ctanh_test_data): Likewise.
5383 (ctanh_tonearest_test_data): Likewise.
5384 (ctanh_towardzero_test_data): Likewise.
5385 (ctanh_downward_test_data): Likewise.
5386 (ctanh_upward_test_data): Likewise.
5387 (erf_test_data): Likewise.
5388 (erfc_test_data): Likewise.
5389 (exp_test_data): Likewise.
5390 (exp_tonearest_test_data): Likewise.
5391 (exp_towardzero_test_data): Likewise.
5392 (exp_downward_test_data): Likewise.
5393 (exp_upward_test_data): Likewise.
5394 (exp10_test_data): Likewise.
5395 (exp2_test_data): Likewise.
5396 (expm1_test_data): Likewise.
5397 (fabs_test_data): Likewise.
5398 (fdim_test_data): Likewise.
5399 (finite_test_data): Likewise.
5400 (floor_test_data): Likewise.
5401 (fma_test_data): Likewise.
5402 (fma_towardzero_test_data): Likewise.
5403 (fma_downward_test_data): Likewise.
5404 (fma_upward_test_data): Likewise.
5405 (fmax_test_data): Likewise.
5406 (fmin_test_data): Likewise.
5407 (fmod_test_data): Likewise.
5408 (fpclassify_test_data): Likewise.
5409 (frexp_test_data): Likewise.
5410 (gamma_test_data): Likewise.
5411 (hypot_test_data): Likewise.
5412 (ilogb_test_data): Likewise.
5413 (isfinite_test_data): Likewise.
5414 (isgreater_test_data): Likewise.
5415 (isgreaterequal_test_data): Likewise.
5416 (isinf_test_data): Likewise.
5417 (isless_test_data): Likewise.
5418 (islessequal_test_data): Likewise.
5419 (islessgreater_test_data): Likewise.
5420 (isnan_test_data): Likewise.
5421 (isnormal_test_data): Likewise.
5422 (issignaling_test_data): Likewise.
5423 (isunordered_test_data): Likewise.
5424 (j0_test_data): Likewise.
5425 (j1_test_data): Likewise.
5426 (jn_test_data): Likewise.
5427 (ldexp_test_data): Likewise.
5428 (lgamma_test_data): Likewise.
5429 (lrint_test_data): Likewise.
5430 (lrint_tonearest_test_data): Likewise.
5431 (lrint_towardzero_test_data): Likewise.
5432 (lrint_downward_test_data): Likewise.
5433 (lrint_upward_test_data): Likewise.
5434 (llrint_test_data): Likewise.
5435 (llrint_tonearest_test_data): Likewise.
5436 (llrint_towardzero_test_data): Likewise.
5437 (llrint_downward_test_data): Likewise.
5438 (llrint_upward_test_data): Likewise.
5439 (log_test_data): Likewise.
5440 (log10_test_data): Likewise.
5441 (log1p_test_data): Likewise.
5442 (log2_test_data): Likewise.
5443 (logb_test_data): Likewise.
5444 (logb_downward_test_data): Likewise.
5445 (lround_test_data): Likewise.
5446 (llround_test_data): Likewise.
5447 (modf_test_data): Likewise.
5448 (nearbyint_test_data): Likewise.
5449 (nextafter_test_data): Likewise.
5450 (nexttoward_test_data): Likewise.
5451 (pow_test_data): Likewise.
5452 (pow_tonearest_test_data): Likewise.
5453 (pow_towardzero_test_data): Likewise.
5454 (pow_downward_test_data): Likewise.
5455 (pow_upward_test_data): Likewise.
5456 (remainder_test_data): Likewise.
5457 (remainder_tonearest_test_data): Likewise.
5458 (remainder_towardzero_test_data): Likewise.
5459 (remainder_downward_test_data): Likewise.
5460 (remainder_upward_test_data): Likewise.
5461 (remquo_test_data): Likewise.
5462 (rint_test_data): Likewise.
5463 (rint_tonearest_test_data): Likewise.
5464 (rint_towardzero_test_data): Likewise.
5465 (rint_downward_test_data): Likewise.
5466 (rint_upward_test_data): Likewise.
5467 (round_test_data): Likewise.
5468 (scalb_test_data): Likewise.
5469 (scalbn_test_data): Likewise.
5470 (scalbln_test_data): Likewise.
5471 (signbit_test_data): Likewise.
5472 (sin_test_data): Likewise.
5473 (sin_tonearest_test_data): Likewise.
5474 (sin_towardzero_test_data): Likewise.
5475 (sin_downward_test_data): Likewise.
5476 (sin_upward_test_data): Likewise.
5477 (sincos_test_data): Likewise.
5478 (sinh_test_data): Likewise.
5479 (sinh_tonearest_test_data): Likewise.
5480 (sinh_towardzero_test_data): Likewise.
5481 (sinh_downward_test_data): Likewise.
5482 (sinh_upward_test_data): Likewise.
5483 (sqrt_test_data): Likewise.
5484 (tan_test_data): Likewise.
5485 (tan_tonearest_test_data): Likewise.
5486 (tan_towardzero_test_data): Likewise.
5487 (tan_downward_test_data): Likewise.
5488 (tan_upward_test_data): Likewise.
5489 (tanh_test_data): Likewise.
5490 (tgamma_test_data): Likewise.
5491 (trunc_test_data): Likewise.
5492 (y0_test_data): Likewise.
5493 (y1_test_data): Likewise.
5494 (yn_test_data): Likewise.
5495 (significand_test_data): Likewise.
5497 * math/gen-libm-test.pl (@functions): Remove variable.
5498 (generate_testfile): Don't handle START and END lines.
5499 * math/libm-test.inc (START): New macro.
5501 (END_COMPLEX): Likewise.
5502 (acos_test): Use END macro without arguments.
5503 (acos_test_tonearest): Likewise.
5504 (acos_test_towardzero): Likewise.
5505 (acos_test_downward): Likewise.
5506 (acos_test_upward): Likewise.
5507 (acosh_test): Likewise.
5508 (asin_test): Likewise.
5509 (asin_test_tonearest): Likewise.
5510 (asin_test_towardzero): Likewise.
5511 (asin_test_downward): Likewise.
5512 (asin_test_upward): Likewise.
5513 (asinh_test): Likewise.
5514 (atan_test): Likewise.
5515 (atanh_test): Likewise.
5516 (atan2_test): Likewise.
5517 (cabs_test): Likewise.
5518 (cacos_test): Use END_COMPLEX macro without arguments.
5519 (cacosh_test): Likewise.
5520 (carg_test): Use END macro without arguments.
5521 (casin_test): Use END_COMPLEX macro without arguments.
5522 (casinh_test): Likewise.
5523 (catan_test): Likewise.
5524 (catanh_test): Likewise.
5525 (cbrt_test): Use END macro without arguments.
5526 (ccos_test): Use END_COMPLEX macro without arguments.
5527 (ccosh_test): Likewise.
5528 (ceil_test): Use END macro without arguments.
5529 (cexp_test): Use END_COMPLEX macro without arguments.
5530 (cimag_test): Use END macro without arguments.
5531 (clog_test): Use END_COMPLEX macro without arguments.
5532 (clog10_test): Likewise.
5533 (conj_test): Likewise.
5534 (copysign_test): Use END macro without arguments.
5535 (cos_test): Likewise.
5536 (cos_test_tonearest): Likewise.
5537 (cos_test_towardzero): Likewise.
5538 (cos_test_downward): Likewise.
5539 (cos_test_upward): Likewise.
5540 (cosh_test): Likewise.
5541 (cosh_test_tonearest): Likewise.
5542 (cosh_test_towardzero): Likewise.
5543 (cosh_test_downward): Likewise.
5544 (cosh_test_upward): Likewise.
5545 (cpow_test): Use END_COMPLEX macro without arguments.
5546 (cproj_test): Likewise.
5547 (creal_test): Use END macro without arguments.
5548 (csin_test): Use END_COMPLEX macro without arguments.
5549 (csinh_test): Likewise.
5550 (csqrt_test): Likewise.
5551 (ctan_test): Likewise.
5552 (ctan_test_tonearest): Likewise.
5553 (ctan_test_towardzero): Likewise.
5554 (ctan_test_downward): Likewise.
5555 (ctan_test_upward): Likewise.
5556 (ctanh_test): Likewise.
5557 (ctanh_test_tonearest): Likewise.
5558 (ctanh_test_towardzero): Likewise.
5559 (ctanh_test_downward): Likewise.
5560 (ctanh_test_upward): Likewise.
5561 (erf_test): Use END macro without arguments.
5562 (erfc_test): Likewise.
5563 (exp_test): Likewise.
5564 (exp_test_tonearest): Likewise.
5565 (exp_test_towardzero): Likewise.
5566 (exp_test_downward): Likewise.
5567 (exp_test_upward): Likewise.
5568 (exp10_test): Likewise.
5569 (exp2_test): Likewise.
5570 (expm1_test): Likewise.
5571 (fabs_test): Likewise.
5572 (fdim_test): Likewise.
5573 (finite_test): Likewise.
5574 (floor_test): Likewise.
5575 (fma_test): Likewise.
5576 (fma_test_towardzero): Likewise.
5577 (fma_test_downward): Likewise.
5578 (fma_test_upward): Likewise.
5579 (fmax_test): Likewise.
5580 (fmin_test): Likewise.
5581 (fmod_test): Likewise.
5582 (fpclassify_test): Likewise.
5583 (frexp_test): Likewise.
5584 (gamma_test): Likewise.
5585 (hypot_test): Likewise.
5586 (ilogb_test): Likewise.
5587 (isfinite_test): Likewise.
5588 (isgreater_test): Likewise.
5589 (isgreaterequal_test): Likewise.
5590 (isinf_test): Likewise.
5591 (isless_test): Likewise.
5592 (islessequal_test): Likewise.
5593 (islessgreater_test): Likewise.
5594 (isnan_test): Likewise.
5595 (isnormal_test): Likewise.
5596 (issignaling_test): Likewise.
5597 (isunordered_test): Likewise.
5598 (j0_test): Likewise.
5599 (j1_test): Likewise.
5600 (jn_test): Likewise.
5601 (ldexp_test): Likewise.
5602 (lgamma_test): Likewise.
5603 (lrint_test): Likewise.
5604 (lrint_test_tonearest): Likewise.
5605 (lrint_test_towardzero): Likewise.
5606 (lrint_test_downward): Likewise.
5607 (lrint_test_upward): Likewise.
5608 (llrint_test): Likewise.
5609 (llrint_test_tonearest): Likewise.
5610 (llrint_test_towardzero): Likewise.
5611 (llrint_test_downward): Likewise.
5612 (llrint_test_upward): Likewise.
5613 (log_test): Likewise.
5614 (log10_test): Likewise.
5615 (log1p_test): Likewise.
5616 (log2_test): Likewise.
5617 (logb_test): Likewise.
5618 (logb_test_downward): Likewise.
5619 (lround_test): Likewise.
5620 (llround_test): Likewise.
5621 (modf_test): Likewise.
5622 (nearbyint_test): Likewise.
5623 (nextafter_test): Likewise.
5624 (nexttoward_test): Likewise.
5625 (pow_test): Likewise.
5626 (pow_test_tonearest): Likewise.
5627 (pow_test_towardzero): Likewise.
5628 (pow_test_downward): Likewise.
5629 (pow_test_upward): Likewise.
5630 (remainder_test): Likewise.
5631 (remainder_test_tonearest): Likewise.
5632 (remainder_test_towardzero): Likewise.
5633 (remainder_test_downward): Likewise.
5634 (remainder_test_upward): Likewise.
5635 (remquo_test): Likewise.
5636 (rint_test): Likewise.
5637 (rint_test_tonearest): Likewise.
5638 (rint_test_towardzero): Likewise.
5639 (rint_test_downward): Likewise.
5640 (rint_test_upward): Likewise.
5641 (round_test): Likewise.
5642 (scalb_test): Likewise.
5643 (scalbn_test): Likewise.
5644 (scalbln_test): Likewise.
5645 (signbit_test): Likewise.
5646 (sin_test): Likewise.
5647 (sin_test_tonearest): Likewise.
5648 (sin_test_towardzero): Likewise.
5649 (sin_test_downward): Likewise.
5650 (sin_test_upward): Likewise.
5651 (sincos_test): Likewise.
5652 (sinh_test): Likewise.
5653 (sinh_test_tonearest): Likewise.
5654 (sinh_test_towardzero): Likewise.
5655 (sinh_test_downward): Likewise.
5656 (sinh_test_upward): Likewise.
5657 (sqrt_test): Likewise.
5658 (tan_test): Likewise.
5659 (tan_test_tonearest): Likewise.
5660 (tan_test_towardzero): Likewise.
5661 (tan_test_downward): Likewise.
5662 (tan_test_upward): Likewise.
5663 (tanh_test): Likewise.
5664 (tgamma_test): Likewise.
5665 (trunc_test): Likewise.
5666 (y0_test): Likewise.
5667 (y1_test): Likewise.
5668 (yn_test): Likewise.
5669 (significand_test): Likewise.
5671 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
5674 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5676 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5679 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5680 __ppc_mdoio and __ppc_mdoom.
5681 * manual/platform.texi: Document new functions __ppc_yield,
5682 __ppc_mdoio and __ppc_mdoom.
5684 2013-05-22 Carlos O'Donell <carlos@redhat.com>
5686 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5687 (main): Mention "tls" pseudo-hwcap is legacy.
5688 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5690 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5692 * math/gen-libm-test.pl (parse_args): Output only string of
5693 arguments as text for test name, not full call or descriptions of
5694 tests for extra outputs.
5695 (generate_testfile): Do not pass function name to parse_args.
5696 Generate this_func variable from START.
5697 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5699 (struct test_ff_f_data): Likewise.
5700 (test_ff_f_data_nexttoward): Likewise.
5701 (struct test_fi_f_data): Likewise.
5702 (struct test_fl_f_data): Likewise.
5703 (struct test_if_f_data): Likewise.
5704 (struct test_fff_f_data): Likewise.
5705 (struct test_c_f_data): Likewise.
5706 (struct test_f_f1_data): Likewise. Remove field extra_name.
5707 (struct test_fF_f1_data): Likewise.
5708 (struct test_ffI_f1_data): Likewise.
5709 (struct test_c_c_data): Rename test_name field to arg_str.
5710 (struct test_cc_c_data): Likewise.
5711 (struct test_f_i_data): Likewise.
5712 (struct test_ff_i_data): Likewise.
5713 (struct test_f_l_data): Likewise.
5714 (struct test_f_L_data): Likewise.
5715 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5717 (COMMON_TEST_SETUP): New macro.
5718 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5719 (COMMON_TEST_CLEANUP): Likewise.
5720 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5721 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5723 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5724 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5726 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5727 (RUN_TEST_fff_f): Take argument string. Call new setup and
5729 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5730 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5732 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5733 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5735 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5736 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5738 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5739 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5741 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5742 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5744 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5745 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5747 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5748 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5750 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5751 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5753 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5754 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5756 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5757 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5759 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5760 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5762 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5763 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5765 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5766 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5768 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5769 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5771 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5772 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5774 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5776 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5778 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5779 to _sifields.sigfault.
5780 (si_addr_lsb): Define new macro.
5781 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5782 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5783 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5785 2013-05-03 Carlos O'Donell <carlos at redhat.com>
5788 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5790 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5792 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5795 2013-05-22 Joseph Myers <joseph@codesourcery.com>
5797 * math/gen-libm-test.pl (parse_args): Do not include expected
5798 result in test name.
5799 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5801 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5802 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5803 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5806 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5808 * benchtests/Makefile: Sort function entries.
5810 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5811 tanh, asinh, acosh, atanh.
5812 * benchtests/acos-inputs: New file.
5813 * benchtests/acosh-inputs: New file.
5814 * benchtests/asin-inputs: New file.
5815 * benchtests/asinh-inputs: New file.
5816 * benchtests/atanh-inputs: New file.
5817 * benchtests/cosh-inputs: New file.
5818 * benchtests/log-inputs: New file.
5819 * benchtests/sinh-inputs: New file.
5820 * benchtests/tanh-inputs: New file.
5822 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5825 * posix/tst-getaddrinfo4.c: New test.
5826 * posix/Makefile (tests): Add it.
5828 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5831 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5832 when no services were used.
5833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5834 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5836 2013-05-21 Andreas Schwab <schwab@suse.de>
5839 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5840 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5842 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5843 redundant variable declarations and reallocation of buffer when
5844 parsing as IPv6 address. Always set NSS status when called from
5845 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5846 buffer too small. Correct computation of needed size.
5847 * nss/Makefile (tests): Add test-digits-dots.
5848 * nss/test-digits-dots.c: New test.
5850 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5852 * benchtests/Makefile: Remove instructions for adding
5854 * benchtests/README: New file to explain how to execute and
5855 enhance the benchmark tests.
5857 2013-05-21 Andreas Schwab <schwab@suse.de>
5860 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5861 * setjmp/tst-sigsetjmp.c: New test.
5863 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5865 * sysdeps/x86_64/memset.S (memset): New implementation.
5866 (__bzero): Likewise.
5867 (__memset_tail): New function.
5869 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
5871 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5872 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5873 __memcpy_sse2_unaligned ifunc selection.
5874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5875 Add memcpy-sse2-unaligned.S.
5876 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5877 Add: __memcpy_sse2_unaligned.
5879 2013-05-19 Joseph Myers <joseph@codesourcery.com>
5882 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5883 math_force_eval before restoring floating-point envrionment.
5884 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5885 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5887 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5889 (__nearbyintl): Use math_force_eval before restoring
5890 floating-point environment.
5891 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5893 * math/gen-libm-test.pl (special_functions): Remove.
5894 (parse_args): Don't handle TEST_extra. Handle functions with no
5896 * math/libm-test.inc (struct test_sincos_data): Replace with
5897 struct test_fFF_11_data.
5898 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5899 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5900 (sincos_test_data): Change element type to struct
5901 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5902 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5903 RUN_TEST_LOOP_sincos.
5904 * math/README.libm-test: Don't mention special handling of
5905 individual functions.
5906 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5907 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5908 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5909 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5910 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5913 * math/gen-libm-test.pl (get_variable): Remove function.
5914 (parse_args): Don't show pointer parameters to call in test
5915 names. Use "extra output N" in test names for extra outputs
5916 rather than naming variables.
5918 2013-05-18 Joseph Myers <joseph@codesourcery.com>
5921 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5922 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5923 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5925 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5927 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5930 * math/gen-libm-test.pl (@tests): Remove variable.
5932 (new_test): Remove function.
5933 (show_exceptions): New function.
5934 (special_functions): Use show_exceptions instead of new_test.
5935 (parse_args): Likewise.
5936 (generate_testfile): Pass only function name in generated call to
5937 print_max_error or print_complex_max_error.
5938 (get_ulps): Do not handle complex tests specially.
5939 (output_test): Rename to ...
5940 (get_all_ulps_for_test): ... this. Return a string rather than
5941 printing to a file. Require ulps to be present.
5942 (output_ulps): Generate arrays rather than #defines.
5943 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5944 (struct ulp_data): New type.
5945 (BUILD_COMPLEX_ULP): Remove macro.
5946 (compare_ulp_data): New function.
5947 (find_ulps): Likewise.
5948 (find_test_ulps): Likewise.
5949 (find_function_ulps): Likewise.
5950 (find_complex_function_ulps): Likewise.
5951 (print_max_error): Determine allowed ulps using
5953 (print_complex_max_error): Determine allowed ulps using
5954 find_complex_function_ulps.
5955 (check_float_internal): Determine max ulps using find_test_ulps.
5956 (check_float): Do not take max_ulp parameter. Update call to
5957 check_float_internal.
5958 (check_complex): Likewise.
5959 (check_int): Do not take max_ulp parameter.
5960 (check_long): Likewise.
5961 (check_bool): Likewise.
5962 (check_longlong): Likewise.
5963 (struct test_f_f_data): Remove max_ulp field.
5964 (struct test_ff_f_data): Likewise.
5965 (struct test_ff_f_data_nexttoward): Likewise.
5966 (struct test_fi_f_data): Likewise.
5967 (struct test_fl_f_data): Likewise.
5968 (struct test_if_f_data): Likewise.
5969 (struct test_fff_f_data): Likewise.
5970 (struct test_c_f_data): Likewise.
5971 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5972 (struct test_fF_f1_data): Likewise.
5973 (struct test_ffI_f1_data): Likewise.
5974 (struct test_c_c_data): Remove max_ulp field.
5975 (struct test_cc_c_data): Likewise.
5976 (struct test_f_i_data): Likewise.
5977 (struct test_ff_i_data): Likewise.
5978 (struct test_f_l_data): Likewise.
5979 (struct test_f_L_data): Likewise.
5980 (struct test_sincos_data): Likewise.
5981 (RUN_TEST_f_f): Do not handle ulps.
5982 (RUN_TEST_LOOP_f_f): Likewise.
5983 (RUN_TEST_2_f): Likewise.
5984 (RUN_TEST_LOOP_2_f): Likewise.
5985 (RUN_TEST_fff_f): Likewise.
5986 (RUN_TEST_LOOP_fff_f): Likewise.
5987 (RUN_TEST_c_f): Likewise.
5988 (RUN_TEST_LOOP_c_f): Likewise.
5989 (RUN_TEST_f_f1): Likewise.
5990 (RUN_TEST_LOOP_f_f1): Likewise.
5991 (RUN_TEST_fF_f1): Likewise.
5992 (RUN_TEST_LOOP_fF_f1): Likewise.
5993 (RUN_TEST_fI_f1): Likewise.
5994 (RUN_TEST_LOOP_fI_f1): Likewise.
5995 (RUN_TEST_ffI_f1): Likewise.
5996 (RUN_TEST_LOOP_ffI_f1): Likewise.
5997 (RUN_TEST_c_c): Likewise.
5998 (RUN_TEST_LOOP_c_c): Likewise.
5999 (RUN_TEST_cc_c): Likewise.
6000 (RUN_TEST_LOOP_cc_c): Likewise.
6001 (RUN_TEST_f_i): Likewise.
6002 (RUN_TEST_LOOP_f_i): Likewise.
6003 (RUN_TEST_f_i_tg): Likewise.
6004 (RUN_TEST_LOOP_f_i_tg): Likewise.
6005 (RUN_TEST_ff_i_tg): Likewise.
6006 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6007 (RUN_TEST_f_b): Likewise.
6008 (RUN_TEST_LOOP_f_b): Likewise.
6009 (RUN_TEST_f_b_tg): Likewise.
6010 (RUN_TEST_LOOP_f_b_tg): Likewise.
6011 (RUN_TEST_f_l): Likewise.
6012 (RUN_TEST_LOOP_f_l): Likewise.
6013 (RUN_TEST_f_L): Likewise.
6014 (RUN_TEST_LOOP_f_L): Likewise.
6015 (RUN_TEST_sincos): Likewise.
6016 (RUN_TEST_LOOP_sincos): Likewise.
6018 2013-05-17 Joseph Myers <joseph@codesourcery.com>
6022 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6023 main case of finite arguments, set rounding mode to FE_TONEAREST
6024 and discard exceptions.
6025 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6027 (remainder_tonearest_test_data): New variable.
6028 (remainder_test_tonearest): New function.
6029 (remainder_towardzero_test_data): New variable.
6030 (remainder_test_towardzero): New function.
6031 (remainder_downward_test_data): New variable.
6032 (remainder_test_downward): New function.
6033 (remainder_upward_test_data): New variable.
6034 (remainder_test_upward): New function.
6035 (main): Call the new test functions.
6037 * math/libm-test.inc (struct test_f_f1_data): Remove field
6039 (struct test_fF_f1_data): Likewise.
6040 (struct test_ffI_f1_data): Likewise.
6041 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6042 based on value of EXTRA_EXPECTED.
6043 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6044 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6045 EXTRA_VAR based on value of EXTRA_EXPECTED.
6046 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6047 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6048 EXTRA_VAR based on value of EXTRA_EXPECTED.
6049 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6050 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6051 EXTRA_VAR based on value of EXTRA_EXPECTED.
6052 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6053 * math/gen-libm-test.pl (parse_args): Don't output initializers
6054 for extra output values.
6056 * math/libm-test.inc (check_int): Expect result to be exactly
6057 equal to expected value and do not handle ulps.
6058 (check_long): Likewise.
6059 (check_longlong): Likewise.
6061 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6063 (cimag_test_data): Likewise.
6064 (conj_test_data): Likewise.
6065 (copysign_test_data): Likewise.
6066 (cproj_test_data): Likewise.
6067 (creal_test_data): Likewise.
6068 (fabs_test_data): Likewise.
6069 (fdim_test_data): Likewise.
6070 (finite_test_data): Likewise.
6071 (floor_test_data): Likewise.
6072 (fmax_test_data): Likewise.
6073 (fmin_test_data): Likewise.
6074 (fmod_test_data): Likewise.
6075 (fpclassify_test_data): Likewise.
6076 (frexp_test_data): Likewise.
6077 (ilogb_test_data): Likewise.
6078 (isfinite_test_data): Likewise.
6079 (isgreater_test_data): Likewise.
6080 (isgreaterequal_test_data): Likewise.
6081 (isinf_test_data): Likewise.
6082 (isless_test_data): Likewise.
6083 (islessequal_test_data): Likewise.
6084 (islessgreater_test_data): Likewise.
6085 (isnan_test_data): Likewise.
6086 (isnormal_test_data): Likewise.
6087 (issignaling_test_data): Likewise.
6088 (isunordered_test_data): Likewise.
6089 (ldexp_test_data): Likewise.
6090 (lrint_test_data): Likewise.
6091 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6092 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6093 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6094 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6095 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6096 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6098 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6099 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6100 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6101 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6103 (lrint_downward_test_data): Test for "inexact" exceptions.
6104 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6105 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6106 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6108 (lrint_upward_test_data): Test for "inexact" exceptions.
6109 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6111 (llrint_test_data): Test for "inexact" exceptions.
6112 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6113 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6114 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6115 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6116 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6117 (llrint_downward_test_data): Test for "inexact" exceptions.
6118 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6119 (llrint_upward_test_data): Test for "inexact" exceptions.
6120 (logb_test_data): Likewise.
6121 (logb_downward_test_data): Likewise.
6122 (nextafter_test_data): Likewise.
6123 (nexttoward_test_data): Likewise.
6124 (remainder_test_data): Likewise.
6125 (remquo_test_data): Likewise.
6126 (scalbn_test_data): Likewise.
6127 (scalbln_test_data): Likewise.
6128 (signbit_test_data): Likewise.
6129 (sqrt_test_data): Likewise.
6130 (significand_test_data): Likewise.
6132 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6135 * benchtests/bench-modf.c (struct args): Mark arg0 as
6137 * scripts/bench.pl: Mark members of struct args as volatile.
6139 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6142 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6143 negative infinity on POWER6 or lower.
6144 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6146 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6149 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6150 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6151 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6152 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6153 (_FP_SETQNAN): New macro.
6154 (_FP_SETQNAN_SEMIRAW): Likewise.
6155 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6156 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6157 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6158 (FP_EXTEND): Use _FP_FRAC_SNANP.
6159 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6160 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6162 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6164 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6167 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6169 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6170 with DIVIDE_BY_ZERO_EXCEPTION.
6171 (gamma_test_data): Likewise.
6172 (lgamma_test_data): Likewise.
6173 (log_test_data): Likewise.
6174 (log10_test_data): Likewise.
6175 (log2_test_data): Likewise.
6176 (tgamma_test_data): Likewise.
6178 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6179 (acos_test_tonearest): Likewise.
6180 (acos_test_towardzero): Likewise.
6181 (acos_test_downward): Likewise.
6182 (acos_test_upward): Likewise.
6183 (acosh_test): Likewise.
6184 (asin_test): Likewise.
6185 (asin_test_tonearest): Likewise.
6186 (asin_test_towardzero): Likewise.
6187 (asin_test_downward): Likewise.
6188 (asin_test_upward): Likewise.
6189 (asinh_test): Likewise.
6190 (atan_test): Likewise.
6191 (atanh_test): Likewise.
6192 (atan2_test): Likewise.
6193 (cabs_test): Likewise.
6194 (cacos_test): Likewise.
6195 (cacosh_test): Likewise.
6196 (casin_test): Likewise.
6197 (casinh_test): Likewise.
6198 (catan_test): Likewise.
6199 (catanh_test): Likewise.
6200 (cbrt_test): Likewise.
6201 (ccos_test): Likewise.
6202 (ccosh_test): Likewise.
6203 (cexp_test): Likewise.
6204 (clog_test): Likewise.
6205 (clog10_test): Likewise.
6206 (cos_test): Likewise.
6207 (cos_test_tonearest): Likewise.
6208 (cos_test_towardzero): Likewise.
6209 (cos_test_downward): Likewise.
6210 (cos_test_upward): Likewise.
6211 (cosh_test): Likewise.
6212 (cosh_test_tonearest): Likewise.
6213 (cosh_test_towardzero): Likewise.
6214 (cosh_test_downward): Likewise.
6215 (cosh_test_upward): Likewise.
6216 (cpow_test): Likewise.
6217 (csin_test): Likewise.
6218 (csinh_test): Likewise.
6219 (csqrt_test): Likewise.
6220 (ctan_test): Likewise.
6221 (ctan_test_tonearest): Likewise.
6222 (ctan_test_towardzero): Likewise.
6223 (ctan_test_downward): Likewise.
6224 (ctan_test_upward): Likewise.
6225 (ctanh_test): Likewise.
6226 (ctanh_test_tonearest): Likewise.
6227 (ctanh_test_towardzero): Likewise.
6228 (ctanh_test_downward): Likewise.
6229 (ctanh_test_upward): Likewise.
6230 (erf_test): Likewise.
6231 (erfc_test): Likewise.
6232 (exp_test): Likewise.
6233 (exp_test_tonearest): Likewise.
6234 (exp_test_towardzero): Likewise.
6235 (exp_test_downward): Likewise.
6236 (exp_test_upward): Likewise.
6237 (exp10_test): Likewise.
6238 (exp2_test): Likewise.
6239 (expm1_test): Likewise.
6240 (fmod_test): Likewise.
6241 (gamma_test): Likewise.
6242 (hypot_test): Likewise.
6243 (j0_test): Likewise.
6244 (j1_test): Likewise.
6245 (jn_test): Likewise.
6246 (lgamma_test): Likewise.
6247 (log_test): Likewise.
6248 (log10_test): Likewise.
6249 (log1p_test): Likewise.
6250 (log2_test): Likewise.
6251 (logb_test_downward): Likewise.
6252 (pow_test): Likewise.
6253 (pow_test_tonearest): Likewise.
6254 (pow_test_towardzero): Likewise.
6255 (pow_test_downward): Likewise.
6256 (pow_test_upward): Likewise.
6257 (remainder_test): Likewise.
6258 (remquo_test): Likewise.
6259 (sin_test): Likewise.
6260 (sin_test_tonearest): Likewise.
6261 (sin_test_towardzero): Likewise.
6262 (sin_test_downward): Likewise.
6263 (sin_test_upward): Likewise.
6264 (sincos_test): Likewise.
6265 (sinh_test): Likewise.
6266 (sinh_test_tonearest): Likewise.
6267 (sinh_test_towardzero): Likewise.
6268 (sinh_test_downward): Likewise.
6269 (sinh_test_upward): Likewise.
6270 (sqrt_test): Likewise.
6271 (tan_test): Likewise.
6272 (tan_test_tonearest): Likewise.
6273 (tan_test_towardzero): Likewise.
6274 (tan_test_downward): Likewise.
6275 (tan_test_upward): Likewise.
6276 (tanh_test): Likewise.
6277 (tgamma_test): Likewise.
6278 (y0_test): Likewise.
6279 (y1_test): Likewise.
6280 (yn_test): Likewise.
6282 * math/gen-libm-test.pl (adjust_arg): Remove function.
6283 (special_function): Remove argument $in_func. Only handle
6284 generating output for tables of tests, not inside functions.
6285 (parse_args): Likewise.
6286 (generate_testfile): Remove variable $in_func. Update call to
6288 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6289 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6290 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6291 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6292 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6293 (MAX_VALUE_INIT): Rename macro to max_value.
6294 (MIN_VALUE_INIT): Rename macro to min_value.
6295 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6296 (plus_zero): Remove variable.
6297 (minus_zero): Likewise.
6298 (plus_infty): Likewise.
6299 (minus_infty): Likewise.
6300 (qnan_value): Likewise.
6301 (max_value): Likewise.
6302 (min_value): Likewise.
6303 (min_subnorm_value): Likewise.
6305 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6307 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6308 uint64_t or uint32_t usage.
6309 * crypt/sha256-block.c: Likewise.
6310 * crypt/sha256-crypt.c: Likewise.
6311 * crypt/sha256.c: Likewise.
6312 * crypt/sha512-block.c: Likewise.
6313 * crypt/sha512-crypt.c: Likewise.
6314 * crypt/sha512.c: Likewise.
6315 * debug/backtrace-tst.c: Likewise.
6316 * debug/pcprofiledump.c: Likewise.
6317 * elf/cache.c: Likewise.
6318 * elf/dl-cache.c: Likewise.
6319 * elf/dl-misc.c: Likewise.
6320 * elf/dl-profile.c: Likewise.
6321 * elf/dl-support.c: Likewise.
6322 * elf/ldconfig.c: Likewise.
6323 * elf/sprof.c: Likewise.
6324 * iconv/dummy-repertoire.c: Likewise.
6325 * iconv/iconv_charmap.c: Likewise.
6326 * iconv/skeleton.c: Likewise.
6327 * iconvdata/8bit-generic.c: Likewise.
6328 * iconvdata/cp737.h: Likewise.
6329 * iconvdata/cp775.h: Likewise.
6330 * iconvdata/ibm1008.h: Likewise.
6331 * iconvdata/ibm1025.h: Likewise.
6332 * iconvdata/ibm1046.h: Likewise.
6333 * iconvdata/ibm1097.h: Likewise.
6334 * iconvdata/ibm1112.h: Likewise.
6335 * iconvdata/ibm1122.h: Likewise.
6336 * iconvdata/ibm1123.h: Likewise.
6337 * iconvdata/ibm1124.h: Likewise.
6338 * iconvdata/ibm1129.h: Likewise.
6339 * iconvdata/ibm1130.h: Likewise.
6340 * iconvdata/ibm1132.h: Likewise.
6341 * iconvdata/ibm1133.h: Likewise.
6342 * iconvdata/ibm1137.h: Likewise.
6343 * iconvdata/ibm1140.h: Likewise.
6344 * iconvdata/ibm1141.h: Likewise.
6345 * iconvdata/ibm1142.h: Likewise.
6346 * iconvdata/ibm1143.h: Likewise.
6347 * iconvdata/ibm1144.h: Likewise.
6348 * iconvdata/ibm1145.h: Likewise.
6349 * iconvdata/ibm1146.h: Likewise.
6350 * iconvdata/ibm1147.h: Likewise.
6351 * iconvdata/ibm1148.h: Likewise.
6352 * iconvdata/ibm1149.h: Likewise.
6353 * iconvdata/ibm1153.h: Likewise.
6354 * iconvdata/ibm1154.h: Likewise.
6355 * iconvdata/ibm1155.h: Likewise.
6356 * iconvdata/ibm1156.h: Likewise.
6357 * iconvdata/ibm1157.h: Likewise.
6358 * iconvdata/ibm1158.h: Likewise.
6359 * iconvdata/ibm1160.h: Likewise.
6360 * iconvdata/ibm1161.h: Likewise.
6361 * iconvdata/ibm1162.h: Likewise.
6362 * iconvdata/ibm1163.h: Likewise.
6363 * iconvdata/ibm1164.h: Likewise.
6364 * iconvdata/ibm1166.h: Likewise.
6365 * iconvdata/ibm1167.h: Likewise.
6366 * iconvdata/ibm12712.h: Likewise.
6367 * iconvdata/ibm1390.h: Likewise.
6368 * iconvdata/ibm1399.h: Likewise.
6369 * iconvdata/ibm16804.h: Likewise.
6370 * iconvdata/ibm4517.h: Likewise.
6371 * iconvdata/ibm4899.h: Likewise.
6372 * iconvdata/ibm4909.h: Likewise.
6373 * iconvdata/ibm4971.h: Likewise.
6374 * iconvdata/ibm5347.h: Likewise.
6375 * iconvdata/ibm803.h: Likewise.
6376 * iconvdata/ibm856.h: Likewise.
6377 * iconvdata/ibm901.h: Likewise.
6378 * iconvdata/ibm902.h: Likewise.
6379 * iconvdata/ibm9030.h: Likewise.
6380 * iconvdata/ibm9066.h: Likewise.
6381 * iconvdata/ibm921.h: Likewise.
6382 * iconvdata/ibm922.h: Likewise.
6383 * iconvdata/ibm9448.h: Likewise.
6384 * iconvdata/isiri-3342.h: Likewise.
6385 * iconvdata/jis0201.h: Likewise.
6386 * include/link.h: Likewise.
6387 * include/netdb.h: Likewise.
6388 * inet/check_native.c: Likewise.
6389 * inet/check_pf.c: Likewise.
6390 * inet/getipv4sourcefilter.c: Likewise.
6391 * inet/getnameinfo.c: Likewise.
6392 * inet/getsourcefilter.c: Likewise.
6393 * inet/htonl.c: Likewise.
6394 * inet/setipv4sourcefilter.c: Likewise.
6395 * inet/setsourcefilter.c: Likewise.
6396 * inet/test-inet6_opt.c: Likewise.
6397 * inet/tst-network.c: Likewise.
6398 * locale/C-collate.c: Likewise.
6399 * locale/C-ctype.c: Likewise.
6400 * locale/C-time.c: Likewise.
6401 * locale/C-translit.h: Likewise.
6402 * locale/loadarchive.c: Likewise.
6403 * locale/programs/3level.h: Likewise.
6404 * locale/programs/charmap.c: Likewise.
6405 * locale/programs/charmap.h: Likewise.
6406 * locale/programs/ld-address.c: Likewise.
6407 * locale/programs/ld-collate.c: Likewise.
6408 * locale/programs/ld-ctype.c: Likewise.
6409 * locale/programs/ld-identification.c: Likewise.
6410 * locale/programs/ld-measurement.c: Likewise.
6411 * locale/programs/ld-messages.c: Likewise.
6412 * locale/programs/ld-monetary.c: Likewise.
6413 * locale/programs/ld-name.c: Likewise.
6414 * locale/programs/ld-numeric.c: Likewise.
6415 * locale/programs/ld-paper.c: Likewise.
6416 * locale/programs/ld-telephone.c: Likewise.
6417 * locale/programs/ld-time.c: Likewise.
6418 * locale/programs/linereader.c: Likewise.
6419 * locale/programs/locale.c: Likewise.
6420 * locale/programs/locarchive.c: Likewise.
6421 * locale/programs/locfile.h: Likewise.
6422 * locale/programs/repertoire.c: Likewise.
6423 * locale/programs/simple-hash.c: Likewise.
6424 * locale/programs/simple-hash.h: Likewise.
6425 * malloc/memusage.c: Likewise.
6426 * malloc/memusagestat.c: Likewise.
6427 * nis/nis_defaults.c: Likewise.
6428 * nis/nis_hash.c: Likewise.
6429 * nis/nis_print.c: Likewise.
6430 * nis/nis_xdr.c: Likewise.
6431 * nscd/connections.c: Likewise.
6432 * nscd/hstcache.c: Likewise.
6433 * nscd/nscd_gethst_r.c: Likewise.
6434 * nscd/nscd_getserv_r.c: Likewise.
6435 * nscd/nscd_helper.c: Likewise.
6436 * nscd/servicescache.c: Likewise.
6437 * nss/makedb.c: Likewise.
6438 * nss/nss_db/db-XXX.c: Likewise.
6439 * nss/nss_db/db-initgroups.c: Likewise.
6440 * nss/nss_db/db-netgrp.c: Likewise.
6441 * nss/nss_files/files-network.c: Likewise.
6442 * nss/nss_files/files-parse.c: Likewise.
6443 * posix/bug-regex5.c: Likewise.
6444 * posix/fnmatch_loop.c: Likewise.
6445 * posix/regcomp.c: Likewise.
6446 * posix/regexec.c: Likewise.
6447 * posix/tst-rfc3484-2.c: Likewise.
6448 * posix/tst-rfc3484-3.c: Likewise.
6449 * posix/tst-rfc3484.c: Likewise.
6450 * resolv/nss_dns/dns-canon.c: Likewise.
6451 * resolv/nss_dns/dns-network.c: Likewise.
6452 * resolv/res_init.c: Likewise.
6453 * resolv/res_mkquery.c: Likewise.
6454 * resolv/tst-aton.c: Likewise.
6455 * stdlib/cxa_atexit.c: Likewise.
6456 * stdlib/cxa_finalize.c: Likewise.
6457 * stdlib/gen-fpioconst.c: Likewise.
6458 * stdlib/strtol_l.c: Likewise.
6459 * string/tst-endian.c: Likewise.
6460 * sunrpc/auth_des.c: Likewise.
6461 * sunrpc/clnt_udp.c: Likewise.
6462 * sunrpc/rtime.c: Likewise.
6463 * sunrpc/svcauth_des.c: Likewise.
6464 * sunrpc/xdr.c: Likewise.
6465 * sunrpc/xdr_intXX_t.c: Likewise.
6466 * sunrpc/xdr_rec.c: Likewise.
6467 * sysdeps/generic/ldconfig.h: Likewise.
6468 * sysdeps/generic/ldsodefs.h: Likewise.
6469 * sysdeps/generic/memusage.h: Likewise.
6470 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6473 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6480 * sysdeps/posix/getaddrinfo.c: Likewise.
6481 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6482 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6483 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6484 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6485 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6486 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6487 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6488 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6489 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6490 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6491 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6492 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6493 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6494 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6495 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6496 * sysdeps/x86_64/dl-tls.h: Likewise.
6497 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6498 * time/alt_digit.c: Likewise.
6499 * time/era.c: Likewise.
6500 * wcsmbs/tst-c16c32-1.c: Likewise.
6502 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6504 * math/libm-test.inc (struct test_sincos_data): New type.
6505 (RUN_TEST_LOOP_sincos): New macro.
6506 (sincos_test_data): New variable.
6507 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6509 2013-05-16 Richard Henderson <rth@redhat.com>
6511 * math/atest-exp2.c (LIMB64): New macro.
6512 (CONSTSZ): New macro.
6513 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6515 (print_mpn_fp): ... to function scope.
6516 (read_mpn_hex): Remove.
6518 (exp2_mpn): Use mp_log2.
6519 (main): Use mp_exp1.
6521 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6523 * math/libm-test.inc: Remove comment about not testing "inexact"
6525 (INEXACT_EXCEPTION): New macro.
6526 (NO_INEXACT_EXCEPTION): Likewise.
6527 (INVALID_EXCEPTION_OK): Update value.
6528 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6529 (OVERFLOW_EXCEPTION_OK): Likewise.
6530 (UNDERFLOW_EXCEPTION_OK): Likewise.
6531 (IGNORE_ZERO_INF_SIGN): Likewise.
6532 (ERRNO_UNCHANGED): Likewise.
6533 (ERRNO_EDOM): Likewise.
6534 (ERRNO_ERANGE): Likewise.
6535 (test_exceptions): Handle testing "inexact" exceptions.
6536 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6537 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6538 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6539 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6541 (rint_towardzero_test_data): Likewise.
6542 (rint_downward_test_data): Likewise.
6543 (rint_upward_test_data): Likewise.
6545 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6546 with OVERFLOW_EXCEPTION.
6547 (exp10_test_data): Likewise.
6548 (exp2_test_data): Likewise.
6549 (expm1_test_data): Likewise.
6550 (lgamma_test_data): Likewise.
6551 (pow_test_data): Likewise.
6552 (tgamma_test_data): Likewise.
6553 (yn_test_data): Remove duplicate test of overflow.
6555 * math/libm-test.inc (struct test_cc_c_data): New type.
6556 (RUN_TEST_LOOP_cc_c): New macro.
6557 (cpow_test_data): New variable.
6558 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6560 * math/libm-test.inc (struct test_f_L_data): New type.
6561 (RUN_TEST_LOOP_f_L): New macro.
6562 (llrint_test_data): New variable.
6563 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6564 (llrint_tonearest_test_data): New variable.
6565 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6566 (llrint_towardzero_test_data): New variable.
6567 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6568 (llrint_downward_test_data): New variable.
6569 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6570 (llrint_upward_test_data): New variable.
6571 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6572 (llround_test_data): New variable.
6573 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6575 2013-05-13 Peter Collingbourne <pcc@google.com>
6577 * math/atest-exp2.c (get_log2): Remove const attribute.
6579 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6581 * math/libm-test.inc (struct test_f_l_data): New type.
6582 (RUN_TEST_LOOP_f_l): New macro.
6583 (lrint_test_data): New variable.
6584 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6585 (lrint_tonearest_test_data): New variable.
6586 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6587 (lrint_towardzero_test_data): New variable.
6588 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6589 (lrint_downward_test_data): New variable.
6590 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6591 (lrint_upward_test_data): New variable.
6592 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6593 (lround_test_data): New variable.
6594 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6596 2013-05-15 Peter Collingbourne <pcc@google.com>
6598 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6599 (EXTRACT_WORDS64) Use where appropriate.
6600 (INSERT_WORDS64) Likewise.
6602 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6603 constraints with x constraints.
6604 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6606 * malloc/obstack.c (_obstack_compat): Add initializer.
6608 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6610 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6611 si_trapno and add si_addr_lsb to _sifields.sigfault.
6612 (si_trapno): Remove macro.
6613 (si_addr_lsb): Define new macro.
6614 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6616 2013-05-15 Joseph Myers <joseph@codesourcery.com>
6618 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6619 instead of TEST_f_l.
6620 (llrint_test_tonearest): Likewise.
6621 (llrint_test_towardzero): Likewise.
6622 (llrint_test_downward): Likewise.
6623 (llrint_test_upward): Likewise.
6624 (llround_test): Likewise.
6626 * math/libm-test.inc (struct test_f_i_data): Add comment.
6627 (RUN_TEST_LOOP_f_b): New macro.
6628 (RUN_TEST_LOOP_f_b_tg): Likewise.
6629 (finite_test_data): New variable.
6630 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6631 (isfinite_test_data): New variable.
6632 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6633 (isinf_test_data): New variable.
6634 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6635 (isnan_test_data): New variable.
6636 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6637 (isnormal_test_data): New variable.
6638 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6639 (issignaling_test_data): New variable.
6640 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6641 (signbit_test_data): New variable.
6642 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6644 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6645 with INVALID_EXCEPTION.
6646 (acosh_test_data): Likewise.
6647 (asin_test_data): Likewise.
6648 (atanh_test_data): Likewise.
6649 (fmod_test_data): Likewise.
6650 (log_test_data): Likewise.
6651 (log10_test_data): Likewise.
6652 (log2_test_data): Likewise.
6653 (pow_test_data): Likewise.
6654 (sqrt_test_data): Likewise.
6655 (y0_test_data): Likewise.
6656 (y1_test_data): Likewise.
6657 (yn_test_data): Likewise.
6659 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6662 * math/libm-test.inc (struct test_ff_i_data): New type.
6663 (RUN_TEST_LOOP_ff_i_tg): New macro.
6664 (isgreater_test_data): New variable.
6665 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6666 (isgreaterequal_test_data): New variable.
6667 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6668 (isless_test_data): New variable.
6669 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6670 (islessequal_test_data): New variable.
6671 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6672 (islessgreater_test_data): New variable.
6673 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6674 (isunordered_test_data): New variable.
6675 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6677 2013-05-14 David S. Miller <davem@davemloft.net>
6679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6681 2013-05-14 Joseph Myers <joseph@codesourcery.com>
6683 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6685 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6687 (struct test_f_i_data): Change type of max_ulp to int.
6689 * math/libm-test.inc (test_ffI_f1_data): New type.
6690 (RUN_TEST_LOOP_ffI_f1): New macro.
6691 (remquo_test_data): New variable.
6692 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6694 * setjmp/tst-setjmp-fp.c: New file.
6695 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6696 (link-libm): New variable.
6697 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6699 * math/libm-test.inc (struct test_f_i_data): New type.
6700 (RUN_TEST_LOOP_f_i): New macro.
6701 (RUN_TEST_LOOP_f_i_tg): Likewise.
6702 (fpclassify_test_data): New variable.
6703 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6704 (ilogb_test_data): New variable.
6705 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6707 * math/libm-test.inc (scalbln_test): Correct function name in END
6710 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6711 (RUN_TEST_LOOP_fI_f1): New macro.
6712 (frexp_test_data): New variable.
6713 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6715 * math/libm-test.inc (struct test_fF_f1_data): New type.
6716 (RUN_TEST_LOOP_fF_f1): New macro.
6717 (modf_test_data): New variable.
6718 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6720 * math/libm-test.inc (struct test_f_f1_data): New type.
6721 (RUN_TEST_LOOP_f_f1): New macro.
6722 (gamma_test_data): New variable.
6723 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6724 (lgamma_test_data): New variable.
6725 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6727 2013-05-13 Carlos O'Donell <carlos@redhat.com>
6729 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6730 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6731 (main): Comment "tls" pseudo-hwcap.
6733 2013-05-13 Joseph Myers <joseph@codesourcery.com>
6735 * math/libm-test.inc (struct test_fl_f_data): New type.
6736 (RUN_TEST_LOOP_fl_f): New variable.
6737 (scalbln_test_data): New variable.
6738 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6740 * math/libm-test.inc (struct test_fi_f_data): New type.
6741 (RUN_TEST_LOOP_fi_f): New macro.
6742 (ldexp_test_data): New variable.
6743 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6744 (scalbn_test_data): New variable.
6745 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6747 * math/libm-test.inc (struct test_c_f_data): New type.
6748 (RUN_TEST_LOOP_c_f): New macro.
6749 (cabs_test_data): New variable.
6750 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6751 (carg_test_data): New variable.
6752 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6753 (cimag_test_data): New variable.
6754 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6755 (creal_test_data): New variable.
6756 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6758 * math/libm-test.inc (struct test_if_f_data): New type.
6759 (RUN_TEST_LOOP_if_f): New macro.
6760 (jn_test_data): New variable.
6761 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6762 (yn_test_data): New variable.
6763 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6765 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6767 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6769 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6770 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6772 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6774 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6775 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6776 (bench-deps): Add bench-timing.h.
6777 * benchtests-bench-skeleton.c: Include bench-timing.h.
6778 (main): Use TIMING_* macros instead of clock_gettime.
6779 * benchtests/bench-timing.h: New file.
6782 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6783 Renamed from _LIB_VERSION.
6784 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6786 2013-05-12 Joseph Myers <joseph@codesourcery.com>
6788 * math/libm-test.inc (struct test_fff_f_data): New type.
6789 (RUN_TEST_LOOP_fff_f): New macro.
6790 (fma_test_data): New variable.
6791 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6792 (fma_towardzero_test_data): New variable.
6793 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6794 (fma_downward_test_data): New variable.
6795 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6796 (fma_upward_test_data): New variable.
6797 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6799 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6800 (struct test_c_c_data): New type.
6801 (RUN_TEST_LOOP_c_c): New macro.
6802 (cacos_test_data): New variable.
6803 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6804 (cacosh_test_data): New variable.
6805 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6806 (casin_test_data): New variable.
6807 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6808 (casinh_test_data): New variable.
6809 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6810 (catan_test_data): New variable.
6811 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6812 (catanh_test_data): New variable.
6813 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6814 (ccos_test_data): New variable.
6815 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6816 (ccosh_test_data): New variable.
6817 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6818 (cexp_test_data): New variable.
6819 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6820 (clog_test_data): New variable.
6821 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6822 (clog10_test_data): New variable.
6823 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6824 (conj_test_data): New variable.
6825 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6826 (cproj_test_data): New variable.
6827 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6828 (csin_test_data): New variable.
6829 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6830 (csinh_test_data): New variable.
6831 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6832 (csqrt_test_data): New variable.
6833 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6834 (ctan_test_data): New variable.
6835 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6836 (ctan_tonearest_test_data): New variable.
6837 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6838 (ctan_towardzero_test_data): New variable.
6839 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6840 (ctan_downward_test_data): New variable.
6841 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6842 (ctan_upward_test_data): New variable.
6843 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6844 (ctanh_test_data): New variable.
6845 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6846 (ctanh_tonearest_test_data): New variable.
6847 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6848 (ctanh_towardzero_test_data): New variable.
6849 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6850 (ctanh_downward_test_data): New variable.
6851 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6852 (ctanh_upward_test_data): New variable.
6853 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6854 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6857 * math/libm-test.inc (struct test_ff_f_data): New type.
6858 (struct test_ff_f_data_nexttoward): Likewise.
6859 (RUN_TEST_LOOP_2_f): New macro.
6860 (RUN_TEST_LOOP_ff_f): Likewise.
6861 (atan2_test_data): New variable.
6862 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6863 (copysign_test_data): New variable.
6864 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6865 (fdim_test_data): New variable.
6866 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6867 (fmax_test_data): New variable.
6868 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6869 (fmin_test_data): New variable.
6870 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6871 (fmod_test_data): New variable.
6872 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6873 (hypot_test_data): New variable.
6874 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6875 (nextafter_test_data): New variable.
6876 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6877 (nexttoward_test_data): New variable.
6878 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6879 (pow_test_data): New variable.
6880 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6881 (pow_tonearest_test_data): New variable.
6882 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6883 (pow_towardzero_test_data): New variable.
6884 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6885 (pow_downward_test_data): New variable.
6886 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6887 (pow_upward_test_data): New variable.
6888 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6889 (remainder_test_data): New variable.
6890 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6891 (scalb_test_data): New variable.
6892 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6893 * sysdeps/i386/fpu/libm-test-ulps: Update.
6895 2013-05-11 Joseph Myers <joseph@codesourcery.com>
6897 * math/libm-test.inc (fma_test): Use max_value instead of local
6899 (nextafter_test): Likewise.
6901 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6902 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6903 (acos_downward_test_data): New variable.
6904 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6905 (acos_upward_test_data): New variable.
6906 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6907 (acosh_test_data): New variable.
6908 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6909 (asin_test_data): New variable.
6910 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6911 (asin_tonearest_test_data): New variable.
6912 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6913 (asin_towardzero_test_data): New variable.
6914 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6915 (asin_downward_test_data): New variable.
6916 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6917 (asin_upward_test_data): New variable.
6918 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6919 (asinh_test_data): New variable.
6920 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6921 (atan_test_data): New variable.
6922 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6923 (atanh_test_data): New variable.
6924 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6925 (cbrt_test_data): New variable.
6926 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6927 (ceil_test_data): New variable.
6928 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6929 (cos_test_data): New variable.
6930 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6931 (cos_tonearest_test_data): New variable.
6932 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6933 (cos_towardzero_test_data): New variable.
6934 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6935 (cos_downward_test_data): New variable.
6936 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6937 (cos_upward_test_data): New variable.
6938 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6939 (cosh_test_data): New variable.
6940 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6941 (cosh_tonearest_test_data): New variable.
6942 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6943 (cosh_towardzero_test_data): New variable.
6944 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6945 (cosh_downward_test_data): New variable.
6946 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6947 (cosh_upward_test_data): New variable.
6948 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6949 (erf_test_data): New variable.
6950 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6951 (erfc_test_data): New variable.
6952 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6953 (exp_test_data): New variable.
6954 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6955 (exp_tonearest_test_data): New variable.
6956 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6957 (exp_towardzero_test_data): New variable.
6958 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6959 (exp_downward_test_data): New variable.
6960 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6961 (exp_upward_test_data): New variable.
6962 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6963 (exp10_test_data): New variable.
6964 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6965 (exp2_test_data): New variable.
6966 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6967 (expm1_test_data): New variable.
6968 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6969 (fabs_test_data): New variable.
6970 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6971 (floor_test_data): New variable.
6972 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6973 (j0_test_data): New variable.
6974 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6975 (j1_test_data): New variable.
6976 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6977 (log_test_data): New variable.
6978 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6979 (log10_test_data): New variable.
6980 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6981 (log1p_test_data): New variable.
6982 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6983 (log2_test_data): New variable.
6984 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6985 (logb_test_data): New variable.
6986 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6987 (logb_downward_test_data): New variable.
6988 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6989 (nearbyint_test_data): New variable.
6990 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6991 (rint_test_data): New variable.
6992 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6993 (rint_tonearest_test_data): New variable.
6994 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6995 (rint_towardzero_test_data): New variable.
6996 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6997 (rint_downward_test_data): New variable.
6998 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6999 (rint_upward_test_data): New variable.
7000 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7001 (round_test_data): New variable.
7002 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7003 (sin_test_data): New variable.
7004 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7005 (sin_tonearest_test_data): New variable.
7006 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7007 (sin_towardzero_test_data): New variable.
7008 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7009 (sin_downward_test_data): New variable.
7010 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7011 (sin_upward_test_data): New variable.
7012 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7013 (sinh_test_data): New variable.
7014 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7015 (sinh_tonearest_test_data): New variable.
7016 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7017 (sinh_towardzero_test_data): New variable.
7018 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7019 (sinh_downward_test_data): New variable.
7020 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7021 (sinh_upward_test_data): New variable.
7022 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7023 (sqrt_test_data): New variable.
7024 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7025 (tan_test_data): New variable.
7026 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7027 (tan_tonearest_test_data): New variable.
7028 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7029 (tan_towardzero_test_data): New variable.
7030 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7031 (tan_downward_test_data): New variable.
7032 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7033 (tan_upward_test_data): New variable.
7034 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7035 (tanh_test_data): New variable.
7036 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7037 (tgamma_test_data): New variable.
7038 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7039 (trunc_test_data): New variable.
7040 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7041 (y0_test_data): New variable.
7042 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7043 (y1_test_data): New variable.
7044 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7045 (significand_test_data): New variable.
7046 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7048 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7051 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7053 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7055 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7057 2013-05-10 Andreas Jaeger <aj@suse.de>
7060 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7061 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7063 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7065 * math/gen-libm-test.pl (adjust_arg): New function.
7066 (special_functions): Handle generating output in both functions
7068 (parse_args): Likewise.
7069 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7070 $in_func argument to parse_args.
7071 * math/libm-test.inc (struct test_f_f_data): New type.
7072 (IF_ROUND_INIT_): New macro.
7073 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7074 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7075 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7076 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7077 (ROUND_RESTORE_): Likewise.
7078 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7079 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7080 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7081 (ROUND_RESTORE_FE_UPWARD): Likewise.
7082 (RUN_TEST_LOOP_f_f): New macro.
7083 (acos_test_data): New variable.
7084 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7085 (acos_tonearest_test_data): New variable.
7086 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7088 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7090 * benchtests/bench-skeleton.c (startup): Fix coding style.
7092 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7095 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7096 negative infinity argument.
7097 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7098 negative infinity argument.
7099 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7100 negative infinity argument.
7101 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7104 2013-05-10 Florian Weimer <fweimer@redhat.com>
7106 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7107 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7108 * iconv/iconv_prog.c (main): Likewise.
7109 * locale/programs/charmap-dir.c (charmap_readdir)
7110 (fopen_uncompressed): Likewise.
7111 * locale/programs/locfile.c (siblings_uncached)
7112 (write_locale_data): Use lstat64 instead of lstat.
7113 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7116 2013-05-10 Andreas Jaeger <aj@suse.de>
7119 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7123 2013-05-09 Carlos O'Donell <carlos@redhat.com>
7125 * elf/dl-close.c (_dl_close_worker): Add comments.
7127 2013-05-09 Joseph Myers <joseph@codesourcery.com>
7130 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7132 (__ieee754_rem_pio2l): Update comments.
7135 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7137 (__ieee754_rem_pio2l): Update comments.
7139 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7140 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7142 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7145 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7146 (M_PI_34_LOG10El): Likewise.
7147 (M_PI2_LOG10El): Likewise.
7148 (M_PI4_LOG10El): Likewise.
7149 (M_PI_LOG10El): Likewise.
7151 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7155 2013-05-08 Joseph Myers <joseph@codesourcery.com>
7157 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7158 (MINUS_ZERO_INIT): Likewise.
7159 (PLUS_INFTY_INIT): Likewise.
7160 (MINUS_INFTY_INIT): Likewise.
7161 (QNAN_VALUE_INIT): Likewise.
7162 (MAX_VALUE_INIT): Likewise.
7163 (MIN_VALUE_INIT): Likewise.
7164 (MIN_SUBNORM_VALUE_INIT): Likewise.
7165 (plus_zero): Initialize with PLUS_ZERO_INIT.
7166 (minus_zero): Initialize with MINUS_ZERO_INIT.
7167 (plus_infty): Initialize with PLUS_INFTY_INIT.
7168 (minus_infty): Initialize with MINUS_INFTY_INIT.
7169 (qnan_value): Initialize with QNAN_VALUE_INIT.
7170 (max_value): Initialize with MAX_VALUE_INIT.
7171 (min_value): Initialize with MIN_VALUE_INIT.
7172 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7174 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7175 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7176 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7177 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7179 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7180 (RUN_TEST_2_f): Likewise.
7181 (RUN_TEST_ff_f): Likewise.
7182 (RUN_TEST_fi_f): Likewise.
7183 (RUN_TEST_fl_f): Likewise.
7184 (RUN_TEST_fff_f): Likewise.
7185 (RUN_TEST_c_f): Likewise.
7186 (RUN_TEST_f_f1): Likewise.
7187 (RUN_TEST_fF_f1): Likewise.
7188 (RUN_TEST_fI_f1): Likewise.
7189 (RUN_TEST_ffI_f1): Likewise.
7190 (RUN_TEST_c_c): Likewise.
7191 (RUN_TEST_cc_c): Likewise.
7192 (RUN_TEST_f_i): Likewise.
7193 (RUN_TEST_f_i_tg): Likewise.
7194 (RUN_TEST_ff_i_tg): Likewise.
7195 (RUN_TEST_f_b): Likewise.
7196 (RUN_TEST_f_b_tg): Likewise.
7197 (RUN_TEST_f_l): Likewise.
7198 (RUN_TEST_f_L): Likewise.
7199 (RUN_TEST_sincos): Likewise.
7200 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7201 whether to show exceptions. Do not include ");\n" in return
7203 (special_functions): Output call to RUN_TEST_sincos instead of
7204 check_float calls. Update calls to new_test.
7205 (parse_args): Output call to single RUN_TEST_* macro instead of
7206 check_* calls and other assignments. Update calls to new_test.
7212 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7213 input to result for tgamma overflow.
7214 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7215 (gamma_coeff): New variable.
7216 (NCOEFF): New macro.
7217 (gamma_positive): New function.
7218 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7219 underflow here. Use gamma_positive instead of exp (lgamma) for
7221 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7222 (gamma_coeff): New variable.
7223 (NCOEFF): New macro.
7224 (gammaf_positive): New function.
7225 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7226 underflow here. Use gamma_positive instead of exp (lgamma) for
7228 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7229 (gamma_coeff): New variable.
7230 (NCOEFF): New macro.
7231 (gammal_positive): New function.
7232 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7233 underflow here. Use gamma_positive instead of exp (lgamma) for
7235 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7236 (gamma_coeff): New variable.
7237 (NCOEFF): New macro.
7238 (gammal_positive): New function.
7239 (__ieee754_gammal_r): Handle positive infinity, overflow and
7240 underflow here. Handle NaN the same as positive infinity. Remove
7241 check x < 0xffffffff for negative integers. Use gamma_positive
7242 instead of exp (lgamma) for other arguments.
7243 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7244 (gamma_coeff): New variable.
7245 (NCOEFF): New macro.
7246 (gammal_positive): New function.
7247 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7248 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7249 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7250 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7251 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7252 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7253 * sysdeps/generic/math_private.h (__gamma_productf): New
7255 (__gamma_product): Likewise.
7256 (__gamma_productl): Likewise.
7257 * math/Makefile (libm-calls): Add gamma_product.
7258 * math/libm-test.inc (tgamma_test): Add more tests.
7259 * sysdeps/i386/fpu/libm-test-ulps: Update.
7260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7262 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
7264 * benchtests/bench-skeleton.c (main): Preheat CPU.
7266 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7268 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7270 2013-05-07 Roland McGrath <roland@hack.frob.com>
7272 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7273 and _dl_skip_args_internal.
7275 2013-05-07 Carlos O'Donell <carlos@redhat.com>
7277 * manual/message.texi (Message Translation): Talk about users.
7278 Message to key mapping impacts design.
7280 2013-05-06 Roland McGrath <roland@hack.frob.com>
7282 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7284 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7286 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7287 * sysdeps/wordsize-64/glob64.c: ... here.
7289 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7290 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7293 * debug/getlogin_r_chk.c: Moved to ...
7294 * login/getlogin_r_chk.c: ... here.
7295 * debug/Makefile (routines): Move getlogin_r_chk to ...
7296 * login/Makefile (routines): ... here.
7297 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7298 * login/Versions (libc: GLIBC_2.4): ... here.
7300 * io/poll.c (__poll): Renamed from poll.
7301 Add libc_hidden_def.
7302 (poll): Define as weak alias.
7304 * debug/ptsname_r_chk.c: Moved to ...
7305 * login/ptsname_r_chk.c: ... here.
7306 * debug/Makefile (routines): Move ptsname_r_chk to ...
7307 * login/Makefile (routines): ... here.
7308 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7309 * login/Versions (libc: GLIBC_2.4): ... here.
7311 * posix/getlogin.c: Moved to ...
7312 * login/getlogin.c: ... here.
7313 * posix/getlogin_r.c: Moved to ...
7314 * login/getlogin_r.c: ... here.
7315 * posix/getlogin_r.c: Moved to ...
7316 * login/getlogin_r.c: ... here.
7317 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7318 * login/Makefile (routines): ... here.
7319 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7320 * login/Versions (libc: GLIBC_2.0): ... here.
7322 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7323 (setrlimit): Define as weak alias.
7325 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7326 Call __ names for open, ftruncate, and close.
7327 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7328 (truncate): Define as weak alias.
7330 2013-05-06 Joseph Myers <joseph@codesourcery.com>
7332 * math/gen-libm-test.pl (parse_args): Initialize x before each
7333 test of frexp, modf and remquo.
7335 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7338 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7342 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7344 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7346 2013-05-06 Roland McGrath <roland@hack.frob.com>
7348 * elf/dl-writev.h: New file.
7349 * elf/dl-misc.c: Include it.
7350 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7351 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7353 2013-05-04 Joseph Myers <joseph@codesourcery.com>
7355 * math/libm-test.inc (noXFails): Remove variable.
7356 (noXPasses): Likewise.
7357 (BUILD_COMPLEX_INT): Remove macro.
7358 (print_screen): Remove xfail argument.
7359 (print_screen_max_error): Likewise.
7360 (update_stats): Likewise.
7361 (print_max_error): Likewise. Update calls to other affected
7363 (print_complex_max_error): Likewise.
7364 (test_single_exception): Update calls to print_screen.
7365 (test_single_errno): Likewise.
7366 (check_float_internal): Remove xfail argument. Update calls to
7367 other affected functions.
7368 (check_float): Likewise.
7369 (check_complex): Likewise.
7370 (check_int): Likewise.
7371 (check_long): Likewise.
7372 (check_bool): Likewise.
7373 (check_longlong): Likewise.
7374 (main): Don't print noXFails and noXPasses.
7375 * math/gen-libm-test.pl (top level): Don't mention expected
7376 failure handling in comment.
7377 (new_test): Don't handle expected failures.
7378 (parse_args): Don't mention expected failure handling in comment.
7379 (generate_testfile): Don't handle expected failures.
7380 (parse_ulps): Likewise.
7381 (print_ulps_file): Likewise.
7382 (get_failure): Remove function.
7383 (output_test): Don't handle expected failures.
7384 * make/README.libm-test: Don't mention expected failure handling.
7386 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7387 (minus_zero): Likewise.
7388 (plus_infty): Likewise.
7389 (minus_infty): Likewise.
7390 (qnan_value): Likewise.
7391 (max_value): Likewise.
7392 (min_value): Likewise.
7393 (min_subnorm_value): Likewise.
7394 (initialize): Do not initialize those variables dynamically.
7396 2013-05-03 Roland McGrath <roland@hack.frob.com>
7398 * io/open.c (__open_2): Moved to ...
7399 * io/open_2.c: ... this new file.
7400 * io/open64.c (__open64_2): Moved to ...
7401 * io/open64_2.c: ... this new file.
7402 * io/openat.c (__openat_2): Moved to ...
7403 * io/openat_2.c: ... this new file.
7404 * io/openat64.c (__openat64_2): Moved to ...
7405 * io/openat64_2.c: ... this new file.
7406 * io/Makefile (routines): Add them.
7407 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7408 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7409 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7410 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7411 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7412 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7413 (__openat64): Add hidden_ver.
7414 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7415 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7417 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7418 Separately conditionalize setting of GLRO(dl_sysinfo) so
7419 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7420 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7422 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7424 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7425 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7427 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7428 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7429 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7430 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7431 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7433 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7435 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7438 * math/libm-test.inc (hypot_test): Do not use
7439 IGNORE_ZERO_INF_SIGN.
7441 2013-05-03 Andreas Jaeger <aj@suse.de>
7443 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7445 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7446 (PF_MAX): Adjust for VSOCK change.
7448 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7450 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7452 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7455 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7456 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7457 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7459 2013-05-02 David S. Miller <davem@davemloft.net>
7461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7463 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7465 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7467 2013-05-01 Roland McGrath <roland@hack.frob.com>
7469 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7471 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7474 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7475 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7476 Use __attribute__ ((__gnu_inline__)).
7477 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7478 Don't use __attribute__ ((__gnu_inline__)).
7480 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7483 * math/s_catan.c (__catan): Handle small real or imaginary part of
7484 input specially to avoid spurious underflow.
7485 * math/s_catanf.c (__catanf): Likewise.
7486 * math/s_catanh.c (__catanh): Likewise.
7487 * math/s_catanhf.c (__catanhf): Likewise.
7488 * math/s_catanhl.c (__catanhl): Likewise.
7489 * math/s_catanl.c (__catanl): Likewise.
7490 * math/libm-test.inc (catan_test): Add more tests.
7491 (catanh_test): Likewise.
7492 * sysdeps/i386/fpu/libm-test-ulps: Update.
7493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7495 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7499 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7502 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7503 accurately for denominator in atan2.
7504 * math/s_catanf.c (__catanf): Likewise.
7505 * math/s_catanh.c (__catanh): Likewise.
7506 * math/s_catanhf.c (__catanhf): Likewise.
7507 * math/s_catanhl.c (__catanhl): Likewise.
7508 * math/s_catanl.c (__catanl): Likewise.
7509 * math/libm-test.inc (catan_test): Add more tests.
7510 (catanh_test): Likewise.
7511 * sysdeps/i386/fpu/libm-test-ulps: Update.
7512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7514 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7516 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7518 * benchtests/Makefile (bench): Remove slow benchmarks.
7519 * benchtests/atan-inputs: Add slow benchmark inputs.
7520 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7521 (BENCH_FUNC): Accept variant offset.
7523 * benchtests/bench-skeleton.c (main): Run benchmark for each
7525 * benchtests/cos-inputs: Add slow benchmark inputs.
7526 * benchtests/exp-inputs: Likewise.
7527 * benchtests/pow-inputs: Likewise.
7528 * benchtests/sin-inputs: Likewise.
7529 * benchtests/slowatan-inputs: Remove.
7530 * benchtests/slowatan.c: Remove.
7531 * benchtests/slowcos-inputs: Remove.
7532 * benchtests/slowcos.c: Remove.
7533 * benchtests/slowexp-inputs: Remove.
7534 * benchtests/slowexp.c: Remove.
7535 * benchtests/slowpow-inputs: Remove.
7536 * benchtests/slowpow.c: Remove.
7537 * benchtests/slowsin-inputs: Remove.
7538 * benchtests/slowsin.c: Remove.
7539 * benchtests/slowtan-inputs: Remove.
7540 * benchtests/slowtan.c: Remove.
7541 * benchtests/tan-inputs: Add slow benchmark inputs.
7542 * scripts/bench.pl: Parse comments and directives.
7544 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7546 ($(objpfx)bench-%.c): Remove *-ITER.
7547 * benchtests/bench-modf.c: Remove definition of ITER.
7548 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7549 (main): Loop for DURATION seconds instead of fixed number of
7551 * scripts/bench.pl: Don't expect iterations in parameters.
7553 2013-04-29 Roland McGrath <roland@hack.frob.com>
7555 * io/fchdir.c (__fchdir): Renamed from fchdir.
7556 (fchdir): Define as weak alias.
7558 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7560 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7561 (ERRNO_EDOM): Likewise.
7562 (ERRNO_ERANGE): Likewise.
7563 (noErrnoTests): New variable.
7564 (init_max_error): Set errno to 0.
7565 (test_single_errno): New function.
7566 (test_errno): Likewise.
7567 (check_float_internal): Call test_errno. Set errno to 0.
7568 (check_complex): Refer to errno tests in comment.
7569 (check_int): Call test_errno. Set errno to 0.
7570 (check_long): Likewise.
7571 (check_bool): Likewise.
7572 (check_longlong): Likewise.
7573 (cos_test): Use ERRNO_* flags for errno tests instead of
7575 (expm1_test): Likewise.
7576 (fmod_test): Likewise.
7577 (ilogb_test): Likewise.
7578 (lgamma_test): Likewise.
7579 (pow_test): Likewise.
7580 (remainder_test): Likewise.
7581 (sin_test): Likewise.
7582 (tan_test): Likewise.
7583 (yn_test): Likewise.
7584 (initialize): Set errno to 0.
7585 (main): Print number of errno tests.
7586 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7588 2013-04-29 Andreas Jaeger <aj@suse.de>
7591 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7595 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7596 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7600 * stdlib/random.c (__initstate): Return NULL if
7604 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7605 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7608 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7612 2013-04-29 Joseph Myers <joseph@codesourcery.com>
7614 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7615 of individual tests.
7616 (casin_test): Likewise.
7617 (casinh_test): Likewise.
7619 2013-04-27 Joseph Myers <joseph@codesourcery.com>
7622 * math/s_catan.c (__catan): Handle arguments with large real or
7623 imaginary part separately without squaring.
7624 * math/s_catanf.c (__catanf): Likewise.
7625 * math/s_catanh.c (__catanh): Likewise.
7626 * math/s_catanhf.c (__catanhf): Likewise.
7627 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7629 (__catanhl): Handle arguments with large real or imaginary part
7630 separately without squaring.
7631 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7633 (__catanl): Handle arguments with large real or imaginary part
7634 separately without squaring.
7635 * math/libm-test.inc (catan_test): Add more tests.
7636 (catanh_test): Likewise.
7637 * sysdeps/i386/fpu/libm-test-ulps: Update.
7638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7640 2013-04-27 Andreas Jaeger <aj@suse.de>
7643 * stdlib/stdlib.h: Update guards for qecvt.
7644 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7647 2013-04-27 Allan McRae <allan@archlinux.org>
7649 * sysdeps/i386/fpu/libm-test-ulps: Update.
7651 2013-04-26 Joseph Myers <joseph@codesourcery.com>
7654 * math/s_catan.c: Include <float.h>.
7655 (__catan): Ensure underflow exception occurs for underflowed
7657 * math/s_catanf.c: Include <float.h>.
7658 (__catanf): Ensure underflow exception occurs for underflowed
7660 * math/s_catanh.c: Include <float.h>.
7661 (__catanh): Ensure underflow exception occurs for underflowed
7663 * math/s_catanhf.c: Include <float.h>.
7664 (__catanhf): Ensure underflow exception occurs for underflowed
7666 * math/s_catanhl.c: Include <float.h>.
7667 (__catanhl): Ensure underflow exception occurs for underflowed
7669 * math/s_catanl.c: Include <float.h>.
7670 (__catanl): Ensure underflow exception occurs for underflowed
7672 * math/libm-test.inc (catan_test): Add more tests.
7673 (catanh_test): Likewise.
7676 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7678 * math/s_ccoshf.c (__ccoshf): Likewise.
7679 * math/s_ccoshl.c (__ccoshl): Likewise.
7680 * math/s_csin.c (__csin): Likewise.
7681 * math/s_csinf.c (__csinf): Likewise.
7682 * math/s_csinh.c (__csinh): Likewise.
7683 * math/s_csinhf.c (__csinhf): Likewise.
7684 * math/s_csinhl.c (__csinhl): Likewise.
7685 * math/s_csinl.c (__csinl): Likewise.
7686 * math/libm-test.inc (ccos_test): Add more tests.
7687 (ccosh_test): Likewise.
7688 (csin_test): Likewise.
7689 (csinh_test): Likewise.
7691 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7693 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7694 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7695 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7696 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7697 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7698 powerpc/power5+/fpu folders.
7699 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7702 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7706 2013-04-25 Joseph Myers <joseph@codesourcery.com>
7708 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7709 additions to variable.
7710 [$(config-machine) = x86_64] (modules-names): Likewise.
7711 ($(objpfx)tst-audit3): Remove dependency.
7712 ($(objpfx)tst-audit3.out): Likewise.
7713 ($(objpfx)tst-audit4): Likewise.
7714 ($(objpfx)tst-audit4.out): Likewise.
7715 ($(objpfx)tst-audit5): Likewise.
7716 ($(objpfx)tst-audit5.out): Likewise.
7717 ($(objpfx)tst-audit6): Likewise.
7718 ($(objpfx)tst-audit6.out): Likewise.
7719 ($(objpfx)tst-audit7): Likewise.
7720 ($(objpfx)tst-audit7.out): Likewise.
7721 (tst-audit3-ENV): Remove variable.
7722 (tst-audit4-ENV): Likewise.
7723 (tst-audit5-ENV): Likewise.
7724 (tst-audit6-ENV): Likewise.
7725 (tst-audit7-ENV): Likewise.
7726 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7727 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7728 addition to variable.
7729 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7730 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7731 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7732 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7733 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7734 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7735 tst-audit3, tst-audit4 and tst-audit5.
7736 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7737 tst-audit6 and tst-audit7.
7738 [$(subdir) = elf] (modules-names): Add audit modules for those
7740 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7741 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7742 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7743 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7744 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7745 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7746 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7747 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7748 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7749 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7750 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7751 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7752 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7753 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7754 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7755 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7757 [$(subdir) = elf && $(config-cflags-avx) = yes]
7758 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7759 [$(subdir) = elf && $(config-cflags-avx) = yes]
7760 (CFLAGS-tst-auditmod4a.c): Likewise.
7761 [$(subdir) = elf && $(config-cflags-avx) = yes]
7762 (CFLAGS-tst-auditmod4b.c): Likewise.
7763 [$(subdir) = elf && $(config-cflags-avx) = yes]
7764 (CFLAGS-tst-auditmod6b.c): Likewise.
7765 [$(subdir) = elf && $(config-cflags-avx) = yes]
7766 (CFLAGS-tst-auditmod6c.c): Likewise.
7767 [$(subdir) = elf && $(config-cflags-avx) = yes]
7768 (CFLAGS-tst-auditmod7b.c): Likewise.
7769 * elf/tst-audit3.c: Move to ...
7770 * sysdeps/x86_64/tst-audit3.c: ... here.
7771 * elf/tst-audit4.c: Move to ...
7772 * sysdeps/x86_64/tst-audit4.c: ... here.
7773 * elf/tst-audit5.c: Move to ...
7774 * sysdeps/x86_64/tst-audit5.c: ... here.
7775 * elf/tst-audit6.c: Move to ...
7776 * sysdeps/x86_64/tst-audit6.c: ... here.
7777 * elf/tst-audit7.c: Move to ...
7778 * sysdeps/x86_64/tst-audit7.c: ... here.
7779 * elf/tst-auditmod3a.c: Move to ...
7780 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7781 * elf/tst-auditmod3b.c: Move to ...
7782 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7783 * elf/tst-auditmod4a.c: Move to ...
7784 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7785 * elf/tst-auditmod4b.c: Move to ...
7786 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7787 * elf/tst-auditmod5a.c: Move to ...
7788 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7789 * elf/tst-auditmod5b.c: Move to ...
7790 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7791 * elf/tst-auditmod6a.c: Move to ...
7792 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7793 * elf/tst-auditmod6b.c: Move to ...
7794 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7795 * elf/tst-auditmod6c.c: Move to ...
7796 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7797 * elf/tst-auditmod7a.c: Move to ...
7798 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7799 * elf/tst-auditmod7b.c: Move to ...
7800 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7802 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7805 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7806 define unconditionally.
7807 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7808 define unconditionally.
7809 (INT8_C, INT16_C, etc.): Likewise.
7811 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7813 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7814 __ehdr_start with hidden visibility.
7816 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7818 2013-04-24 Carlos O'Donell <carlos@redhat.com>
7820 * math/libm-test.inc (cos_test): Use accurate hex constants.
7821 (sincost_test): Likewise.
7823 2013-04-24 Joseph Myers <joseph@codesourcery.com>
7825 * math/libm-test.inc (catan_test): Add more tests.
7826 (catanh_test): Likewise.
7828 * math/s_catanf.c (__catanf): Use suffixed floating-point
7830 * math/s_catanhf.c (__catanhf): Likewise.
7831 * math/s_catanhl.c (__catanhl): Likewise.
7832 * math/s_catanl.c (__catanl): Likewise.
7835 * math/s_catan.c (__catan): Calculate imaginary part of result
7836 with log1p not log unless computing log of number close to 0.
7837 * math/s_catanf.c (__catanf): Likewise.
7838 * math/s_catanl.c (__catanl): Likewise.
7839 * math/s_catanh.c (__catanh): Calculate real part of result with
7840 log1p not log unless computing log of number close to 0.
7841 * math/s_catanhf.c (__catanhf): Likewise.
7842 * math/s_catanhl.c (__catanhl): Likewise.
7843 * math/libm-test.inc (catan_test): Add more tests.
7844 (catanh_test): Likewise.
7845 * sysdeps/i386/fpu/libm-test-ulps: Update.
7846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7848 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7850 * benchtests/Makefile: Mention files in which fast and slow
7851 paths of math functions are implemented.
7853 2013-04-23 Roland McGrath <roland@hack.frob.com>
7855 * sysdeps/posix/timespec_get.c: New file.
7857 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7859 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7861 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7863 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7864 powerpc/power5/fpu folders.
7865 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7866 * benchtests/Makefile: Add modf testcase.
7867 * benchtests/bench-modf.c: New file: Benchmark test for mo
7869 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7872 * time/Makefile (tests): Add tst-strptime-whitespace.
7873 * time/strptime_l.c (get_number): Use ISSPACE.
7874 (__strptime_internal): Likewise.
7875 * time/tst-strptime-whitespace.c: New test case.
7877 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7879 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7881 (_nss_files_init): Set it here.
7883 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7885 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7886 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7889 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7891 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7893 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7898 2013-04-21 David S. Miller <davem@davemloft.net>
7900 * po/ru.po: Update Russion translation from translation project.
7902 2013-04-17 Adam Conrad <adconrad@0c3.net>
7904 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7907 2013-04-17 Carlos O'Donell <carlos@redhat.com>
7909 * configure.in: Remove i386 configure warning. Remove i386 case.
7910 * configure: Regenerate.
7911 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
7912 Add example to error message.
7913 * sysdeps/i386/configure: Regenerate.
7915 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7917 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7919 * benchtests/cos-inputs: New file.
7920 * benchtests/slowcos-inputs: New file.
7921 * benchtests/slowcos.c: New file.
7922 * benchtests/slowtan-inputs: New file.
7923 * benchtests/slowtan.c: New file.
7924 * benchtests/tan-inputs: New file.
7926 2013-04-16 Roland McGrath <roland@hack.frob.com>
7928 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7931 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7933 * benchtests/Makefile: Include cppflags-iterator.mk to add
7934 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7936 * Makefile.in (bench-clean): New target.
7937 * benchtests/Makefile (bench-clean): Likewise.
7939 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7941 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7943 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7945 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7947 2013-04-15 Andreas Schwab <schwab@suse.de>
7949 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7950 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7951 * nscd/pwdcache.c (cache_addpw): Likewise.
7952 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7955 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7957 * benchtests/Makefile (bench): Write all output to
7958 bench-out.tmp together.
7960 2013-04-15 Andreas Schwab <schwab@suse.de>
7962 * nscd/nscd.c (main): Don't fork again after closing files.
7964 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7966 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7968 * benchtests/Rules (bench-deps): Collect dependencies into a
7969 single variable. Add Makefile to dependencies.
7970 ($(objpfx)bench-%.c): Depend on bench-deps.
7972 2013-04-12 Roland McGrath <roland@hack.frob.com>
7973 Xavier Roche <roche+kml2@exalead.com>
7976 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7977 just that it's a file descriptor.
7978 * manual/llio.texi (Synchronizing AIO Operations): Update description
7979 for EBADF error from aio_fsync.
7981 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7983 * Rules (bench): Move target definition...
7984 * benchtests/Makefile: ... here.
7986 2013-04-11 Carlos O'Donell <carlos@redhat.com>
7988 * math/libm-test.inc (cos_test): Fix PI/2 test.
7989 (sincos_test): Likewise.
7990 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7991 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7993 2013-04-11 Andreas Schwab <schwab@suse.de>
7996 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7997 accept exponent character only when digits were seen.
7998 * stdio-common/Makefile (tests): Add bug26.
7999 * stdio-common/bug26.c: New file.
8002 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8005 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8007 * Makeconfig (rtld-prefix): Define built linker prefix.
8008 * Rules (run-bench): Use it.
8009 * math/Makefile (run-regen-ulps): Likewise.
8011 * Rules (bench): Remove eval.
8013 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8014 Roland McGrath <roland@hack.frob.com>
8015 Ondrej Bilka <neleai@seznam.cz>
8018 * time/getdate.c: Include ctype.h and alloca.h.
8019 (__getdate_r): Trim leading and trailing spaces of input.
8020 * time/tst-getdate.c (tests): Add tests with leading and
8023 2013-04-08 Roland McGrath <roland@hack.frob.com>
8026 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8027 when computing value.
8029 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8031 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8032 Use testrun.sh to run libm tests.
8035 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8037 2013-04-06 Marko Myllynen <myllynen@redhat.com>
8040 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8042 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8044 * Makefile.in (regen-ulps): New target.
8045 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8046 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8047 [ifneq (no,$(PERL)] (regen-ulps): New target.
8048 [ifeq (no,$(PERL)] (regen-ulps): New target.
8049 * math/libm-test.inc (ulps_file_name): Define.
8050 (output_dir): New variable.
8051 (options): Add "output-dir" option.
8052 (parse_opt): Handle 'o' case.
8053 (main): If output_dir is non-NULL use it as a prefix
8055 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8057 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8060 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8061 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8062 fail configure if __sync_val_compare_and_swap is not inlined.
8063 * sysdeps/i386/configure: Regenerate.
8064 * configure.in: Build for i686 when configured for i386.
8065 * configure: Regenerate.
8066 * README: Remove i386 reference.
8068 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8070 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8071 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8073 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8075 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8076 (lmsnanval): New variables.
8077 (F): Add conversion tests.
8078 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8079 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8081 * stdio-common/tstdiomisc.c (F): Properly collect individual
8085 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8086 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8087 Instead, use input NaN values or generate a qNaN by arithmetic
8088 operation. Also fix bugs to comply with the standard.
8089 * math/libm-test.inc (remainder_test): Add more tests.
8092 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8094 input NaN values or generate a qNaN by arithmetic operation.
8096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8099 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8102 2013-04-03 Joseph Myers <joseph@codesourcery.com>
8105 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8107 * math/s_cexpf.c (__cexpf): Likewise.
8108 * math/s_cexpl.c (__cexpl): Likewise.
8109 * math/libm-test.inc (cexp_test): Add more tests.
8111 2013-04-03 Andreas Schwab <schwab@suse.de>
8114 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8115 order arrays from heap if bigger than alloca cutoff.
8117 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8119 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8120 (SNAN_TESTS_double): Refer to GCC PR56831.
8121 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8124 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8126 * Rules (bench): Move bench.out after the run is complete.
8128 * Rules (bench): Echo currently running benchmark.
8130 * benchtests/Makefile (bench): Add atan and slowatan.
8131 * benchtests/atan-inputs: New file.
8132 * benchtests/slowatan-inputs: New file.
8133 * benchtests/slowatan.c: New file.
8135 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8136 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8140 * sysdeps/unix/sysv/linux/kernel-features.h
8141 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8142 __ASSUME_XFS_RESTRICTED_CHOWN.
8143 * sysdeps/unix/sysv/linux/pathconf.c
8144 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8145 Save and restore errno.
8147 2013-04-02 Joseph Myers <joseph@codesourcery.com>
8150 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8151 arguments using __kernel_casinh.
8152 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8153 arguments using __kernel_casinhf.
8154 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8155 arguments using __kernel_casinhl.
8156 * math/libm-test.inc (cacosh_test): Add more tests.
8157 * sysdeps/i386/fpu/libm-test-ulps: Update.
8158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8160 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8162 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8163 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8165 * bench/Makefile (bench): Add sin and slowsin.
8166 * benchtests/sin-inputs: New file.
8167 * benchtests/slowsin-inputs: New file.
8168 * benchtests/slowsin.c: New file.
8170 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8171 (bench): Add slowexp and slowpow.
8172 (exp-ITER): Increase iterations.
8173 (pow-ITER): Likewise.
8174 * benchtests/exp-inputs: Change input.
8175 * benchtests/pow-inputs: Likewise.
8176 * benchtests/slowexp-inputs: New file.
8177 * benchtests/slowexp.c: New file.
8178 * benchtests/slowpow-inputs: New file.
8179 * benchtests/slowpow.c: New file.
8181 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8183 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8185 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8186 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8187 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8188 * benchtests/Makefile: Add rint benchtest.
8189 * benchtests/rint-inputs: Input for rint benchtest.
8191 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8193 * Versions.def (libm): Add GLIBC_2.18.
8194 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8195 hidden libm prototypes.
8196 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8197 * math/Makefile (libm-calls): Add s_issignaling.
8198 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8199 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8200 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8202 * math/math.h [__USE_GNU] (issignaling): New macro.
8203 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8204 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8205 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8206 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8209 * manual/arith.texi (issignaling): New section.
8210 * manual/libm-err-tab.pl (@all_functions): Update comment.
8211 * math/gen-libm-test.pl (parse_args): Apply special handling for
8213 * math/libm-test.inc (print_float, issignaling_test): New
8215 (check_float_internal): Add issignaling checks.
8216 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8218 * sysdeps/powerpc/math-tests.h: New file.
8219 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8221 * math/test-snan.c (TEST_FUNC): Likewise.
8223 2013-03-30 David S. Miller <davem@davemloft.net>
8225 * po/de.po: Update from translation team.
8227 2013-03-30 Joseph Myers <joseph@codesourcery.com>
8230 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8231 imaginary part less than 1.0 and real part less than 0.5
8233 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8234 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8235 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8236 (cacos_test): Add more tests.
8237 (casin_test): Likewise.
8238 (casinh_test): Likewise.
8239 * sysdeps/i386/fpu/libm-test-ulps: Update.
8240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8242 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8244 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8247 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8248 (__pow_mp): Replace ONE and MONE with their values.
8249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8250 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8251 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8252 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8253 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8254 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8256 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8258 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8259 (__pow_mp): Replace ZERO and MZERO with their values.
8260 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8261 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8262 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8263 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8264 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8265 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8268 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8270 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8272 2013-03-28 Roland McGrath <roland@hack.frob.com>
8274 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8275 Declare with __attribute__ ((weak)).
8276 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8277 Call __call_tls_dtors only if it's not NULL.
8279 2013-03-28 Roland McGrath <roland@hack.frob.com>
8281 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8282 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8283 magic __ehdr_start linker symbol if it's defined.
8284 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8285 them up here if it was already done.
8287 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8288 (_dl_aux_init): Use const in cast when setting it.
8289 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8290 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8291 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8293 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8295 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8296 * csu/libc-tls.c: Nor here.
8297 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8299 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8300 (__libc_message): Never call vsyslog.
8302 2013-03-28 Alan Modra <amodra@gmail.com>
8304 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8306 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8309 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8312 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8316 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8319 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8320 Don't add gid passed as argument.
8322 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8324 2013-03-27 Joseph Myers <joseph@codesourcery.com>
8327 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8328 imaginary part between 1.0 and 1.5 and real part less than 0.5
8330 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8331 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8332 * math/libm-test.inc (cacos_test): Add more tests.
8333 (casin_test): Likewise.
8334 (casinh_test): Likewise.
8335 * sysdeps/i386/fpu/libm-test-ulps: Update.
8336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8338 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8340 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8344 (__dbl_mp): Likewise.
8345 (add_magnitudes): Likewise.
8346 (sub_magnitudes): Likewise.
8354 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8356 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8357 (__dubcos): Likewise.
8358 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8359 (__ieee754_acos): Likewise.
8360 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8361 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8363 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8366 (my_log2): Likewise.
8367 (checkint): Likewise.
8368 * sysdeps/ieee754/dbl-64/e_remainder.c
8369 (__ieee754_remainder): Likewise.
8370 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8371 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8373 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8375 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8376 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8377 MANTISSA_STORE_T to store computations on mantissa. Use
8378 macros for rounding and division.
8380 (__dbl_mp): Likewise.
8381 (add_magnitudes): Likewise.
8382 (sub_magnitudes): Likewise.
8385 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8386 powers of two in terms of TWOPOW macro.
8387 (mp_no): Make type of mantissa as MANTISSA_T.
8388 [!RADIXI]: Define RADIXI.
8389 [!TWO52]: Define TWO52.
8390 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8392 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8394 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8395 llroundl symbol when building for PPC32.
8397 2013-03-24 Mark H Weaver <mhw@netris.org>
8399 * manual/arith.texi (Normalization Functions): Fix prototypes for
8400 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8402 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8405 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8406 high value to check if expl overflow.
8407 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8408 to check for underflow and overflow.
8409 * math/libm-test.inc: Add exp test.
8411 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8414 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8417 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8419 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8422 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8424 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8425 wrap blocks consisting of several statements.
8427 * sysdeps/generic/math-tests.h: New file.
8428 * sysdeps/i386/fpu/math-tests.h: Likewise.
8429 * math/test-snan.c: Include it.
8430 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8432 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8435 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8436 (__ieee754_j0l): Do not improve calculations using cos of twice
8437 input for inputs above LDBL_MAX / 2.0L.
8438 (__ieee754_y0l): Likewise.
8439 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8440 (__ieee754_j1l): Do not improve calculations using cos of twice
8441 input for inputs above LDBL_MAX / 2.0L.
8442 (__ieee754_y1l): Likewise.
8443 * math/libm-test.inc (j0_test): Add another test.
8444 (j1_test): Likewise.
8445 (y0_test): Likewise.
8446 (y1_test): Likewise.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8449 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8451 * Rules ($(objpfx)bench-%.c): Include code from a C source
8454 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8457 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8458 imaginary part 1.0 and real part less than 0.5 specially.
8459 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8460 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8461 * math/libm-test.inc (cacos_test): Add more tests.
8462 (casin_test): Likewise.
8463 (casinh_test): Likewise.
8464 * sysdeps/i386/fpu/libm-test-ulps: Update.
8465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8467 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8469 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8470 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8472 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8474 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8475 * config.make.in (config-cflags-sse4): Remove variable.
8476 (config-cflags-avx): Likewise.
8477 (config-cflags-sse2avx): Likewise.
8478 (config-cflags-novzeroupper): Likewise.
8479 (config-asflags-i686): Likewise.
8480 (have-mfma4): Likewise.
8481 (have-as-vis3): Likewise.
8483 * configure.in (MIG): Do not AC_SUBST.
8484 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8485 (libc_cv_cc_sse4): Do not AC_SUBST.
8486 (libc_cv_cc_avx): Likewise.
8487 (libc_cv_cc_sse2avx): Likewise.
8488 (libc_cv_cc_novzeroupper): Likewise.
8489 (libc_cv_cc_fma4): Likewise.
8490 (libc_cv_as_i686): Likewise.
8491 (libc_cv_sparc_as_vis3): Likewise.
8492 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8494 (config-asflags-i686): Likewise.
8495 (config-cflags-avx): Likewise.
8496 (config-cflags-sse2avx): Likewise.
8497 (have-mfma4): Likewise.
8498 (config-cflags-novzeroupper): Likewise.
8499 * sysdeps/mach/configure.in (MIG): Likewise.
8500 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8501 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8503 (config-cflags-avx): Likewise.
8504 (config-cflags-sse2avx): Likewise.
8505 (have-mfma4): Likewise.
8506 (config-cflags-novzeroupper): Likewise.
8507 * configure: Regenerated.
8508 * sysdeps/i386/configure: Likewise.
8509 * sysdeps/mach/configure: Likewise.
8510 * sysdeps/sparc/configure: Likewise.
8511 * sysdeps/x86_64/configure: Likewise.
8513 2013-03-20 Roland McGrath <roland@hack.frob.com>
8516 * locale/programs/localedef.c (options): Put N_ translation marker
8517 on argument names, not just descriptions.
8519 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8521 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8523 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8526 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8528 2013-03-19 Roland McGrath <roland@hack.frob.com>
8530 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8531 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8532 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8533 [!BEFORE_ABORT] (before_abort): New function.
8534 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8535 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8536 (writev_for_fatal): New function.
8537 (WRITEV_FOR_FATAL): New macro; call that.
8538 (backtrace_and_maps): New function.
8539 (BEFORE_ABORT): New macro; call that.
8540 (struct str_list): Type removed.
8541 (__libc_message, __libc_fatal): Functions removed.
8542 Include <sysdeps/posix/libc_fatal.c> instead.
8544 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8546 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8548 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8551 2013-03-19 Andreas Schwab <schwab@suse.de>
8553 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8554 * sysdeps/gnu/configure: Regenerate.
8556 * configure.in: Substitute libc_cv_rtlddir.
8557 * configure: Regenerate.
8558 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8559 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8560 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8561 * elf/Makefile (install-others, CFLAGS-interp.c)
8562 (ldso_install, common-ldd-rewrite): Likewise.
8563 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8564 $(inst_slibdir)/$(rtld-installed-name).
8565 * scripts/rellns-sh: Add -p option.
8566 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8569 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8571 * manual/nptl.texi: Renamed to ...
8572 * manual/threads.texi: ... this.
8573 * manual/Makefile (chapters): Update.
8575 2013-03-18 Roland McGrath <roland@hack.frob.com>
8578 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8579 on argument names, not just descriptions.
8580 * malloc/memusagestat.c (options): Likewise.
8581 * nss/getent.c (options): Likewise.
8583 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
8586 * iconv/iconv_prog.c (options): Put N_ translation marker
8587 on argument names, not just descriptions.
8588 * iconv/iconvconfig.c (options): Likewise.
8590 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
8592 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8593 implementation which is faster on all x86_64 architectures.
8594 Tested on AMD, Intel Nehalem, SNB, IVB.
8595 * sysdeps/x86_64/strnlen.S: Likewise.
8597 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8598 Remove all multiarch strlen and strnlen versions.
8599 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8600 Remove strlen and strnlen related parts.
8602 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8604 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8606 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8607 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8608 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8609 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8610 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8611 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8613 2013-03-17 Carlos O'Donell <carlos@redhat.com>
8615 * manual/memory.texi (Malloc Tunable Parameters):
8616 Sort parameters alphabetically. Add comments for missing entries.
8618 2013-03-17 David S. Miller <davem@davemloft.net>
8620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8622 2013-03-16 Joseph Myers <joseph@codesourcery.com>
8625 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8626 for arguments at most half maximum finite value.
8627 * math/libm-test.inc (j0_test): Add more tests.
8628 (j1_test): Likewise.
8629 (y0_test): Likewise.
8630 (y1_test): Likewise.
8631 * sysdeps/i386/fpu/libm-test-ulps: Update.
8632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8635 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8636 1 / x and functions P and Q for arguments above 0x1p256L.
8637 (__ieee754_y0l): Likewise.
8638 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8639 (__ieee754_y1l): Likewise.
8640 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8641 (j1_test): Likewise.
8642 (y0_test): Likewise.
8643 (y1_test): Likewise.
8645 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8647 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8650 2013-03-15 Roland McGrath <roland@hack.frob.com>
8652 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8653 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8654 zero since it's initialized to EXEC_PAGESIZE.
8656 * sysdeps/unix/sysv/linux/ldsodefs.h
8657 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8658 * sysdeps/generic/ldsodefs.h: ... here.
8660 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8662 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8664 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8666 * math/test-snan.c: Renamed from
8667 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8668 * math/Makefile (tests): Add test-snan.
8669 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8672 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8673 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8675 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8676 __builtin_nan family of functions.
8677 * math/libm-test.inc (initialize): Initialize qnan_value with
8678 __builtin_nan family of functions.
8679 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8681 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8683 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8684 storage class. Initialize qNaN_var and sNaN_var with
8685 __builtin_nan and __builtin_nans families of functions,
8688 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8689 (sqrt_test): Remove duplicate test with qNaN input.
8690 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8691 (round_test, signbit_test, significand_test): Note missing +/-Inf
8692 as well as qNaN tests.
8694 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8695 qNaN_var. Fix a few strings, too.
8696 * math/libm-test.inc (nan_value): Rename to qnan_value.
8697 * math/gen-libm-test.pl (%beautify): Adjust to that.
8698 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8699 * math/test-misc.c (main): Likewise.
8700 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8701 to __qnan_bytes, and __qnan_union, respectively.
8702 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8704 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8705 and lqnanval, respectively.
8706 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8707 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8708 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8709 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8711 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8712 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8715 * math/test-misc.c (main): Fix copy'n'pastos.
8716 * misc/tst-efgcvt.c (special): Likewise.
8718 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8719 Remove declarations.
8721 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8723 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8724 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8725 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8726 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8728 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8730 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8731 macro to return vdso values correctly in IFUNC implementations.
8732 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8733 Optimization by using IFUNC.
8735 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8736 Richard Henderson <rth@redhat.com>
8737 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8739 * Makefile.in (bench): New target.
8740 * NEWS: Mention the benchmark framework.
8741 * Rules (bench): Likewise.
8742 (binaries-bench): Generate binaries for functions to
8744 * benchtests/Makefile: New makefile for benchmark tests.
8745 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8747 * benchtests/exp-inputs: New input file for EXP function.
8748 * benchtests/pow-inputs: New input file for POW function.
8749 * scripts/bench.pl: New script to generate source files for
8752 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8754 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8755 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8756 computations on mantissa. Use macros for rounding and
8759 (__dbl_mp): Likewise.
8760 (add_magnitudes): Likewise.
8761 (sub_magnitudes): Likewise.
8764 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8765 powers of two in terms of TWOPOW macro.
8766 (mp_no): Make type of mantissa as MANTISSA_T.
8767 [!RADIXI]: Define RADIXI.
8768 [!TWO52]: Define TWO52.
8769 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8771 * manual/nptl.texi (cindex): Modify threads to pthreads.
8773 2013-03-15 Joseph Myers <joseph@codesourcery.com>
8775 * sysdeps/x86_64/preconfigure: Regenerated.
8777 2013-03-14 Joseph Myers <joseph@codesourcery.com>
8780 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8782 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8783 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8785 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8786 * math/libm-test.inc (j0_test): Do not allow one spurious
8787 underflow exception.
8788 (y1_test): Likewise.
8790 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8792 * manual/Makefile (chapters): Add nptl.
8793 * manual/debug.texi (Debugging Support): Add link to Threads
8795 * manual/nptl.texi: New file.
8797 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8799 2013-03-14 Petr Baudis <pasky@ucw.cz>
8801 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8802 for non-NULL pointer before the memory validity test. Pointed
8803 out by Holger Brunck <holger.brunck@keymile.com>.
8805 2013-03-13 Andreas Schwab <schwab@suse.de>
8807 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8810 2013-03-13 Joseph Myers <joseph@codesourcery.com>
8812 * timezone/zic.c: Update from tzcode 2013b.
8814 2013-03-12 Carlos O'Donell <carlos@redhat.com>
8816 * manual/install.texi (Configuring and compiling):
8817 Mention i686 and i586.
8818 * INSTALL: Regenerate.
8820 2013-03-12 Roland McGrath <roland@hack.frob.com>
8822 * sysdeps/init_array/elf-init.c: New file.
8824 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8825 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8827 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8828 __gmon_start__ as global, but as static with a .preinit_array pointer.
8829 * sysdeps/init_array/gmon-start.c: New file. Use that.
8830 * sysdeps/init_array/crti.S: New file, empty except for comments.
8831 * sysdeps/init_array/crtn.S: Likewise.
8833 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
8835 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8837 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8838 Remove Prefer_SSE_for_memop.
8839 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8840 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8841 HAS_PREFER_SSE_FOR_MEMOP.
8842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8845 Remove bzero, memset ifunc support.
8846 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8847 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8848 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8849 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8851 2013-03-11 Andreas Schwab <schwab@suse.de>
8854 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8857 (GLIBC_2.16): Remove pthread_atfork.
8859 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8861 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8862 (ptestcases.h): Likewise.
8864 2013-03-08 Roland McGrath <roland@hack.frob.com>
8866 * Makeconfig ($(common-objpfx)config.status): Depend on
8867 sysdeps/*/preconfigure{,.in} too.
8869 2013-03-08 Joseph Myers <joseph@codesourcery.com>
8871 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8872 (__free_hook): Use void * instead of __malloc_ptr_t.
8873 (__malloc_hook): Likewise.
8874 (__realloc_hook): Likewise.
8875 (__memalign_hook): Likewise.
8876 (__after_morecore_hook): Likewise.
8877 * malloc/arena.c (save_malloc_hook): Likewise.
8878 (save_free_hook): Likewise.
8879 * malloc/hooks.c (malloc_hook_ini): Likewise.
8880 (realloc_hook_ini): Likewise.
8881 (memalign_hook_ini): Likewise.
8882 * malloc/malloc.c (malloc_hook_ini): Likewise.
8883 (realloc_hook_ini): Likewise.
8884 (memalign_hook_ini): Likewise.
8885 (__free_hook): Likewise.
8886 (__malloc_hook): Likewise.
8887 (__realloc_hook): Likewise.
8888 (__memalign_hook): Likewise.
8889 (__libc_malloc): Likewise.
8890 (__libc_free): Likewise.
8891 (__libc_realloc): Likewise.
8892 (__libc_memalign): Likewise.
8893 (__libc_valloc): Likewise.
8894 (__libc_pvalloc): Likewise.
8895 (__libc_calloc): Likewise.
8896 (__posix_memalign): Likewise.
8897 * malloc/morecore.c (__sbrk): Likewise.
8898 (__default_morecore): Likewise.
8900 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8902 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8903 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8906 * malloc/malloc.h (__malloc_size_t): Remove macro.
8907 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8909 (old_memalign_hook): Likewise.
8910 (old_realloc_hook): Likewise.
8911 (struct hdr): Likewise.
8913 (mallochook): Likewise.
8914 (memalignhook): Likewise.
8915 (reallochook): Likewise.
8916 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8917 (tr_old_realloc_hook): Likewise.
8918 (tr_old_memalign_hook): Likewise.
8919 (tr_mallochook): Likewise.
8920 (tr_reallochook): Likewise.
8921 (tr_memalignhook): Likewise.
8923 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8925 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8926 default_ldbl_pack and using as default implementation.
8927 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8929 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8930 redundant definition.
8931 (ldbl_insert_mantissa): Likewise.
8932 (ldbl_canonicalize): Likewise.
8933 (ldbl_nearbyint): Likewise.
8934 (ldbl_pack): Rename to ldbl_pack_ppc.
8935 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8936 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8937 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8939 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8942 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8943 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8944 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8946 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8947 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8948 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8950 2013-03-07 Andreas Jaeger <aj@suse.de>
8952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8955 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8957 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8958 Include mpa.h and declare __MPEXP.
8959 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8960 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8961 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8962 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8963 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8964 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8965 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8967 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8968 (__slowpow): Use long double EXPL and LOGL functions to
8970 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8971 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8972 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8973 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8974 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8975 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8978 intermediate variable to calculate exponent.
8980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8984 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8985 [!NO__SQR]: Define __sqr.
8986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8987 and NO__SQR. Remove all code except __mul and __sqr. Include
8988 sysdeps/ieee754/dbl-64/mpa.c.
8989 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8992 * posix/Makefile (tests): Add tst-pathconf.
8993 * posix/tst-pathconf.c: New test case.
8994 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8996 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8998 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
9000 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9002 2013-03-06 Andreas Jaeger <aj@suse.de>
9004 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9005 definition via __MAP_ANONYMOUS.
9007 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9008 it's not part of Linux headers.
9010 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9011 (MAP_HUGE_MASK): Define.
9013 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9015 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9016 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9018 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9019 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9021 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9022 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9024 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9026 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9027 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9028 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9029 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9030 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9031 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9033 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9036 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9037 Handle f2fs and efivarfs.
9039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9042 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9043 (EFIVARFS_MAGIC): Add.
9044 (F2FS_LINK_MAX): Add.
9046 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9048 * stdio-common/vfprintf.c: Replace __builtin_expect with
9051 2013-03-06 Joseph Myers <joseph@codesourcery.com>
9054 * sysdeps/generic/bp-sym.h: Remove file.
9055 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9056 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9057 <bp-sym.h> and <bp-asm.h>.
9058 (__longjmp): Don't use BP_SYM.
9059 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9061 (memcpy): Don't use BP_SYM.
9062 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9063 <bp-sym.h> and <bp-asm.h>.
9064 (memcpy): Don't use BP_SYM.
9065 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9067 (memcpy): Don't use BP_SYM.
9068 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9070 (memset): Don't use BP_SYM.
9071 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9072 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9073 (__bzero): Don't use BP_SYM.
9074 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9075 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9076 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9077 <bp-sym.h> and <bp-asm.h>.
9078 (memcmp): Don't use BP_SYM. Remove comment about bounded
9080 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9081 <bp-sym.h> and <bp-asm.h>.
9082 (memcpy): Don't use BP_SYM.
9083 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9084 <bp-sym.h> and <bp-asm.h>.
9085 (memset): Don't use BP_SYM.
9086 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9087 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9088 (__bzero): Don't use BP_SYM.
9089 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9090 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9091 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9092 <bp-sym.h> and <bp-asm.h>.
9093 (strncmp): Don't use BP_SYM. Remove comment about bounded
9095 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9096 <bp-sym.h> and <bp-asm.h>.
9097 (memcpy): Don't use BP_SYM.
9098 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9099 <bp-sym.h> and <bp-asm.h>.
9100 (memset): Don't use BP_SYM.
9101 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9102 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9103 (__bzero): Don't use BP_SYM.
9104 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9105 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9106 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9107 <bp-sym.h> and <bp-asm.h>.
9108 (__memchr): Don't use BP_SYM.
9109 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9110 <bp-sym.h> and <bp-asm.h>.
9111 (memcmp): Don't use BP_SYM. Remove comment about bounded
9113 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9114 <bp-sym.h> and <bp-asm.h>.
9115 (memcpy): Don't use BP_SYM.
9116 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9117 <bp-sym.h> and <bp-asm.h>.
9118 (__mempcpy): Don't use BP_SYM.
9119 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9120 <bp-sym.h> and <bp-asm.h>.
9121 (__memrchr): Don't use BP_SYM.
9122 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9123 <bp-sym.h> and <bp-asm.h>.
9124 (memset): Don't use BP_SYM.
9125 (__bzero): Likewise.
9126 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9127 <bp-sym.h> and <bp-asm.h>.
9128 (__rawmemchr): Don't use BP_SYM.
9129 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9130 <bp-sym.h> and <bp-asm.h>.
9131 (__STRCMP): Don't use BP_SYM.
9132 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9133 <bp-sym.h> and <bp-asm.h>.
9134 (strchr): Don't use BP_SYM.
9135 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9136 <bp-sym.h> and <bp-asm.h>.
9137 (__strchrnul): Don't use BP_SYM.
9138 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9139 <bp-sym.h> and <bp-asm.h>.
9140 (strlen): Don't use BP_SYM.
9141 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9142 <bp-sym.h> and <bp-asm.h>.
9143 (strncmp): Don't use BP_SYM. Remove comment about bounded
9145 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9146 <bp-sym.h> and <bp-asm.h>.
9147 (__strnlen): Don't use BP_SYM.
9148 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9149 <bp-sym.h> and <bp-asm.h>.
9150 (__GI__setjmp): Don't use BP_SYM.
9151 (_setjmp): Likewise.
9152 (__sigsetjmp): Likewise.
9153 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9154 (L(start_addresses)): Don't use BP_SYM.
9156 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9158 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9159 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9160 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9161 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9162 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9164 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9165 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9166 about bounded pointers.
9167 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9168 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9169 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9171 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9172 about bounded pointers. Remove GKM FIXME comments.
9173 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9174 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9176 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9177 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9178 Remove GKM FIXME comments.
9179 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9180 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9181 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9183 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9184 about bounded pointers. Remove GKM FIXME comment.
9185 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9187 (strncmp): Don't use BP_SYM. Remove comment about bounded
9189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9190 <bp-sym.h> and <bp-asm.h>.
9191 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9193 <bp-sym.h> and <bp-asm.h>.
9194 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9197 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9199 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9202 2013-03-05 David S. Miller <davem@davemloft.net>
9204 * po/es.po: Update from translation team.
9206 2013-03-05 Andreas Jaeger <aj@suse.de>
9208 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9209 <bits/mman-linux.h>.
9210 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9212 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9213 <bits/mman-linux.h> to end of file.
9214 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9216 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9217 <bits/mman-linux.h> to end of file.
9218 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9220 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9221 <bits/mman-linux.h> to end of file.
9223 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9224 (MCL_CURRENT, MCL_FUTURE): Define here.
9226 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9229 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9231 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9233 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9235 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9236 fourth parameter needed for rt_sigprocmask syscall.
9237 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9238 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9239 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9240 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9241 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9242 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9244 2013-03-04 Joseph Myers <joseph@codesourcery.com>
9247 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9248 comment about bounded pointers.
9249 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9250 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9252 2013-03-04 Andreas Jaeger <aj@suse.de>
9254 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9257 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9258 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9259 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9260 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9261 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9262 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9264 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9267 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9268 __ieee754_sqrl instead of __sqrl.
9270 2013-03-01 Joseph Myers <joseph@codesourcery.com>
9272 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9273 * sysdeps/powerpc/fpu_control.h: ... here.
9274 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9275 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9276 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9277 * sysdeps/powerpc/bits/mathinline.h: ... here.
9279 2013-03-01 Roland McGrath <roland@hack.frob.com>
9281 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9282 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9283 to just [NEED_DL_SYSINFO_DSO].
9284 * elf/dl-support.c: Likewise.
9285 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9286 * elf/rtld.c (dl_main): Likewise.
9287 * elf/setup-vdso.h (setup_vdso): Likewise.
9288 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9289 * sysdeps/unix/sysv/linux/dl-sysdep.c
9290 (_dl_discover_osversion): Likewise.
9292 2013-03-01 Carlos O'Donell <carlos@redhat.com>
9294 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9295 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9297 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9299 * NEWS: Mention libm performance improvements and non-x86 PI
9302 * csu/libc-start.c (__pthread_initialize_minimal): Change
9304 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9306 2013-02-28 Joseph Myers <joseph@codesourcery.com>
9309 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9310 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9311 <bp-sym.h> and <bp-asm.h>.
9312 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9313 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9315 (memcpy): Don't use BP_SYM.
9316 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9318 (__mpn_add_n): Don't use BP_SYM.
9319 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9320 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9322 (__mpn_addmul_1): Don't use BP_SYM.
9323 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9324 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9326 (_setjmp): Don't use BP_SYM.
9327 (__novmx_setjmp): Likewise.
9328 (__GI__setjmp): Likewise.
9329 (__vmx_setjmp): Likewise.
9330 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9332 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9333 (__bzero): Don't use BP_SYM.
9334 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9335 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9336 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9337 <bp-sym.h> and <bp-asm.h>.
9338 (memcpy): Don't use BP_SYM.
9339 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9340 <bp-sym.h> and <bp-asm.h>.
9341 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9342 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9343 <bp-sym.h> and <bp-asm.h>.
9344 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9345 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9347 (__mpn_lshift): Don't use BP_SYM.
9348 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9349 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9351 (memset): Don't use BP_SYM.
9352 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9353 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9354 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9356 (__mpn_mul_1): Don't use BP_SYM.
9357 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9358 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9359 <bp-sym.h> and <bp-asm.h>.
9360 (memcmp): Don't use BP_SYM.
9361 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9362 <bp-sym.h> and <bp-asm.h>.
9363 (memcpy): Don't use BP_SYM.
9364 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9365 <bp-sym.h> and <bp-asm.h>.
9366 (memset): Don't use BP_SYM.
9367 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9368 <bp-sym.h> and <bp-asm.h>.
9369 (strncmp): Don't use BP_SYM.
9370 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9371 <bp-sym.h> and <bp-asm.h>.
9372 (memcpy): Don't use BP_SYM.
9373 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9374 <bp-sym.h> and <bp-asm.h>.
9375 (memset): Don't use BP_SYM.
9376 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9377 <bp-sym.h> and <bp-asm.h>.
9378 (__memchr): Don't use BP_SYM.
9379 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9380 <bp-sym.h> and <bp-asm.h>.
9381 (memcmp): Don't use BP_SYM.
9382 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9383 <bp-sym.h> and <bp-asm.h>.
9384 (memcpy): Don't use BP_SYM.
9385 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9386 <bp-sym.h> and <bp-asm.h>.
9387 (__mempcpy): Don't use BP_SYM.
9388 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9389 <bp-sym.h> and <bp-asm.h>.
9390 (__memrchr): Don't use BP_SYM.
9391 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9392 <bp-sym.h> and <bp-asm.h>.
9393 (memset): Don't use BP_SYM.
9394 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9395 <bp-sym.h> and <bp-asm.h>.
9396 (__rawmemchr): Don't use BP_SYM.
9397 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9398 <bp-sym.h> and <bp-asm.h>.
9399 (__STRCMP): Don't use BP_SYM.
9400 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9401 <bp-sym.h> and <bp-asm.h>.
9402 (strchr): Don't use BP_SYM.
9403 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9404 <bp-sym.h> and <bp-asm.h>.
9405 (__strchrnul): Don't use BP_SYM.
9406 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9407 <bp-sym.h> and <bp-asm.h>.
9408 (strlen): Don't use BP_SYM.
9409 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9410 <bp-sym.h> and <bp-asm.h>.
9411 (strncmp): Don't use BP_SYM.
9412 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9413 <bp-sym.h> and <bp-asm.h>.
9414 (__strnlen): Don't use BP_SYM.
9415 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9417 (__mpn_rshift): Don't use BP_SYM.
9418 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9419 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9420 <bp-sym.h> and <bp-asm.h>.
9421 (__sigsetjmp): Don't use BP_SYM.
9422 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9423 (L(start_addresses)): Don't use BP_SYM.
9425 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9427 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9428 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9429 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9430 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9432 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9433 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9434 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9435 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9437 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9439 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9440 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9442 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9444 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9445 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9446 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9448 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9450 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9452 (strncmp): Don't use BP_SYM,
9453 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9455 (__mpn_sub_n): Don't use BP_SYM.
9456 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9457 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9459 (__mpn_submul_1): Don't use BP_SYM.
9460 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9462 <bp-sym.h> and <bp-asm.h>.
9463 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9465 <bp-sym.h> and <bp-asm.h>.
9466 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9469 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9472 Use ZK to minimize writes to Z.
9473 (sub_magnitudes): Simplify code a bit.
9474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9475 Use ZK to minimize writes to Z.
9476 (sub_magnitudes): Simplify code a bit.
9478 2013-02-27 Roland McGrath <roland@hack.frob.com>
9480 * csu/gmon-start.c: Add special exception to license text.
9482 2013-02-27 Richard Henderson <rth@redhat.com>
9484 * scripts/config.guess: Update from config.git.
9485 * scripts/config.sub: Likewise.
9487 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9489 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9491 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9493 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9495 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9497 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9499 2013-02-26 Roland McGrath <roland@hack.frob.com>
9501 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9502 [$(build-shared = yes].
9504 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9506 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9507 (__mul): Reduce iterations for calculating mantissa.
9509 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9511 (__mpranred): Likewise.
9514 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9515 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9517 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9519 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9520 Define __attribute__.
9522 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9524 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9526 * posix/regex_internal.h (__attribute): Remove.
9527 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9528 (re_string_context_at): Likewise.
9529 (bitset_not): Use __attribute__ and mark function as possibly
9531 (bitset_merge): Likewise.
9532 (bitset_mask): Likewise.
9533 (re_string_char_size_at): Likewise.
9534 (re_string_wchar_at): Likewise.
9535 (re_string_elem_size_at): Likewise.
9537 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9539 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9543 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9548 (__dbl_mp): Likewise.
9549 (add_magnitudes): Likewise.
9550 (sub_magnitudes): Likewise.
9554 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9557 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9560 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9564 up changes with default code.
9565 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9568 2013-02-24 Allan McRae <allan@archlinux.org>
9570 * manual/socket.texi (The Internet Namespace): Order menu items
9571 to match that in the file.
9573 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9574 node listing of the info page menu.
9576 2013-02-21 Joseph Myers <joseph@codesourcery.com>
9579 * sysdeps/i386/bp-asm.h: Remove file.
9580 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9581 (PARMS): Do not use macros from bp-asm.h.
9585 (__mpn_add_n): Do not use BP_SYM
9586 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9588 (PARMS): Do not use macros from bp-asm.h.
9591 (__mpn_addmul_1): Do not use BP_SYM
9592 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9594 (PARMS): Do not use macros from bp-asm.h.
9596 (_setjmp): Likewise. Do not use BP_SYM.
9597 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9599 (PARMS): Do not use macros from bp-asm.h.
9601 (setjmp): Likewise. Do not use BP_SYM.
9602 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9604 (PARMS): Do not use macros from bp-asm.h.
9605 (__frexp): Do not use BP_SYM.
9607 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9609 (PARMS): Do not use macros from bp-asm.h.
9610 (__frexpf): Do not use BP_SYM.
9612 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9614 (PARMS): Do not use macros from bp-asm.h.
9615 (__frexpl): Do not use BP_SYM.
9617 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9619 (PARMS): Do not use macros from bp-asm.h.
9620 (__remquo): Do not use BP_SYM.
9622 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9624 (PARMS): Do not use macros from bp-asm.h.
9625 (__remquof): Do not use BP_SYM.
9626 (remquof): Likewise.
9627 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9629 (PARMS): Do not use macros from bp-asm.h.
9630 (__remquol): Do not use BP_SYM.
9631 (remquol): Likewise.
9632 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9634 (PARMS): Do not use macros from bp-asm.h.
9637 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9638 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9640 (PARMS): Do not use macros from bp-asm.h.
9641 (strlen): Do not use BP_SYM.
9642 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9644 (PARMS): Do not use macros from bp-asm.h.
9648 (__mpn_add_n): Do not use BP_SYM.
9649 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9651 (PARMS): Do not use macros from bp-asm.h.
9654 (__mpn_addmul_1): Do not use BP_SYM.
9655 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9658 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9660 (PARMS): Do not use macros from bp-asm.h.
9663 (__mpn_lshift): Do not use BP_SYM.
9664 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9666 (PARMS): Do not use macros from bp-asm.h.
9670 (memcpy): Likewise. Do not use BP_SYM.
9671 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9672 libc_hidden_def and weak_alias.
9673 (mempcpy): Do not use BP_SYM in weak_alias.
9674 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9676 (PARMS): Do not use macros from bp-asm.h.
9679 [!BZERO_P] (CHR): Likewise.
9680 (memset): Likewise. Do not use BP_SYM.
9681 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9683 (PARMS): Do not use macros from bp-asm.h.
9686 (__mpn_mul_1): Do not use BP_SYM.
9687 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9689 (PARMS): Do not use macros from bp-asm.h.
9692 (__mpn_rshift): Do not use BP_SYM.
9693 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9695 (PARMS): Do not use macros from bp-asm.h.
9698 (strchr): Likewise. Do not use BP_SYM.
9699 (index): Do not use BP_SYM in weak_alias.
9700 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9702 (PARMS): Do not use macros from bp-asm.h.
9705 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9706 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9708 (PARMS): Do not use macros from bp-asm.h.
9709 (strlen): Do not use BP_SYM.
9710 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9712 (PARMS): Do not use macros from bp-asm.h.
9716 (__mpn_sub_n): Do not use BP_SYM.
9717 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9719 (PARMS): Do not use macros from bp-asm.h.
9722 (__mpn_submul_1): Do not use BP_SYM.
9723 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9725 (PARMS): Do not use macros from bp-asm.h.
9729 (__mpn_add_n): Do not use BP_SYM.
9730 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9733 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9735 (PARMS): Do not use macros from bp-asm.h.
9738 (memcmp): Do not use BP_SYM.
9739 (bcmp): Do not use BP_SYM in weak_alias.
9740 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9742 (PARMS): Do not use macros from bp-asm.h.
9746 (memcpy): Likewise. Do not use BP_SYM.
9747 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9749 (PARMS): Do not use macros from bp-asm.h.
9753 (memmove): Likewise. Do not use BP_SYM.
9754 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9756 (PARMS): Do not use macros from bp-asm.h.
9760 (__mempcpy): Likewise. Do not use BP_SYM.
9761 (mempcpy): Do not use BP_SYM in weak_alias.
9762 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9764 (PARMS): Do not use macros from bp-asm.h.
9767 [!BZERO_P] (CHR): Likewise.
9768 (memset): Likewise. Do not use BP_SYM.
9769 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9771 (PARMS): Do not use macros from bp-asm.h.
9773 (strcmp): Do not use BP_SYM.
9774 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9776 (PARMS): Do not use macros from bp-asm.h.
9779 [USE_AS_STRTOK_R] (SAVE): Likewise.
9780 (FUNCTION): Likewise. Do not use BP_SYM.
9781 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9783 (strtok_r): Likewise.
9784 (__GI___strtok_r): Likewise.
9785 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9786 (PARMS): Do not use macros from bp-asm.h.
9789 (__mpn_lshift): Do not use BP_SYM.
9790 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9791 (PARMS): Do not use macros from bp-asm.h.
9794 (__memchr): Do not use BP_SYM.
9795 (memchr): Do not use BP_SYM in weak_alias.
9796 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9797 (PARMS): Do not use macros from bp-asm.h.
9800 (memcmp): Do not use BP_SYM.
9801 (bcmp): Do not use BP_SYM in weak_alias.
9802 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9803 (PARMS): Do not use macros from bp-asm.h.
9806 (__mpn_mul_1): Do not use BP_SYM.
9807 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9809 (PARMS): Do not use macros from bp-asm.h.
9812 (__rawmemchr): Do not use BP_SYM.
9813 (rawmemchr): Do not use BP_SYM in weak_alias.
9814 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9815 (PARMS): Do not use macros from bp-asm.h.
9818 (__mpn_rshift): Do not use BP_SYM.
9819 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9820 (PARMS): Do not use macros from bp-asm.h.
9822 (__sigsetjmp): Likewise. Do not use BP_SYM.
9823 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9824 (_start): Do not use BP_SYM.
9825 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9826 (PARMS): Do not use macros from bp-asm.h.
9829 (__stpcpy): Likewise. Do not use BP_SYM.
9830 (stpcpy): Do not use BP_SYM in weak_alias.
9831 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9833 (PARMS): Do not use macros from bp-asm.h.
9837 (__stpncpy): Likewise. Do not use BP_SYM.
9838 (stpncpy): Do not use BP_SYM in weak_alias.
9839 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9840 (PARMS): Do not use macros from bp-asm.h.
9843 (strchr): Likewise. Do not use BP_SYM.
9844 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9846 (PARMS): Do not use macros from bp-asm.h.
9849 (__strchrnul): Likewise. Do not use BP_SYM.
9850 (strchrnul): Do not use BP_SYM in weak_alias.
9851 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9853 (PARMS): Do not use macros from bp-asm.h.
9855 (strcspn): Do not use BP_SYM.
9856 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9858 (PARMS): Do not use macros from bp-asm.h.
9861 (strpbrk): Likewise. Do not use BP_SYM.
9862 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9864 (PARMS): Do not use macros from bp-asm.h.
9867 (strrchr): Likewise. Do not use BP_SYM.
9868 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9869 (PARMS): Do not use macros from bp-asm.h.
9871 (strspn): Do not use BP_SYM.
9872 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9873 (PARMS): Do not use macros from bp-asm.h.
9877 (FUNCTION): Likewise. Do not use BP_SYM.
9878 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9880 (strtok_r): Likewise.
9881 (__GI___strtok_r): Likewise.
9882 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9883 (PARMS): Do not use macros from bp-asm.h.
9887 (__mpn_sub_n): Do not use BP_SYM.
9888 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9890 (PARMS): Do not use macros from bp-asm.h.
9893 (__mpn_submul_1): Do not use BP_SYM.
9894 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9896 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9898 (PARMS): Do not use macros from bp-asm.h.
9903 (__clone): Do not use BP_SYM.
9904 (clone): Do not use BP_SYM in weak_alias.
9905 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9907 (PARMS): Do not use macros from bp-asm.h.
9909 (__mmap64): Do not use BP_SYM.
9910 (mmap64): Do not use BP_SYM in weak_alias.
9911 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9912 <bp-sym.h> and <bp-asm.h>.
9913 (PARMS): Do not use macros from bp-asm.h.
9914 (__posix_fadvise64_l64): Do not use BP_SYM.
9915 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9916 (PARMS): Do not use macros from bp-asm.h.
9918 (semtimedop): Do not use BP_SYM.
9919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9922 2013-02-21 Allan McRae <allan@archlinux.org>
9924 * manual/message.texi (Charset conversion in gettext):
9925 Move @end statement to beginning of line.
9927 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9929 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9934 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9939 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9941 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9942 tail-call to the resolved function if pltexit isn't needed.
9944 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9947 or Y being zero as being unlikely.
9948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9951 2013-02-20 Carlos O'Donell <carlos@redhat.com>
9953 * manual/nss.texi (System Databases and Name Service Switch):
9954 Remove frobnicate @pxref.
9956 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9958 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9959 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9961 2013-02-20 Petr Machata <pmachata@redhat.com>
9963 * elf/elf.h (R_ARM_TARGET1): New macro.
9964 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9965 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9966 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9967 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9968 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9969 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9970 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9971 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9972 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9973 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9974 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9975 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9976 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9977 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9978 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9979 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9980 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9981 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9982 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9983 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9984 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9985 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9986 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9987 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9988 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9989 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9990 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9991 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9992 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9993 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9994 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9995 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9996 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9997 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9998 (R_ARM_THM_GOT_BREL12): Likewise.
9999 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10000 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10001 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10002 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10003 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10004 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10005 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10006 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10007 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10009 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10011 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10012 __attribute_used__ to __attribute__ ((unused)).
10014 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10016 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10019 comment formatting.
10020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10022 2013-02-19 Joseph Myers <joseph@codesourcery.com>
10025 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10027 (ENTER): Remove both macro definitions.
10029 (CHECK_BOUNDS_LOW): Likewise.
10030 (CHECK_BOUNDS_HIGH): Likewise.
10031 (CHECK_BOUNDS_BOTH): Likewise.
10032 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10033 (RETURN_BOUNDED_POINTER): Likewise.
10034 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10035 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10036 (POP_ERRNO_LOCATION_RETURN): Likewise.
10037 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10038 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10039 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10041 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10042 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10043 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10044 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10045 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10046 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10047 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10048 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10049 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10050 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10051 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10052 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10053 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10054 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10056 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10057 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10059 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10060 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10061 * sysdeps/i386/i586/memset.S (memset): Likewise.
10062 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10063 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10064 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10066 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10067 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10068 Change uses of L(2) to L(out).
10069 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10070 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10071 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10072 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10073 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10075 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10076 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10078 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10079 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10080 (RETURN): Do not use macro LEAVE.
10081 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10082 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10083 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10084 * sysdeps/i386/i686/memset.S (memset): Likewise.
10085 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10086 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10087 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10088 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10090 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10091 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10092 L(1_2) and L(1_3) into L(1).
10093 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10094 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10095 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10096 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10097 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10098 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10099 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10100 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10101 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10103 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10104 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10105 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10106 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10107 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10108 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10109 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10110 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10111 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10112 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10113 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10114 * sysdeps/i386/strspn.S (strspn): Likewise.
10115 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10117 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10118 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10119 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10120 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10121 L(1_3) into L(1_1).
10122 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10123 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10124 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10126 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10128 2013-02-19 Jakub Jelinek <jakub@redhat.com>
10130 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10133 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10135 * math/atest-exp.c (exp_mpn): Remove ROUND.
10136 * math/atest-exp2.c (exp_mpn): Likewise.
10137 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10139 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10140 * stdlib/tst-tls-atexit-lib.c: Likewise.
10141 * stdlib/tst-tls-atexit.c: Likewise.
10143 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10145 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10146 and __attribute_alloc_size__.
10148 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10150 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10151 __attribute_alloc_size__.
10152 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10153 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10155 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10157 * include/programs/xmalloc.h: New file.
10158 * catgets/gencat.c: Include it.
10159 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10160 * elf/pldd.c: Likewise.
10161 * iconv/iconv_charmap.c: Likewise.
10162 * iconv/iconvconfig.c: Likewise.
10163 * iconv/strtab.c: Likewise.
10164 * locale/programs/locale.c: Likewise.
10165 * locale/programs/localedef.h: Likewise.
10166 * locale/programs/simple-hash.c: Likewise.
10167 * nscd/nscd.h: Likewise.
10168 * nss/makedb.c: Likewise.
10169 * sysdeps/generic/ldconfig.h: Likewise.
10171 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10173 * Versions.def: Add GLIBC_2.18.
10174 * include/link.h (struct link_map): New member l_tls_dtor_count.
10175 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10176 (__call_tls_dtors): Likewise.
10177 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10178 __cxa_thread_atexit_impl.
10179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10187 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10188 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10190 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10195 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10196 (tests): Add test case tst-tls-atexit.
10197 (modules-names): Add shared library for tst-tls-atexit.
10198 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10199 (GLIBC_PRIVATE): Add __call_tls_dtors.
10200 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10202 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10203 * stdlib/tst-tls-atexit.c: New test case.
10204 * stdlib/tst-tls-atexit-lib.c: New test case.
10206 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10208 * elf/Versions (ld): Add _dl_find_dso_for_object.
10209 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10210 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10211 (dl_open_worker): Use _dl_find_dso_for_object.
10212 * elf/dl-sym.c (do_sym): Likewise.
10213 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10215 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10217 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10218 Syntactic changes only.
10219 (_dl_runtime_profile): Do a tail-call to the resolved function.
10221 2013-02-17 Joseph Myers <joseph@codesourcery.com>
10224 * sysdeps/x86_64/bp-asm.h: Remove file.
10225 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10226 <bp-sym.h> and <bp-asm.h>.
10227 (__clone): Do not use BP_SYM.
10228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10229 <bp-sym.h> and <bp-asm.h>.
10230 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10231 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10233 (_setjmp): Do not use BP_SYM.
10234 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10236 (setjmp): Do not use BP_SYM.
10237 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10239 (mempcpy): Do not use BP_SYM in weak_alias.
10240 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10242 (strchr): Do not use BP_SYM.
10243 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10245 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10246 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10247 (_start): Do not use BP_SYM.
10248 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10250 (strcat): Do not use BP_SYM.
10251 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10253 (STRCMP): Do not use BP_SYM.
10254 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10256 (STRCPY): Do not use BP_SYM.
10257 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10259 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10261 (FUNCTION): Do not use BP_SYM.
10262 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10264 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10266 2013-02-17 Andreas Jaeger <aj@suse.de>
10268 * time/Versions: Sort entries.
10269 * string/Versions: Likewise.
10270 * resolv/Versions: Likewise.
10271 * posix/Versions: Likewise.
10272 * iconv/Versions: Likewise.
10273 * elf/Versions: Likewise.
10274 * wcsmbs/Versions: Likewise.
10276 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10278 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10279 loop termination condition.
10281 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10282 variable to calculate EZ.
10285 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10286 the lower precision input.
10288 2013-02-15 Joseph Myers <joseph@codesourcery.com>
10291 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10292 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10293 (run-via-rtld-prefix): Do not handle %-bp tests.
10294 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10295 (all-object-suffixes): Remove .ob.
10296 (bppfx): Remove variable.
10297 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10298 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10299 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10300 [$(build-bounded) = yes] (libtype.ob): Likewise.
10301 * Makerules (elide-routines.ob): Remove variable.
10302 (do-tests-clean): Do not handle *-bp.out.
10303 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10304 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10305 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10306 (tests): Do not include $(tests-bp.out).
10307 (xtests): Do not include $(xtests-bp.out).
10308 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10309 [$(build-bounded) = yes] ($(addprefix
10310 $(objpfx),$(binaries-bounded))): Remove rule.
10311 ($(objpfx)%-bp.out): Remove rule.
10312 * config.make.in (build-bounded): Remove variable.
10313 * crypt/Makefile [$(build-bounded) = yes]
10314 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10315 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10316 append to variable.
10317 [$(build-bounded) = yes] (install-lib): Likewise.
10318 [$(build-bounded) = yes] (generated): Likewise.
10319 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10321 * intl/Makefile [$(build-bounded) = yes]
10322 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10323 * math/Makefile [$(build-bounded) = yes]
10324 ($(tests:%=$(objpfx)%-bp): Likewise.
10325 * misc/Makefile [$(build-bounded) = yes]
10326 ($(objpfx)tst-tsearch-bp): Likewise.
10327 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10328 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10330 * string/Makefile (o-objects.ob): Remove variable.
10331 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10332 (CFLAGS-.ob): Remove variable.
10333 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10334 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10335 both definitions of variable.
10336 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10337 (ASFLAGS-.ob): Remove variable.
10339 2013-02-14 Joseph Myers <joseph@codesourcery.com>
10342 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10343 Remove __BOUNDED_POINTERS__ from condition.
10344 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10345 * string/bits/string2.h [!__NO_STRING_INLINES &&
10346 !__BOUNDED_POINTERS__]: Likewise.
10347 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10349 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10350 Remove conditional code.
10351 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10352 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10353 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10357 * csu/libc-start.c: Do not include <bp-sym.h>.
10358 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10359 * elf/dl-open.c: Do not include <bp-sym.h>.
10360 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10361 * math/fegetenv.c: Do not include <bp-sym.h>.
10362 (fegetenv): Do not use BP_SYM in versioned symbols.
10363 * nptl/sysdeps/pthread/bits/libc-lockP.h
10364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10367 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10369 (__pthread_mutex_destroy): Likewise.
10370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10371 (__pthread_mutex_lock): Likewise.
10372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10373 (__pthread_mutex_trylock): Likewise.
10374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10375 (__pthread_mutex_unlock): Likewise.
10376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10377 (__pthread_mutexattr_init): Likewise.
10378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10379 (__pthread_mutexattr_destroy): Likewise.
10380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10381 (__pthread_mutexattr_settype): Likewise.
10382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10383 (__pthread_rwlock_init): Likewise.
10384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10385 (__pthread_rwlock_destroy): Likewise.
10386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10387 (__pthread_rwlock_rdlock): Likewise.
10388 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10389 (__pthread_rwlock_tryrdlock): Likewise.
10390 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10391 (__pthread_rwlock_wrlock): Likewise.
10392 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10393 (__pthread_rwlock_trywrlock): Likewise.
10394 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10395 (__pthread_rwlock_unlock): Likewise.
10396 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10397 (__pthread_key_create): Likewise.
10398 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10399 (__pthread_setspecific): Likewise.
10400 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10401 (__pthread_getspecific): Likewise.
10402 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10404 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10405 (_pthread_cleanup_push_defer): Likewise.
10406 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10407 (_pthread_cleanup_pop_restore): Likewise.
10408 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10409 (pthread_setcancelstate): Likewise.
10410 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10412 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10413 (memchr): Do not use BP_SYM in weak_alias.
10414 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10415 (fegetenv): Do not use BP_SYM in versioned symbols.
10416 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10417 (fesetenv): Do not use BP_SYM in versioned symbols.
10418 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10419 (feupdateenv): Do not use BP_SYM in versioned symbols.
10420 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10421 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10422 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10423 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10424 (open64): Do not use BP_SYM in weak_alias.
10425 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10426 (fegetenv): Do not use BP_SYM in versioned symbols.
10427 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10428 (fesetenv): Do not use BP_SYM in versioned symbols.
10429 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10430 (feupdateenv): Do not use BP_SYM in versioned symbols.
10431 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10432 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10433 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10434 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10435 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10436 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10437 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10439 (__libc_start_main): Do not use BP_SYM.
10441 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10443 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10444 redundant return line.
10446 (denorm): Likewise.
10447 (dbl_mp): Likewise.
10448 (sub_magnitudes): Likewise.
10454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10456 (denorm): Likewise.
10457 (dbl_mp): Likewise.
10458 (sub_magnitudes): Likewise.
10465 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10467 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10468 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10471 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10472 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10474 of __mul for squares.
10475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10479 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10480 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10482 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10485 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10487 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10488 prototype or function definition. Rename ubp_* variables and
10489 parameters. Remove argv definitions conditional on
10490 [__BOUNDED_POINTERS__].
10491 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10492 * elf/dl-runtime.c (_dl_fixup): Likewise.
10493 * include/set-hooks.h (RUN_HOOK): Likewise.
10494 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10496 * string/strcpy.c (strcpy): Do not use __unbounded.
10497 * sysdeps/generic/frame.h (struct layout): Likewise.
10498 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10499 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10500 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10501 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10502 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10503 (__backtrace): Likewise.
10504 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10506 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10507 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10508 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10510 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10511 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10512 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10513 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10514 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10515 Do not use __unbounded.
10516 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10517 Rename __unboundedrlimits parameter to rlimits in prototype.
10518 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10519 Do not use __unbounded.
10520 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10521 not use __ptrvalue.
10522 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10523 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10524 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10525 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10526 __ptrvalue or __unbounded.
10527 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10528 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10530 (__new_msgctl): Do not use __ptrvalue.
10531 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10533 (__libc_msgrcv): Do not use __ptrvalue.
10534 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10535 startup_info): Do not use __unbounded.
10536 (__libc_start_main): Likewise. Rename ubp_* variables and
10537 parameters. Remove argv definitions conditional on
10538 [__BOUNDED_POINTERS__].
10539 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10541 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10543 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10545 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10547 (__new_shmctl): Do not use __ptrvalue.
10548 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10549 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10551 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10552 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10553 (__libc_sigaction): Likewise.
10554 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10555 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10557 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10559 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
10561 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
10563 * string/mempcpy.c: Implement by calling memcpy.
10565 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10567 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10572 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10573 values in the mantissa.
10575 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10576 minimize writes to Z.
10577 (sub_magnitudes): Simplify code a bit.
10579 2013-02-12 Roland McGrath <roland@hack.frob.com>
10581 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10582 from the message. The linker prefixes all warnings with that already.
10584 2013-02-12 Andreas Schwab <schwab@suse.de>
10587 * posix/regexec.c (extend_buffers): Add parameter min_len.
10588 (check_matching): Pass minimum needed length.
10589 (clean_state_log_if_needed): Likewise.
10590 (get_subexp): Likewise.
10591 * posix/Makefile (tests): Add bug-regex34.
10592 (bug-regex34-ENV): Define.
10593 * posix/bug-regex34.c: New file.
10596 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10597 elements compare against the byte sequence of it, not its name.
10598 * posix/Makefile (tests): Add bug-regex35.
10599 (bug-regex35-ENV): Define.
10600 * posix/bug-regex35.c: New file.
10602 2013-02-11 Tom de Vries <tom@codesourcery.com>
10604 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10606 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10607 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10608 (CHECK_EOL): Add undef.
10610 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
10612 * bits/stdlib-bsearch.h: New file.
10613 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
10614 * stdlib/stdlib.h: Likewise.
10616 2013-02-11 Roland McGrath <roland@hack.frob.com>
10618 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10619 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10621 * manual/search.texi (Array Search Function): Add missing const in
10623 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10624 declaration to use rlim_t.
10625 (Basic Scheduling Functions): Remove erroneous const from
10626 sched_getparam prototype. Remove erroneous * from
10627 sched_get_priority_max and sched_get_priority_min prototypes.
10628 (Resource Usage): Fix summary @comment on vtimes to refer to
10629 sys/vtimes.h rather than vtimes.h.
10630 Add missing *s in vtimes prototype.
10631 (Limits on Resources): Fix ulimit prototype to return long int.
10632 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10633 prototypes to use long int rather than double.
10634 (BSD Random): Fix initstate and setstate to use char *, not void *.
10635 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10636 prototype to make second argument 'struct aiocb64 *const[]'.
10637 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10638 (Status of AIO Operations): Remove erroneous const in aio_return and
10639 aio_return64 prototypes.
10640 (Synchronizing I/O): Fix sync prototype to return void.
10641 * manual/startup.texi (Suboptions): Remove an erroneous const in
10642 getsubopt prototype.
10643 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10644 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10645 use size_t rather than int.
10646 (Scanning All Users): Likewise for getpwent_r.
10647 (Setting Groups): Add missing const to setgroups prototype.
10648 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10649 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10650 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10651 'const void *' rather than 'const char *'.
10652 (Host Address Functions): Likewise for inet_ntop.
10653 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10654 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10655 ssize_t for return value.
10656 (Sending Data): Likewise for send, sendto, sendmsg.
10657 (Socket Option Functions): Add a missing const in setsockopt prototype.
10658 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10659 use wchar_t for the argument.
10660 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10661 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10663 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10664 double/float/long double for second argument.
10665 Fix return types of significand, significandf, significandl.
10666 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10667 argument in fchmod prototype.
10668 (File Owner): Use uid_t and gid_t in fchown prototype.
10669 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10670 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10671 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10672 use 'const struct dirent **' as argument types to CMP function pointer
10674 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10675 (File Times): Fix summary magic @comment for struct utimbuf and utime
10676 to refer to utime.h, not time.h.
10677 * manual/string.texi (Argz Functions): Add missing const in
10678 argz_extract and argz_next prototypes.
10679 (Finding Tokens in a String): Likewise for basename.
10680 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10681 (Copying and Concatenation): Fix typo in wmemmove prototype.
10682 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10683 (Signal Stack): Remove erroneous const in sigstack prototype.
10684 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10686 (Simple Calendar Time): Likewise for stime.
10687 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10689 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10690 say sys/sysctl.h instead.
10691 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10692 and vsyslog prototypes.
10694 2013-02-11 Tom de Vries <tom@codesourcery.com>
10696 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10699 2013-02-11 Roland McGrath <roland@hack.frob.com>
10701 * misc/sys/mman.h: Fix typo in mremap comment.
10703 2013-02-08 Roland McGrath <roland@hack.frob.com>
10705 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10706 the '\0' terminator.
10708 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10711 * debug/segfault.c: Don't include <bp-checks.h>.
10712 * sysdeps/generic/bp-checks.h: Remove file.
10713 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10714 (__GETDENTS): Don't use CHECK_N.
10715 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10716 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10717 (__getgroups): Don't use CHECK_N.
10718 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10719 (setgroups): Don't use CHECK_N.
10720 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10721 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10722 (__libc_msgrcv): Don't use CHECK_N.
10723 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10724 (__libc_msgsnd): Don't use CHECK_N.
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10727 (__libc_pread): Don't use CHECK_N.
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10729 include <bp-checks.h>.
10730 (__libc_pread64): Don't use CHECK_N.
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10732 include <bp-checks.h>.
10733 (__libc_pwrite): Don't use CHECK_N.
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10735 include <bp-checks.h>.
10736 (__libc_pwrite64): Don't use CHECK_N.
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10739 (__libc_pread): Don't use CHECK_N.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10741 include <bp-checks.h>.
10742 (__libc_pread64): Don't use CHECK_N.
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10744 include <bp-checks.h>.
10745 (__libc_pwrite): Don't use CHECK_N.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10747 include <bp-checks.h>.
10748 (__libc_pwrite64): Don't use CHECK_N.
10749 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10750 (do_pread): Don't use CHECK_N.
10751 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10752 (do_pread64): Don't use CHECK_N.
10753 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10754 (do_pwrite): Don't use CHECK_N.
10755 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10756 (do_pwrite64): Don't use CHECK_N.
10757 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10758 (__libc_readv): Don't use CHECK_N.
10759 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10760 (semop): Don't use CHECK_N.
10761 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10763 (semtimedop): Don't use CHECK_N.
10764 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10765 (__libc_pread): Don't use CHECK_N.
10766 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10768 (__libc_pread64): Don't use CHECK_N.
10769 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10771 (__libc_pwrite): Don't use CHECK_N.
10772 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10774 (__libc_pwrite64): Don't use CHECK_N.
10775 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10777 (__libc_msgrcv): Don't use CHECK_N.
10778 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10779 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10780 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10781 (__libc_writev): Don't use CHECK_N.
10783 2013-02-08 Roland McGrath <roland@hack.frob.com>
10785 * string/strcpy.c: Removed unused variable.
10787 * Makeconfig (+sysdep-includes): Define with := rather than =.
10788 Use an existing include/ subdir of each sysdeps dir before it.
10790 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10792 * nscd/connection.c (register_traced_file): Comment function.
10793 [HAVE_INOTIFY] (union __inev): Define.
10794 [HAVE_INOTIFY] (inotify_check_files): New function.
10795 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10796 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10798 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10800 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10802 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10803 loaded if not already and that a failure is permanent.
10805 2013-02-08 Carlos O'Donell <carlos@redhat.com>
10808 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10809 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10811 2013-02-08 Joseph Myers <joseph@codesourcery.com>
10814 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10815 (CHECK_1_NULL_OK): Likewise.
10816 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10817 (__fxstat): Do not use CHECK_1.
10818 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10820 (___fxstat64): Do not use CHECK_1.
10821 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10823 (__fxstatat): Do not use CHECK_1.
10824 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10826 (__fxstatat64): Do not use CHECK_1.
10827 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10829 (__fxstat): Do not use CHECK_1.
10830 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10832 (__fxstatat): Do not use CHECK_1.
10833 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10835 (__getresgid): Do not use CHECK_1.
10836 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10838 (__getresuid): Do not use CHECK_1.
10839 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10841 (__lxstat): Do not use CHECK_1.
10842 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10844 (__old_msgctl): Do not use CHECK_1.
10845 (__new_msgctl): Likewise.
10846 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10848 (__new_setrlimit): Do not use CHECK_1.
10849 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10851 (__old_shmctl): Do not use CHECK_1.
10852 (__new_shmctl): Likewise.
10853 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10855 (__xstat): Do not use CHECK_1.
10856 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10857 (__lxstat): Do not use CHECK_1.
10858 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10860 (___lxstat64): Do not use CHECK_1.
10861 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10862 (__old_msgctl): Do not use CHECK_1.
10863 (__new_msgctl): Likewise.
10864 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10866 (__gettimeofday): Do not use CHECK_1.
10867 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10868 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10869 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10871 (__gettimeofday): Do not use CHECK_1.
10872 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10873 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10874 (__new_shmctl): Do not use CHECK_1.
10875 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10877 (do_sigtimedwait): Do not use CHECK_1.
10878 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10880 (do_sigwaitinfo): Do not use CHECK_1.
10881 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10883 (msgctl): Do not use CHECK_1.
10884 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10886 (shmctl): Do not use CHECK_1.
10887 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10888 (ustat): Do not use CHECK_1.
10889 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10891 (__fxstat): Do not use CHECK_1.
10892 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10894 (__fxstatat): Do not use CHECK_1.
10895 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10897 (__lxstat): Do not use CHECK_1.
10898 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10900 (__xstat): Do not use CHECK_1.
10901 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10902 (__xstat): Do not use CHECK_1.
10903 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10904 (___xstat64): Do not use CHECK_1.
10907 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10909 (CHECK_BOUNDS_HIGH): Likewise.
10910 * string/strcpy.c: Do not include <bp-checks.h>.
10911 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10913 2013-02-07 Roland McGrath <roland@hack.frob.com>
10915 * nscd/nscd-client.h (__nscd_drop_map_ref):
10916 Add __attribute__ ((unused)).
10917 * nis/nss-nisplus.h (niserr2nss): Likewise.
10919 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10920 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10922 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10923 Remove inline keyword.
10924 * include/rounding-mode.h (round_away): Likewise.
10925 * libio/wfileops.c (adjust_wide_data): Likewise.
10926 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10927 (__m128i_strloadu_tolower): Likewise.
10928 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10929 (__m128i_strloadu_tolower): Likewise.
10930 * time/mktime.c (ydhms_diff): Likewise.
10931 * locale/elem-hash.h (elem_hash): Likewise.
10932 * locale/setlocale.c (setdata): Likewise.
10933 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10934 (re_string_wchar_at): Likewise.
10935 (bitset_not, bitset_merge, bitset_mask): Likewise.
10936 [!(__GNUC__ > 3)] (inline): Remove macro.
10937 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10938 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10939 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10940 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10941 * string/memcmp.c (memcmp_bytes): Likewise.
10942 * locale/programs/locarchive.c (compute_hashval): Likewise.
10943 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10944 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10945 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10946 * nss/getent.c (print_rpc, print_protocols): Likewise.
10947 (print_passwd, print_group, print_aliases): Likewise.
10948 * nis/nss-nisplus.h (niserr2nss): Likewise.
10949 * nscd/connections.c (restart_p): Likewise.
10950 Change return type to bool.
10952 2013-02-05 Roland McGrath <roland@hack.frob.com>
10954 * Makeconfig (all-Depend-files): Add existing
10955 $(sorted-subdirs:=/Depend) files.
10956 (all-subdirs): Remove nss.
10957 * sysdeps/unix/inet/Subdirs: Add it here instead.
10958 * hesiod/Depend: New file.
10960 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10961 instead of calling alloca.
10963 * io/lseek.c (__lseek): Rename to __libc_lseek.
10964 Define __lseek as an alias.
10966 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10968 2013-02-04 Carlos O'Donell <carlos@redhat.com>
10970 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10971 else clause and remove check for non-standard endianness.
10973 2013-02-04 David S. Miller <davem@davemloft.net>
10975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10977 2013-02-04 Joseph Myers <joseph@codesourcery.com>
10980 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10981 (__ubp_memchr): Remove prototype.
10982 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10983 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10984 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10985 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10986 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10988 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10989 (__ubp_memchr): Likewise.
10990 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10991 (__ubp_memchr): Likewise.
10992 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10993 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10994 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10995 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10997 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10998 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10999 (__getcwd): Do not use CHECK_STRING.
11000 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11002 (__real_chown): Do not use CHECK_STRING.
11003 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11005 (fchownat): Do not use CHECK_STRING.
11006 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11008 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11010 (__lchown): Do not use CHECK_STRING.
11011 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11012 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11013 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11014 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11016 include <bp-checks.h>.
11017 (truncate64): Do not use CHECK_STRING.
11018 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11020 (__real_chown): Do not use CHECK_STRING.
11021 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11023 (__lchown): Do not use CHECK_STRING.
11024 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11026 (__chown): Do not use CHECK_STRING.
11027 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11029 (truncate64): Do not use CHECK_STRING.
11030 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11032 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11033 (__xmknod): Do not use CHECK_STRING.
11034 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11036 (__xmknodat): Do not use CHECK_STRING.
11037 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11038 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11040 2013-02-04 Andreas Schwab <schwab@suse.de>
11043 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11044 * include/netdb.h: Likewise for h_errno.
11045 * elf/tst-stackguard1.c: Include <tls.h>.
11047 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11049 * elf/link.h (struct link_map): Extend the l_addr comment.
11050 * include/link.h (struct link_map): Likewise.
11052 2013-02-01 Joseph Myers <joseph@codesourcery.com>
11055 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11056 (BOUNDED_1): Remove macro.
11057 * debug/backtrace.c: Don't include <bp-checks.h>.
11058 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11059 (__backtrace): Likewise.
11060 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11062 (__backtrace): Don't use BOUNDED_1.
11063 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11065 (__backtrace): Don't use BOUNDED_1.
11066 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11067 (__backtrace): Don't use BOUNDED_1.
11068 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11069 (shmat): Don't use BOUNDED_N.
11071 2013-01-31 Joseph Myers <joseph@codesourcery.com>
11074 * sysdeps/generic/bp-start.h: Remove file.
11075 * csu/libc-start.c: Don't include <bp-start.h>.
11076 (LIBC_START_MAIN): Set up __environ directly instead of using
11077 INIT_ARGV_and_ENVIRON.
11078 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11082 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11084 (CHECK_FCNTL): Likewise.
11085 (CHECK_N_PAGES): Likewise.
11088 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11090 (CHECK_SIGSET_NULL_OK): Likewise.
11091 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11093 (sigpending): Don't use CHECK_SIGSET.
11094 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11096 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11097 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11099 (do_sigsuspend): Don't use CHECK_SIGSET.
11100 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11102 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11103 (do_sigwait): Don't use CHECK_SIGSET.
11104 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11106 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11107 include <bp-checks.h>.
11108 (sigpending): Don't use CHECK_SIGSET.
11109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11110 include <bp-checks.h>.
11111 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11112 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11114 (sigpending): Don't use CHECK_SIGSET.
11115 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11117 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11120 * sysdeps/generic/bp-semctl.h: Remove file.
11121 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11122 <bp-checks.h> and <bp-semctl.h>.
11123 (__old_semctl): Don't use CHECK_SEMCTL.
11124 (__new_semctl): Likewise.
11125 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11127 (__old_semctl): Don't use CHECK_SEMCTL.
11128 (__new_semctl): Likewise.
11129 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11130 <bp-checks.h> and <bp-semctl.h>.
11131 (__old_semctl): Don't use CHECK_SEMCTL.
11132 (__new_semctl): Likewise.
11133 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11134 <bp-checks.h> and <bp-semctl.h>.
11135 (semctl): Don't use CHECK_SEMCTL.
11138 * Makerules (elide-bp-thunks): Remove variable.
11139 (elide-routines.oS): Don't use $(elide-bp-thunks).
11140 (elide-routines.os): Likewise.
11141 (elide-routines.o): Likewise.
11142 (elide-routines.op): Likewise.
11143 (elide-routines.og): Likewise.
11144 (objects): Don't use $(bp-thunks).
11145 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11147 (common-generated): Do not add s-proto-bp.d.
11148 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11151 Do not generate makefile rules for bounded-pointer thunks.
11152 * sysdeps/generic/bp-thunks.h: Remove file.
11153 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11154 * sysdeps/unix/s-proto-bp.S: Likewise.
11157 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11158 parts of result separately when argument is not close to line from
11159 -i to i and one part of argument is small.
11160 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11161 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11162 * math/libm-test.inc (cacos_test): Add more tests.
11163 (casin_test): Likewise.
11164 (casinh_test): Likewise.
11165 * sysdeps/i386/fpu/libm-test-ulps: Update.
11166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11168 2013-01-31 David S. Miller <davem@davemloft.net>
11170 * po/de.po: Update from translation team.
11172 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11174 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11176 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11178 * configure.in (_AC_PROG_CC_C89): New definition.
11179 * configure: Regenerate.
11181 * configure.in (AC_PROG_CPP): New definition.
11182 * configure: Regenerate.
11184 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11186 * debug/tst-backtrace.h: New file.
11187 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11188 (ret): Remove variable.
11190 (FAIL): Remove macro.
11191 (NO_INLINE): Likewise.
11192 (fn1): Use match function instead of strstr.
11193 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11194 (ret): Remove variable.
11196 (FAIL): Remove macro.
11197 (NO_INLINE): Likewise.
11198 (fn): Use match function instead of strstr.
11199 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11200 (ret): Remove variable.
11202 (FAIL): Remove macro.
11203 (NO_INLINE): Likewise.
11204 (handle_signal): Use match function instead of strstr.
11205 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11206 (ret): Remove variable.
11208 (FAIL): Remove macro.
11209 (NO_INLINE): Likewise.
11210 (handle_signal): Use match function instead of strstr.
11212 2013-01-23 Roland McGrath <roland@hack.frob.com>
11214 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11216 2013-01-23 David S. Miller <davem@davemloft.net>
11218 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11219 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11220 argument of CAS if possible.
11221 * sysdeps/sparc/sparc64/bits/atomic.h
11222 (__arch_compare_and_exchange_val_32_acq): Likewise.
11223 (__arch_compare_and_exchange_val_64_acq): Likewise.
11225 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11227 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11228 * sysdeps/posix/ulimit.c: ... this.
11229 Include <limits.h>.
11230 * sysdeps/unix/bsd/ulimit.c: Remove file.
11232 2013-01-23 Adam Conrad <adconrad@0c3.net>
11234 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11235 (LDFLAGS-tst-array5): Likewise.
11237 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11240 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11241 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11242 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11243 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11245 2013-01-21 David S. Miller <davem@davemloft.net>
11247 * sysdeps/sparc/backtrace.c: New file.
11248 * sysdeps/sparc/sparc32/backtrace.h: New file.
11249 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11250 * sysdeps/sparc/sparc64/backtrace.h: New file.
11251 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11252 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11255 2013-01-21 Andreas Schwab <schwab@suse.de>
11258 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11261 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11263 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11265 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11267 2013-01-18 Joseph Myers <joseph@codesourcery.com>
11268 Mark Mitchell <mark@codesourcery.com>
11269 Tom de Vries <tom@codesourcery.com>
11270 Paul Pluzhnikov <ppluzhnikov@google.com>
11272 * debug/tst-backtrace2.c: New file.
11273 * debug/tst-backtrace3.c: Likewise.
11274 * debug/tst-backtrace4.c: Likewise.
11275 * debug/tst-backtrace5.c: Likewise.
11276 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11277 (CFLAGS-tst-backtrace3.c): Likewise.
11278 (CFLAGS-tst-backtrace4.c): Likewise.
11279 (CFLAGS-tst-backtrace5.c): Likewise.
11280 (LDFLAGS-tst-backtrace2): Likewise.
11281 (LDFLAGS-tst-backtrace3): Likewise.
11282 (LDFLAGS-tst-backtrace4): Likewise.
11283 (LDFLAGS-tst-backtrace5): Likewise.
11284 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11285 tst-backtrace4 and tst-backtrace5.
11287 2013-01-18 Anton Blanchard <anton@samba.org>
11288 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11290 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11291 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11292 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11293 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11295 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11296 "+r" and remove output regs list as redundant. Add explicit inline
11297 asm to specify register of return val to work around compiler codegen
11298 bug. Remove (int) cast on return value. Add return type parameter to
11299 use in macro so that this macro does not truncate return value for
11301 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11302 pass to INTERNAL_VSYSCALL_NCS.
11303 (INLINE_VSYSCALL): Add 'long int' as return type to
11304 INTERNAL_VSYSCALL_NCS macro invocation.
11305 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11306 INTERNAL_VSYSCALL_NCS macro invocation.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11309 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11312 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11313 Fix application of SIMD FP exception mask.
11315 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11316 mp_no from a power of two.
11317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11318 __mpexp_twomm1. Use __pow_mp.
11320 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11323 2013-01-17 David S. Miller <davem@davemloft.net>
11325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11327 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11330 * include/complex.h: Condition contents on [!_COMPLEX_H].
11331 (__kernel_casinhf): New prototype.
11332 (__kernel_casinh): Likewise.
11333 (__kernel_casinhl): Likewise.
11334 * math/Makefile (libm_calls): Add k_casinh.
11335 * math/k_casinh.c: New file.
11336 * math/k_casinhf.c: Likewise.
11337 * math/k_casinhl.c: Likewise.
11338 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11339 finite nonzero arguments.
11340 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11341 finite nonzero arguments.
11342 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11343 finite nonzero arguments.
11344 * math/s_casinh.c: Do not include <float.h>.
11345 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11346 * math/s_casinhf.c: Do not include <float.h>.
11347 (__casinhf): Move code for finite nonzero arguments to
11349 * math/s_casinhl.c: Do not include <float.h>.
11350 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11352 (__casinhl): Move code for finite nonzero arguments to
11354 * math/libm-test.inc (cacos_test): Add more tests.
11355 * sysdeps/i386/fpu/libm-test-ulps: Update.
11356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11358 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11360 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11361 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11362 [!HAVE_MREMAP]: Remove [defined linux] case.
11363 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11365 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11367 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11369 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
11371 * elf/elf.h (R_386_SIZE32): New relocation.
11372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11374 (elf_machine_rela): Likewise.
11375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11376 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11378 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11380 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11381 (FP_FAST_FMA): Do not define.
11382 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11383 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11384 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11385 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11386 !_SOFT_FLOAT]: Likewise.
11387 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11388 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11390 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11391 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11392 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11393 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11394 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11395 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11398 2013-01-16 Andreas Schwab <schwab@suse.de>
11401 * include/stdlib.h (__mktemp): Add declaration.
11402 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11403 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11405 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11407 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11409 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11410 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11411 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11413 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11414 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11416 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11418 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11419 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11420 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11422 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11423 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11425 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11427 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11429 2013-01-15 David S. Miller <davem@davemloft.net>
11431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11432 trunc{,f} to libm-sysdep_routes.
11433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11443 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11444 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11445 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11446 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11447 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11448 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11451 nearbyint{,f} to libm-sysdep_routes.
11452 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11462 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11463 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11465 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11466 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11468 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11469 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11470 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11472 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11473 libc_feholdexcept and libc_fesetenv.
11475 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11477 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11479 2013-01-14 David S. Miller <davem@davemloft.net>
11481 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11482 (SPARC_ASM_VIS2_IFUNC): Likewise.
11483 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11485 use of 'siam' instruction.
11486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11504 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11514 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11515 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11517 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11519 routines to libm-sysdep_routines.
11520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11523 fdim/fdimf to libm-sysdep_routines.
11524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11532 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11533 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11534 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11535 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11537 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11539 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11540 to optimize copies.
11542 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11547 local variable MPTWO.
11548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11551 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11553 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11556 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11558 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11560 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11562 * manual/pattern.texi (glob_t): Document gl_flags.
11563 (glob64_t): Likewise.
11565 2013-01-11 David S. Miller <davem@davemloft.net>
11567 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11568 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11569 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
11570 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11571 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11572 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11573 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11574 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11575 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11576 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11577 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11578 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11579 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11581 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11582 sparc V9 rather than using V8 code.
11583 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11584 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11586 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11588 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11591 2013-01-11 Roland McGrath <roland@hack.frob.com>
11593 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11594 not in the main loop.
11595 * configure: Regenerated.
11597 2013-01-11 Joseph Myers <joseph@codesourcery.com>
11599 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11600 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11602 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11603 [!__GLIBC_HAVE_LONG_LONG] case.
11604 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11605 condition to just #else.
11606 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11607 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11608 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11609 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11611 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11612 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11613 #elif condition to just #else.
11614 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11615 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11616 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11617 #elif condition to just #else.
11619 2013-01-11 Steve Ellcey <sellcey@mips.com>
11621 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11622 (EF_MIPS_ARCH_64): Fix value.
11623 (EF_MIPS_ARCH_32R2): New.
11624 (EF_MIPS_ARCH_64R2): New.
11626 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11628 * Makeconfig (+link-pie-before-libc): New.
11629 (+link-pie-after-libc): Likewise.
11630 (+link-pie-tests): Likewise.
11631 (+link-pie): Rewritten.
11632 (link-before-libc): Remove $(config-LDFLAGS).
11633 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11634 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11635 (config-LDFLAGS): Renamed to ...
11636 (rtld-LDFLAGS): This.
11637 (rtld-tests-LDFLAGS): New macro.
11638 (link-libc-rpath-link): Likewise.
11639 (link-libc-tests-rpath-link): Likewise.
11640 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11641 (link-libc): Prepand $(link-libc-rpath-link).
11642 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11643 (test-program-prefix): New macro.
11644 (test-via-rtld-prefix): Likewise.
11645 (test-program-cmd): Likewise.
11646 (host-test-program-cmd): Likewise.
11647 * Makefile ($(common-objpfx)testrun.sh): Replace
11648 $(run-program-prefix) with $(test-program-prefix).
11649 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11651 ($(common-objpfx)shlib.lds): Likewise.
11652 (build-module-helper): Likewise.
11653 ($(common-objpfx)format.lds): Likewise.
11654 * Rules (binaries-pie-tests): New.
11655 (binaries-pie-notests): Likewise.
11656 (binaries-pie): Rewritten.
11657 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11658 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11659 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11660 (make-test-out): Replace $(host-built-program-cmd) with
11661 $(host-test-program-cmd).
11662 * config.make.in (build-hardcoded-path-in-tests): New variable.
11663 * configure.in (--enable-hardcoded-path-in-tests): New configure
11665 (hardcoded_path_in_tests): New AC_SUBST.
11666 * configure: Regenerated.
11667 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11668 $(built-program-cmd) with $(test-program-cmd).
11669 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11670 (test_program_cmd): This.
11671 * elf/Makefile ($(objpfx)order.out): Run test with
11672 $(test-program-prefix).
11673 ($(objpfx)order2.out): Likewise.
11674 ($(objpfx)tst-initorder.out): Likewise.
11675 ($(objpfx)tst-initorder2.out): Likewise.
11676 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11677 $(test-program-cmd).
11678 ($(objpfx)tst-array1-static.out): Likewise.
11679 ($(objpfx)tst-array2.out): Likewise.
11680 ($(objpfx)tst-array3.out): Likewise.
11681 ($(objpfx)tst-array4.out): Likewise.
11682 ($(objpfx)tst-array5.out): Likewise.
11683 ($(objpfx)tst-array5-static.out): Likewise.
11684 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11685 $(test-program-cmd).
11686 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11687 $(run-program-prefix) with $(test-program-prefix).
11688 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11689 (test_program_prefix): This.
11690 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11691 $(run-program-prefix) with $(test-program-prefix).
11692 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11693 (test_program_prefix): This.
11694 * iconvdata/tst-tables.sh: Likewise.
11695 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11696 $(run-program-prefix) with $(test-program-prefix).
11697 ($(objpfx)tst-translit.out): Likewise.
11698 ($(objpfx)tst-gettext2.out): Likewise.
11699 ($(objpfx)tst-gettext4.out): Likewise.
11700 ($(objpfx)tst-gettext6.out): Likewise.
11701 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11702 (test_program_prefix): This.
11703 * intl/tst-gettext2.sh: Likewise.
11704 * intl/tst-gettext4.sh Likewise.
11705 * intl/tst-gettext6.sh: Likewise.
11706 * intl/tst-translit.sh: Likewise.
11707 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11708 with $(test-program-cmd).
11709 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11710 $(run-program-prefix) with $(test-program-prefix).
11711 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11712 (test_program_prefix): This.
11713 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11714 $(run-program-prefix) with $(test-program-prefix).
11715 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11716 (test_program_prefix): This.
11717 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11718 * posix/Makefile ($(objpfx)globtest.out): Replace
11719 $(run-via-rtld-prefix) and $(test-wrapper) with
11720 $(test-program-prefix) and $(test-via-rtld-prefix).
11721 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11722 $(test-program-prefix).
11723 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11724 $(host-test-program-cmd).
11725 (tst-spawn-ARGS): Likewise.
11726 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11727 $(test-program-prefix).
11728 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11729 (test_via_rtld_prefix): This.
11730 (test_wrapper): Renamed to ...
11731 (test_program_prefix): This.
11732 (run_program_prefix): Replaced by test_program_prefix.
11733 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11734 (test_program_prefix): This.
11735 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11736 with $(host-test-program-cmd).
11737 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11738 $(run-program-prefix) with $(test-program-prefix).
11739 ($(objpfx)tst-printf.out): Likewise.
11740 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11741 $(test-program-cmd).
11742 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11743 (test_program_prefix): This.
11744 * stdio-common/tst-unbputc.sh: Likewise.
11745 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11746 $(run-program-prefix) with $(test-program-prefix).
11747 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11748 (test_program_prefix): This.
11749 * string/Makefile ($(objpfx)tst-svc.out): Replace
11750 $(built-program-cmd) with $(test-program-cmd).
11752 2013-01-11 Andreas Jaeger <aj@suse.de>
11755 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11756 value. Sync with Linux 3.7.
11758 2013-01-10 David S. Miller <davem@davemloft.net>
11760 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11761 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11762 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11764 2013-01-10 Roland McGrath <roland@hack.frob.com>
11766 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11768 * configure: Regenerated.
11770 2013-01-10 David S. Miller <davem@davemloft.net>
11772 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11773 sparc V9 rather than using V8 code.
11774 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11775 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11777 2013-01-10 Roland McGrath <roland@hack.frob.com>
11779 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11780 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11781 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11782 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11783 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11784 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11785 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11786 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11787 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11788 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11789 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11790 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11791 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11792 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11793 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11794 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11795 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11796 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11797 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11798 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11799 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11800 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11801 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11802 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11803 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11804 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11805 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11807 2013-01-10 David S. Miller <davem@davemloft.net>
11809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11811 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11813 * posix/Makefile (tests-static): New variable.
11814 (tests): Add $(tests-static).
11815 (tst-exec-static-ARGS): New variable.
11816 (tst-spawn-static-ARGS): Likewise.
11817 * posix/tst-exec-static.c: New file.
11818 * posix/tst-spawn-static.c: Likewise.
11819 * posix/tst-exec.c: Support run directly.
11820 * posix/tst-spawn.c: Likewise.
11822 2013-01-10 Joseph Myers <joseph@codesourcery.com>
11824 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11826 * math/bits/mathcalls.h (llrint): Likewise.
11827 (llround): Likewise.
11828 * stdlib/stdlib.h (struct drand48_data): Likewise.
11829 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11830 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11831 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11833 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11835 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11836 (elf_greg_t): Likewise.
11837 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11838 (__jmp_buf): Likewise.
11839 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11841 (llrint): Likewise, for all definitions.
11842 (llrintl): Likewise.
11844 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11845 Remove [__GNUC__] condition.
11846 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11847 condition to just [__USE_ISOC99].
11848 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11850 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11853 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11854 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11856 (_POSIX_V6_ILP32_OFF32): Likewise.
11857 (_XBS5_ILP32_OFF32): Likewise.
11858 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11859 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11861 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11863 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11866 doubles __mpexp_twomm1. Adjust usage.
11867 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11870 2013-01-10 Andreas Schwab <schwab@suse.de>
11873 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11874 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11876 2013-01-09 David S. Miller <davem@davemloft.net>
11879 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11880 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11881 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11882 TCP_FASTOPEN): Define.
11883 (tcp_repair_opt): New structure.
11884 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11886 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11887 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11888 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11889 (tcp_cookie_transactions): New structure.
11891 2013-01-09 Anton Blanchard <anton@samba.org>
11893 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11894 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11895 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11896 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11898 2013-01-09 Joseph Myers <joseph@codesourcery.com>
11900 * include/features.h (__USE_ANSI): Remove.
11902 2013-01-09 Roland McGrath <roland@hack.frob.com>
11904 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11906 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11908 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11910 * sysdeps/s390/fpu/libm-test-ulps: Update.
11912 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11914 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11918 (denorm): Likewise.
11919 (__mp_dbl): Likewise.
11920 (__dbl_mp): Likewise.
11921 (add_magnitudes): Likewise.
11922 (sub_magnitudes): Likewise.
11928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11932 (denorm): Likewise.
11933 (__mp_dbl): Likewise.
11934 (__dbl_mp): Likewise.
11935 (add_magnitudes): Likewise.
11936 (sub_magnitudes): Likewise.
11942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11946 (denorm): Likewise.
11947 (__mp_dbl): Likewise.
11948 (__dbl_mp): Likewise.
11949 (add_magnitudes): Likewise.
11950 (sub_magnitudes): Likewise.
11957 2013-01-08 Joseph Myers <joseph@codesourcery.com>
11959 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11960 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11961 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11962 2 && __USE_EXTERN_INLINES]: Likewise.
11964 2013-01-08 Andreas Jaeger <aj@suse.de>
11967 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11969 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11970 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11972 2013-01-07 Anton Blanchard <anton@samba.org>
11974 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11975 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11976 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11977 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11978 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11979 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11980 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11981 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11982 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11983 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11984 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11985 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11986 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11987 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11988 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11989 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11990 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11991 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11992 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11993 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11994 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11995 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11996 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11997 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11998 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11999 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12000 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12001 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12002 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12003 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12004 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12006 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12007 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12008 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12009 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12010 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12012 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12013 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12014 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12015 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12016 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12018 2013-01-07 Joseph Myers <joseph@codesourcery.com>
12020 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12021 (__MALLOC_PMT): Likewise.
12022 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12023 [__GNUC__], only on [_LIBC].
12024 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12025 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12026 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12027 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12028 forward declaration.
12029 (realloc_hook_ini): Likewise.
12030 (memalign_hook_ini): Likewise.
12031 (__libc_memalign): Do not use __MALLOC_PMT in variable
12033 (__libc_valloc): Likewise.
12034 (__libc_pvalloc): Likewise.
12035 (__libc_calloc): Likewise.
12036 (__posix_memalign): Likewise.
12039 * math/s_casinh.c: Include <float.h>.
12040 (__casinh): Do not do computation with squaring and square root
12041 for large arguments.
12042 * math/s_casinhf.c: Include <float.h>.
12043 (__casinhf): Do not do computation with squaring and square root
12044 for large arguments.
12045 * math/s_casinhl.c: Include <float.h>.
12046 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12047 (__casinhl): Do not do computation with squaring and square root
12048 for large arguments.
12049 * math/libm-test.inc (casin_test): Add more tests.
12050 (casinh_test): Likewise.
12051 * sysdeps/i386/fpu/libm-test-ulps: Update.
12052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12054 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12056 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12057 (__x86_64_raw_data_cache_size): Likewise.
12058 (__x86_64_data_cache_size_half): Likewise.
12059 (__x86_64_raw_data_cache_size_half): Likewise.
12060 (__x86_64_shared_cache_size): Likewise.
12061 (__x86_64_raw_shared_cache_size): Likewise.
12062 (__x86_64_shared_cache_size_half): Likewise.
12063 (__x86_64_raw_shared_cache_size_half): Likewise.
12064 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12066 (__x86_data_cache_size): This.
12067 (__x86_64_raw_data_cache_size): Renamed to ...
12068 (__x86_raw_data_cache_size): This.
12069 (__x86_64_data_cache_size_half): Renamed to ...
12070 (__x86_data_cache_size_half): This.
12071 (__x86_64_raw_data_cache_size_half): Renamed to ...
12072 (__x86_raw_data_cache_size_half): This.
12073 (__x86_64_shared_cache_size): Renamed to ...
12074 (__x86_shared_cache_size): This.
12075 (__x86_64_raw_shared_cache_size): Renamed to ...
12076 (__x86_raw_shared_cache_size): This.
12077 (__x86_64_shared_cache_size_half): Renamed to ...
12078 (__x86_shared_cache_size_half): This.
12079 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12080 (__x86_raw_shared_cache_size_half): This.
12081 * sysdeps/x86_64/memcpy.S: Updated.
12082 * sysdeps/x86_64/memset.S: Likewise.
12083 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12084 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12087 2013-01-04 David S. Miller <davem@davemloft.net>
12089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12091 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12093 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12094 1 to avoid redefinition warning.
12095 (__USE_GNU): Don't define.
12096 (init_signaling_nan): Protoize.
12098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12100 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12102 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12104 (__cpymn): Likewise.
12105 (norm): Remove commented code.
12106 (denorm): Likewise.
12107 (__mp_dbl): Likewise.
12109 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12110 (__cpymn): Likewise.
12111 (norm): Remove commented code.
12112 (denorm): Likewise.
12113 (__mp_dbl): Likewise.
12116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12117 mp_no value for 1.0 and 2.0.
12118 (norm): Use RADIXI instead of radixi.d.
12119 (denorm): Likewise.
12120 (__mul): Use 0.0 instead of zero.d.
12121 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12122 mp_no value for 1.0 and 2.0.
12123 (norm): Use RADIXI instead of radixi.d.
12124 (denorm): Likewise.
12125 (__mul): Use 0.0 instead of zero.d.
12127 2013-01-04 Joseph Myers <joseph@codesourcery.com>
12130 * math/s_casinh.c (__casinh): Reduce finite argument to first
12131 quadrant then set signs of results at the end.
12132 * math/s_casinhf.c (__casinhf): Likewise.
12133 * math/s_casinhl.c (__casinhl): Likewise.
12134 * math/libm-test.inc (casin_test): Add more tests.
12135 (casinh_test): Likewise.
12136 * sysdeps/i386/fpu/libm-test-ulps: Update.
12137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12139 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12141 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12143 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12145 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12147 (denorm): Likewise.
12148 (__mp_dbl): Likewise.
12151 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12152 and adjust the header comment.
12154 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12155 variable name from declaration.
12157 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12159 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12160 Initialize COMMON_CPUID_INDEX_7 element.
12161 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12162 (CPUID_RTM): Likewise.
12163 (HAS_RTM): Likewise.
12164 (COMMON_CPUID_INDEX_7): New enum.
12166 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12169 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12170 size is zero, record memory as freed.
12172 2013-01-03 Andreas Jaeger <aj@suse.de>
12174 * po/ia.po: Add new Interlingua translation.
12176 2012-01-03 Allan McRae <allan@archlinux.org>
12178 * locale/programs/localedef.c: Fix description of '--posix' flag.
12180 2013-01-02 Joseph Myers <joseph@codesourcery.com>
12182 * NEWS: Update dates in second copyright notice.
12183 * README: Update copyright dates in example.
12184 * manual/libc.texinfo: Update copyright dates.
12185 * scripts/test-installation.pl: Update copyright date in --version
12188 * hurd/ctty-input.c: Fix copyright notice formatting.
12189 * hurd/ctty-output.c: Likewise.
12190 * hurd/dtable.c: Likewise.
12191 * hurd/hurd-raise.c: Likewise.
12192 * hurd/hurdprio.c: Likewise.
12193 * hurd/msgportdemux.c: Likewise.
12194 * misc/sys/file.h: Likewise.
12195 * misc/sys/ioctl.h: Likewise.
12196 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12197 * sysdeps/mach/hurd/chdir.c: Likewise.
12198 * sysdeps/mach/hurd/fchdir.c: Likewise.
12199 * sysdeps/mach/hurd/rename.c: Likewise.
12200 * sysdeps/mach/hurd/rmdir.c: Likewise.
12201 * sysdeps/mach/hurd/seekdir.c: Likewise.
12202 * sysdeps/mach/hurd/setsid.c: Likewise.
12203 * sysdeps/posix/wait3.c: Likewise.
12205 * All files with FSF copyright notices: Update copyright dates
12206 using scripts/update-copyrights.
12207 * intl/plural.c: Regenerated.
12208 * locale/programs/charmap-kw.h: Likewise.
12209 * locale/programs/locfile-kw.h: Likewise.
12211 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12213 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12216 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12217 calculation loop and add branch prediction.
12219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12220 check access beyond bounds of m1np.
12222 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12224 (__inv): Remove local variable MPTWO to use the global
12226 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12227 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12229 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12230 MP3HALFS static const.
12232 2013-01-01 David S. Miller <davem@davemloft.net>
12234 * po/ca.po: Update from translation team.
12236 2013-01-01 Joseph Myers <joseph@codesourcery.com>
12238 * scripts/update-copyrights: New file.
12239 * Makeconfig: Reformat copyright notice.
12240 * ctype/ctype.h: Likewise.
12241 * debug/swprintf_chk.c: Likewise.
12242 * elf/dl-cache.c: Likewise.
12243 * elf/dl-debug.c: Likewise.
12244 * elf/dl-object.c: Likewise.
12245 * grp/initgroups.c: Likewise.
12246 * hurd/Makefile: Likewise.
12247 * hurd/hurd/signal.h: Likewise.
12248 * hurd/hurdfault.c: Likewise.
12249 * hurd/hurdioctl.c: Likewise.
12250 * hurd/hurdlookup.c: Likewise.
12251 * hurd/intr-msg.c: Likewise.
12252 * iconv/gconv_open.c: Likewise.
12253 * libio/swprintf.c: Likewise.
12254 * locale/lc-ctype.c: Likewise.
12255 * locale/nl_langinfo.c: Likewise.
12256 * mach/Machrules: Likewise.
12257 * mach/Makefile: Likewise.
12258 * malloc/obstack.h: Likewise.
12259 * manual/Makefile: Likewise.
12260 * manual/tsort.awk: Likewise.
12261 * misc/bits/stab.def: Likewise.
12262 * nis/nis_print_group_entry.c: Likewise.
12263 * nis/nis_table.c: Likewise.
12264 * nis/nss_compat/compat-pwd.c: Likewise.
12265 * nis/nss_compat/compat-spwd.c: Likewise.
12266 * po/Makefile: Likewise.
12267 * posix/fnmatch.c: Likewise.
12268 * posix/regex.h: Likewise.
12269 * resolv/Makefile: Likewise.
12270 * resolv/nss_dns/dns-network.c: Likewise.
12271 * resolv/res_hconf.c: Likewise.
12272 * scripts/gen-sorted.awk: Likewise.
12273 * soft-fp/soft-fp.h: Likewise.
12274 * stdio-common/printf.h: Likewise.
12275 * stdlib/monetary.h: Likewise.
12276 * stdlib/random.c: Likewise.
12277 * stdlib/random_r.c: Likewise.
12278 * sysdeps/generic/Makefile: Likewise.
12279 * sysdeps/gnu/Makefile: Likewise.
12280 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12281 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12282 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12283 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12284 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12285 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12286 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12287 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12288 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12289 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12290 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12291 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12292 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12293 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12294 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12295 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12296 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12297 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12298 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12299 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12300 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12301 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12302 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12308 * sysdeps/mach/hurd/errnos.awk: Likewise.
12309 * sysdeps/mach/hurd/fork.c: Likewise.
12310 * sysdeps/mach/hurd/getcwd.c: Likewise.
12311 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12312 * sysdeps/mach/hurd/mmap.c: Likewise.
12313 * sysdeps/mach/hurd/utimes.c: Likewise.
12314 * sysdeps/mach/hurd/xmknod.c: Likewise.
12315 * sysdeps/posix/profil.c: Likewise.
12316 * sysdeps/posix/readdir_r.c: Likewise.
12317 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12318 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12319 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12320 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12322 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12323 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12324 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12326 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12327 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12328 * sysdeps/pthread/lio_listio.c: Likewise.
12329 * sysdeps/sparc/dl-procinfo.h: Likewise.
12330 * sysdeps/unix/i386/sysdep.S: Likewise.
12331 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12332 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12333 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12334 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12336 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12337 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12338 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12339 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12340 * sysdeps/wordsize-32/divdi3.c: Likewise.
12341 * time/sys/time.h: Likewise.
12342 * wcsmbs/Makefile: Likewise.
12344 2013-01-01 David S. Miller <davem@davemloft.net>
12346 * po/fr.po: Update from translation team.
12348 * catgets/gencat.c: Update copyright year.
12349 * csu/version.c: Likewise.
12350 * debug/catchsegv.sh: Likewise.
12351 * debug/pcprofiledump.c: Likewise.
12352 * debug/xtrace.sh: Likewise.
12353 * elf/ldconfig.c: Likewise.
12354 * elf/ldd.bash.in: Likewise.
12355 * elf/pldd.c: Likewise.
12356 * elf/sotruss.ksh: Likewise.
12357 * elf/sprof.c: Likewise.
12358 * iconv/iconv_prog.c: Likewise.
12359 * iconv/iconvconfig.c: Likewise.
12360 * locale/programs/locale.c: Likewise.
12361 * locale/programs/localedef.c: Likewise.
12362 * login/programs/pt_chown.c: Likewise.
12363 * malloc/memusage.sh: Likewise.
12364 * malloc/memusagestat.c: Likewise.
12365 * malloc/mtrace.pl: Likewise.
12366 * nscd/nscd.c: Likewise.
12367 * nss/getent.c: Likewise.
12368 * nss/makedb.c: Likewise.
12369 * posix/getconf.c: Likewise.
12371 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12373 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12376 2012-12-30 Mike Frysinger <vapier@gentoo.org>
12378 * math/bits/mathcalls.h (modf): Use __nonnull.
12380 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12382 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12383 (split): Use macro CN instead of the bare value.
12384 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12386 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12387 instead of the bare value.
12388 (power1): Likewise.
12390 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12392 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12394 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12396 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12398 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12399 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12400 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12401 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12403 2012-12-28 Andreas Jaeger <aj@suse.de>
12405 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12406 values are from Linux 3.7.
12408 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12409 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12411 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12413 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12416 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12418 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12419 variables with preprocessor constants.
12420 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12421 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12422 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12424 2012-12-27 Bruno Haible <bruno@clisp.org>
12427 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12430 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12433 and use variable directly.
12434 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12436 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12438 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12439 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12441 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12442 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12443 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12444 include directive. Remove local variable MPONE.
12445 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12446 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12447 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12449 2012-12-25 David S. Miller <davem@davemloft.net>
12451 * version.h (RELEASE): Set to "development".
12452 (VERSION): Set to "2.17.90".
12453 * NEWS: Add 2.18 section.
12455 2012-12-21 David S. Miller <davem@davemloft.net>
12457 * po/hr.po: Update from translation team.
12459 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12461 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12463 2012-12-19 Steve Ellcey <sellcey@mips.com>
12465 * NEWS: Mention new memcpy for MIPS.
12467 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12469 * manual/contrib.texi (Contributors): Spelling correction.
12471 2012-12-15 David S. Miller <davem@davemloft.net>
12473 * po/ru.po: Update from translation team.
12475 2012-12-13 David S. Miller <davem@davemloft.net>
12477 * NEWS: Mention IFUNC testsuite enhancements.
12479 * po/pl.po: Update from translation team.
12480 * po/bg.po: Likewise.
12482 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12483 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12485 2012-12-11 David S. Miller <davem@davemloft.net>
12487 * po/sv.po: Update from translation team.
12489 * po/vi.po: Update from translation team.
12491 * po/cs.po: Update from translation team.
12493 * po/de.po: Update from translation team.
12494 * po/eo.po: Likewise.
12495 * po/nl.po: Likewise.
12497 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12500 * manual/argp.texi (Argp Helper Functions): Move node to follow
12501 Argp Parsing State.
12504 * manual/conf.texi (Limits on File System Capacity): Mention if
12505 terminating null is included in the max size.
12507 2012-12-10 Andreas Jaeger <aj@suse.de>
12509 * po/cs.po: Update from translation team.
12511 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12513 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12514 void pointer and cast to uintptr_t.
12515 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12517 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12518 * sysdeps/s390/s390-64/memset.S: Likewise.
12520 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12523 * menual/message.texi (Message Translation): Fix typos.
12524 (Helper programs for gettext): Likewise.
12526 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12529 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12532 2012-12-07 David S. Miller <davem@davemloft.net>
12534 * po/libc.pot: Update.
12536 2012-12-07 Richard Henderson <rth@redhat.com>
12539 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12540 normal/normal case to before the switch.
12541 (_FP_DIV): Likewise.
12543 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12544 Mike Frysinger <vapier@gentoo.org>
12546 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12547 check for __NR_fadvise64_64.
12549 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12551 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12552 0, not just to plain "0" as a statement.
12553 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12556 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12558 * NEWS: Use sourceware.org in Bugzilla URL.
12560 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12563 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12565 * stdio-common/tst-put-error.c (do_test): Add newline to the
12566 padded test to ensure flush.
12568 2012-12-05 Jeff Law <law@redhat.com>
12570 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12572 2012-12-05 Joseph Myers <joseph@codesourcery.com>
12574 * README: Don't refer to ports add-on as distributed separately.
12575 Mention AArch64 in list of systems supported in the ports add-on.
12577 * LICENSES: Add more non-FSF copyright and license notices.
12579 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12582 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12584 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12585 10000 as width of padded output.
12587 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12589 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12591 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12592 variable LX with __attribute__ ((unused)).
12593 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12595 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12598 with __attribute__ ((unused)).
12600 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
12602 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12604 2012-12-04 Joseph Myers <joseph@codesourcery.com>
12606 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12607 (CFLAGS-nldbl-acos.c): New variable.
12608 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12609 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12610 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12611 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12612 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12613 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12614 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12615 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12616 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12617 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12618 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12619 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12620 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12621 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12622 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12623 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12624 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12625 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12626 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12627 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12628 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12629 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12630 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12631 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12632 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12633 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12634 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12635 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12636 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12637 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12638 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12639 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12640 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12641 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12642 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12643 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12644 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12645 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12646 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12647 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12648 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12649 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12650 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12651 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12652 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12653 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12654 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12655 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12656 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12657 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12658 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12659 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12660 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12661 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12662 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12663 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12664 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12665 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12666 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12667 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12668 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12669 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12670 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12671 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12672 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12673 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12674 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12675 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12676 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12677 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12678 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12679 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12680 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12681 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12682 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12683 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12684 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12685 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12686 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12687 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12688 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12689 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12690 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12691 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12692 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12693 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12694 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12695 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12696 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12697 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12698 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12699 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12700 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12701 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12702 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12703 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12704 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12707 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12711 whole low double instead of just low 47 bits when splitting values
12714 2012-12-03 Allan McRae <allan@archlinux.org>
12716 * manual/stdio.texi (Predefined Printf Handlers): Remove
12717 @hsep and @vsep usage.
12719 2012-12-03 Mike Frysinger <vapier@gentoo.org>
12721 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12722 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12724 2012-12-03 Jeff Law <law@redhat.com>
12726 * time/sys/time.h (settimeofday): Do not mark TV argument
12729 2012-12-01 Mike Frysinger <vapier@gentoo.org>
12731 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12732 when currently writing and seek to current position when not.
12733 * libio/Makefile (tests): Remove bug-fclose1.
12734 * libio/bug-fclose1.c: Delete.
12736 2012-12-01 Joseph Myers <joseph@codesourcery.com>
12738 * manual/arith.texi (feenableexcept): Fix typo.
12739 (fedisableexcept): Likewise.
12741 2012-11-30 Roland McGrath <roland@hack.frob.com>
12743 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12744 second, differently-typed declaration, rather than a cast.
12746 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12748 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12749 * include/rpc/svc.h: ... here.
12751 2012-11-30 Aurelien Jarno <aurel32@debian.org>
12754 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12755 depending n and resplen2 to catch cases where answer
12758 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12760 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12761 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12763 2012-11-29 Mike Frysinger <vapier@gentoo.org>
12765 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12767 2012-11-29 Roland McGrath <roland@hack.frob.com>
12769 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12771 2012-11-28 Jeff Law <law@redhat.com>
12774 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12775 dataset_temporary. Track alloca usage into alloca_used.
12776 If dataset is large allocate and release it via malloc/free.
12778 2012-06-04 Florian Weimer <fweimer@redhat.com>
12781 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12783 2012-11-28 David S. Miller <davem@davemloft.net>
12785 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12787 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12790 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12791 of pi/2 rounded to nearest to 64 bits.
12792 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12793 nearest to 64 bits.
12794 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12797 2012-11-28 Jeff Law <law@redhat.com>
12798 Martin Osvald <mosvald@redhat.com>
12801 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12802 * sunrpc/svc.c: Include time.h.
12803 (__svc_accept_failed): New function.
12804 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12805 any reason other than EINTR, call __svc_accept_failed.
12806 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12807 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12809 2012-11-28 Andreas Schwab <schwab@suse.de>
12811 * scripts/abilist.awk: Also handle indirect functions in .opd
12814 2012-11-28 Joseph Myers <joseph@codesourcery.com>
12817 * sysdeps/x86/fpu/powl_helper.c: New file.
12818 * sysdeps/x86/fpu/Makefile: Likewise.
12819 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12821 (__ieee754_powl): Use __powl_helper for finite arguments except
12822 integer exponents below 8.
12823 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12825 (__ieee754_powl): Use __powl_helper for finite arguments except
12826 integer exponents below 8.
12827 * math/libm-test.inc (pow_test): Add more tests and enable some
12828 previously disabled tests.
12829 * sysdeps/i386/fpu/libm-test-ulps: Update.
12830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12832 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12833 Carlos O'Donell <carlos_odonell@mentor.com>
12835 * nss/makedb.c (is_prime): Assert that input is odd and greater
12836 than 4. Note that fact in a comment too.
12837 (next_prime): Add 4 to input.
12839 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12842 * libio/Makefile (tests): Add test case tst-fwrite-error.
12843 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12844 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12845 * libio/tst-fwrite-error.c: New test case.
12847 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12849 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12850 before casting to void *.
12851 * include/libc-internal.h (__pointer_type): New macro.
12852 (__integer_if_pointer_type_sub): Likewise.
12853 (__integer_if_pointer_type): Likewise.
12854 (cast_to_integer): Likewise.
12855 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12856 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12857 before casting to atomic64_t.
12858 (atomic_exchange_acq): Likewise.
12859 (__arch_exchange_and_add_body): Likewise.
12860 (__arch_add_body): Likewise.
12861 (atomic_add_negative): Likewise.
12862 (atomic_add_zero): Likewise.
12864 2012-11-26 Joseph Myers <joseph@codesourcery.com>
12866 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12867 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12868 (add_fdes): Likewise.
12869 (linear_search_fdes): Likewise.
12870 (binary_search_unencoded_fdes): Likewise.
12872 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12874 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12876 2012-11-24 Adam Conrad <adconrad@0c3.net>
12878 * configure.in: Autodetect C++ header directories.
12879 * configure: Regenerated.
12881 2012-11-23 Mike Frysinger <vapier@gentoo.org>
12883 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12885 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12889 2012-11-22 Joseph Myers <joseph@codesourcery.com>
12891 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12892 LDBL_MANT_DIG == 106]: Disable some tests.
12893 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12895 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12899 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12900 input for small inputs. Return +/- pi/2 for large inputs.
12901 * math/libm-test.inc (atan_test): Add more tests.
12903 * sysdeps/generic/unwind-dw2-fde-glibc.c
12904 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12905 __attribute__ ((unused)).
12908 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12909 x * y if x and y are nonzero and z is zero.
12912 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12913 nonzero exponents with absolute value below 0x1p-117 to +/-
12917 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12918 up arguments below 2**-450, not just those below 2**-500.
12919 * math/libm-test.inc (hypot_test): Add another test.
12922 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12923 Return a+b for ratio over 2**120, not 2**60.
12924 * math/libm-test.inc (hypot_test): Add another test.
12926 * math/libm-test.inc (clog_test): Use
12927 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12928 (clog10_test): Likewise.
12931 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12933 2012-11-22 Andreas Schwab <schwab@suse.de>
12935 * sysdeps/i386/fpu/libm-test-ulps: Update.
12937 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12939 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12940 printf output with newline.
12942 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12945 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12946 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12947 -z nodlopen, -z initfirst and -z execstack support.
12948 * configure: Regenerated.
12950 * elf/elf.h (DF_1_NODIRECT): New macro.
12951 (DF_1_IGNMULDEF): Likewise.
12952 (DF_1_NOKSYMS): Likewise.
12953 (DF_1_NOHDR): Likewise.
12954 (DF_1_EDITED): Likewise.
12955 (DF_1_NORELOC): Likewise.
12956 (DF_1_SYMINTPOSE): Likewise.
12957 (DF_1_GLOBAUDIT): Likewise.
12958 (DF_1_SINGLETON): Likewise.
12959 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12960 DT_1_SUPPORTED_MASK bits.
12961 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12963 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12965 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12967 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12969 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12972 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12973 (sendmmsg): Move declarations...
12974 * socket/sys/socket.h: ... here.
12975 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12976 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12978 * socket/recvmmsg.c: ... this new file.
12979 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12980 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12981 definition of __sendmmsg hidden.
12982 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12983 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12984 Move ENOSYS stub into and include it from...
12985 * socket/sendmmsg.c: ... this new file.
12986 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12987 (sysdep_routines): Move recvmmsg and sendmmsg...
12988 * socket/Makefile (routines): ... here.
12989 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12990 (GLIBC_PRIVATE): Add __sendmmsg.
12991 * include/sys/socket.h (__sendmmsg): Add declarations.
12992 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12995 2012-11-20 Joseph Myers <joseph@codesourcery.com>
12997 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12998 variable I1 with __attribute__ ((unused)).
12999 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13001 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13003 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13004 DUMMY variables with __attribute__ ((unused)).
13006 * bits/byteswap.h: Include <bits/types.h>.
13007 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13009 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13011 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13012 string_t. Do not manually set errno.
13013 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13014 length with __strnlen. Make sure to both set errno and return it on
13017 2012-11-19 David S. Miller <davem@davemloft.net>
13019 With help from Joseph Myers.
13020 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13021 very large arguments properly.
13022 * math/libm-test.inc (atan_test): New tests.
13023 (atan2_test): New tests.
13024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13027 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13030 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13033 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13034 [POSIX] (EADDRNOTAVAIL): Likewise.
13035 [POSIX] (EAFNOSUPPORT): Likewise.
13036 [POSIX] (EALREADY): Likewise.
13037 [POSIX] (ECONNABORTED): Likewise.
13038 [POSIX] (ECONNREFUSED): Likewise.
13039 [POSIX] (ECONNRESET): Likewise.
13040 [POSIX] (EDESTADDRREQ): Likewise.
13041 [POSIX] (EDQUOT): Likewise.
13042 [POSIX] (EHOSTUNREACH): Likewise.
13043 [POSIX] (EIDRM): Likewise.
13044 [POSIX] (EISCONN): Likewise.
13045 [POSIX] (ELOOP): Likewise.
13046 [POSIX] (EMULTIHOP): Likewise.
13047 [POSIX] (ENETDOWN): Likewise.
13048 [POSIX] (ENETUNREACH): Likewise.
13049 [POSIX] (ENOBUFS): Likewise.
13050 [POSIX] (ENODATA): Likewise.
13051 [POSIX] (ENOLINK): Likewise.
13052 [POSIX] (ENOMSG): Likewise.
13053 [POSIX] (ENOPROTOOPT): Likewise.
13054 [POSIX] (ENOSR): Likewise.
13055 [POSIX] (ENOSTR): Likewise.
13056 [POSIX] (ENOTCONN): Likewise.
13057 [POSIX] (ENOTSOCK): Likewise.
13058 [POSIX] (EOPNOTSUPP): Likewise.
13059 [POSIX] (EOVERFLOW): Likewise.
13060 [POSIX] (EPROTO): Likewise.
13061 [POSIX] (EPROTONOSUPPORT): Likewise.
13062 [POSIX] (EPROTOTYPE): Likewise.
13063 [POSIX] (ESTALE): Likewise.
13064 [POSIX] (ETIME): Likewise.
13065 [POSIX] (ETXTBSY): Likewise.
13066 [POSIX] (EWOULDBLOCK): Likewise.
13067 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13068 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13069 [POSIX] (SEEK_CUR): Likewise.
13070 [POSIX] (SEEK_END): Likewise.
13071 [POSIX || UNIX98] (mode_t): Do not require.
13072 [POSIX] (off_t): Likewise.
13073 [POSIX] (pid_t): Likewise.
13074 [POSIX] (sys/stat.h): Do not allow header.
13075 [POSIX] (unistd.h): Likewise.
13076 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13077 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13078 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13079 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13081 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13082 sigevent): Specify elements.
13083 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13085 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13086 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13088 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13089 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13090 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13091 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13092 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13093 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13094 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13095 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13096 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13097 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13098 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13099 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13100 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13101 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13103 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13105 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13107 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13109 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13110 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13111 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13112 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13113 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13114 Specify lower bound on value.
13115 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13116 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13117 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13118 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13119 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13120 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13121 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13122 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13124 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13126 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13127 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13128 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13129 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13130 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13131 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13132 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13133 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13134 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13135 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13136 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13137 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13138 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13139 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13140 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13141 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13143 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13145 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13146 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13147 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13148 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13149 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13150 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13152 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13153 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13154 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13155 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13156 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13157 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13158 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13160 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13161 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13162 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13163 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13164 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13165 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13166 specify as optional.
13167 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13168 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13169 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13170 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13171 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13172 [XPG3] (NL_LANGMAX): Likewise.
13173 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13174 [POSIX || XPG3] (NL_NMAX): Likewise.
13175 [POSIX || XPG3] (NL_SETMAX): Likewise.
13176 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13177 [XPG3] (NZERO): Likewise.
13178 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13179 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13180 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13181 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13182 (REG_ERANGE): Expect.
13183 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13185 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13186 Use (void) in prototype.
13187 [POSIX] (*_t): Allow.
13188 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13189 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13190 (WRDE_BADVAL): Expect.
13192 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13194 [XPG3 || XPG4] (O_RSYNC): Likewise.
13195 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13197 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13198 [XPG3 || XPG4] (sigqueue): Likewise.
13199 [XPG3 || XPG4] (sigtimedwait): Likewise.
13200 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13201 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13202 [XPG3 || XPG4] (vsnprintf): Likewise.
13203 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13205 [XPG3 || XPG4] (blksize_t): Likewise.
13206 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13208 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13209 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13210 [XPG3 || XPG4] (struct itimerspec): Likewise.
13211 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13212 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13213 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13214 [XPG3 || XPG4] (clockid_t): Likewise.
13215 [XPG3 || XPG4] (timer_t): Likewise.
13216 [XPG3 || XPG4] (clock_getres): Likewise.
13217 [XPG3 || XPG4] (clock_gettime): Likewise.
13218 [XPG3 || XPG4] (clock_settime): Likewise.
13219 [XPG3 || XPG4] (nanosleep): Likewise.
13220 [XPG3 || XPG4] (timer_create): Likewise.
13221 [XPG3 || XPG4] (timer_delete): Likewise.
13222 [XPG3 || XPG4] (timer_gettime): Likewise.
13223 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13224 [XPG3 || XPG4] (timer_settime): Likewise.
13225 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13226 [XPG3 || XPG4] (getlogin_r): Likewise.
13227 [XPG3 || XPG4] (pread): Likewise.
13228 [XPG3 || XPG4] (pthread_atfork): Likewise.
13229 [XPG3 || XPG4] (pwrite): Likewise.
13232 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13235 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13237 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13238 finalizing MALLSTREAM.
13240 * sysdeps/mach/hurd/syncfs.c: New file.
13242 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13245 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13246 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13247 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13248 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13249 (_nss_dns_gethostbyname4_r): Likewise.
13250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13251 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13253 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13256 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13258 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13260 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13261 * elf/cache.c (print_entry): Print ",AArch64" for
13264 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13265 * elf/cache.c (print_entry): Print ",hard-float" for
13268 2012-11-18 David S. Miller <davem@davemloft.net>
13270 With help from Joseph Myers.
13271 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13273 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13275 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13276 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13278 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13279 * math/libm-test.inc (y0_test): New tests.
13280 (y1_test): New tests.
13281 * sysdeps/i386/fpu/libm-test-ulps: Update.
13282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13285 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13287 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13289 * configure: Regenerated.
13291 2012-11-17 David S. Miller <davem@davemloft.net>
13294 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13295 nonzero exponents with absolute value below 0x1p-128 to +/-
13298 2012-11-17 Joseph Myers <joseph@codesourcery.com>
13300 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13302 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13304 * posix/getconf-speclist.c: New file.
13305 * posix/posix-envs.def: Likewise.
13306 * posix/confstr.c (START_ENV_GROUP): New macro.
13307 (END_ENV_GROUP): Likewise.
13308 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13309 (KNOWN_PRESENT_ENV_STRING): Likewise.
13310 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13311 (UNKNOWN_ENVIRONMENT): Likewise.
13312 (confstr): Include posix-envs.def instead of handling
13313 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13314 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13315 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13316 (END_ENV_GROUP): Likewise.
13317 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13318 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13319 (UNKNOWN_ENVIRONMENT): Likewise.
13320 (__sysconf): Include posix-envs.def instead of handling associated
13321 cases directly here.
13322 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13323 preprocessing getconf-speclist.c rather than running getconf or
13324 generating empty file.
13326 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13328 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13330 2012-11-16 Andrej Lajovic <natrij@gmail.com>
13333 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13335 2012-11-16 David S. Miller <davem@davemloft.net>
13337 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13338 smaller than LDBL_EPSILON/2.0L, just return xm1.
13340 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13342 * elf/tst-array1.c (init): Set constructor priority to 1000.
13343 (fini): Set destructor priority to 1000.
13344 * elf/tst-array2dep.c: Likewise.
13346 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13349 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13350 (_IO_new_file_xsputn): Also return EOF if none of the input
13351 data was written when overflow failed.
13352 * libio/iopadn.c (_IO_padn): Likewise.
13353 * libio/iowpadn.c (_IO_wpadn): Likewise.
13354 * stdio-common/tst-put-error.c: Add copyright notice.
13355 (do_test): Add case for printing padded string.
13356 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13357 _IO_padn returned error.
13358 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13359 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13362 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13364 * libio/libioP.h: Add comment note that the references to C++
13365 bits are now obsolete.
13367 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13369 * math/libm-test.inc (check_complex): Use asprintf.
13371 2012-11-14 Joseph Myers <joseph@codesourcery.com>
13373 * debug/pcprofiledump.c (print_version): Update copyright year.
13374 * malloc/memusagestat.c (print_version): Likewise.
13376 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13379 * elf/Makefile (tests): Add tst-audit8.
13380 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13381 ($(objpfx)tst-audit8.out): New target.
13382 (tst-audit8-ENV): New variable.
13383 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13384 audit if l_reloc_result is NULL.
13385 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13386 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13387 * elf/tst-audit8.c: New file.
13389 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13391 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13392 * misc/Makefile (CFLAGS-select.c): Define.
13393 * posix/Makefile (CFLAGS-pause.c): Define.
13395 2012-11-13 David S. Miller <davem@davemloft.net>
13397 * crypt/Makefile: Move test targets after toplevel Rules
13398 inclusion. Grab any necessary sysdep routines when linking.
13399 * crypt/md5.c (md5_process_block): Remove define, we will always
13400 name it __md5_process_block.
13401 (md5_finish_ctx): Update md5_process_block call.
13402 (md5_stream): Likewise.
13403 (md5_process_bytes): Likewise.
13404 (md5_process_block): Rename to __md5_process_block and move to ...
13405 * crypt/md5-block.c: ... here.
13406 * crypt/sha256.c (sha256_process_block): Move to ...
13407 * crypt/sha256-block.c: ... here.
13408 * crypt/sha512.c (sha512_process_block): Move to ...
13409 * crypt/sha512-block.c: ... here.
13410 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13412 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13413 * sysdeps/sparc/sparc64/multiarch/Makefile
13414 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13416 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13417 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13419 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13420 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13421 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13422 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13423 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13424 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13425 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13426 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13427 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13429 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13430 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13432 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13434 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13436 * timezone/tzselect.ksh: Update from tzcode git revision
13437 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13438 * timezone/zdump.c: Likewise.
13439 * timezone/zic.c: Likewise.
13440 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13441 in TZVERSION setting, not $(PKGVERSION).
13442 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13443 REPORT_BUGS_TO settings.
13446 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13449 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13451 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13452 detection to immediately after _FP_ROUND().
13453 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13456 2012-11-11 David S. Miller <davem@davemloft.net>
13458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13460 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13461 __close rather than their public counterparts.
13463 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13465 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13467 [UNIX98] (sem_timedwait): Do not expect.
13468 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13469 [XPG4 || UNIX98] (sockatmark): Do not expect.
13470 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13471 (clock_getcpuclockid): Do not expect.
13472 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13473 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13475 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13476 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13477 [UNIX98] (vwscanf): Likewise.
13478 [UNIX98] (vswscanf): Likewise.
13480 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13482 * timezone/version.h: Remove file.
13483 * timezone/README: Do not refer to version.h.
13484 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13485 $(objpfx)version.h.
13486 ($(objpfx)zdump.o): Likewise.
13487 ($(objpfx)version.h): New target.
13489 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13491 * timezone/README: Don't mention modification to tzselect.ksh.
13492 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13493 work on unmodified tzselect.ksh. Substitute version numbers in
13496 * Makefile (format-me): Remove.
13497 (INSTALL): Adjust indentation. Use commands directly instead of
13498 using $(format-me).
13500 * aclocal.m4 (ACX_PKGVERSION): New macro.
13501 (ACX_BUGURL): Likewise.
13502 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13503 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13504 (REPORT_BUGS_TO): Likewise.
13505 * configure: Regenerated.
13506 * config.h.in (PKGVERSION): New macro.
13507 (REPORT_BUGS_TO): Likewise.
13508 * config.make.in (PKGVERSION): New variable.
13509 (PKGVERSION_TEXI): Likewise.
13510 (REPORT_BUGS_TO): Likewise.
13511 (REPORT_BUGS_TEXI): Likewise.
13512 * Makefile (format-me): Use -I$(common-objpfx)manual.
13513 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13514 ($(common-objpfx)manual/%): New target.
13515 (manual/%): Remove target.
13516 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13517 (print_version): Use PKGVERSION.
13518 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13519 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13520 and REPORT_BUGS_TO.
13521 ($(objpfx)xtrace): Likewise.
13522 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13523 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13524 (print_version): Use PKGVERSION.
13525 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13526 (do_version): Use PKGVERSION.
13527 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13529 (common-ldd-rewrite): Likewise.
13530 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13531 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13532 (print_version): Use PKGVERSION.
13533 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13534 * elf/pldd.c (argp_program_bug_address): Remove variable.
13535 (more_help): New function.
13536 (argp): Use more_help.
13537 (print_version): Use PKGVERSION.
13538 * elf/sln.c (main): Use PKGVERSION.
13539 (usage): Use REPORT_BUGS_TO.
13540 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13541 (top level): Use PKGVERSION.
13542 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13543 (print_version): Use PKGVERSION.
13544 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13545 (print_version): Use PKGVERSION.
13546 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13547 (print_version): Use PKGVERSION.
13548 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13549 (print_version): Use PKGVERSION.
13550 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13551 (print_version): Use PKGVERSION.
13552 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13553 (print_version): Use PKGVERSION.
13554 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13556 ($(objpfx)memusage): Likewise.
13557 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13558 (do_version): Use PKGVERSION.
13559 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13560 (print_version): Use PKGVERSION.
13561 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13562 ($PKGVERSION): New variable.
13563 ($REPORT_BUGS_TO): Likewise.
13564 (usage): Use $REPORT_BUGS_TO.
13565 (top level): Use $PKGVERSION.
13566 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13567 ($(objpfx)pkgvers.texi): New rule.
13568 ($(objpfx)stamp-pkgvers): Likewise.
13569 * manual/install.texi: Include pkgvers.texi.
13570 (--with-pkgversion): Document new configure option.
13571 (--with-bugurl): Likewise.
13572 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13573 than necessarily for this particular distribution. Use
13574 REPORT_BUGS_TO for where to report bugs.
13575 * INSTALL: Regenerated.
13576 * manual/libc.texinfo: Include pkgvers.texi.
13577 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13578 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13579 (print_version): Use PKGVERSION.
13580 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13581 (print_version): Use PKGVERSION.
13582 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13583 (print_version): Use PKGVERSION.
13584 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13585 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13587 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13588 (print_version): Use PKGVERSION.
13589 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13590 (print_version): Use PKGVERSION.
13591 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13594 * timezone/checktab.awk: Update from tzcode 2012i.
13595 * timezone/ialloc.c: Likewise.
13596 * timezone/private.h: Likewise.
13597 * timezone/scheck.c: Likewise.
13598 * timezone/tzfile.h: Likewise.
13599 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13600 (TZVERSION): Hardcode tzcode version number.
13601 * timezone/zdump.c: Update from tzcode 2012i.
13602 * timezone/zic.c: Likewise.
13603 * timezone/version.h: New file.
13604 * timezone/README: Describe version.h. Update upstream location.
13607 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13608 (mktemp): Enable declaration.
13609 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13610 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13611 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13612 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13614 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13616 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13618 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13620 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13622 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13626 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13627 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13628 for copies of such integer values.
13629 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13630 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13632 2012-11-09 Andreas Jaeger <aj@suse.de>
13634 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13635 definitions and declarations that are provided by
13636 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13638 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13640 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
13641 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13642 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13645 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13647 * elf/elf.h: Update comment before AArch64 relocations.
13649 2012-11-07 David S. Miller <davem@davemloft.net>
13651 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13652 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13653 (__start_context): Declare.
13654 (__makecontext_ret): Delete.
13655 (__makecontext): Hook up __start_context instead of
13657 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13658 (sysdep_routines): Add __start_context when in stdlib.
13660 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13662 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13663 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13664 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13666 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13667 (READELF): New variable. Use it instead of hardcoded "readelf".
13669 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13671 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13672 * sysdeps/x86/Makefile: Here.
13673 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13674 * sysdeps/x86/tst-xmmymm.sh: This.
13676 2012-11-07 Joseph Myers <joseph@codesourcery.com>
13678 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13680 [UNIX98] (pthread_barrier_t): Do not expect.
13681 [UNIX98] (pthread_barrierattr_t): Likewise.
13682 [UNIX98] (pthread_spinlock_t): Likewise.
13683 [UNIX98] (pthread_barrier_destroy): Likewise.
13684 [UNIX98] (pthread_barrier_init): Likewise.
13685 [UNIX98] (pthread_barrier_wait): Likewise.
13686 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13687 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13688 [UNIX98] (pthread_barrierattr_init): Likewise.
13689 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13690 [UNIX98] (pthread_getcpuclockid): Likewise.
13691 [UNIX98] (pthread_mutex_timedlock): Likewise.
13692 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13693 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13694 [UNIX98] (pthread_sigmask): Likewise.
13695 [UNIX98] (pthread_spin_destroy): Likewise.
13696 [UNIX98] (pthread_spin_init): Likewise.
13697 [UNIX98] (pthread_spin_lock): Likewise.
13698 [UNIX98] (pthread_spin_trylock): Likewise.
13699 [UNIX98] (pthread_spin_unlock): Likewise.
13700 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13702 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13703 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13704 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13705 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13706 [XPG3 || XPG4] (pthread_key_t): Likewise.
13707 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13708 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13709 [XPG3 || XPG4] (pthread_once_t): Likewise.
13710 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13711 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13712 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13713 [XPG3 || XPG4] (pthread_t): Likewise.
13715 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13717 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13719 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13720 Change function return type to int.
13722 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13723 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13724 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13725 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13726 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13727 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13728 [!POSIX] (posix_madvise): Likewise.
13729 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13731 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13732 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13733 (mode_t): Likewise.
13734 (posix_mem_offset): Likewise.
13735 (posix_typed_mem_get_info): Likewise.
13736 (posix_typed_mem_open): Likewise.
13738 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13739 Change condition to [XOPEN2K8].
13741 * conform/conformtest.pl: Preprocess allow-header data with -x c
13742 instead of from stdin.
13743 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13744 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13745 [C99-based standards] (cerfc): Likewise.
13746 [C99-based standards] (cexp2): Likewise.
13747 [C99-based standards] (cexpm1): Likewise.
13748 [C99-based standards] (clog10): Likewise.
13749 [C99-based standards] (clog1p): Likewise.
13750 [C99-based standards] (clog2): Likewise.
13751 [C99-based standards] (clgamma): Likewise.
13752 [C99-based standards] (ctgamma): Likewise.
13753 [C99-based standards] (cerff): Likewise.
13754 [C99-based standards] (cerfcf): Likewise.
13755 [C99-based standards] (cexp2f): Likewise.
13756 [C99-based standards] (cexpm1f): Likewise.
13757 [C99-based standards] (clog10f): Likewise.
13758 [C99-based standards] (clog1pf): Likewise.
13759 [C99-based standards] (clog2f): Likewise.
13760 [C99-based standards] (clgammaf): Likewise.
13761 [C99-based standards] (ctgammaf): Likewise.
13762 [C99-based standards] (cerfl): Likewise.
13763 [C99-based standards] (cerfcl): Likewise.
13764 [C99-based standards] (cexp2l): Likewise.
13765 [C99-based standards] (cexpm1l): Likewise.
13766 [C99-based standards] (clog10l): Likewise.
13767 [C99-based standards] (clog1pl): Likewise.
13768 [C99-based standards] (clog2l): Likewise.
13769 [C99-based standards] (clgammal): Likewise.
13770 [C99-based standards] (ctgammal): Likewise.
13771 * conform/data/inttypes.h-data [C99-based standards]: Include
13772 stdint.h-data. Remove all expectations for stdint.h contents.
13773 [C99-based standards] (PRI*): Do not allow.
13774 [C99-based standards] (SCN*): Likewise.
13775 [C99-based standards] (*_t): Likewise.
13776 [C99-based-standards] (PRId8): Expect macro.
13777 [C99-based-standards] (PRIi8): Likewise.
13778 [C99-based-standards] (PRIo8): Likewise.
13779 [C99-based-standards] (PRIu8): Likewise.
13780 [C99-based-standards] (PRIx8): Likewise.
13781 [C99-based-standards] (PRIX8): Likewise.
13782 [C99-based-standards] (SCNd8): Likewise.
13783 [C99-based-standards] (SCNi8): Likewise.
13784 [C99-based-standards] (SCNo8): Likewise.
13785 [C99-based-standards] (SCNu8): Likewise.
13786 [C99-based-standards] (SCNx8): Likewise.
13787 [C99-based-standards] (PRIdLEAST8): Likewise.
13788 [C99-based-standards] (PRIiLEAST8): Likewise.
13789 [C99-based-standards] (PRIoLEAST8): Likewise.
13790 [C99-based-standards] (PRIuLEAST8): Likewise.
13791 [C99-based-standards] (PRIxLEAST8): Likewise.
13792 [C99-based-standards] (PRIXLEAST8): Likewise.
13793 [C99-based-standards] (SCNdLEAST8): Likewise.
13794 [C99-based-standards] (SCNiLEAST8): Likewise.
13795 [C99-based-standards] (SCNoLEAST8): Likewise.
13796 [C99-based-standards] (SCNuLEAST8): Likewise.
13797 [C99-based-standards] (SCNxLEAST8): Likewise.
13798 [C99-based-standards] (PRIdFAST8): Likewise.
13799 [C99-based-standards] (PRIiFAST8): Likewise.
13800 [C99-based-standards] (PRIoFAST8): Likewise.
13801 [C99-based-standards] (PRIuFAST8): Likewise.
13802 [C99-based-standards] (PRIxFAST8): Likewise.
13803 [C99-based-standards] (PRIXFAST8): Likewise.
13804 [C99-based-standards] (SCNdFAST8): Likewise.
13805 [C99-based-standards] (SCNiFAST8): Likewise.
13806 [C99-based-standards] (SCNoFAST8): Likewise.
13807 [C99-based-standards] (SCNuFAST8): Likewise.
13808 [C99-based-standards] (SCNxFAST8): Likewise.
13809 [C99-based-standards] (PRId16): Likewise.
13810 [C99-based-standards] (PRIi16): Likewise.
13811 [C99-based-standards] (PRIo16): Likewise.
13812 [C99-based-standards] (PRIu16): Likewise.
13813 [C99-based-standards] (PRIx16): Likewise.
13814 [C99-based-standards] (PRIX16): Likewise.
13815 [C99-based-standards] (SCNd16): Likewise.
13816 [C99-based-standards] (SCNi16): Likewise.
13817 [C99-based-standards] (SCNo16): Likewise.
13818 [C99-based-standards] (SCNu16): Likewise.
13819 [C99-based-standards] (SCNx16): Likewise.
13820 [C99-based-standards] (PRIdLEAST16): Likewise.
13821 [C99-based-standards] (PRIiLEAST16): Likewise.
13822 [C99-based-standards] (PRIoLEAST16): Likewise.
13823 [C99-based-standards] (PRIuLEAST16): Likewise.
13824 [C99-based-standards] (PRIxLEAST16): Likewise.
13825 [C99-based-standards] (PRIXLEAST16): Likewise.
13826 [C99-based-standards] (SCNdLEAST16): Likewise.
13827 [C99-based-standards] (SCNiLEAST16): Likewise.
13828 [C99-based-standards] (SCNoLEAST16): Likewise.
13829 [C99-based-standards] (SCNuLEAST16): Likewise.
13830 [C99-based-standards] (SCNxLEAST16): Likewise.
13831 [C99-based-standards] (PRIdFAST16): Likewise.
13832 [C99-based-standards] (PRIiFAST16): Likewise.
13833 [C99-based-standards] (PRIoFAST16): Likewise.
13834 [C99-based-standards] (PRIuFAST16): Likewise.
13835 [C99-based-standards] (PRIxFAST16): Likewise.
13836 [C99-based-standards] (PRIXFAST16): Likewise.
13837 [C99-based-standards] (SCNdFAST16): Likewise.
13838 [C99-based-standards] (SCNiFAST16): Likewise.
13839 [C99-based-standards] (SCNoFAST16): Likewise.
13840 [C99-based-standards] (SCNuFAST16): Likewise.
13841 [C99-based-standards] (SCNxFAST16): Likewise.
13842 [C99-based-standards] (PRId32): Likewise.
13843 [C99-based-standards] (PRIi32): Likewise.
13844 [C99-based-standards] (PRIo32): Likewise.
13845 [C99-based-standards] (PRIu32): Likewise.
13846 [C99-based-standards] (PRIx32): Likewise.
13847 [C99-based-standards] (PRIX32): Likewise.
13848 [C99-based-standards] (SCNd32): Likewise.
13849 [C99-based-standards] (SCNi32): Likewise.
13850 [C99-based-standards] (SCNo32): Likewise.
13851 [C99-based-standards] (SCNu32): Likewise.
13852 [C99-based-standards] (SCNx32): Likewise.
13853 [C99-based-standards] (PRIdLEAST32): Likewise.
13854 [C99-based-standards] (PRIiLEAST32): Likewise.
13855 [C99-based-standards] (PRIoLEAST32): Likewise.
13856 [C99-based-standards] (PRIuLEAST32): Likewise.
13857 [C99-based-standards] (PRIxLEAST32): Likewise.
13858 [C99-based-standards] (PRIXLEAST32): Likewise.
13859 [C99-based-standards] (SCNdLEAST32): Likewise.
13860 [C99-based-standards] (SCNiLEAST32): Likewise.
13861 [C99-based-standards] (SCNoLEAST32): Likewise.
13862 [C99-based-standards] (SCNuLEAST32): Likewise.
13863 [C99-based-standards] (SCNxLEAST32): Likewise.
13864 [C99-based-standards] (PRIdFAST32): Likewise.
13865 [C99-based-standards] (PRIiFAST32): Likewise.
13866 [C99-based-standards] (PRIoFAST32): Likewise.
13867 [C99-based-standards] (PRIuFAST32): Likewise.
13868 [C99-based-standards] (PRIxFAST32): Likewise.
13869 [C99-based-standards] (PRIXFAST32): Likewise.
13870 [C99-based-standards] (SCNdFAST32): Likewise.
13871 [C99-based-standards] (SCNiFAST32): Likewise.
13872 [C99-based-standards] (SCNoFAST32): Likewise.
13873 [C99-based-standards] (SCNuFAST32): Likewise.
13874 [C99-based-standards] (SCNxFAST32): Likewise.
13875 [C99-based-standards] (PRId64): Likewise.
13876 [C99-based-standards] (PRIi64): Likewise.
13877 [C99-based-standards] (PRIo64): Likewise.
13878 [C99-based-standards] (PRIu64): Likewise.
13879 [C99-based-standards] (PRIx64): Likewise.
13880 [C99-based-standards] (PRIX64): Likewise.
13881 [C99-based-standards] (SCNd64): Likewise.
13882 [C99-based-standards] (SCNi64): Likewise.
13883 [C99-based-standards] (SCNo64): Likewise.
13884 [C99-based-standards] (SCNu64): Likewise.
13885 [C99-based-standards] (SCNx64): Likewise.
13886 [C99-based-standards] (PRIdLEAST64): Likewise.
13887 [C99-based-standards] (PRIiLEAST64): Likewise.
13888 [C99-based-standards] (PRIoLEAST64): Likewise.
13889 [C99-based-standards] (PRIuLEAST64): Likewise.
13890 [C99-based-standards] (PRIxLEAST64): Likewise.
13891 [C99-based-standards] (PRIXLEAST64): Likewise.
13892 [C99-based-standards] (SCNdLEAST64): Likewise.
13893 [C99-based-standards] (SCNiLEAST64): Likewise.
13894 [C99-based-standards] (SCNoLEAST64): Likewise.
13895 [C99-based-standards] (SCNuLEAST64): Likewise.
13896 [C99-based-standards] (SCNxLEAST64): Likewise.
13897 [C99-based-standards] (PRIdFAST64): Likewise.
13898 [C99-based-standards] (PRIiFAST64): Likewise.
13899 [C99-based-standards] (PRIoFAST64): Likewise.
13900 [C99-based-standards] (PRIuFAST64): Likewise.
13901 [C99-based-standards] (PRIxFAST64): Likewise.
13902 [C99-based-standards] (PRIXFAST64): Likewise.
13903 [C99-based-standards] (SCNdFAST64): Likewise.
13904 [C99-based-standards] (SCNiFAST64): Likewise.
13905 [C99-based-standards] (SCNoFAST64): Likewise.
13906 [C99-based-standards] (SCNuFAST64): Likewise.
13907 [C99-based-standards] (SCNxFAST64): Likewise.
13908 [C99-based-standards] (PRIdMAX): Likewise.
13909 [C99-based-standards] (PRIiMAX): Likewise.
13910 [C99-based-standards] (PRIoMAX): Likewise.
13911 [C99-based-standards] (PRIuMAX): Likewise.
13912 [C99-based-standards] (PRIxMAX): Likewise.
13913 [C99-based-standards] (PRIXMAX): Likewise.
13914 [C99-based-standards] (SCNdMAX): Likewise.
13915 [C99-based-standards] (SCNiMAX): Likewise.
13916 [C99-based-standards] (SCNoMAX): Likewise.
13917 [C99-based-standards] (SCNuMAX): Likewise.
13918 [C99-based-standards] (SCNxMAX): Likewise.
13919 [C99-based-standards] (PRIdPTR): Likewise.
13920 [C99-based-standards] (PRIiPTR): Likewise.
13921 [C99-based-standards] (PRIoPTR): Likewise.
13922 [C99-based-standards] (PRIuPTR): Likewise.
13923 [C99-based-standards] (PRIxPTR): Likewise.
13924 [C99-based-standards] (PRIXPTR): Likewise.
13925 [C99-based-standards] (SCNdPTR): Likewise.
13926 [C99-based-standards] (SCNiPTR): Likewise.
13927 [C99-based-standards] (SCNoPTR): Likewise.
13928 [C99-based-standards] (SCNuPTR): Likewise.
13929 [C99-based-standards] (SCNxPTR): Likewise.
13930 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13932 * conform/data/stdint.h-data: Update comments to clarify
13934 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13936 [C99-based standards] (INT8_MAX): Likewise.
13937 [C99-based standards] (INT16_MIN): Likewise.
13938 [C99-based standards] (INT16_MAX): Likewise.
13939 [C99-based standards] (INT32_MIN): Likewise.
13940 [C99-based standards] (INT32_MAX): Likewise.
13941 [C99-based standards] (INT64_MIN): Likewise.
13942 [C99-based standards] (INT64_MAX): Likewise.
13943 [C99-based standards] (UINT8_MAX): Likewise.
13944 [C99-based standards] (UINT16_MAX): Likewise.
13945 [C99-based standards] (UINT32_MAX): Likewise.
13946 [C99-based standards] (UINT64_MAX): Likewise.
13947 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13948 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13949 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13950 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13951 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13952 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13953 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13954 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13955 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13956 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13957 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13958 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13959 [C99-based standards] (INT_FAST8_MIN): Likewise.
13960 [C99-based standards] (INT_FAST8_MAX): Likewise.
13961 [C99-based standards] (INT_FAST16_MIN): Likewise.
13962 [C99-based standards] (INT_FAST16_MAX): Likewise.
13963 [C99-based standards] (INT_FAST32_MIN): Likewise.
13964 [C99-based standards] (INT_FAST32_MAX): Likewise.
13965 [C99-based standards] (INT_FAST64_MIN): Likewise.
13966 [C99-based standards] (INT_FAST64_MAX): Likewise.
13967 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13968 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13969 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13970 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13971 [C99-based standards] (INTPTR_MIN): Likewise.
13972 [C99-based standards] (INTPTR_MAX): Likewise.
13973 [C99-based standards] (UINTPTR_MAX): Likewise.
13974 [C99-based standards] (INTMAX_MIN): Likewise.
13975 [C99-based standards] (INTMAX_MAX): Likewise.
13976 [C99-based standards] (UINTMAX_MAX): Likewise.
13977 [C99-based standards] (PTRDIFF_MIN): Likewise.
13978 [C99-based standards] (PTRDIFF_MAX): Likewise.
13979 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13980 [C99-based standards] (SIZE_MAX): Likewise.
13981 [C99-based standards] (WCHAR_MAX): Likewise.
13982 [C99-based standards] (WINT_MAX): Likewise.
13983 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13984 constraint on value.
13985 [C99-based standards] (WCHAR_MIN): Likewise.
13986 [C99-based standards] (WINT_MIN): Likewise.
13987 [C99-based standards] (*_t): Allow.
13988 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13989 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13990 Include math.h-data and complex.h-data. Remove all expectations
13991 of math.h and complex.h contents.
13992 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13994 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13995 (struct tm): Expect tag.
13996 [C99-based-standards] (wcstof): Expect function.
13997 [C99-based-standards] (wcstold): Likewise.
13998 [C99-based-standards] (wcstoll): Likewise.
13999 [C99-based-standards] (wcstoull): Likewise.
14000 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14001 macro-int-constant. Specify type.
14002 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14003 constraint on value.
14004 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14006 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14008 [ISO C standards]: Do not allow headers.
14009 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14010 wcs[abcdefghijklmnopqrstuvwxyz]*.
14011 [ISO C standards] (*_t): Do not allow.
14012 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14014 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14015 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14017 [ISO C standards]: Do not allow headers.
14018 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14019 is[abcdefghijklmnopqrstuvwxyz]*.
14020 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14021 to[abcdefghijklmnopqrstuvwxyz]*.
14022 [ISO C standards] (*_t): Do not allow.
14023 * conform/data/stdalign.h-data: New file.
14024 * conform/data/stdbool.h-data: Likewise.
14025 * conform/data/stdnoreturn.h-data: Likewise.
14027 2012-11-07 Roland McGrath <roland@hack.frob.com>
14030 * manual/filesys.texi (Directory Entries): Typo fix.
14031 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14033 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14035 * elf/elf.h (EM_AARCH64): New macro.
14036 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14037 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14038 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14039 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14040 (R_AARCH64_TLSDESC): Likewise.
14041 (NT_ARM_TLS): Likewise.
14042 (NT_ARM_HW_BREAK): Likewise.
14043 (NT_ARM_HW_WATCH): Likewise.
14045 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14048 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14049 (__ieee754_powl): Saturate nonzero exponents with absolute value
14050 below 0x1p-79 to +/- 0x1p-79.
14051 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14052 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14053 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14054 nonzero exponents with absolute value below 0x1p-32 to +/-
14056 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14057 (__ieee754_powl): Saturate nonzero exponents with absolute value
14058 below 0x1p-79 to +/- 0x1p-79.
14059 * math/libm-test.inc (pow_test): Add more tests.
14061 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14063 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14064 _dl_s390_cap_flags with kernel. Increase string length.
14065 (_dl_s390_platforms): Add z196 and zEC12.
14067 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14069 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14070 Change XOPEN21K to XOPEN2K.
14072 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14074 * string/memmove.c: Use memcpy when possible.
14076 2012-11-06 Andreas Jaeger <aj@suse.de>
14078 * po/eo.po: Update from translation team.
14080 2012-11-06 Joseph Myers <joseph@codesourcery.com>
14083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14084 exponent and small x and y exponents, scale x or y up. Increase
14085 by 2 the exponent used in scaling up.
14086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14087 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14088 * math/libm-test.inc (fma_test): Add more tests.
14089 (fma_test_towardzero): Likewise.
14090 (fma_test_downward): Likewise.
14091 (fma_test_upward): Likewise.
14093 2012-11-05 Joseph Myers <joseph@codesourcery.com>
14096 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14100 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14101 namespace for names of struct fields.
14102 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14104 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14105 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14107 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14110 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14112 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14114 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14118 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14121 2012-11-04 Joseph Myers <joseph@codesourcery.com>
14124 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14125 definitely overflow as x * y not x * y + z.
14126 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14127 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14128 * math/libm-test.inc (fma_test): Add more tests.
14129 (fma_test_towardzero): Likewise.
14130 (fma_test_downward): Likewise.
14131 (fma_test_upward): Likewise.
14133 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14137 * include/stub-tag.h: Remove file.
14138 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14140 * manual/maint.texi (Porting): Don't reference it.
14141 * Makerules ($(objpfx)stubs): Likewise.
14142 * dirent/closedir.c: Don't include <stub-tag.h>.
14143 * dirent/dirfd.c: Likewise.
14144 * dirent/fdopendir.c: Likewise.
14145 * dirent/getdents.c: Likewise.
14146 * dirent/getdents64.c: Likewise.
14147 * dirent/opendir.c: Likewise.
14148 * dirent/readdir.c: Likewise.
14149 * dirent/readdir64.c: Likewise.
14150 * dirent/readdir64_r.c: Likewise.
14151 * dirent/readdir_r.c: Likewise.
14152 * dirent/rewinddir.c: Likewise.
14153 * dirent/seekdir.c: Likewise.
14154 * dirent/telldir.c: Likewise.
14155 * gmon/profil.c: Likewise.
14156 * grp/setgroups.c: Likewise.
14157 * inet/if_index.c: Likewise.
14158 * io/access.c: Likewise.
14159 * io/chdir.c: Likewise.
14160 * io/chmod.c: Likewise.
14161 * io/chown.c: Likewise.
14162 * io/close.c: Likewise.
14163 * io/dup.c: Likewise.
14164 * io/dup2.c: Likewise.
14165 * io/dup3.c: Likewise.
14166 * io/euidaccess.c: Likewise.
14167 * io/faccessat.c: Likewise.
14168 * io/fchdir.c: Likewise.
14169 * io/fchmod.c: Likewise.
14170 * io/fchmodat.c: Likewise.
14171 * io/fchown.c: Likewise.
14172 * io/fchownat.c: Likewise.
14173 * io/fcntl.c: Likewise.
14174 * io/flock.c: Likewise.
14175 * io/fstatfs.c: Likewise.
14176 * io/fstatfs64.c: Likewise.
14177 * io/fstatvfs.c: Likewise.
14178 * io/fstatvfs64.c: Likewise.
14179 * io/futimens.c: Likewise.
14180 * io/fxstat.c: Likewise.
14181 * io/fxstat64.c: Likewise.
14182 * io/fxstatat.c: Likewise.
14183 * io/fxstatat64.c: Likewise.
14184 * io/getcwd.c: Likewise.
14185 * io/isatty.c: Likewise.
14186 * io/lchmod.c: Likewise.
14187 * io/lchown.c: Likewise.
14188 * io/link.c: Likewise.
14189 * io/linkat.c: Likewise.
14190 * io/lseek.c: Likewise.
14191 * io/lseek64.c: Likewise.
14192 * io/lxstat64.c: Likewise.
14193 * io/mkdir.c: Likewise.
14194 * io/mkdirat.c: Likewise.
14195 * io/mkfifo.c: Likewise.
14196 * io/mkfifoat.c: Likewise.
14197 * io/open.c: Likewise.
14198 * io/open64.c: Likewise.
14199 * io/openat.c: Likewise.
14200 * io/openat64.c: Likewise.
14201 * io/pipe.c: Likewise.
14202 * io/pipe2.c: Likewise.
14203 * io/poll.c: Likewise.
14204 * io/posix_fadvise.c: Likewise.
14205 * io/posix_fadvise64.c: Likewise.
14206 * io/posix_fallocate.c: Likewise.
14207 * io/posix_fallocate64.c: Likewise.
14208 * io/read.c: Likewise.
14209 * io/readlink.c: Likewise.
14210 * io/readlinkat.c: Likewise.
14211 * io/rmdir.c: Likewise.
14212 * io/sendfile.c: Likewise.
14213 * io/sendfile64.c: Likewise.
14214 * io/statfs.c: Likewise.
14215 * io/statfs64.c: Likewise.
14216 * io/statvfs.c: Likewise.
14217 * io/statvfs64.c: Likewise.
14218 * io/symlink.c: Likewise.
14219 * io/symlinkat.c: Likewise.
14220 * io/ttyname.c: Likewise.
14221 * io/ttyname_r.c: Likewise.
14222 * io/umask.c: Likewise.
14223 * io/unlink.c: Likewise.
14224 * io/unlinkat.c: Likewise.
14225 * io/utime.c: Likewise.
14226 * io/utimensat.c: Likewise.
14227 * io/write.c: Likewise.
14228 * io/xmknod.c: Likewise.
14229 * io/xmknodat.c: Likewise.
14230 * io/xstat.c: Likewise.
14231 * io/xstat64.c: Likewise.
14232 * login/getpt.c: Likewise.
14233 * login/grantpt.c: Likewise.
14234 * login/unlockpt.c: Likewise.
14235 * math/e_acoshl.c: Likewise.
14236 * math/e_acosl.c: Likewise.
14237 * math/e_asinl.c: Likewise.
14238 * math/e_atan2l.c: Likewise.
14239 * math/e_atanhl.c: Likewise.
14240 * math/e_coshl.c: Likewise.
14241 * math/e_expl.c: Likewise.
14242 * math/e_fmodl.c: Likewise.
14243 * math/e_gammal_r.c: Likewise.
14244 * math/e_hypotl.c: Likewise.
14245 * math/e_j0l.c: Likewise.
14246 * math/e_j1l.c: Likewise.
14247 * math/e_jnl.c: Likewise.
14248 * math/e_lgammal_r.c: Likewise.
14249 * math/e_log10l.c: Likewise.
14250 * math/e_log2l.c: Likewise.
14251 * math/e_logl.c: Likewise.
14252 * math/e_powl.c: Likewise.
14253 * math/e_rem_pio2l.c: Likewise.
14254 * math/e_sinhl.c: Likewise.
14255 * math/e_sqrtl.c: Likewise.
14256 * math/fclrexcpt.c: Likewise.
14257 * math/fedisblxcpt.c: Likewise.
14258 * math/feenablxcpt.c: Likewise.
14259 * math/fegetenv.c: Likewise.
14260 * math/fegetexcept.c: Likewise.
14261 * math/fegetround.c: Likewise.
14262 * math/feholdexcpt.c: Likewise.
14263 * math/fesetenv.c: Likewise.
14264 * math/fesetround.c: Likewise.
14265 * math/feupdateenv.c: Likewise.
14266 * math/fgetexcptflg.c: Likewise.
14267 * math/fraiseexcpt.c: Likewise.
14268 * math/fsetexcptflg.c: Likewise.
14269 * math/ftestexcept.c: Likewise.
14270 * math/k_cosl.c: Likewise.
14271 * math/k_rem_pio2l.c: Likewise.
14272 * math/k_sinl.c: Likewise.
14273 * math/k_tanl.c: Likewise.
14274 * math/s_asinhl.c: Likewise.
14275 * math/s_atanl.c: Likewise.
14276 * math/s_cbrtl.c: Likewise.
14277 * math/s_erfl.c: Likewise.
14278 * math/s_expm1l.c: Likewise.
14279 * math/s_log1pl.c: Likewise.
14280 * math/s_tanhl.c: Likewise.
14281 * misc/acct.c: Likewise.
14282 * misc/brk.c: Likewise.
14283 * misc/chflags.c: Likewise.
14284 * misc/chroot.c: Likewise.
14285 * misc/fchflags.c: Likewise.
14286 * misc/fgetxattr.c: Likewise.
14287 * misc/flistxattr.c: Likewise.
14288 * misc/fremovexattr.c: Likewise.
14289 * misc/fsetxattr.c: Likewise.
14290 * misc/fsync.c: Likewise.
14291 * misc/ftruncate.c: Likewise.
14292 * misc/futimes.c: Likewise.
14293 * misc/futimesat.c: Likewise.
14294 * misc/getdomain.c: Likewise.
14295 * misc/getdtsz.c: Likewise.
14296 * misc/gethostid.c: Likewise.
14297 * misc/gethostname.c: Likewise.
14298 * misc/getloadavg.c: Likewise.
14299 * misc/getpagesize.c: Likewise.
14300 * misc/getsysstats.c: Likewise.
14301 * misc/getxattr.c: Likewise.
14302 * misc/gtty.c: Likewise.
14303 * misc/ioctl.c: Likewise.
14304 * misc/lgetxattr.c: Likewise.
14305 * misc/listxattr.c: Likewise.
14306 * misc/llistxattr.c: Likewise.
14307 * misc/lremovexattr.c: Likewise.
14308 * misc/lsetxattr.c: Likewise.
14309 * misc/lutimes.c: Likewise.
14310 * misc/madvise.c: Likewise.
14311 * misc/mincore.c: Likewise.
14312 * misc/mlock.c: Likewise.
14313 * misc/mlockall.c: Likewise.
14314 * misc/mmap.c: Likewise.
14315 * misc/mprotect.c: Likewise.
14316 * misc/msync.c: Likewise.
14317 * misc/munlock.c: Likewise.
14318 * misc/munlockall.c: Likewise.
14319 * misc/munmap.c: Likewise.
14320 * misc/preadv.c: Likewise.
14321 * misc/preadv64.c: Likewise.
14322 * misc/ptrace.c: Likewise.
14323 * misc/pwritev.c: Likewise.
14324 * misc/pwritev64.c: Likewise.
14325 * misc/readv.c: Likewise.
14326 * misc/reboot.c: Likewise.
14327 * misc/remap_file_pages.c: Likewise.
14328 * misc/removexattr.c: Likewise.
14329 * misc/revoke.c: Likewise.
14330 * misc/select.c: Likewise.
14331 * misc/setdomain.c: Likewise.
14332 * misc/setegid.c: Likewise.
14333 * misc/seteuid.c: Likewise.
14334 * misc/sethostid.c: Likewise.
14335 * misc/sethostname.c: Likewise.
14336 * misc/setregid.c: Likewise.
14337 * misc/setreuid.c: Likewise.
14338 * misc/setxattr.c: Likewise.
14339 * misc/sstk.c: Likewise.
14340 * misc/stty.c: Likewise.
14341 * misc/swapoff.c: Likewise.
14342 * misc/swapon.c: Likewise.
14343 * misc/sync.c: Likewise.
14344 * misc/syncfs.c: Likewise.
14345 * misc/syscall.c: Likewise.
14346 * misc/truncate.c: Likewise.
14347 * misc/ualarm.c: Likewise.
14348 * misc/usleep.c: Likewise.
14349 * misc/ustat.c: Likewise.
14350 * misc/utimes.c: Likewise.
14351 * misc/vhangup.c: Likewise.
14352 * misc/writev.c: Likewise.
14353 * posix/_exit.c: Likewise.
14354 * posix/alarm.c: Likewise.
14355 * posix/execve.c: Likewise.
14356 * posix/fexecve.c: Likewise.
14357 * posix/fork.c: Likewise.
14358 * posix/fpathconf.c: Likewise.
14359 * posix/getaddrinfo.c: Likewise.
14360 * posix/getegid.c: Likewise.
14361 * posix/geteuid.c: Likewise.
14362 * posix/getgid.c: Likewise.
14363 * posix/getgroups.c: Likewise.
14364 * posix/getlogin.c: Likewise.
14365 * posix/getlogin_r.c: Likewise.
14366 * posix/getpgid.c: Likewise.
14367 * posix/getpid.c: Likewise.
14368 * posix/getppid.c: Likewise.
14369 * posix/getresgid.c: Likewise.
14370 * posix/getresuid.c: Likewise.
14371 * posix/getsid.c: Likewise.
14372 * posix/getuid.c: Likewise.
14373 * posix/glob64.c: Likewise.
14374 * posix/nanosleep.c: Likewise.
14375 * posix/pathconf.c: Likewise.
14376 * posix/pause.c: Likewise.
14377 * posix/posix_madvise.c: Likewise.
14378 * posix/pread.c: Likewise.
14379 * posix/pread64.c: Likewise.
14380 * posix/pwrite.c: Likewise.
14381 * posix/pwrite64.c: Likewise.
14382 * posix/sched_getaffinity.c: Likewise.
14383 * posix/sched_getp.c: Likewise.
14384 * posix/sched_gets.c: Likewise.
14385 * posix/sched_primax.c: Likewise.
14386 * posix/sched_primin.c: Likewise.
14387 * posix/sched_rr_gi.c: Likewise.
14388 * posix/sched_setaffinity.c: Likewise.
14389 * posix/sched_setp.c: Likewise.
14390 * posix/sched_sets.c: Likewise.
14391 * posix/sched_yield.c: Likewise.
14392 * posix/setgid.c: Likewise.
14393 * posix/setlogin.c: Likewise.
14394 * posix/setpgid.c: Likewise.
14395 * posix/setresgid.c: Likewise.
14396 * posix/setresuid.c: Likewise.
14397 * posix/setsid.c: Likewise.
14398 * posix/setuid.c: Likewise.
14399 * posix/sleep.c: Likewise.
14400 * posix/spawni.c: Likewise.
14401 * posix/sysconf.c: Likewise.
14402 * posix/times.c: Likewise.
14403 * posix/wait.c: Likewise.
14404 * posix/wait3.c: Likewise.
14405 * posix/wait4.c: Likewise.
14406 * posix/waitpid.c: Likewise.
14407 * resolv/gai_sigqueue.c: Likewise.
14408 * resource/getpriority.c: Likewise.
14409 * resource/getrlimit.c: Likewise.
14410 * resource/getrusage.c: Likewise.
14411 * resource/nice.c: Likewise.
14412 * resource/setpriority.c: Likewise.
14413 * resource/setrlimit.c: Likewise.
14414 * resource/ulimit.c: Likewise.
14415 * rt/aio_cancel.c: Likewise.
14416 * rt/aio_fsync.c: Likewise.
14417 * rt/aio_read.c: Likewise.
14418 * rt/aio_sigqueue.c: Likewise.
14419 * rt/aio_suspend.c: Likewise.
14420 * rt/aio_write.c: Likewise.
14421 * rt/clock_getres.c: Likewise.
14422 * rt/clock_gettime.c: Likewise.
14423 * rt/clock_nanosleep.c: Likewise.
14424 * rt/clock_settime.c: Likewise.
14425 * rt/lio_listio.c: Likewise.
14426 * rt/mq_close.c: Likewise.
14427 * rt/mq_getattr.c: Likewise.
14428 * rt/mq_notify.c: Likewise.
14429 * rt/mq_open.c: Likewise.
14430 * rt/mq_receive.c: Likewise.
14431 * rt/mq_send.c: Likewise.
14432 * rt/mq_setattr.c: Likewise.
14433 * rt/mq_timedreceive.c: Likewise.
14434 * rt/mq_timedsend.c: Likewise.
14435 * rt/mq_unlink.c: Likewise.
14436 * rt/shm_open.c: Likewise.
14437 * rt/shm_unlink.c: Likewise.
14438 * rt/timer_create.c: Likewise.
14439 * rt/timer_delete.c: Likewise.
14440 * rt/timer_getoverr.c: Likewise.
14441 * rt/timer_gettime.c: Likewise.
14442 * rt/timer_settime.c: Likewise.
14443 * setjmp/__longjmp.c: Likewise.
14444 * setjmp/setjmp.c: Likewise.
14445 * signal/kill.c: Likewise.
14446 * signal/killpg.c: Likewise.
14447 * signal/raise.c: Likewise.
14448 * signal/sigaction.c: Likewise.
14449 * signal/sigaltstack.c: Likewise.
14450 * signal/sigblock.c: Likewise.
14451 * signal/sigignore.c: Likewise.
14452 * signal/sigintr.c: Likewise.
14453 * signal/signal.c: Likewise.
14454 * signal/sigpause.c: Likewise.
14455 * signal/sigpending.c: Likewise.
14456 * signal/sigqueue.c: Likewise.
14457 * signal/sigreturn.c: Likewise.
14458 * signal/sigset.c: Likewise.
14459 * signal/sigsetmask.c: Likewise.
14460 * signal/sigstack.c: Likewise.
14461 * signal/sigsuspend.c: Likewise.
14462 * signal/sigtimedwait.c: Likewise.
14463 * signal/sigvec.c: Likewise.
14464 * signal/sigwait.c: Likewise.
14465 * signal/sigwaitinfo.c: Likewise.
14466 * signal/sysv_signal.c: Likewise.
14467 * socket/accept.c: Likewise.
14468 * socket/accept4.c: Likewise.
14469 * socket/bind.c: Likewise.
14470 * socket/connect.c: Likewise.
14471 * socket/getpeername.c: Likewise.
14472 * socket/getsockname.c: Likewise.
14473 * socket/getsockopt.c: Likewise.
14474 * socket/isfdtype.c: Likewise.
14475 * socket/listen.c: Likewise.
14476 * socket/recv.c: Likewise.
14477 * socket/recvfrom.c: Likewise.
14478 * socket/recvmsg.c: Likewise.
14479 * socket/send.c: Likewise.
14480 * socket/sendmsg.c: Likewise.
14481 * socket/sendto.c: Likewise.
14482 * socket/setsockopt.c: Likewise.
14483 * socket/shutdown.c: Likewise.
14484 * socket/sockatmark.c: Likewise.
14485 * socket/socket.c: Likewise.
14486 * socket/socketpair.c: Likewise.
14487 * stdio-common/ctermid.c: Likewise.
14488 * stdio-common/cuserid.c: Likewise.
14489 * stdio-common/remove.c: Likewise.
14490 * stdio-common/rename.c: Likewise.
14491 * stdio-common/renameat.c: Likewise.
14492 * stdio-common/tempname.c: Likewise.
14493 * stdlib/getcontext.c: Likewise.
14494 * stdlib/makecontext.c: Likewise.
14495 * stdlib/setcontext.c: Likewise.
14496 * stdlib/swapcontext.c: Likewise.
14497 * stdlib/system.c: Likewise.
14498 * streams/fattach.c: Likewise.
14499 * streams/fdetach.c: Likewise.
14500 * streams/getmsg.c: Likewise.
14501 * streams/getpmsg.c: Likewise.
14502 * streams/putmsg.c: Likewise.
14503 * streams/putpmsg.c: Likewise.
14504 * sysdeps/unix/bsd/getpt.c: Likewise.
14505 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14506 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14507 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14510 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14511 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14512 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14513 * sysvipc/msgctl.c: Likewise.
14514 * sysvipc/msgget.c: Likewise.
14515 * sysvipc/msgrcv.c: Likewise.
14516 * sysvipc/msgsnd.c: Likewise.
14517 * sysvipc/semctl.c: Likewise.
14518 * sysvipc/semget.c: Likewise.
14519 * sysvipc/semop.c: Likewise.
14520 * sysvipc/semtimedop.c: Likewise.
14521 * sysvipc/shmat.c: Likewise.
14522 * sysvipc/shmctl.c: Likewise.
14523 * sysvipc/shmdt.c: Likewise.
14524 * sysvipc/shmget.c: Likewise.
14525 * termios/tcdrain.c: Likewise.
14526 * termios/tcflow.c: Likewise.
14527 * termios/tcflush.c: Likewise.
14528 * termios/tcgetattr.c: Likewise.
14529 * termios/tcgetpgrp.c: Likewise.
14530 * termios/tcsendbrk.c: Likewise.
14531 * termios/tcsetattr.c: Likewise.
14532 * termios/tcsetpgrp.c: Likewise.
14533 * time/adjtime.c: Likewise.
14534 * time/clock.c: Likewise.
14535 * time/getitimer.c: Likewise.
14536 * time/gettimeofday.c: Likewise.
14537 * time/setitimer.c: Likewise.
14538 * time/settimeofday.c: Likewise.
14539 * time/stime.c: Likewise.
14540 * time/time.c: Likewise.
14542 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14544 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14547 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14549 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14551 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14555 FE_TONEAREST before applying Dekker multiplication and Knuth
14556 addition. Clear inexact exceptions and check for exact zero
14557 results afterwards.
14558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14559 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14560 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14561 * math/libm-test.inc (fma_test): Add more tests.
14562 (fma_test_towardzero): Likewise.
14563 (fma_test_downward): Likewise.
14564 (fma_test_upward): Likewise.
14565 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14567 (libc_fesetround): New macro.
14568 (libc_fesetroundf): Likewise.
14569 (libc_fesetroundl): Likewise.
14570 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14572 (libc_fesetround_387): Likewise.
14573 (libc_fesetroundf): New macro.
14574 (libc_fesetround): Likewise.
14575 (libc_fesetroundl): Likewise.
14576 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14578 (libc_fesetroundf): New macro.
14579 (libc_fesetround): Likewise.
14580 (libc_fesetroundl): Likewise.
14581 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14582 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14583 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14585 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14586 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14588 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14589 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14591 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14595 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14596 integer constant usable in #if and use that to give value to enum
14598 (FE_DIVBYZERO): Likewise.
14599 (FE_UNDERFLOW): Likewise.
14600 (FE_OVERFLOW): Likewise.
14601 (FE_INVALID): Likewise.
14602 (FE_INVALID_SNAN): Likewise.
14603 (FE_INVALID_ISI): Likewise.
14604 (FE_INVALID_IDI): Likewise.
14605 (FE_INVALID_ZDZ): Likewise.
14606 (FE_INVALID_IMZ): Likewise.
14607 (FE_INVALID_COMPARE): Likewise.
14608 (FE_INVALID_SOFTWARE): Likewise.
14609 (FE_INVALID_SQRT): Likewise.
14610 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14611 (FE_TONEAREST): Likewise.
14612 (FE_TOWARDZERO): Likewise.
14613 (FE_UPWARD): Likewise.
14614 (FE_DOWNWARD): Likewise.
14615 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14616 (FE_DIVBYZERO): Likewise.
14617 (FE_OVERFLOW): Likewise.
14618 (FE_UNDERFLOW): Likewise.
14619 (FE_INEXACT): Likewise.
14620 (FE_TONEAREST): Likewise.
14621 (FE_DOWNWARD): Likewise.
14622 (FE_UPWARD): Likewise.
14623 (FE_TOWARDZERO): Likewise.
14624 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14625 (FE_UNDERFLOW): Likewise.
14626 (FE_OVERFLOW): Likewise.
14627 (FE_DIVBYZERO): Likewise.
14628 (FE_INVALID): Likewise.
14629 (FE_TONEAREST): Likewise.
14630 (FE_TOWARDZERO): Likewise.
14631 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14632 (FE_OVERFLOW): Likewise.
14633 (FE_UNDERFLOW): Likewise.
14634 (FE_DIVBYZERO): Likewise.
14635 (FE_INEXACT): Likewise.
14636 (FE_TONEAREST): Likewise.
14637 (FE_TOWARDZERO): Likewise.
14638 (FE_UPWARD): Likewise.
14639 (FE_DOWNWARD): Likewise.
14640 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14641 (FE_DIVBYZERO): Likewise.
14642 (FE_OVERFLOW): Likewise.
14643 (FE_UNDERFLOW): Likewise.
14644 (FE_INEXACT): Likewise.
14645 (FE_TONEAREST): Likewise.
14646 (FE_DOWNWARD): Likewise.
14647 (FE_UPWARD): Likewise.
14648 (FE_TOWARDZERO): Likewise.
14650 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14652 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14654 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14656 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14657 commands. Quote $PWD.
14658 (blacklist_exports): Don't use remove_newlines. Replace "declare
14660 (remove_newlines): Remove.
14662 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14664 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14665 * stdlib/stdlib.h (atof): Moved to ...
14666 * include/bits/stdlib-float.h: Here. New file.
14667 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14668 * stdlib/bits/stdlib-float.h: New file.
14669 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14671 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14674 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14676 * conform/conformtest.pl (@headers): Add fenv.h.
14677 * conform/data/fenv.h-data: New file.
14678 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14679 include of <math/fenv.h>.
14681 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14682 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14683 && !UNIX98]. Enables tests for XOPEN2K8.
14684 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14685 POSIX2008]: Likewise.
14687 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14688 (struct rusage): Do not expect type or its members.
14691 * math/math.h (FP_NAN): Define macro to integer constant usable in
14692 #if and use that to give value to enum constant.
14693 (FP_INFINITE): Likewise.
14694 (FP_ZERO): Likewise.
14695 (FP_SUBNORMAL): Likewise.
14696 (FP_NORMAL): Likewise.
14698 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14700 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14701 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14704 2012-11-02 Roland McGrath <roland@hack.frob.com>
14706 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14707 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14708 autoconf-time if not.
14709 * configure.in: Remove AC_PREREQ.
14711 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14713 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14714 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14715 of the internal implementation.
14717 2012-11-02 Joseph Myers <joseph@codesourcery.com>
14719 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14720 except include of <misc/sys/syslog.h>.
14722 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14725 function returns with a NULL context exit with zero.
14727 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14729 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14731 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14733 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14734 (run_program_cmd): This.
14735 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14736 (tst_langinfo): New variable. Use it.
14738 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14740 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14741 floating point opcodes.
14743 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14745 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14748 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14750 * sysdeps/mach/hurd/powerpc: Remove directory.
14751 * sysdeps/mach/powerpc: Likewise.
14753 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14755 * scripts/check-local-headers.sh: Ignore c++ headers.
14757 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14759 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14760 __libc_cleanup_region_start argument.
14762 2012-11-01 Joseph Myers <joseph@codesourcery.com>
14766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14767 x * y using scaling, not as x * y + z.
14768 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14769 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14770 * math/libm-test.inc (fma_test): Add more tests.
14771 (fma_test_towardzero): Likewise.
14772 (fma_test_downward): Likewise.
14773 (fma_test_upward): Likewise.
14775 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14777 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14779 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14781 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14784 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14786 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14788 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14795 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14798 Fix the order of the list for glibc 2.17.
14799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14802 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14804 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14806 2012-10-31 Joseph Myers <joseph@codesourcery.com>
14809 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14810 for low part of x being zero before using __atanl (y).
14811 * math/libm-test.inc (atan2_test): Add another test.
14813 * manual/install.texi (Configuring and compiling): Document
14814 general use of test-wrapper and test-wrapper-env.
14815 * INSTALL: Regenerated.
14817 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14818 (__fma): Do not extract and scale down low bits on after-rounding
14819 systems when result rounded to normal precision would have normal
14821 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14822 (__fmal): Do not extract and scale down low bits on after-rounding
14823 systems when result rounded to normal precision would have normal
14825 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14826 (__fmal): Do not extract and scale down low bits on after-rounding
14827 systems when result rounded to normal precision would have normal
14829 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14831 (fma_test): Add more tests.
14832 (fma_test_towardzero): Likewise.
14833 (fma_test_downward): Likewise.
14834 (fma_test_upward): Likewise.
14836 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14838 * sysdeps/i386/tininess.h: Renamed to ...
14839 * sysdeps/x86/tininess.h: This.
14840 * sysdeps/x86_64/tininess.h: Removed.
14842 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14844 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14845 input. Use $(build-program-cmd).
14846 ($(objpfx)tst-array1-static.out): Likewise.
14847 ($(objpfx)tst-array2.out): Likewise.
14848 ($(objpfx)tst-array3.out): Likewise.
14849 ($(objpfx)tst-array4.out): Likewise.
14850 ($(objpfx)tst-array5.out): Likewise.
14851 ($(objpfx)tst-array5-static.out): Likewise.
14853 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14855 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14858 * nss/nsswitch.h (nss_interface_function): Provide new
14859 macro for use with NSS functions.
14860 * grp/initgroups.c: Use new macro.
14861 * nss/getXXbyYY.c: Likewise.
14862 * nss/getXXbyYY_r.c: Likewise.
14863 * nss/getXXent.c: Likewise.
14864 * nss/getXXent_r.c: Likewise.
14865 * sysdeps/posix/getaddrinfo.c: Likewise.
14867 2012-10-30 Andreas Jaeger <aj@suse.de>
14869 * po/ru.po: Update Russion translation from translation project.
14871 2012-10-30 Joseph Myers <joseph@codesourcery.com>
14875 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14876 result and shift together with sticky bit instead of replicating
14877 round-to-nearest rounding.
14878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14879 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14880 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14881 missing underflow exceptions.
14882 (fma_test_towardzero): Add more tests.
14883 (fma_test_downward): Likewise.
14884 (fma_test_upward): Likewise.
14887 * sysdeps/generic/tininess.h: New file.
14888 * sysdeps/i386/tininess.h: Likewise.
14889 * sysdeps/sh/tininess.h: Likewise.
14890 * sysdeps/x86_64/tininess.h: Likewise.
14891 * stdlib/tst-strtod-underflow.c: Likewise.
14892 * stdlib/tst-tininess.c: Likewise.
14893 * stdlib/strtod_l.c: Include <tininess.h>.
14894 (round_and_return): Do not set errno for exact underflow cases.
14895 Force an underflow exception when setting errno for underflow.
14896 Determine underflow based on rounding to normal precision if
14897 TININESS_AFTER_ROUNDING.
14898 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14899 ERANGE for exact underflow cases.
14900 * stdlib/Makefile (tests): Add tst-tininess and
14901 tst-strtod-underflow.
14902 ($(objpfx)tst-tininess): Use $(link-libm).
14903 ($(objpfx)tst-strtod-underflow): Likewise.
14905 2012-10-30 Andreas Jaeger <aj@suse.de>
14908 * elf/Makefile (tests): Remove conditional for have-initfini-array
14909 since this is now always required and the variable does not exist
14911 (tests-static): Likewise.
14912 (modules-names): Likewise.
14914 * po/eo.po: Add Esperanto translation from translation project.
14916 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14917 merged with constructor/destructor.
14918 (init_array): Likewise.
14919 * elf/tst-array2dep.c (fini_array): Likewise.
14920 (init_array): Likewise.
14922 2012-10-29 Mike Frysinger <vapier@gentoo.org>
14924 * manual/message.texi: Delete @cartouche tags.
14926 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14928 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14930 * sysdeps/mach/hurd/fsync.c: Likewise.
14932 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14933 [_POSIX_REALTIME_SIGNALS]: Change condition to
14934 [_POSIX_REALTIME_SIGNALS > 0].
14936 2012-10-27 Andreas Jaeger <aj@suse.de>
14938 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14939 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14940 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14941 [__WORDSIZE != 64]: Likewise.
14943 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14945 * iconvdata/tst-table.sh: Remove ${SHELL}.
14946 * iconvdata/tst-tables.sh: Likewise.
14948 2012-10-25 David S. Miller <davem@davemloft.net>
14950 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14951 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14954 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14956 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14957 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14958 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14961 2012-10-25 Roland McGrath <roland@hack.frob.com>
14963 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14964 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14967 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14968 Jim Blandy <jimb@codesourcery.com>
14970 * scripts/cross-test-ssh.sh: New file.
14971 * manual/install.texi (Configuring and compiling): Document use of
14973 * INSTALL: Regenerated.
14975 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14977 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14980 2012-10-25 Joseph Myers <joseph@codesourcery.com>
14982 * Makeconfig (run-program-prefix): Fix comment.
14984 2012-10-24 Joseph Myers <joseph@codesourcery.com>
14985 Jim Blandy <jimb@codesourcery.com>
14987 * Makeconfig (test-wrapper): New variable,
14988 (test-wrapper-env): Likewise.
14989 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14990 (run-built-tests): Define to yes.
14991 (run-program-prefix): Use $(test-wrapper).
14992 (built-program-cmd): Likewise.
14993 * Rules (make-test-out): Use $(test-wrapper-env) and
14994 $(host-built-program-cmd).
14995 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14996 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14998 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14999 $(test-wrapper-env) to tst-rtld-load-self.sh.
15000 ($(objpfx)order2.out): Use $(test-wrapper).
15001 ($(objpfx)tst-initorder.out): Likewise.
15002 ($(objpfx)tst-initorder2.out): Likewise.
15003 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15004 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15005 (test_wrapper_env): New variable. Use it to run ld.so.
15006 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15007 Use it to run ld.so.
15008 (test_wrapper_env): Likewise.
15009 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15010 $(test-wrapper) to run-iconv-test.sh.
15011 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15012 (ICONV): Use $test_wrapper.
15013 * posix/Makefile ($(objpfx)globtest.out): Pass
15014 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15015 globtest.sh, not $(run-program-prefix).
15016 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15017 (test_wrapper): Likewise.
15018 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15019 set together with run_via_rtld_prefix.
15020 (run_program_prefix): Define in terms of test_wrapper and
15021 run_via_rtld_prefix.
15023 2012-10-24 Roland McGrath <roland@hack.frob.com>
15025 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15026 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15030 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15031 Declare __clock_getres, __clock_gettime, __clock_settime,
15032 __clock_nanosleep, and __clock_getcpuclockid.
15033 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15034 Remove librt_hidden_def (clock_gettime).
15035 * sysdeps/unix/clock_gettime.c: Likewise.
15036 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15037 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15038 * rt/clock_getres.c: Define __clock_getres as an alias.
15039 * sysdeps/posix/clock_getres.c: Likewise.
15040 * rt/clock_settime.c: Define __clock_settime as an alias.
15041 * sysdeps/unix/clock_settime.c: Likewise.
15042 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15043 * sysdeps/unix/clock_nanosleep.c: Likewise.
15044 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15045 * rt/clock-compat.c: New file.
15046 * rt/Makefile (librt-routines): Add clock-compat and move
15047 $(clock-routines) to ...
15048 (routines): ... here, new variable.
15049 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15050 Don't add get_clockfreq here.
15051 * rt/Versions (libc: GLIBC_2.17): New version set.
15052 Add clock_* symbols here.
15053 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15054 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15055 (GLIBC_2.17): Add clock_* symbols.
15056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15067 * NEWS: Mention the move.
15069 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15070 Use __open, __read, __close rather than their public counterparts.
15071 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15072 (__get_clockfreq_via_cpuinfo): Likewise.
15073 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15074 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15076 * config.h.in (HAVE_IFUNC): New #undef.
15077 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15079 * configure: Regenerated.
15081 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15083 * configure.in: Move READELF check to start of file.
15084 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15085 libc_cv_asm_gnu_indirect_function in the process.
15086 * configure: Regenerated.
15088 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15090 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15091 send the output to /dev/null.
15092 (libc_cv_cc_with_libunwind): Likewise.
15093 (libc_cv_as_noexecstack): Likewise.
15094 * configure: Regenerate.
15096 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15098 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15100 * posix/globtest.sh (TMPDIR): Do not set.
15101 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15102 (testout): Likewise.
15104 2012-10-24 Andreas Jaeger <aj@suse.de>
15106 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15107 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15108 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15109 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15110 posix_fadvise64, posix_fallocate64.
15112 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15113 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15114 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15116 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15118 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15120 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15121 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15122 <bits/fcntl-linux.h>.
15123 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15125 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15126 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15127 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15128 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15129 [__WORDSIZE != 64]: Likewise.
15131 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15133 * Makeconfig (run-built-tests): New variable.
15134 * Rules [$(cross-compiling) = yes]: Change condition to
15135 [$(run-built-tests) = no].
15136 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15137 to [$(run-built-tests) = yes].
15138 * elf/Makefile [$(cross-compiling) = no]: Likewise
15139 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15140 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15141 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15142 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15143 * io/Makefile [$(cross-compiling) = no]: Likewise.
15144 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15145 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15146 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15147 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15148 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15149 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15150 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15151 * string/Makefile [$(cross-compiling) = no]: Likewise.
15153 * posix/Makefile ($(objpfx)globtest.out): Pass
15154 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15155 $(rtld-installed-name).
15156 * posix/globtest.sh (elf_objpfx): Remove variable.
15157 (rtld_installed_name): Likewise.
15158 (library_path): Likewise.
15159 (run_program_prefix): New variable. Use for running globtest
15162 2012-10-23 Jim Blandy <jimb@codesourcery.com>
15163 Joseph Myers <joseph@codesourcery.com>
15165 * Makeconfig (host-built-program-cmd): New variable.
15166 * elf/Makefile (tst-stackguard1-ARGS): Use
15167 $(host-built-program-cmd).
15168 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15169 (tst-spawn-ARGS): Likewise.
15170 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15172 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15173 Jim Blandy <jimb@codesourcery.com>
15175 * Makeconfig (run-via-rtld-prefix): New variable.
15176 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15177 (built-program-cmd): Likewise.
15179 2012-10-22 Andreas Jaeger <aj@suse.de>
15181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15182 __O_RSYNC if it exists, otherwise to O_SYNC.
15184 2012-10-22 Jim Blandy <jimb@codesourcery.com>
15185 Joseph Myers <joseph@codesourcery.com>
15187 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15189 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15191 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15194 2012-10-22 Andreas Jaeger <aj@suse.de>
15196 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15198 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15200 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15201 bits/fcntl-linux.h.
15203 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15204 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15206 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15208 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15211 2012-10-21 Jim Blandy <jimb@codesourcery.com>
15212 Joseph Myers <joseph@codesourcery.com>
15214 * config.make.in (NM): New variable.
15216 2012-10-21 Andreas Jaeger <aj@suse.de>
15218 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15219 definitions and declarations that are provided by
15220 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15222 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15225 * elf/Makefile (tests-static): Add tst-leaks1-static.
15226 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15227 ($(objpfx)tst-leaks1-static): New rule.
15228 ($(objpfx)tst-leaks1-static-mem): Likewise.
15229 (tst-leaks1-static-ENV): New macro.
15230 * elf/dl-open.c (dl_open_worker): Check the main application
15231 only if SHARED is defined.
15232 * elf/tst-leaks1-static.c: New file.
15234 2012-10-20 Andreas Jaeger <aj@suse.de>
15236 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15237 generic values for Linux.
15238 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15239 and declarations that are provided by <bits/fcntl-linux.h> and
15240 include <bits/fcntl-linux.h>.
15241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15242 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15244 2012-10-20 Roland McGrath <roland@hack.frob.com>
15246 * io/fcntl.h: Move include of <bits/types.h> to the top and
15247 include it unconditionally.
15249 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15251 * wcsmbs/Makefile (tests-ifunc): New variable.
15252 (tests): Add $(tests-ifunc).
15253 * wcsmbs/test-wcschr-ifunc.c: New file.
15254 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15255 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15256 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15257 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15258 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15260 * string/Makefile (tests-ifunc): New variable.
15261 (tests): Add $(tests-ifunc).
15262 * string/test-memccpy.c (TEST_NAME): New macro.
15263 * string/test-memchr.c (TEST_NAME): Likewise.
15264 * string/test-memcmp.c (TEST_NAME): Likewise.
15265 * string/test-memcpy.c (TEST_NAME): Likewise.
15266 * string/test-memmem.c (TEST_NAME): Likewise.
15267 * string/test-memmove.c (TEST_NAME): Likewise.
15268 * string/test-memset.c (TEST_NAME): Likewise.
15269 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15270 * string/test-stpcpy.c (TEST_NAME): Likewise.
15271 * string/test-stpncpy.c (TEST_NAME): Likewise.
15272 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15273 * string/test-strcasestr.c (TEST_NAME): Likewise.
15274 * string/test-strcat.c (TEST_NAME): Likewise.
15275 * string/test-strchr.c (TEST_NAME): Likewise.
15276 * string/test-strcmp.c(TEST_NAME): Likewise.
15277 * string/test-strcpy.c (TEST_NAME): Likewise.
15278 * string/test-strcspn.c (TEST_NAME): Likewise.
15279 * string/test-strlen.c (TEST_NAME): Likewise.
15280 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15281 * string/test-strncmp.c (TEST_NAME): Likewise.
15282 * string/test-strncpy.c (TEST_NAME): Likewise.
15283 * string/test-strnlen.c (TEST_NAME): Likewise.
15284 * string/test-strpbrk.c (TEST_NAME): Likewise.
15285 * string/test-strrchr.c (TEST_NAME): Likewise.
15286 * string/test-strspn.c (TEST_NAME): Likewise.
15287 * string/test-strstr.c (TEST_NAME): Likewise.
15288 * string/test-bcopy-ifunc.c: New file.
15289 * string/test-bzero-ifunc.c: Likewise.
15290 * string/test-memccpy-ifunc.c: Likewise.
15291 * string/test-memchr-ifunc.c: Likewise.
15292 * string/test-memcmp-ifunc.c: Likewise.
15293 * string/test-memcpy-ifunc.c: Likewise.
15294 * string/test-memmem-ifunc.c: Likewise.
15295 * string/test-memmove-ifunc.c: Likewise.
15296 * string/test-mempcpy-ifunc.c: Likewise.
15297 * string/test-memset-ifunc.c: Likewise.
15298 * string/test-rawmemchr-ifunc.c: Likewise.
15299 * string/test-stpcpy-ifunc.c: Likewise.
15300 * string/test-stpncpy-ifunc.c: Likewise.
15301 * string/test-strcasecmp-ifunc.c: Likewise.
15302 * string/test-strcasestr-ifunc.c: Likewise.
15303 * string/test-strcat-ifunc.c: Likewise.
15304 * string/test-strchr-ifunc.c: Likewise.
15305 * string/test-strchrnul-ifunc.c: Likewise.
15306 * string/test-strcmp-ifunc.c: Likewise.
15307 * string/test-strcpy-ifunc.c: Likewise.
15308 * string/test-strcspn-ifunc.c: Likewise.
15309 * string/test-strlen-ifunc.c: Likewise.
15310 * string/test-strncasecmp-ifunc.c: Likewise.
15311 * string/test-strncat-ifunc.c: Likewise.
15312 * string/test-strncmp-ifunc.c: Likewise.
15313 * string/test-strncpy-ifunc.c: Likewise.
15314 * string/test-strnlen-ifunc.c: Likewise.
15315 * string/test-strpbrk-ifunc.c: Likewise.
15316 * string/test-strrchr-ifunc.c: Likewise.
15317 * string/test-strspn-ifunc.c: Likewise.
15318 * string/test-strstr-ifunc.c: Likewise.
15320 * debug/Makefile (tests-ifunc): New variable.
15321 (tests): Add $(tests-ifunc).
15322 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15323 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15324 * debug/test-stpcpy_chk-ifunc.c: New file.
15325 * debug/test-strcpy_chk-ifunc.c: Likewise.
15327 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15330 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15331 header is not read in.
15333 2012-10-19 Joseph Myers <joseph@codesourcery.com>
15335 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15336 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15337 directly. Pass built executable to script as
15338 $(built-program-cmd).
15339 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15340 $testprogram without using LD_LIBRARY_PATH and $ldso.
15342 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15343 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15344 $(rtld-installed-name).
15345 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15346 (rtld_installed_name): Likewise.
15347 (library_path): Likewise.
15348 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15349 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15350 $(run-program-prefix) to tst-tables.sh.
15351 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15352 it to run tst-table-from and tst-table-to.
15353 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15354 Pass it to tst-table.sh.
15355 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15356 $(run-program-prefix) to tst-gettext.sh.
15357 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15359 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15361 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15362 to run tst-gettext.
15363 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15364 to run tst-gettext2.
15365 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15366 to run tst-translit.
15367 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15368 $(run-program-prefix) to tst-mtrace.sh.
15369 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15371 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15372 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15373 $(rtld-installed-name).
15374 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15375 (rtld_installed_name): Likewise.
15376 (run_program_prefix): New variable. Use it to run wordexp-test.
15378 * Makeconfig (ARCH): Remove all definitions.
15379 (machine): Likewise.
15380 [ARCH]: Remove conditional code.
15381 [!objdir]: Give error.
15382 [!objdir] (objpfx): Remove.
15383 [!objdir] (common-objpfx): Likewise.
15384 [!objdir] (common-objdir): Likewise.
15385 * configure.in (config_makefile): Remove. Hardcode Makefile in
15386 AC_CONFIG_FILES call.
15387 * configure: Regenerated.
15390 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15392 (testout): Likewise.
15394 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15395 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15396 $(rtld-installed-name).
15397 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15398 (rtld_installed_name): Likwise.
15399 (runit): Remove function.
15400 (run_getconf): New variable, Use it for running getconf binary.
15402 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15405 * string/test-memmem.c (check_result): New function.
15406 (do_one_test): Use it.
15407 (check1): New function.
15408 (test_main): Use it.
15410 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15412 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15414 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15416 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15417 (_G_LSEEK64): Likewise.
15418 (_G_MMAP64): Likewise.
15419 (_G_FSTAT64): Likewise.
15420 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15421 (_G_LSEEK64): Likewise.
15422 (_G_MMAP64): Likewise.
15423 (_G_FSTAT64): Likewise.
15424 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15425 unconditional. Call __mmap64 directly.
15426 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15427 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15428 __lseek64 directly.
15429 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15430 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15432 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15433 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15434 __lseek64 directly.
15435 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15436 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15437 __lseek64 directly.
15438 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15439 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15440 __lseek64 directly.
15441 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15442 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15443 __fxstat64 directly.
15444 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15445 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15447 (freopen64) [!_G_OPEN64]: Remove conditional code.
15448 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15450 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15451 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15453 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15454 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15456 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15457 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15459 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15460 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15462 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15463 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15465 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15466 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15468 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15470 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15473 * manual/memory.texi (Malloc Tunable Parameters): Add note
15474 about free list pointers overwriting some perturb bytes.
15475 Wording suggested by Roland McGrath.
15477 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15479 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15480 (lgamma_test): Likewise.
15481 (tgamma_test): Likewise.
15483 2012-10-16 Florian Weimer <fweimer@redhat.com>
15486 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15487 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15489 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15491 * NEWS: Mention BZ #14716.
15492 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15493 when removing AVAILABLE1_USES_J macro.
15495 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15497 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15498 (__bswap_64): __uint64_t for unsigned 64-bit int.
15500 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15502 * include/string.h (memmem): Declare libc hidden alias.
15503 * string/memmem.c (memmem): Define libc hidden alias.
15504 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15505 __read, __close instead of open, read, close.
15507 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15509 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15510 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15512 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15513 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15514 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15516 (__rawmemchr_sse2): Likewise.
15517 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15518 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15519 (__strchr_sse2): Likewise.
15520 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15521 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15522 (__strcasecmp_sse2): Likewise.
15523 (__strncasecmp_sse2): Likewise.
15524 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15525 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15526 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15527 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15528 (__strrchr_sse2): Likewise.
15529 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15531 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15532 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15533 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15534 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15535 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15536 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15537 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15538 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15539 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15540 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15541 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15542 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15543 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15544 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15545 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15546 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15547 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15548 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15549 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15550 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15551 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15552 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15553 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15554 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15555 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15556 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15557 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15558 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15559 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15560 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15562 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15564 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15565 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15566 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15567 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15569 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15571 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15572 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15573 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15574 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15576 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15577 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15578 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15579 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15580 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15581 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15582 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15583 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15584 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15585 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15586 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15587 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15588 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15589 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15590 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15591 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15592 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15593 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15594 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15595 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15596 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15597 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15598 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15599 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15600 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15601 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15602 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15603 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15604 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15605 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15606 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15607 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15608 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15609 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15610 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15611 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15612 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15613 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15614 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15615 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15616 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15618 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15619 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15620 * include/ifunc-impl-list.h: New file.
15621 * misc/ifunc-impl-list.c: Likewise.
15622 * misc/Makefile (routines): Add ifunc-impl-list.
15623 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15624 * string/test-string.h: Include <ifunc-impl-list.h>.
15625 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15626 impl_array): New variables.
15627 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15629 (test_init): Call __libc_ifunc_impl_list to initialize
15630 func_list if TEST_IFUNC and TEST_NAME are defined.
15632 * string/Makefile (strop-tests): Add bcopy and bzero.
15633 * string/test-bcopy.c: New file.
15634 * string/test-bzero.c: Likewise.
15635 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15637 * string/test-memset.c: Support bzero test if TEST_BZERO is
15639 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15641 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15643 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15646 2012-10-10 Joseph Myers <joseph@codesourcery.com>
15648 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15649 * configure: Regenerated.
15651 * Makeconfig (+link-static-before-libc): Don't include
15652 $(link-static-libc).
15654 * libio/libio.h (_IO_pos_t): Remove.
15656 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15658 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15661 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15663 * crypt/crypt-entry.c: Include fips-private.h.
15664 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15665 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15666 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15667 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15669 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
15671 * crypt/crypt-private.h: Include stdbool.h.
15672 (_ufc_setup_salt_r): Return bool.
15673 * crypt/crypt-entry.c: Include errno.h.
15674 (__crypt_r): Return NULL with EINVAL for bad salt.
15675 * crypt/crypt_util.c (bad_for_salt): New.
15676 (_ufc_setup_salt_r): Check that salt is long enough and within
15677 the specified alphabet.
15678 * crypt/badsalttest.c: New file.
15679 * crypt/Makefile (tests): Add it.
15680 ($(objpfx)badsalttest): New.
15682 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15684 * NEWS: Add entry for BZ #14602.
15686 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15688 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15690 * math/libm-test.inc: Update comment listing what functions and
15692 (isgreater_test): New function.
15693 (isgreaterequal_test): Likewise.
15694 (isless_test): Likewise.
15695 (islessequal_test): Likewise.
15696 (islessgreater_test): Likewise.
15697 (isunordered_test): Likewise.
15698 (main): Call the new functions.
15700 2012-10-09 Roland McGrath <roland@hack.frob.com>
15702 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15703 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15704 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15705 * sysdeps/i386/configure: Regenerated.
15706 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15707 * sysdeps/mach/configure: Regenerated.
15708 * sysdeps/mach/hurd/configure: Regenerated.
15709 * sysdeps/powerpc/configure: Regenerated.
15710 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15711 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15712 * sysdeps/s390/s390-32/configure: Regenerated.
15713 * sysdeps/s390/s390-64/configure: Regenerated.
15714 * sysdeps/sh/configure: Regenerated.
15715 * sysdeps/sparc/configure: Regenerated.
15716 * sysdeps/unix/sysv/linux/configure: Regenerated.
15717 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15718 * sysdeps/x86_64/configure: Regenerated.
15720 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15721 defined. Don't check if MAP is NULL.
15723 2012-10-09 Joseph Myers <joseph@codesourcery.com>
15725 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15726 (_G_stat64): Likewise.
15727 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15728 (_G_stat64): Likewise.
15729 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15730 instead of struct _G_stat64.
15731 * libio/fileops.c (mmap_remap_check): Likewise.
15732 (decide_maybe_mmap): Likewise.
15733 (_IO_new_file_seekoff): Likewise.
15734 (_IO_file_stat): Likewise.
15735 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15737 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15738 instead of struct _G_stat64.
15739 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15741 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15744 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15746 (CHECK_EOL): New macro.
15747 (two_way_short_needle): Check beginning of haystack for EOL. Use
15749 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15750 Replace with CHECK_EOL.
15751 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15752 Replace with CHECK_EOL.
15754 2012-10-08 Joseph Myers <joseph@codesourcery.com>
15756 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15758 * math/libm-test.inc: Update comment listing what functions and
15760 (finite_test): New function.
15761 (isinf_test): Likewise.
15762 (isnan_test): Likewise.
15763 (fpclassify_test): Test subnormal input.
15764 (isfinite_test): Likewise.
15765 (isnormal_test): Likewise.
15766 (main): Call the new functions.
15768 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15771 * Makerules (%.dynsym): Force C locale when running
15772 $(OBJDUMP) --dynamic-syms.
15774 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15776 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15779 2012-10-06 David S. Miller <davem@davemloft.net>
15781 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15782 upper 32-bits of the length value in %o2 since we use branch-on-register
15783 tests which consider the entire 64-bit register.
15785 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15787 * string/test-strstr.c (check2): Add a test for page boundary.
15789 2012-10-05 David S. Miller <davem@davemloft.net>
15791 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15792 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15794 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15796 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15797 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15798 and bzero when HWCAP_SPARC_CRYPTO is present.
15800 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15803 * string/test-strstr.c (check2): New function.
15804 (test_main): Call check2.
15806 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15808 * string/bug-strcasestr1.c (do_test): Moved to ...
15809 * string/test-strcasestr.c (check1): Here. New function.
15810 (do_one_test): Break out result checking code into ...
15811 (check_result): This. New function.
15812 (do_one_test): Call check_result.
15813 (test_main): Call check1.
15814 * string/bug-strchr1.c (do_test): Moved to ...
15815 * string/test-strchr.c (check1): Here. New function.
15816 (do_one_test): Break out result checking code into ...
15817 (check_result): This. New function.
15818 (do_one_test): Call check_result.
15819 (test_main): Call check1.
15820 * string/bug-strstr1.c (main): Moved to ...
15821 * string/test-strstr.c (check1): Here. New function.
15822 (do_one_test): Break out result checking code into ...
15823 (check_result): This. New function.
15824 (do_one_test): Call check_result.
15825 (test_main): Call check1.
15826 * string/bug-strcasestr1.c: Removed.
15827 * string/bug-strchr1.c: Likewise.
15828 * string/bug-strstr1.c: Likewise.
15830 * elf/Makefile (dl-routines): Add hwcaps.
15831 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15832 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15833 (_dl_important_hwcaps): Moved to ...
15834 * elf/dl-hwcaps.c: Here. New file.
15835 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15838 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15839 if IS_IN_rtld isn't defined.
15841 * elf/dl-support.c (_dl_sysinfo_map): New.
15842 Include "get-dynamic-info.h" and "setup-vdso.h".
15843 (_dl_non_dynamic_init): Call setup_vdso.
15844 * elf/dynamic-link.h: Don't include <assert.h>.
15845 (elf_get_dynamic_info): Moved to ...
15846 * elf/get-dynamic-info.h: Here. New file.
15847 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15848 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15849 * elf/setup-vdso.h: Here. New file.
15850 * elf/rtld.c: Include "setup-vdso.h".
15851 (dl_main): Call setup_vdso.
15853 2012-10-05 Joseph Myers <joseph@codesourcery.com>
15855 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15856 creal in comment listing functions tested. List finite, isinf,
15857 isnan, isless, islessequal, isgreater, isgreaterequal,
15858 islessgreater, isunordered, lgamma_r and pow10 as functions and
15859 macros not tested. Mention which functions not tested are aliases
15860 for other functions. Fix typo. Note that signs of NaNs are not
15863 * scripts/config.guess: Update from config.git.
15864 * scripts/config.sub: Likewise.
15866 2012-10-04 Roland McGrath <roland@hack.frob.com>
15868 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15869 * misc/madvise.c (madvise): Renamed to __madvise.
15870 Make madvise a weak alias.
15871 * include/sys/mman.h: Declare __madvise.
15872 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15873 * sysdeps/unix/syscalls.list
15874 (madvise): Make __madvise the strong name, and madvise a weak alias.
15875 * sysdeps/unix/sysv/linux/syscalls.list
15876 (madvise, mmap): Remove redundant entries.
15877 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15878 * malloc/malloc.c (mtrim): Likewise.
15879 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15881 2012-10-03 Roland McGrath <roland@hack.frob.com>
15883 * sysdeps/mach/hurd/dl-cache.c: File removed.
15884 * config.h.in (USE_LDCONFIG): New #undef.
15885 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15886 * configure: Regenerated.
15887 * elf/Makefile (dl-routines): Add dl-cache only under
15888 [$(use-ldconfig) = yes].
15889 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15890 cache on [USE_LDCONFIG].
15891 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15893 * elf/rtld.c (dl_main): Likewise.
15895 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15897 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15898 _SC_LEVEL4_CACHE_LINESIZE.
15900 2012-10-03 Roland McGrath <roland@hack.frob.com>
15902 * sysdeps/unix/bsd/confstr.h: File removed.
15904 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
15906 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15909 2012-10-02 Roland McGrath <roland@hack.frob.com>
15911 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15912 Make 'mapoff' field ElfW(Off) rather than off_t.
15914 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15916 * nscd/Makefile: Remove nscd-cflags and all its users.
15917 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15918 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15921 * malloc.c (malloc_printerr): Clarify error message.
15923 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15927 Set bit_FMA_Usable if FMA is supported.
15928 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15930 (bit_FMA4_Usable): Updated.
15931 (index_FMA_Usable): New macro.
15932 (CPUID_FMA): Likewise
15933 (HAS_FMA): Defined with bit_FMA_Usable.
15935 2012-10-01 Roland McGrath <roland@hack.frob.com>
15937 * bits/types.h (__swblk_t): Type removed.
15938 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15939 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15940 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15941 (__SWBLK_T_TYPE): Likewise.
15942 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15943 (__SWBLK_T_TYPE): Likewise.
15944 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15945 (__SWBLK_T_TYPE): Likewise.
15946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15947 (__SWBLK_T_TYPE): Likewise.
15949 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
15950 Honza Horak <hhorak@redhat.com>
15952 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15953 (xdr_mapname): Use YPMAXMAP as maxsize.
15954 (xdr_peername): Use YPMAXPEER as maxsize.
15955 (xdr_keydat): Use YPAXRECORD as maxsize.
15956 (xdr_valdat): Use YPMAXRECORD as maxsize.
15958 2012-10-01 Roland McGrath <roland@hack.frob.com>
15960 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15962 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15963 * csu/init-first.c: ... here.
15964 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15965 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15966 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15967 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15968 * sysdeps/i386/init-first.c: File removed.
15969 * sysdeps/sh/init-first.c: File removed.
15971 2012-10-01 Joseph Myers <joseph@codesourcery.com>
15974 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15975 if x * y might underflow to zero and z is zero.
15976 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15977 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15978 * math/libm-test.inc (min_subnorm_value): New variable.
15979 (fma_test): Add more tests.
15980 (fma_test_towardzero): Likewise.
15981 (fma_test_downward): Likewise
15982 (fma_test_upward): Likewise.
15983 (initialize): Set min_subnorm_value.
15985 2012-09-29 Joseph Myers <joseph@codesourcery.com>
15988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15990 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15991 mode for addition resulting in exact zero.
15992 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15995 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15996 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15997 * math/libm-test.inc (fma_test): Add more tests.
15998 (fma_test_towardzero): New function.
15999 (fma_test_downward): Likewise.
16000 (fma_test_upward): Likewise.
16001 (main): Call the new functions.
16003 2012-09-28 David S. Miller <davem@davemloft.net>
16005 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16007 2012-09-28 Roland McGrath <roland@hack.frob.com>
16009 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16010 instead of SIGALRM.
16012 * sysdeps/gnu/_G_config.h: Moved to ...
16013 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16014 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16015 * sysdeps/generic/_G_config.h: ... here.
16017 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16019 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16021 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16022 Conditionalize target on [libnss_test1.so-version].
16024 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16026 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16027 (elfobjdir): Move out of conditionals.
16029 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16030 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16031 (__nss_lookup_function): Conditionalize label remove_from_tree on
16032 [!DO_STATIC_NSS || SHARED], matching its only use.
16034 2012-09-28 David S. Miller <davem@davemloft.net>
16036 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16037 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16039 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16041 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16042 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16043 when HWCAP_SPARC_CRYPTO is present.
16045 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16047 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16049 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16052 * stdio-common/vfprintf.c (process_string_arg): Revert
16055 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16057 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16059 * stdio-common/tst-sprintf.c: Include <locale.h>
16060 (main): Test sprintf's handling of incomplete multibyte
16063 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16065 * elf/dl-runtime.c (VERSYMIDX): Removed.
16066 * elf/dl-version.c (VERSYMIDX): Likewise.
16067 * elf/do-rel.h (VERSYMIDX): Likewise.
16068 (VALIDX): Likewise.
16069 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16070 * elf/rtld.c (VALIDX): Likewise.
16071 (ADDRIDX): Likewise.
16072 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16073 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16074 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16075 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16076 (VALIDX): Likewise.
16077 (ADDRIDX): Likewise.
16079 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16081 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16083 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16086 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16088 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16089 addresses are in the same scope as 192.0.2/24.
16090 * posix/gai.conf: Document new scope table defaults.
16092 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16095 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16096 for ftell. Compute offsets from write pointers instead.
16097 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16099 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16102 * libio/Makefile (tests): New test case tst-fseek.
16103 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16104 combination works in wide mode.
16105 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16106 state when the external buffer state changes.
16108 2012-09-27 David S. Miller <davem@davemloft.net>
16111 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16112 pass reloc->r_addend in as the 'high' argument to
16113 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16117 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16119 * rt/tst-aio2.c: Include <pthread.h>.
16120 * rt/tst-aio3.c: Likewise.
16122 2012-09-27 Steve Ellcey <sellcey@mips.com>
16124 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16126 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16128 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16129 contents on [SHARED].
16131 2012-09-26 Marek Polacek <polacek@redhat.com>
16135 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16136 for C++ and GCC <4.3 as well as for non GCC compilers.
16138 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16142 2012-09-25 Roland McGrath <roland@hack.frob.com>
16144 * Makefile.in (all, install): Declare with .PHONY.
16145 Reported by Michael Hope <michael.hope@linaro.org>.
16147 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16149 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16150 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16152 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16154 (sydep_routines): Add the new and the internal functions.
16155 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16156 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16158 (GLIBC_2.17): Add the new function.
16159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16160 (GLIBC_2.17): Likewise.
16161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16162 (GLIBC_2.17): Likewise.
16163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16164 (GLIBC_2.17): Likewise.
16165 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16167 2012-09-25 Alan Modra <amodra@gmail.com>
16169 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16170 Add release barrier before setting once_control to say
16171 initialisation is done. Add hints on lwarx. Use macro in
16173 (clear_once_control): Add release barrier.
16175 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16178 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16180 * math/s_clog10.c (__clog10): Likewise.
16181 * math/s_clog10f.c (__clog10f): Likewise.
16182 * math/s_clog10l.c (__clog10l): Likewise.
16183 * math/s_clogf.c (__clogf): Likewise.
16184 * math/s_clogl.c (__clogl): Likewise.
16185 * math/Makefile (libm-calls): Add x2y2m1.
16186 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16187 (__x2y2m1): Likewise.
16188 (__x2y2m1l): Likewise.
16189 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16190 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16191 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16192 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16193 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16194 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16195 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16196 * sysdeps/i386/fpu/libm-test-ulps: Update.
16197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16200 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16201 int as type of variable DEPTH.
16202 (glob): Use size_t instead of int as type of variables NEWCOUNT
16205 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16207 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16208 Add s_sincosf-sse2.
16209 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16210 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16211 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16212 macros for using routine as __sincosf_ia32.
16213 Use macro for function declaration and weak_alias.
16214 * sysdeps/i386/fpu/libm-test-ulps: Update.
16216 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16219 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16220 subnormal argument.
16221 * math/s_cexpf.c (__cexpf): Likewise.
16222 * math/s_csinf.c (__csinf): Likewise.
16223 * math/s_csinhf.c (__csinhf): Likewise.
16224 * math/s_ctanf.c (__ctanf): Likewise.
16225 * math/s_ctanhf.c (__ctanhf): Likewise.
16226 * math/s_ccosh.c (__ccoshf): Likewise.
16227 * math/s_cexp.c (__cexpl): Likewise.
16228 * math/s_csin.c (__csin): Likewise.
16229 * math/s_csinh.c (__csinh): Likewise.
16230 * math/s_ctan.c (__ctan): Likewise.
16231 * math/s_ctanh.c (ctanh): Likewise.
16232 * math/s_ccoshl.c (__ccoshl): Likewise.
16233 * math/s_cexpl.c (__cexpl): Likewise.
16234 * math/s_csinl.c (__csinl): Likewise.
16235 * math/s_csinhl.c (__csinhl): Likewise.
16236 * math/s_ctanl.c (__ctanl): Likewise.
16237 * math/s_ctanhl.c (__ctanhl): Likewise.
16239 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16241 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16242 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16243 (_IO_off_t): Define to __off_t, not _G_off_t.
16244 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16245 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16246 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16247 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16248 type of __dummy and __dummy2 fields.
16249 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16250 (_G_ssize_t): Likewise.
16251 (_G_off_t): Likewise.
16252 (_G_pid_t): Likewise.
16253 (_G_uid_t): Likewise.
16254 (_G_wchar_t): Likewise.
16255 (_G_wint_t): Likewise.
16256 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16257 (_G_ssize_t): Likewise.
16258 (_G_off_t): Likewise.
16259 (_G_pid_t): Likewise.
16260 (_G_uid_t): Likewise.
16261 (_G_wchar_t): Likewise.
16262 (_G_wint_t): Likewise.
16263 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16264 (_G_ssize_t): Likewise.
16265 (_G_off_t): Likewise.
16266 (_G_pid_t): Likewise.
16267 (_G_uid_t): Likewise.
16268 (_G_wchar_t): Likewise.
16269 (_G_wint_t): Likewise.
16271 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16273 * malloc/arena.c: Include malloc-sysdep.h.
16274 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16275 is sufficient to shrink the heap or an unmap is needed.
16276 * sysdeps/generic/malloc-sysdep.h: New file. Define
16277 new function check_may_shrink_heap.
16278 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16279 new function check_may_shrink_heap.
16281 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16283 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16286 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16288 * catgets/test-gencat.sh: Add "set -e".
16289 * elf/tst-pathopt.sh: Likewise.
16290 * grp/tst_fgetgrent.sh: Likewise.
16291 * iconvdata/run-iconv-test.sh: Likewise.
16292 * intl/tst-gettext.sh: Likewise.
16293 * intl/tst-gettext2.sh: Likewise.
16294 * intl/tst-gettext4.sh: Likewise.
16295 * intl/tst-gettext6.sh: Likewise.
16296 * intl/tst-translit.sh: Likewise.
16297 * io/ftwtest-sh: Likewise.
16298 * libio/test-freopen.sh: Likewise.
16299 * malloc/tst-mtrace.sh: Likewise.
16300 * posix/globtest.sh: Likewise.
16301 * posix/tst-getconf.sh: Likewise.
16302 * posix/wordexp-tst.sh: Likewise.
16303 * stdio-common/tst-printf.sh: Likewise.
16304 * stdio-common/tst-unbputc.sh: Likewise.
16305 * stdlib/tst-fmtmsg.sh: Likewise.
16306 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16307 * catgets/Makefile: Do not specify -e option when running
16308 testsuite shell scripts.
16309 * elf/Makefile: Likewise.
16310 * grp/Makefile: Likewise.
16311 * iconvdata/Makefile: Likewise.
16312 * intl/Makefile: Likewise.
16313 * io/Makefile: Likewise.
16314 * libio/Makefile: Likewise.
16315 * malloc/Makefile: Likewise.
16316 * posix/Makefile: Likewise.
16317 * stdio-common/Makefile: Likewise.
16318 * stdlib/Makefile: Likewise.
16319 * sysdeps/x86_64/Makefile: Likewise.
16321 * io/ftwtest-sh: Add copyright header.
16322 * posix/globtest.sh: Likewise.
16323 * posix/tst-getconf.sh: Likewise.
16324 * posix/wordexp-tst.sh: Likewise.
16325 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16327 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16330 * Makeconfig (+link): Defined as $(+link-static) if
16331 $(build-shared) isn't yes.
16332 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16334 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16336 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16339 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16340 new chunk size with MALLOC_ALIGN_MASK.
16342 2012-09-24 Joseph Myers <joseph@codesourcery.com>
16345 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16347 (__printf_fphex): Determine rounding using get_rounding_mode and
16349 * stdio-common/tst-printf-round.c (struct hex_test): New
16351 (hex_tests): New variable.
16352 (test_hex_in_one_mode): New function.
16353 (do_test): Also run tests for hex float output.
16355 2012-09-21 Joseph Myers <joseph@codesourcery.com>
16357 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16358 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16359 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16360 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16361 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16362 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16363 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16364 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16366 2012-09-20 Joseph Myers <joseph@codesourcery.com>
16368 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16369 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16370 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16371 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16373 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16376 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16378 * elf/tst-rtld-load-self.sh: New test.
16379 * elf/Makefile: Run it.
16381 2012-09-18 Joseph Myers <joseph@codesourcery.com>
16383 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16384 (tst-writev-ENV): Remove.
16385 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16387 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16389 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16391 2012-09-17 Joseph Myers <joseph@codesourcery.com>
16393 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16395 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16397 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16398 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16399 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16402 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16405 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16406 * config.make.in (have-cpp-asm-debuginfo): Removed.
16407 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16408 * configure: Regenerated.
16410 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16413 * stdio-common/printf_fp.c: Include <stdbool.h> and
16415 (___printf_fp): Determine rounding using get_rounding_mode and
16417 * stdio-common/tst-printf-round.c: New file.
16418 * stdio-common/Makefile (tests): Add tst-printf-round.
16419 (link-libm): New variable.
16420 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16422 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16425 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16426 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16428 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16431 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16433 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16434 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16435 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16436 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16438 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16441 * include/rounding-mode.h: New file.
16442 * sysdeps/generic/get-rounding-mode.h: Likewise.
16443 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16444 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16445 (MAX_VALUE): New macro.
16446 (MIN_VALUE): Likewise.
16447 (overflow_value): New function.
16448 (underflow_value): Likewise.
16449 (round_and_return): Use overflow_value and underflow_value to
16450 determine return values in overflow and underflow cases. Use
16451 round_away to determine rounding depending on rounding mode.
16452 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16453 determine return values in overflow and underflow cases.
16454 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16455 (struct test_results): New structure.
16456 (struct test): Use struct test_results to store expected results
16457 for all rounding modes.
16458 (TEST): Include expected results for all rounding modes.
16459 (test_in_one_mode): New function.
16460 (do_test): Use test_in_one_mode to compute and check results.
16461 Check results for all rounding modes.
16462 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16465 2012-12-09 Allan McRae <allan@archlinux.org>
16467 * sysdeps/i386/fpu/libm-test-ulps: Update
16469 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16471 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16472 (_G_int32_t): Likewise.
16473 (_G_uint16_t): Likewise.
16474 (_G_uint32_t): Likewise.
16475 (_G_HAVE_BOOL): Likewise.
16476 (_G_HAVE_ATEXIT): Likewise.
16477 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16478 (_G_HAVE_IO_FILE_OPEN): Likewise.
16479 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16480 (_G_int32_t): Likewise.
16481 (_G_uint16_t): Likewise.
16482 (_G_uint32_t): Likewise.
16483 (_G_HAVE_BOOL): Likewise.
16484 (_G_HAVE_ATEXIT): Likewise.
16485 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16486 (_G_HAVE_IO_FILE_OPEN): Likewise.
16487 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16488 (_G_int32_t): Likewise.
16489 (_G_uint16_t): Likewise.
16490 (_G_uint32_t): Likewise.
16491 (_G_HAVE_BOOL): Likewise.
16492 (_G_HAVE_ATEXIT): Likewise.
16493 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16494 (_G_HAVE_IO_FILE_OPEN): Likewise.
16496 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16498 * csu/libc-tls.c: Update copyright years.
16500 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16502 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16503 [!_G_USING_THUNKS]: Remove conditional code.
16504 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16505 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16507 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16508 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16509 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16510 (_G_VTABLE_LABEL_PREFIX): Likewise.
16511 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16512 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16513 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16514 (_G_VTABLE_LABEL_PREFIX): Likewise.
16515 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16516 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16517 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16518 (_G_VTABLE_LABEL_PREFIX): Likewise.
16519 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16521 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16523 * libio/Makefile: Include ../Makeconfig before tests.
16524 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16525 only if $(build-shared) is yes.
16527 * iconv/gconv_db.c: Update copyright years.
16529 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16531 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16532 unwind info if defined PIC. Fix special cases description.
16533 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16535 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16537 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16539 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16541 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16543 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16546 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16547 (LDLIBS-tst-chk4): This.
16548 (LDFLAGS-tst-chk5): Renamed to ...
16549 (LDLIBS-tst-chk5): This.
16550 (LDFLAGS-tst-chk6): Renamed to ...
16551 (LDLIBS-tst-chk6): This.
16552 (LDFLAGS-tst-lfschk4): Renamed to ...
16553 (LDLIBS-tst-lfschk4): This.
16554 (LDFLAGS-tst-lfschk5): Renamed to ...
16555 (LDLIBS-tst-lfschk5): This.
16556 (LDFLAGS-tst-lfschk6): Renamed to ...
16557 (LDLIBS-tst-lfschk6): This.
16559 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16560 on $(common-objpfx)soversions.mk.
16562 2012-09-07 Joseph Myers <joseph@codesourcery.com>
16565 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16568 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16570 * malloc/arena.c (arena_get_retry): New function that gets
16571 another arena for the caller to try its request on.
16572 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16573 current arena cannot fulfill the request.
16574 (__libc_memalign): Likewise.
16575 (__libc_memalign): Likewise.
16576 (__libc_pvalloc): Likewise.
16577 (__libc_calloc): Likewise.
16579 2012-09-05 John Tobey <john.tobey@gmail.com>
16582 * manual/arith.texi (Operations on Complex): Fix description
16583 of carg branch cut.
16585 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16588 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16592 * manual/memory.texi (Memory): Make order of menu items match
16595 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16597 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16598 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16599 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16601 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16603 * csu/libc-tls.c (static_dtv): Renamed to ...
16604 (_dl_static_dtv): This. Make it global.
16605 (_dl_initial_dtv): Removed.
16606 (__libc_setup_tls): Updated.
16607 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16608 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16611 2012-09-06 Petr Machata <pmachata@redhat.com>
16613 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16614 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16615 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16616 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16618 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16621 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16622 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16625 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16628 * Makeconfig (link-static-before-libc): Replace $(+prector)
16630 (link-static-after-libc): Replace $(+postctor) with
16632 (link-bounded): Replace $(+prector)/$(+postctor) with
16633 $(+prectorT)/$(+postctorT).
16634 (+prectorT): New macro.
16635 (+postctorT): Likewise.
16637 2012-09-06 Joseph Myers <joseph@codesourcery.com>
16639 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16640 (round_str): Handle values above the maximum for IBM long double
16642 * stdlib/tst-strtod-round.c (tests): Regenerated.
16644 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16646 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16648 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16649 zarch_nohighgprs around the zarch optimized routines.
16650 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16651 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16652 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16655 2012-09-05 David S. Miller <davem@davemloft.net>
16657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16659 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16660 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16661 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16662 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16665 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16667 * malloc/arena.c: Fold copyright years.
16668 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16670 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16672 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16674 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16676 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16678 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16680 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16681 change internal state upon failure.
16683 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
16685 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16686 * malloc/memusage.c (mmap): Likewise.
16687 (mmap64, mremap): Likewise. Adjust name in comment.
16689 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16691 * libio/fileops.c: Fix typos in comments.
16692 * libio/oldfileops.c: Likewise.
16693 * libio/wfileops.c: Likewise.
16695 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16698 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16699 (tst-malloc-usable-ENV): Set environment for test case.
16700 * malloc/hooks.c (malloc_check_get_size): New function to get
16702 * malloc/malloc.c (musable): Use malloc_check_get_size.
16703 * malloc/tst-malloc-usable.c: New test case.
16705 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16707 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16709 2012-09-05 Allan McRae <allan@archlinux.org>
16712 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16713 determine header location.
16714 * configure: Regenerated.
16716 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16718 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16720 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
16721 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16723 (test): Regenerate.
16725 2012-09-04 David S. Miller <davem@davemloft.net>
16727 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16728 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16729 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16731 2012-09-04 Florian Weimer <fweimer@redhat.com>
16733 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16736 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16738 2012-09-04 Joseph Myers <joseph@codesourcery.com>
16741 * libio/iogetdelim.c: Include <limits.h>.
16742 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16743 + len + 1 would overflow.
16745 2012-09-03 Andreas Jaeger <aj@suse.de>
16747 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16748 * sysdeps/i386/fpu/libm-test-ulps: Update.
16750 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16752 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16753 Add s_sinf-sse2, s_conf-sse2.
16755 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16756 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16757 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16758 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16760 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16761 for using routine as __sinf_ia32.
16762 Use macro for function declaration and weak_alias.
16763 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16764 for using routine as __cosf_ia32.
16765 Use macro for function declaration and weak_alias.
16767 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16768 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16770 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16771 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16774 * math/libm-test.inc (cos_test): Add more test cases.
16775 (sin_test): Likewise.
16776 (sincos_test): Likewise.
16778 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16780 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16781 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16783 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16785 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16788 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16789 first element of the GOT.
16790 (elf_machine_load_address): Return the difference between
16791 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16793 2012-09-01 Allan McRae <allan@archlinux.org>
16796 * configure.in (AWK): Require gawk version 3.0 or later.
16797 * configure: Regenerated.
16799 2012-09-01 Joseph Myers <joseph@codesourcery.com>
16801 * sysdeps/unix/sysv/linux/kernel-features.h
16802 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16803 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16804 [__NR_clock_getres]: Make code unconditional.
16805 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16806 (clock_getcpuclockid): Remove code left unreachable by removal of
16808 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16809 code unconditional.
16810 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16811 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16812 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16813 Make code unconditional.
16814 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16815 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16816 * sysdeps/unix/sysv/linux/clock_settime.c
16817 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16819 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16820 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16822 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16825 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16826 scripts/test-installation.pl.
16828 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16829 and $ld_so_version if it is set.
16831 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16834 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16835 failure if reading from procfs failed.
16836 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16838 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16840 * sysdeps/unix/sysv/linux/kernel-features.h
16841 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16842 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16843 Remove conditional code.
16844 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16845 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16846 Remove conditional code.
16847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16848 * sysdeps/unix/sysv/linux/i386/fxstat.c
16849 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16850 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16851 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16852 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16853 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16854 * sysdeps/unix/sysv/linux/i386/lxstat.c
16855 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16856 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16857 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16858 Remove conditional code.
16859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16860 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16861 Remove conditional code.
16862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16863 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16864 <kernel-features.h>.
16865 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16867 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16868 Remove conditional code.
16869 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16870 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16871 Remove conditional.
16873 2012-08-27 Mike Frysinger <vapier@gentoo.org>
16876 * NEWS: Add fixed bug number.
16878 2012-08-27 Joseph Myers <joseph@codesourcery.com>
16881 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16882 underflowing exponent in case of negative sign.
16883 * stdlib/tst-strtod-round-data: Add more tests.
16884 * stdlib/tst-strtod-round.c (tests): Regenerated.
16887 * stdlib/strtod_l.c (NDIG): Remove.
16888 (HEXNDIG): Likewise.
16889 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16890 smallest representable value.
16891 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16892 lie within an exact representation of 1/2 ulp of the result.
16893 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16895 (TENS_P9_IDX): Define unconditionally.
16896 (TENS_P9_SIZE): Likewise.
16897 (TENS_P10_IDX): Likewise.
16898 (TENS_P10_SIZE): Likewise.
16899 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16900 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16901 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16902 entries for 10^2^13 and 10^2^14.
16903 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16904 (TENS_P13_IDX): Define.
16905 (TENS_P13_SIZE): Likewise.
16906 (TENS_P14_IDX): Likewise.
16907 (TENS_P14_SIZE): Likewise.
16908 (_fpioconst_pow10): Change array size to
16909 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16911 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16912 1024]: Add entries for 10^2^13 and 10^2^14.
16913 [LAST_POW10 > _LAST_POW10]: Remove #error.
16914 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16915 (_fpioconst_pow10): Change array size to
16916 FPIOCONST_POW10_ARRAY_SIZE.
16917 * stdlib/gen-fpioconst.c: New file.
16918 * stdlib/gen-tst-strtod-round.c: Likewise.
16919 * stdlib/tst-strtod-round-data: Likewise.
16920 * stdlib/tst-strtod-round.c: Likewise.
16921 * stdlib/Makefile (tests): Add tst-strtod-round.
16924 * stdlib/strtod_l.c: Include <stdint.h>.
16925 (NDEBUG): Do not define.
16926 (round_and_return): Change EXPONENT parameter to type intmax_t.
16927 Rearrange calculations to avoid internal overflow possibilities.
16928 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16929 Rearrange calculations to avoid internal overflow possibilities.
16930 Assert that number fits inside MPNSIZE limbs.
16931 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16932 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16933 calculations and add assertions to avoid internal overflow
16934 possibilities. Add casts to avoid signed/unsigned operations.
16935 * stdlib/tst-strtod-overflow.c: New file.
16936 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16938 2012-08-25 Marek Polacek <polacek@redhat.com>
16940 * time/time.h: Fix some typos in comments.
16942 2012-08-23 Roland McGrath <roland@hack.frob.com>
16944 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16945 * posix/tst-rfc3484-2.c: Likewise.
16946 * posix/tst-rfc3484-3.c: Likewise.
16948 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16950 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16951 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16953 2012-08-23 Joseph Myers <joseph@codesourcery.com>
16955 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16956 #include of fxstatat64.c.
16958 2012-08-22 Roland McGrath <roland@hack.frob.com>
16960 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16961 * shadow/getspent_r.c: Likewise.
16962 * shadow/getspnam.c: Likewise.
16963 * shadow/getspnam_r.c: Likewise.
16964 * gshadow/getsgent.c: Likewise.
16965 * gshadow/getsgent_r.c: Likewise.
16966 * gshadow/getsgnam.c: Likewise.
16967 * gshadow/getsgnam_r.c: Likewise.
16968 * inet/getnetbyad.c: Likewise.
16969 * inet/getnetbyad_r.c: Likewise.
16970 * inet/getnetbynm.c: Likewise.
16971 * inet/getnetbynm_r.c: Likewise.
16972 * inet/getnetent.c: Likewise.
16973 * inet/getnetent_r.c: Likewise.
16974 * inet/getproto.c: Likewise.
16975 * inet/getproto_r.c: Likewise.
16976 * inet/getprtent.c: Likewise.
16977 * inet/getprtent_r.c: Likewise.
16978 * inet/getprtname.c: Likewise.
16979 * inet/getprtname_r.c: Likewise.
16980 * inet/getrpcbyname.c: Likewise.
16981 * inet/getrpcbyname_r.c: Likewise.
16982 * inet/getrpcbynumber.c: Likewise.
16983 * inet/getrpcbynumber_r.c: Likewise.
16984 * inet/getrpcent.c: Likewise.
16985 * inet/getrpcent_r.c: Likewise.
16986 * inet/getaliasent.c: Likewise.
16987 * inet/getaliasent_r.c: Likewise.
16988 * inet/getaliasname.c: Likewise.
16989 * inet/getaliasname_r.c: Likewise.
16990 * nscd/getgrgid_r.c: Likewise.
16991 * nscd/getgrnam_r.c: Likewise.
16992 * nscd/gethstbyad_r.c: Likewise.
16993 * nscd/gethstbynm3_r.c: Likewise.
16994 * nscd/getpwnam_r.c: Likewise.
16995 * nscd/getpwuid_r.c: Likewise.
16996 * nscd/getsrvbynm_r.c: Likewise.
16997 * nscd/getsrvbypt_r.c: Likewise.
16998 * nscd/gai.c: Likewise.
17000 * configure.in (build_nscd): New substituted variable, set
17001 by --disable-build-nscd and defaults to $use_nscd.
17002 * configure: Regenerated.
17003 * config.make.in (build-nscd): New substituted variable.
17004 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17005 Change conditional to require [$(build-nscd) = yes] as well.
17006 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17009 * configure.in (use_nscd): New substituted variable, set by
17010 --disable-nscd. If enabled, define USE_NSCD.
17011 * configure: Regenerated.
17012 * config.h.in: Add USE_NSCD.
17013 * config.make.in (use-nscd): New substituted variable.
17014 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17015 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17016 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17017 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17018 (CFLAGS-getgrnam_r.c): Likewise.
17019 (CFLAGS-initgroups.c): Likewise.
17020 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17021 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17023 * inet/getnetgrent_r.c
17024 (nscd_setnetgrent): New function, broken out of ...
17025 (setnetgrent): ... here. Call it.
17026 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17027 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17028 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17029 * nscd/Makefile (routines, aux): Move definitions after include of
17030 Makeconfig. Conditionalize on [$(use-nscd) != no].
17031 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17032 Conditionalize on [USE_NSCD].
17033 (is_nscd, nscd_init_cb): Likewise.
17034 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17035 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17036 * nss/nss_db/db-init.c: Likewise.
17037 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17039 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17040 (make_request): Use it.
17041 (cache_valid_p): New function.
17042 (__check_pf): Use it.
17043 * NEWS: Add item for --disable-nscd.
17045 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17047 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17048 to support sed >= 4.2.1-20-ga9bf076.
17049 * configure: Regenerated.
17051 2012-08-22 Roland McGrath <roland@hack.frob.com>
17053 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17054 Conditionalize whole body on [IREL].
17056 2012-08-22 Jeff Law <law@redhat.com>
17059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17060 if the family is PF_UNSPEC.
17062 2012-08-22 Mike Frysinger <vapier@gentoo.org>
17064 * Makerules (lib-version): Rename from V.
17065 (install-lib-nosubdir): Change V to lib-version.
17067 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17070 * powerpc32/power6/wcschr.c: New file.
17071 * powerpc32/power6/wcscpy.c: New file.
17072 * powerpc32/power6/wcsrchr.c: New file.
17073 * powerpc64/power6/wcschr.c: New file.
17074 * powerpc64/power6/wcscpy.c: New file.
17075 * powerpc64/power6/wcsrchr.c: New file.
17077 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17079 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17080 (two_way_short_needle): Use it.
17081 * string/strstr.c (AVAILABLE1_USES_J): Define.
17082 * string/strcasestr.c: Likewise.
17084 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17086 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17089 * NEWS: Add an entry.
17090 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17091 define their defaults.
17092 (two_way_short_needle): Detect end-of-string on-the-fly.
17093 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17094 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17095 * string/bug-strcasestr1.c: New test.
17096 * string/Makefile: Run it.
17098 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17101 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17102 the first character.
17104 2012-08-21 Roland McGrath <roland@hack.frob.com>
17106 * csu/elf-init.c (__libc_csu_irel): Function removed.
17107 * csu/libc-start.c (apply_irel): New function.
17108 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17110 2012-08-21 Joseph Myers <joseph@codesourcery.com>
17112 * sysdeps/unix/sysv/linux/kernel-features.h
17113 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17114 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17115 <kernel-features.h>.
17116 [__NR_fadvise64_64]: Make code unconditional.
17117 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17118 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17119 !__NR_fadvise64_64)]: Likewise.
17120 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17121 !__NR_fadvise64_64))]: Likewise.
17122 [__NR_fadvise64]: Make code unconditional.
17123 [!__NR_fadvise64]: Remove conditional code.
17124 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17125 <kernel-features.h>.
17126 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17128 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17131 not include <kernel-features.h>.
17132 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17134 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17136 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17137 include <kernel-features.h>.
17138 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17140 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17143 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17145 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17146 slight instruction rearrangements per scrollpipe analysis.
17147 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17149 2012-08-20 Roland McGrath <roland@hack.frob.com>
17151 * manual/syslog.texi (syslog; vsyslog, closelog):
17152 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17153 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17155 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17156 DSOCAPS to match condition on defining it.
17158 2012-08-20 Joseph Myers <joseph@codesourcery.com>
17160 * sysdeps/unix/sysv/linux/kernel-features.h
17161 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17163 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17164 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17166 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17167 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17169 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17170 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17172 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17173 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17175 * sysdeps/unix/sysv/linux/kernel-features.h
17176 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17177 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17179 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17180 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17181 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17182 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17183 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17184 Make code unconditional.
17185 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17186 (__mmap64) [!__NR_mmap2]: Likewise.
17187 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17188 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17189 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17190 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17191 [__NR_mmap2]: Make code unconditional.
17192 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17193 (__mmap64) [!__NR_mmap2]: Likewise.
17195 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17197 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17199 2012-08-18 Andreas Jaeger <aj@suse.de>
17201 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17203 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17205 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17206 * include/unistd.h (__have_sock_cloexec): Likewise.
17207 (__have_pipe2): Likewise.
17208 (__have_dup3): Likewise.
17210 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17213 * include/unistd.h (__have_pipe2): Change define into an extern int.
17214 (__have_dup3): Likewise.
17215 * socket/have_sock_cloexec.c: Include fcntl.h.
17216 (__have_pipe2): New variable.
17217 (__have_dup3): Likewise.
17219 2012-08-17 Mike Frysinger <vapier@gentoo.org>
17221 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17223 2012-08-17 Marek Polacek <polacek@redhat.com>
17225 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17226 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17228 2012-08-17 Roland McGrath <roland@hack.frob.com>
17230 * configure.in: Add AC_SUBST for sysheaders.
17231 * configure: Regenerated.
17232 * config.make.in (sysheaders): New substituted variable.
17234 * sysdeps/unix/mkfifo.c: Moved ...
17235 * sysdeps/posix/mkfifo.c: ... here.
17236 * sysdeps/unix/mkfifoat.c: Moved ...
17237 * sysdeps/posix/mkfifoat.c: ... here.
17239 * sysdeps/unix/utime.c: Moved ...
17240 * sysdeps/posix/utime.c: ... here.
17242 * sysdeps/unix/time.c: Moved ...
17243 * sysdeps/posix/time.c: ... here.
17244 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17245 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17247 * sysdeps/unix/nice.c: Moved ...
17248 * sysdeps/posix/nice.c: ... here.
17250 * sysdeps/unix/alarm.c: Moved ...
17251 * sysdeps/posix/alarm.c: ... here.
17253 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17255 2012-08-17 Jeff Law <law@redhat.com>
17257 * intl/Makefile (codeset_mo): New variable.
17258 ($(codeset_mo)): New target.
17259 (tst-codeset.out): Depend on that. Remove explicit rule.
17260 (tst-gettext3.out, tst-gettext5.out): Likewise.
17261 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17262 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17263 * intl/tst-codeset.sh: Remove.
17264 * intl/tst-gettext3.sh: Likewise.
17265 * intl/tst-gettext5.sh: Likewise.
17267 2012-08-17 Roland McGrath <roland@hack.frob.com>
17269 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17270 * sysdeps/unix/syscalls.list: ... here.
17272 * sysdeps/posix/getaddrinfo.c
17273 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17274 (gaiconf_init, gaiconf_reload): Use them.
17275 [!_STATBUF_ST_NSEC]
17276 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17277 Define using time_t rather than struct timespec.
17279 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17280 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17282 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17284 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17285 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17288 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17289 __libc_cleanup_push argument.
17291 * bits/param.h: New file.
17292 * misc/sys/param.h: New file.
17293 * include/sys/param.h: New file.
17294 * misc/Makefile (headers): Add bits/param.h.
17295 * sysdeps/generic/sys/param.h: File removed.
17296 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17297 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17298 * sysdeps/mach/hurd/bits/param.h: New file.
17299 * sysdeps/mach/hurd/sys/param.h: File removed.
17301 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17304 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17306 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17307 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17310 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17311 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17312 rather than -D_IO_MTSAFE_IO conditionally.
17313 * stdio-common/Makefile (CPPFLAGS): Likewise.
17314 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17315 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17316 Use $(libio-mtsafe).
17317 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17318 of -D_IO_MTSAFE_IO.
17319 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17320 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17321 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17322 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17323 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17324 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17325 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17326 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17327 (CFLAGS-fread_u_chk.c): Likewise.
17328 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17329 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17330 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17331 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17332 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17333 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17334 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17335 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17336 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17338 * libio/Makefile: Test [$(libc-reentrant) = yes]
17339 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17342 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17343 * sysdeps/pthread/configure: File removed.
17344 * sysdeps/pthread/Makeconfig: New file.
17345 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17346 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17348 2012-08-16 Gary Benson <gbenson@redhat.com>
17350 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17351 unmapping the first object in a namespace.
17353 2012-08-16 Roland McGrath <roland@hack.frob.com>
17355 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17356 (__internal_setnetgrent): ... this. Add internal_function to
17357 definition. Add libc_hidden_def.
17358 (setnetgrent): Update caller.
17359 (internal_endnetgrent): Renamed to ...
17360 (__internal_endnetgrent): ... this. Add internal_function to
17361 definition. Add libc_hidden_def.
17362 (endnetgrent): Update caller.
17363 (internal_getnetgrent_r): Renamed to ...
17364 (__internal_getnetgrent_r): ... this. Add internal_function to
17365 definition. Add libc_hidden_def.
17366 (__getnetgrent_r): Update caller.
17367 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17369 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17371 * stdlib/longlong.h: Update from GCC.
17373 2012-08-16 Roland McGrath <roland@hack.frob.com>
17375 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17376 on _QL, which is set by umul_ppmm but never used.
17377 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17378 variables, which are set by GMP macros but never used.
17379 * stdio-common/_itowa.c (_itowa): Likewise.
17380 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17381 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17383 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17385 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17386 struct La_sh_regs is not constant.
17387 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17388 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17389 and struct La_sparc64_regs are not constant.
17391 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17393 * sysdeps/unix/sysv/linux/kernel-features.h
17394 (__ASSUME_POSIX_TIMERS): Remove.
17395 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17396 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17397 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17398 Make code unconditional.
17399 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17400 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17401 Make code unconditional.
17402 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17403 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17404 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17405 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17406 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17407 Make code unconditional.
17408 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17409 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17410 (__libc_missing_posix_timers): Remove.
17412 2012-08-15 Roland McGrath <roland@hack.frob.com>
17414 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17415 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17417 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17419 * elf/dl-sym.c: Include <stdlib.h>.
17421 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17422 constants, which avoids warnings in 32-bit builds.
17424 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17425 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17427 * misc/lseek.c: File moved to ...
17428 * io/lseek.c: ... here.
17430 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17432 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17433 shifting LEN more than 31 bits at once.
17435 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17438 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17439 segmentation fault for a case of two empty input strings.
17440 * string/test-strncasecmp.c (check1): Renamed to...
17441 (bz12205): ...this.
17442 (bz14195): Add new testcase for two empty input strings and N > 0.
17443 (test_main): Call new testcase, adapt for renamed function.
17445 2012-08-15 Andreas Jaeger <aj@suse.de>
17448 * crypt/md5test2.c: New test, based on test supplied by Serge
17449 Belyshev <belyshev@depni.sinp.msu.ru>.
17450 * crypt/Makefile (xtests): Add md5test-giant..
17451 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17453 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17456 * crypt/md5.c (md5_process_block): Don't assume the buffer
17457 length is less than 2**32.
17458 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17459 length is less than 2**64.
17461 2012-08-15 Roland McGrath <roland@hack.frob.com>
17463 * string/str-two-way.h: Include <sys/param.h>.
17464 (MAX): Macro removed.
17466 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17467 Move #define and #undef of memmove to just before and after
17468 including <string.h>.
17470 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17471 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17472 and after including <string.h>. Move declarations of
17473 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17474 to before #include "string/memmove.c".
17476 * include/dirent.h: Declare __getdirentries.
17478 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17479 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17481 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17483 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17484 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17485 * sysdeps/i386/configure: Regenerated.
17486 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17487 STABS_CURRENT_FILE, and STABS_FUN.
17488 (END): Remove call to STABS_FUN_END.
17489 (STABS_CURRENT_FILE1): Delete.
17490 (STABS_CURRENT_FILE): Likewise.
17491 (STABS_FUN): Likewise.
17492 (STABS_FUN_END): Likewise.
17493 (STABS_FUN2): Likewise.
17494 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17495 * sysdeps/x86_64/configure: Regenerated.
17497 2012-08-14 Roland McGrath <roland@hack.frob.com>
17499 * elf/dl-open.c: Include <atomic.h>.
17500 * elf/dl-lookup.c: Likewise.
17502 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17504 * sysdeps/unix/sysv/linux/kernel-features.h
17505 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17506 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17508 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17510 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17511 condition on __ASSUME_CLONE_THREAD_FLAGS.
17513 2012-08-14 Andreas Jaeger <aj@suse.de>
17515 * sysdeps/i386/fpu/libm-test-ulps: Update.
17517 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17519 * include/atomic.h (atomic_exchange_and_add): Split into ...
17520 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17523 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17527 2012-08-13 Jeff Law <law@redhat.com>
17529 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17530 null byte in the output string.
17532 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17534 * sysdeps/unix/sysv/linux/kernel-features.h
17535 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17536 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17537 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17538 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17539 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17540 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17541 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17543 2012-08-09 Jeff Law <law@redhat.com>
17546 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17547 When avoid_arena is set, don't retry in the that arena. Pick the
17548 next one, whatever it might be.
17549 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17550 (arena_lock): Pass in new parameter to arena_get2.
17551 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17553 (__libc_malloc): Unify retrying after main arena failure with
17554 __libc_memalign version.
17555 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17557 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17560 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17561 to __redirect_strstr.
17562 (__strstr_sse42): Use typeof __redirect_strstr.
17563 (__strstr_ia32): Likewise.
17564 (__libc_strstr): New prototype.
17565 (strstr): Renamed to ...
17566 (__libc_strstr): This.
17567 (strstr): New strong alias of __libc_strstr.
17568 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17569 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17572 (__libc_time): New prototype.
17573 (time_ifunc): Replace time with __libc_time.
17574 (time): New strong alias and hidden definition of __libc_time.
17575 (__GI_time): Remove strong alias.
17576 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17577 Include <stddef.h>.
17578 (memmove): Redefined to __redirect_memmove.
17579 (__memmove_sse2): Use typeof __redirect_memmove.
17580 (__memmove_ssse3): Likewise.
17581 (__memmove_ssse3_back): Likewise.
17582 (__libc_memmove): New prototype.
17583 (memmove): Renamed to ...
17584 (__libc_memmove): This.
17585 (memmove): New strong alias of __libc_memmove.
17587 2012-08-08 Mark Salter <msalter@redhat.com>
17590 (R_MN10300_TLS_GD): Define.
17591 (R_MN10300_TLS_LD): Likewise.
17592 (R_MN10300_TLS_LDO): Likewise.
17593 (R_MN10300_TLS_GOTIE): Likewise.
17594 (R_MN10300_TLS_IE): Likewise.
17595 (R_MN10300_TLS_LE): Likewise.
17596 (R_MN10300_TLS_DTPMOD): Likewise.
17597 (R_MN10300_TLS_DTPOFF): Likewise.
17598 (R_MN10300_TLS_TPOFF): Likewise.
17599 (R_MN10300_SYM_DIFF): Likewise.
17600 (R_MN10300_ALIGN): Likewise.
17601 (R_MN10300_NUM): Update.
17603 2012-08-08 Joseph Myers <joseph@codesourcery.com>
17605 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17608 2012-08-08 Roland McGrath <roland@hack.frob.com>
17610 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17612 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17613 sysdeps/unix -> sysdeps/posix move.
17614 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17616 2012-08-07 Allan McRae <allan@archlinux.org>
17619 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17620 (SUNOS_CPP): Likewise.
17621 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17623 (open_input): Call CPP using execvp.
17625 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17627 * sysdeps/unix/sysv/linux/kernel-features.h
17628 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17629 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17630 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17631 (__ASSUME_WAITID_SYSCALL): Likewise.
17632 * sysdeps/unix/sysv/linux/dl-execstack.c
17633 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17634 code unconditional.
17635 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17637 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17638 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17639 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17641 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17643 [__ASSUME_WAITID_SYSCALL]: Likewise.
17644 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17646 2012-08-07 Roland McGrath <roland@hack.frob.com>
17648 * sysdeps/unix/closedir.c: Renamed to ...
17649 * sysdeps/posix/closedir.c: ... here.
17650 * sysdeps/unix/dirfd.c: Renamed to ...
17651 * sysdeps/posix/dirfd.c: ... here.
17652 * sysdeps/unix/dirstream.h: Renamed to ...
17653 * sysdeps/posix/dirstream.h: ... here.
17654 * sysdeps/unix/fdopendir.c: Renamed to ...
17655 * sysdeps/posix/fdopendir.c: ... here.
17656 * sysdeps/unix/opendir.c: Renamed to ...
17657 * sysdeps/posix/opendir.c: ... here.
17658 * sysdeps/unix/readdir.c: Renamed to ...
17659 * sysdeps/posix/readdir.c: ... here.
17660 * sysdeps/unix/readdir_r.c: Renamed to ...
17661 * sysdeps/posix/readdir_r.c: ... here.
17662 * sysdeps/unix/rewinddir.c: Renamed to ...
17663 * sysdeps/posix/rewinddir.c: ... here.
17664 * sysdeps/unix/seekdir.c: Renamed to ...
17665 * sysdeps/posix/seekdir.c: ... here.
17666 * sysdeps/unix/telldir.c: Renamed to ...
17667 * sysdeps/posix/telldir.c: ... here.
17668 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17669 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17670 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17671 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17673 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17674 * bits/fcntl.h: ... here.
17676 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17678 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17679 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17680 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17681 (struct flock): Move l_start, l_len to the beginning.
17682 Use __pid_t for l_pid.
17683 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17684 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17685 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17686 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17687 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17688 [__USE_LARGEFILE64] (struct flock64): New type.
17689 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17691 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17692 * bits/dirent.h: ... here.
17694 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17695 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17697 2012-08-07 Joseph Myers <joseph@codesourcery.com>
17699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17700 Change from 2.6.0 to 2.6.16.
17701 * sysdeps/unix/sysv/linux/configure: Regenerated.
17702 * sysdeps/unix/sysv/linux/kernel-features.h
17703 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17704 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17706 (__ASSUME_UTIMES): Likewise.
17707 (__ASSUME_CLONE_STOPPED): Remove.
17708 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17709 architectures, not kernel version.
17710 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17711 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17712 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17713 (__ASSUME_WAITID_SYSCALL): Likewise.
17714 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17715 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17716 * README: State 2.6.16 as minimum Linux kernel version. Do not
17717 refer to older versions.
17719 2012-08-06 Roland McGrath <roland@hack.frob.com>
17721 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17722 Define alphasort64 as an alias.
17723 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17724 Define versionsort64 as an alias.
17725 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17726 Define scandir64 as an alias.
17727 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17728 Define scandirat64 as an alias.
17729 * dirent/alphasort64.c (alphasort64):
17730 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17731 * dirent/versionsort64.c: Likewise.
17732 * dirent/scandir64.c: Likewise.
17733 * dirent/scandirat64.c: Likewise.
17734 * sysdeps/wordsize-64/alphasort.c: File removed.
17735 * sysdeps/wordsize-64/alphasort64.c: File removed.
17736 * sysdeps/wordsize-64/scandir.c: File removed.
17737 * sysdeps/wordsize-64/scandir64.c: File removed.
17738 * sysdeps/wordsize-64/scandirat.c: File removed.
17739 * sysdeps/wordsize-64/scandirat64.c: File removed.
17740 * sysdeps/wordsize-64/versionsort.c: File removed.
17741 * sysdeps/wordsize-64/versionsort64.c: File removed.
17742 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17743 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17744 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17745 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17746 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17747 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17748 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17749 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17751 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17752 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17753 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17754 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17755 [defined __arch64__ || defined __sparcv9]
17756 (__INO_T_MATCHES_INO64_T): New macro.
17757 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17758 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17759 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17760 * sysdeps/unix/sysv/linux/bits/dirent.h
17761 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17762 (_DIRENT_MATCHES_DIRENT64): New macro.
17764 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17765 Define lockf64 as an alias.
17766 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17767 Define fseeko64 as an alias.
17768 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17769 Define ftello64 as an alias.
17770 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17771 Define _IO_fgetpos64 and fgetpos64 as aliases.
17772 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17773 Define _IO_fsetpos64 and fsetpos64 as aliases.
17774 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17775 Conditionalize body on this.
17776 * libio/fseeko64.c: Likewise.
17777 * libio/ftello64.c: Likewise.
17778 * libio/iofgetpos64.c: Likewise.
17779 * libio/iofsetpos64.c: Likewise.
17780 * sysdeps/wordsize-64/lockf.c: File removed.
17781 * sysdeps/wordsize-64/lockf64.c: File removed.
17782 * sysdeps/wordsize-64/fseeko.c: File removed.
17783 * sysdeps/wordsize-64/fseeko64.c: File removed.
17784 * sysdeps/wordsize-64/ftello.c: File removed.
17785 * sysdeps/wordsize-64/ftello64.c: File removed.
17786 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17787 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17788 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17789 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17790 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17791 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17792 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17793 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17794 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17795 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17796 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17797 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17798 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17799 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17801 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17802 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17803 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17805 [defined __arch64__ || defined __sparcv9]
17806 (__OFF_T_MATCHES_OFF64_T): New macro.
17807 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17808 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17809 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17810 (__OFF_T_MATCHES_OFF64_T): New macro.
17812 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17814 * stdlib/secure-getenv.c (__secure_getenv): Replace
17815 GLIBC_2_16 with GLIBC_2_17.
17817 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17819 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17820 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17822 2012-08-03 David S. Miller <davem@davemloft.net>
17824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17826 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17828 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17830 (__ASSUME_CORRECT_SI_PID): Likewise.
17831 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17832 (__ASSUME_TMPFS_NAME): Likewise.
17833 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17834 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17835 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17836 (HAVE_AUX_SECURE): Make definition unconditional.
17837 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17838 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17840 2012-08-03 Roland McGrath <roland@hack.frob.com>
17842 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17843 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17844 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17845 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17846 __eloop_threshold instead of SYMLOOP_MAX.
17848 * sysdeps/generic/eloop-threshold.h: New file.
17849 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17851 * elf/chroot_canon.c (chroot_canon): Likewise.
17853 2012-08-03 Joseph Myers <joseph@codesourcery.com>
17856 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17857 Change to 2.6.0 everywhere.
17858 * sysdeps/unix/sysv/linux/configure: Regenerated.
17859 * sysdeps/unix/sysv/linux/kernel-features.h
17860 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17861 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17863 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17864 (__ASSUME_FUTEX_REQUEUE): Remove.
17865 (__ASSUME_STATFS64): Define unconditionally.
17866 (__ASSUME_AT_SECURE): Likewise.
17867 (__ASSUME_CORRECT_SI_PID): Likewise.
17868 (__ASSUME_TGKILL): Define without depending on kernel version for
17870 (__ASSUME_UTIMES): Likewise.
17871 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17873 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17874 (__ASSUME_TMPFS_NAME): Likewise.
17875 * README: Update reference to Linux kernel versions.
17877 2012-08-02 Marek Polacek <polacek@redhat.com>
17880 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17881 libc_cv_asm_type_prefix with %.
17882 * configure: Regenerated.
17883 * include/libc-symbols.h: Remove comment about
17884 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17885 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17886 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17887 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17888 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17889 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17890 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17891 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17892 * elf/tst-unique2mod1.c: Likewise.
17893 * elf/tst-unique1mod2.c: Likewise.
17894 * elf/tst-unique1mod1.c: Likewise.
17895 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17896 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17897 Replace ASM_TYPE_DIRECTIVE with .type.
17898 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17899 * sysdeps/i386/sysdep.h: Likewise.
17900 * sysdeps/x86_64/sysdep.h: Likewise.
17901 * sysdeps/sh/sysdep.h: Likewise.
17902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17903 Do not define ASM_TYPE_DIRECTIVE.
17904 * sysdeps/powerpc/sysdep.h: Likewise.
17905 * sysdeps/powerpc/powerpc32/sysdep.h:
17906 Replace ASM_TYPE_DIRECTIVE with .type.
17907 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17908 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17909 * sysdeps/i386/fpu/e_powf.S: Likewise.
17910 * sysdeps/i386/fpu/e_expl.S: Likewise.
17911 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17912 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17913 * sysdeps/i386/fpu/e_pow.S: Likewise.
17914 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17915 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17916 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17917 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17918 * sysdeps/i386/fpu/e_log2.S: Likewise.
17919 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17920 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17921 * sysdeps/i386/fpu/e_powl.S: Likewise.
17922 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17923 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17924 * sysdeps/i386/fpu/e_logl.S: Likewise.
17925 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17926 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17927 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17928 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17929 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17930 * sysdeps/i386/fpu/e_log.S: Likewise.
17931 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17932 * sysdeps/i386/fpu/e_logf.S: Likewise.
17933 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17934 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17935 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17936 * sysdeps/i386/fpu/e_log10.S: Likewise.
17937 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17938 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17939 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17940 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17941 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17942 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17943 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17944 * sysdeps/i386/i686/strtok.S: Likewise.
17945 * sysdeps/i386/i386-mcount.S: Likewise.
17946 * sysdeps/i386/strtok.S: Likewise.
17947 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17948 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17949 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17950 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17951 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17952 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17953 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17954 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17955 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17956 * sysdeps/x86_64/_mcount.S: Likewise.
17957 * sysdeps/x86_64/strtok.S: Likewise.
17958 * sysdeps/sh/_mcount.S: Likewise.
17960 2012-08-01 Roland McGrath <roland@hack.frob.com>
17962 * libio/iofopen.c: Include <fcntl.h>.
17963 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17964 (_IO_fopen64, fopen64): Define as aliases.
17965 * libio/iofopen64.c: Include <fcntl.h>.
17966 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17967 Conditionalize body on this.
17968 * sysdeps/wordsize-64/iofopen.c: File removed.
17969 * sysdeps/wordsize-64/iofopen64.c: File removed.
17971 2012-08-01 Marek Polacek <polacek@redhat.com>
17973 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17974 Use dlfcn directly instead of a variable.
17975 (binfmt-subdir): Do not define.
17978 2012-08-01 Joseph Myers <joseph@codesourcery.com>
17980 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17981 Remove all definitions.
17982 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17983 <kernel-features.h>.
17984 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17985 (miss_F_GETOWN_EX): Remove all definitions.
17986 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17988 [!__ASSUME_FCNTL64]: Remove conditional code.
17989 [__ASSUME_FCNTL64]: Make code unconditional.
17990 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17991 <kernel-features.h>.
17992 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17993 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17994 (lockf64) [__NR_fcntl64]: Make code unconditional.
17995 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17997 * sysdeps/unix/sysv/linux/kernel-features.h
17998 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17999 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18000 Make code unconditional.
18001 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18002 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18004 [__NR_vfork]: Make code unconditional.
18005 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18006 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18008 [__NR_vfork]: Make code unconditional.
18009 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18010 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18012 2012-08-01 Roland McGrath <roland@hack.frob.com>
18014 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18015 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18017 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18018 Define mkstemp64 as an alias.
18019 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18020 Define mkstemps64 as an alias.
18021 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18022 Define mkostemp64 as an alias.
18023 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18024 Define mkostemps64 as an alias.
18025 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18026 Conditionalize body on this.
18027 * misc/mkostemp64.c: Likewise.
18028 * misc/mkostemps64.c: Likewise.
18029 * misc/mkstemps64.c: Likewise.
18030 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18031 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18032 * sysdeps/wordsize-64/mkostemp.c: File removed.
18033 * sysdeps/wordsize-64/mkstemp.c: File removed.
18034 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18035 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18036 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18037 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18040 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18041 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18042 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18043 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18045 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18046 compat_symbol macros from <shlib-compat.h> rather than the underlying
18047 default_symbol_version and symbol_version macros, so that DEFAULT
18048 lines in shlib-versions are respected.
18049 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18051 2012-08-01 Florian Weimer <fweimer@redhat.com>
18053 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18054 Declare with warn_unused_result.
18055 (setgid, setregid, setegid, setresgid): Likewise.
18056 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18058 * WUR-REPORT: Remove set*id functions.
18060 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18062 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18064 2012-07-31 Roland McGrath <roland@hack.frob.com>
18067 * include/sys/socket.h (__libc_accept, __libc_accept4):
18068 Add attribute_hidden.
18069 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18071 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18073 * inet/getnetgrent_r.c (setup): Likewise.
18075 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18077 2012-07-31 David S. Miller <davem@davemloft.net>
18079 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18081 2012-07-31 Joseph Myers <joseph@codesourcery.com>
18084 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18085 value between 1.0 and 2.0 and smaller part has absolute value less
18087 * math/s_clog10.c (__clog10): Likewise.
18088 * math/s_clog10f.c (__clog10f): Likewise.
18089 * math/s_clog10l.c (__clog10l): Likewise.
18090 * math/s_clogf.c (__clogf): Likewise.
18091 * math/s_clogl.c (__clogl): Likewise.
18092 * math/libm-test.inc (clog_test): Add more tests.
18093 (clog10_test): Likewise.
18094 * sysdeps/i386/fpu/libm-test-ulps: Update.
18095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18097 2012-07-31 Florian Weimer <fweimer@redhat.com>
18099 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18100 Exit with zero in case no suitable GID is found, and write a
18101 message to standard error.
18103 2012-07-30 Roland McGrath <roland@hack.frob.com>
18105 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18107 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18108 (MAXPATHLEN): Removed.
18109 (NOGROUP, NODEV): New macros.
18110 (setbit, clrbit, isset, isclr): New macros.
18111 (howmany, roundup, powerof2): New macros.
18112 (DEV_BSIZE): New macro.
18114 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18115 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18117 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18118 definition on [!__NO_LONG_DOUBLE_MATH].
18120 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18121 PTR_MANGLE and PTR_DEMANGLE.
18123 * socket/accept4.c (accept4): Rename to __libc_accept4.
18124 Define accept4 as a weak alias.
18126 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18127 on [_DIRENT_HAVE_D_TYPE].
18128 * io/ftw.c (ftw_dir): Likewise.
18130 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18132 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18134 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18135 Use the BSD numbers rather than the arbitrary ones we had.
18136 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18137 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18138 (SIGXCPU, SIGXFSZ): New macros.
18141 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18142 initializer on [_LIBC_REENTRANT].
18144 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18145 definitions inside [_POSIX_MAPPED_FILES].
18147 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18149 * dirent/opendir.c: Include <fcntl.h>.
18151 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18152 (__libc_getspecific): Likewise.
18153 (__libc_key_create): Likewise.
18155 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18156 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18157 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18158 (tmpfile64): Define as alias.
18159 * sysdeps/wordsize-64/tmpfile.c: File removed.
18160 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18161 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18162 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18164 * stdio-common/vfscanf.c: Include <stdbool.h>.
18165 * nss/makedb.c: Likewise.
18166 * stdio-common/_i18n_number.h: Likewise.
18167 * argp/argp-help.c: Likewise.
18168 * posix/wordexp.c: Likewise.
18169 * sysdeps/posix/spawni.c: Likewise.
18170 * nss/nss_files/files-initgroups.c: Likewise.
18171 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18172 * nss/nss_files/files-initgroups.c: Likewise.
18173 * nss/nss_db/db-netgrp.c: Likewise.
18174 * nss/nss_db/db-initgroups.c: Likewise.
18175 * io/fchmodat.c: Include <sys/stat.h>.
18177 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18178 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18180 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18183 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18184 Add multiple inclusion protection.
18186 2012-07-27 David S. Miller <davem@davemloft.net>
18188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18190 2012-07-27 Gary Benson <gbenson@redhat.com>
18193 * elf/rtld.c: Include <stap-probe.h>.
18194 (dl_main): Added static probes "init_start" and "init_complete".
18195 * elf/dl-load.c: Include <stap-probe.h>.
18196 (lose): Take new parameter "nsid".
18197 Added static probe "map_failed".
18198 (_dl_map_object_from_fd): Pass namespace id to lose.
18199 Added static probe "map_start".
18200 (open_verify): Pass namespace id to lose.
18201 * elf/dl-open.c: Include <stap-probe.h>.
18202 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18203 and "reloc_complete".
18204 * elf/dl-close.c: Include <stap-probe.h>.
18205 (_dl_close_worker): Added static probes "unmap_start" and
18207 * elf/rtld-debugger-interface.txt: New file documenting the above.
18209 2012-07-26 Roland McGrath <roland@hack.frob.com>
18211 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18212 rather than a string variable.
18213 * sunrpc/rpc_main.c (h_output): Likewise.
18214 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18216 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18218 * inet/check_native.c: New file.
18220 2012-07-26 Joseph Myers <joseph@codesourcery.com>
18223 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18224 if larger part has absolute value 1.0.
18225 * math/s_clog10.c (__clog10): Likewise.
18226 * math/s_clog10f.c (__clog10f): Likewise.
18227 * math/s_clog10l.c (__clog10l): Likewise.
18228 * math/s_clogf.c (__clogf): Likewise.
18229 * math/s_clogl.c (__clogl): Likewise.
18230 * math/libm-test.inc (clog_test): Add more tests.
18231 (clog10_test): Likewise.
18232 * sysdeps/i386/fpu/libm-test-ulps: Update.
18233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18235 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18236 (pltexit): Likewise.
18237 (La_regs): Likewise.
18238 (La_retval): Likewise.
18239 (int_retval): Likewise.
18240 Update #error for removed macros to refer only to definitions in
18242 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18244 (pltexit): Likewise.
18245 (La_regs): Likewise.
18246 (La_retval): Likewise.
18247 (int_retval): Likewise.
18248 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18250 (pltexit): Likewise.
18251 (La_regs): Likewise.
18252 (La_retval): Likewise.
18253 (int_retval): Likewise.
18254 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18256 (pltexit): Likewise.
18257 (La_regs): Likewise.
18258 (La_retval): Likewise.
18259 (int_retval): Likewise.
18260 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18262 (pltexit): Likewise.
18263 (La_regs): Likewise.
18264 (La_retval): Likewise.
18265 (int_retval): Likewise.
18266 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18268 (pltexit): Likewise.
18269 (La_regs): Likewise.
18270 (La_retval): Likewise.
18271 (int_retval): Likewise.
18272 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18274 (pltexit): Likewise.
18275 (La_regs): Likewise.
18276 (La_retval): Likewise.
18277 (int_retval): Likewise.
18278 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18279 macro definitions in tst-audit.h.
18280 * sysdeps/i386/tst-audit.h: New file.
18281 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18282 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18283 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18284 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18285 * sysdeps/sh/tst-audit.h: Likewise.
18286 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18287 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18288 * sysdeps/x86_64/tst-audit.h: Likewise.
18290 2012-07-26 Andreas Jaeger <aj@suse.de>
18292 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18295 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18296 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18297 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18299 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18300 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18301 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18303 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18306 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18308 (si_call_addr, si_syscall, si_arch): Define new macro.
18309 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18311 (si_call_addr, si_syscall, si_arch): Define new marcro.
18312 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18314 (si_call_addr, si_syscall, si_arch): Define new macro.
18315 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18317 (si_call_addr, si_syscall, si_arch): Define new macro.
18319 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18322 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18323 Change to 2.4.21 where previously 2.4.1.
18324 * sysdeps/unix/sysv/linux/configure: Regenerated.
18325 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18326 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18327 Linux kernel version.
18328 (__ASSUME_STD_AUXV): Remove.
18329 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18331 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18332 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18333 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18334 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18335 (__ASSUME_NETLINK_SUPPORT): Likewise.
18336 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18337 (__no_netlink_support): Remove conditional definition.
18338 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18340 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18341 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18342 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18343 (if_nameindex_ioctl): Remove.
18344 (if_nameindex_netlink): Do not handle __no_netlink_support.
18345 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18347 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18348 Remove conditional code.
18349 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18351 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18353 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18354 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18355 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18357 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18358 [!__ASSUME_STD_AUXV]: Remove conditional code.
18359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18360 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18361 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18363 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18364 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18366 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18368 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18369 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18371 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18373 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18376 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18379 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18380 code unconditional.
18381 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18383 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18385 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18388 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18390 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18393 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18394 code unconditional.
18395 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18397 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18399 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18402 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18403 code unconditional.
18404 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18406 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18408 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18411 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18413 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18414 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18415 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18416 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18417 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18418 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18419 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18420 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18421 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18422 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18423 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18424 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18425 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18426 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18427 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18428 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18429 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18430 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18431 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18432 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18433 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18434 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18435 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18437 2012-07-25 Florian Weimer <fweimer@redhat.com>
18439 * Versions.def: Add GLIBC_2.17.
18440 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18441 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18442 Introduce __libc_secure_getenv.
18443 * stdlib/Versions (2.17): Add secure_getenv
18444 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18445 * stdlib/secure-getenv.c: Rename __secure_getenv to
18446 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18447 symbol __secure_getenv for GLIBC_2.0.
18448 * stdlib/tst-secure-getenv.c: New.
18449 * stdlib/Makefile (tests): Add testcase.
18450 * manual/startup.texi (Environment Access): Document
18452 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18453 __libc_secure_getenv.
18454 * inet/ruserpass.c (ruserpass): Likewise.
18455 * malloc/mtrace.c (mtrace): Likewise.
18456 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18457 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18458 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18459 * sysdeps/posix/tempname.c: Likewise. Evaluate
18460 HAVE_SECURE_GETENV.
18461 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18462 __secure_getenv to __libc_secure_getenv.
18463 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18476 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18478 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18479 (struct La_i86_retval): Likewise.
18480 (struct La_x86_64_regs): Likewise.
18481 (struct La_x86_64_retval): Likewise.
18482 (struct La_x32_regs): Likewise.
18483 (struct La_x32_retval): Likewise.
18484 (struct La_ppc32_regs): Likewise.
18485 (struct La_ppc32_retval): Likewise.
18486 (struct La_ppc64_regs): Likewise.
18487 (struct La_ppc64_retval): Likewise.
18488 (struct La_sh_regs): Likewise.
18489 (struct La_sh_retval): Likewise.
18490 (struct La_s390_32_regs): Likewise.
18491 (struct La_s390_32_retval): Likewise.
18492 (struct La_s390_64_regs): Likewise.
18493 (struct La_s390_64_retval): Likewise.
18494 (struct La_sparc32_regs): Likewise.
18495 (struct La_sparc32_retval): Likewise.
18496 (struct La_sparc64_regs): Likewise.
18497 (struct La_sparc64_retval): Likewise.
18498 (struct audit_ifaces): Remove architecture-specific pltenter and
18500 * sysdeps/i386/ldsodefs.h: New file.
18501 * sysdeps/powerpc/ldsodefs.h: Likewise.
18502 * sysdeps/s390/ldsodefs.h: Likewise.
18503 * sysdeps/sh/ldsodefs.h: Likewise.
18504 * sysdeps/sparc/ldsodefs.h: Likewise.
18505 * sysdeps/x86_64/ldsodefs.h: Likewise.
18507 2012-07-25 Marek Polacek <polacek@redhat.com>
18510 * math/libm-test.inc (yn_test): Add another test.
18511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18512 to ERANGE when the result is +-Inf.
18513 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18514 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18515 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18516 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18518 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18520 * conform/data/time.h-data (NULL): Use macro-constant. Require
18522 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18524 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18526 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18528 * configure.in <sysdeps resolving>: Correct printing
18530 * configure: Regenerate.
18532 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18534 * math/w_ilogb.c: Include <limits.h>.
18535 * math/w_ilogbl.c: Likewise.
18537 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18539 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18540 va_copy. Document allowing for unavailable va_copy only as
18541 pre-C99 compatibility.
18542 * manual/string.texi (Copying and Concatenation): Use va_copy
18543 instead of __va_copy in concat example.
18545 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18547 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18548 (__sendto): Use create_address_port. Initialize APORT and deallocate
18551 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18552 with O_NOLINK passed to __file_name_lookup.
18554 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18555 with O_NOLINK passed to __file_name_lookup.
18557 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18558 negative N or less than NGIDS.
18560 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18561 type to string_t. Set ERANGE as errno and return it if NAME is not big
18562 enough. Use memcpy instead of strncpy.
18564 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18566 * elf/Makefile (check-data): Remove.
18567 (localplt.data): New vpath directive.
18568 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18569 instead of $(check-data).
18570 * scripts/data/localplt-generic.data: Move to ...
18571 * sysdeps/generic/localplt.data: ... here.
18572 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18573 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18574 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18577 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18580 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18583 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18586 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18589 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18593 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18595 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18596 PPC32 and PPC64 files.
18597 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18598 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18600 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18602 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18603 __makecontext_ret to ...
18604 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18605 ... here and call exit if uc_link is NULL. New file.
18606 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18607 __makecontext_ret.S.
18608 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18609 __makecontext_ret to ...
18610 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18611 ... here and call exit if uc_link is NULL. New file.
18612 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18613 __makecontext_ret.S.
18615 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18617 * elf/elf.h (R_390_IRELATIVE): New definition.
18618 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18619 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18620 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18621 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18622 (elf_machine_lazy_rel): Likewise.
18623 * sysdeps/s390/dl-irel.h: New file.
18624 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18625 * sysdeps/s390/s390-64/memset.S: New asm code.
18626 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18627 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18628 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18629 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18630 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18631 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18632 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18633 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18634 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18635 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18636 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18637 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18638 * sysdeps/s390/s390-32/memset.S: New asm code.
18639 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18641 2012-07-17 Marek Polacek <polacek@redhat.com>
18644 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18645 * sysdeps/s390/s390-64/configure.in: Likewise.
18646 * sysdeps/sparc/configure.in: Likewise.
18647 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18648 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18649 * sysdeps/i386/configure.in: Likewise.
18650 * sysdeps/x86_64/configure.in: Likewise.
18651 * sysdeps/sh/configure.in: Likewise.
18652 * sysdeps/s390/s390-32/configure: Regenerated.
18653 * sysdeps/s390/s390-64/configure: Likewise.
18654 * sysdeps/x86_64/configure: Likewise.
18655 * sysdeps/sh/configure: Likewise.
18656 * sysdeps/powerpc/powerpc64/configure: Likewise.
18657 * sysdeps/powerpc/powerpc32/configure: Likewise.
18658 * sysdeps/sparc/configure: Likwise.
18659 * sysdeps/i386/configure: Likewise.
18661 * elf/dl-open.c: Comment fixes.
18663 2012-07-17 Joseph Myers <joseph@codesourcery.com>
18665 * Makefile [CXX] (check-data): Remove.
18666 [CXX] (c++-types.data): New vpath directive.
18667 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18668 vpath. Do not allow for C++ type data being missing.
18669 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18670 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18671 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18672 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18673 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18674 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18675 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18678 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18681 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18684 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18687 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18690 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18693 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18694 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18696 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18699 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18700 definitions to architecture-specific files.
18701 (TLS_IE): Likewise.
18702 (TLS_LD): Likewise.
18703 (TLS_GD): Likewise.
18704 * sysdeps/i386/tls-macros.h: New file.
18705 * sysdeps/powerpc/tls-macros.h: Likewise.
18706 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18707 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18708 * sysdeps/sh/tls-macros.h: Likewise.
18709 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18710 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18711 * sysdeps/x86_64/tls-macros.h: Likewise.
18713 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18715 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18716 zero value for regular exit case.
18718 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18719 (__start_context): Preserve zero value for regular exit case.
18721 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18722 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18724 * manual/setjmp.texi (setcontext): Clarify normal process
18725 termination when uc_link is the null pointer.
18726 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18729 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18731 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18732 preprocessor. Test for each exception mask separately.
18734 2012-07-16 Andreas Jaeger <aj@suse.de>
18736 * po/ru.po: Update from translation team.
18738 2012-07-15 Joseph Myers <joseph@codesourcery.com>
18740 * conform/data/string.h-data (NULL): Use macro-constant. Require
18742 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18743 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18744 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18745 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18746 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18748 2012-07-13 Andreas Jaeger <aj@suse.de>
18750 * po/fr.po: Update from translation team.
18752 2012-07-12 Marek Polacek <polacek@redhat.com>
18755 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18756 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18759 2012-07-12 Joseph Myers <joseph@codesourcery.com>
18762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18763 Change to 2.4.1 where previously 2.4.0.
18764 * sysdeps/unix/sysv/linux/configure: Regenerated.
18765 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18766 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18768 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18769 (__ASSUME_AT_CLKTCK): Remove.
18770 (__ASSUME_AT_PAGESIZE): Likewise.
18771 (__ASSUME_AT_XID): Likewise.
18772 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18773 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18774 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18776 (HAVE_AUX_PAGESIZE): Likewise.
18777 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18778 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18779 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18781 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18785 the temporary buffer used to invoke __gethostbyname2_r,
18786 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18787 host_data / struct gaih_addrtuple.
18788 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18789 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18790 header file nss/nsswitch.h.
18791 * nss/nsswitch.h (global scope): Add definition of implementation
18792 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18793 resolv/nss_dns/dns-host.c).
18795 2012-07-11 Andreas Jaeger <aj@suse.de>
18797 * po/fr.po: Update from translation team.
18799 * po/sv.po: Update from translation team
18800 * po/fr.po: Another update from translation team.
18802 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18804 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18805 for subnormals or multiply small sinh result by itself.
18806 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18809 2012-07-11 David S. Miller <davem@davemloft.net>
18811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18813 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18816 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18817 (INTERNAL_MARK): Shift it here.
18819 2012-07-10 Marek Polacek <polacek@redhat.com>
18822 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18823 libc_cv_asm_global_directive with .globl.
18824 * configure: Regenerated.
18825 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18827 * sysdeps/i386/configure: Regenerated.
18828 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18830 * sysdeps/x86_64/configure: Regenerated.
18831 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18832 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18833 * elf/tst-unique2mod2.c: Likewise.
18834 * elf/tst-unique2mod1.c: Likewise.
18835 * elf/tst-unique1mod2.c: Likewise.
18836 * elf/tst-unique1mod1.c: Likewise.
18837 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18838 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18839 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18840 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18841 * sysdeps/mach/sysdep.h: Likewise.
18842 * sysdeps/i386/sysdep.h: Likewise.
18843 * sysdeps/i386/i386-mcount.S: Likewise.
18844 * sysdeps/x86_64/_mcount.S: Likewise.
18845 * sysdeps/x86_64/sysdep.h: Likewise.
18846 * sysdeps/sh/_mcount.S: Likewise.
18847 * sysdeps/sh/sysdep.h: Likewise.
18848 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18849 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18850 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18851 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18852 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18853 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18854 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18855 * locale/localeinfo.h: Likewise.
18856 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18857 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18859 2012-07-09 Roland McGrath <roland@hack.frob.com>
18862 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18864 * manual/message.texi (The Uniforum approach): Likewise.
18865 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18866 (glibc iconv Implementation): Likewise.
18868 2012-07-09 Joseph Myers <joseph@codesourcery.com>
18871 * math/s_clog.c (__clog): Avoid scaling a value down where that
18872 could result in underflow.
18873 * math/s_clog10.c (__clog10): Likewise.
18874 * math/s_clog10f.c (__clog10f): Likewise.
18875 * math/s_clog10l.c (__clog10l): Likewise.
18876 * math/s_clogf.c (__clogf): Likewise.
18877 * math/s_clogl.c (__clogl): Likewise.
18878 * math/libm-test.inc (clog_test): Add more tests.
18879 (clog10_test): Likewise.
18880 * sysdeps/i386/fpu/libm-test-ulps: Update.
18881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18883 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18886 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18887 by 7 not 8 to examine high bit of fractional part.
18890 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18891 for call to __mcount_internal.
18892 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18893 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18894 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18896 2012-07-06 Joseph Myers <joseph@codesourcery.com>
18899 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18900 approximation for values within 0x1p-13f of an odd multiple of
18902 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18903 exception. Add more tests.
18904 * sysdeps/i386/fpu/libm-test-ulps: Update.
18907 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18908 inputs and return -1 for them. Do not check for +Inf in case not
18909 reachable for +Inf.
18910 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18911 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18912 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18913 and return -1 for them. Do not check for +Inf in case not
18914 reachable for +Inf.
18915 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18917 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18918 and return -1 for them. Do not check for +Inf in case not
18919 reachable for +Inf.
18920 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18921 spurious underflow.
18922 * sysdeps/i386/fpu/libm-test-ulps: Update.
18923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18925 2012-07-06 Mike Frysinger <vapier@gentoo.org>
18927 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18929 2012-07-05 Joseph Myers <joseph@codesourcery.com>
18933 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18934 could result in spurious underflow. Scale down values above
18935 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18936 * math/s_csqrtf.c (__csqrtf): Likewise.
18937 * math/s_csqrtl.c (__csqrtl): Likewise.
18938 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18939 spurious underflow.
18940 * sysdeps/i386/fpu/libm-test-ulps: Update.
18941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18943 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18945 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18947 * catgets/xopen-msg.awk: New file.
18948 * catgets/xopen-msg.sed: Removed.
18950 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18952 * intl/po2test.awk: New file.
18953 * intl/po2test.sed: Removed.
18955 2012-07-04 Joseph Myers <joseph@codesourcery.com>
18958 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18959 or multiply small sinh result by itself.
18960 * math/s_ctanf.c (__ctanf): Likewise.
18961 * math/s_ctanh.c (__ctanh): Likewise.
18962 * math/s_ctanhf.c (__ctanhf): Likewise.
18963 * math/s_ctanhl.c (__ctanhl): Likewise.
18964 * math/s_ctanl.c (__ctanl): Likewise.
18965 * math/libm-test.inc (ctan_test_tonearest): New function.
18966 (ctan_test_towardzero): Likewise.
18967 (ctan_test_downward): Likewise.
18968 (ctan_test_upward): Likewise.
18969 (ctanh_test_tonearest): Likewise.
18970 (ctanh_test_towardzero): Likewise.
18971 (ctanh_test_downward): Likewise.
18972 (ctanh_test_upward): Likewise.
18973 (main): Call these new functions.
18974 * sysdeps/i386/fpu/libm-test-ulps: Update.
18975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18977 2012-07-03 Mike Frysinger <vapier@gentoo.org>
18979 * .gitignore: Delete /ports entry.
18981 2012-07-03 Andreas Jaeger <aj@suse.de>
18983 * po/bg.po: Update from translation team.
18984 * po/cs.po: Likewise.
18985 * po/de.po: Likewise.
18986 * po/hr.po: Likewise.
18987 * po/nl.pl: Likewise.
18988 * po/pl.po: Likewise.
18989 * po/vi.po: Likewise.
18991 2012-07-03 Joseph Myers <joseph@codesourcery.com>
18993 * Makeconfig [!+link] (+link-before-libc): New variable.
18994 [!+link] (+link-after-libc): Likewise.
18995 [!+link] (+link-tests): Likewise.
18996 [!+link] (+link): Define in terms of $(+link-before-libc) and
18997 $(+link-after-libc).
18998 [!+link-static] (+link-static-before-libc): New variable.
18999 [!+link-static] (+link-static-after-libc): Likewise.
19000 [!+link-static] (+link-static-tests): Likewise.
19001 [!+link-static] (+link-static): Define in terms of
19002 $(+link-static-before-libc) and $(+link-static-after-libc).
19003 [build-shared] (link-libc-before-gnulib): New variable.
19004 [build-shared] (link-libc-tests): Likewise.
19005 [build-shared] (link-libc): Define in terms of
19006 $(link-libc-before-gnulib).
19007 [!build-shared] (link-libc-tests): New variable.
19008 (link-libc-static-tests): New variable.
19009 [!gnulib] (gnulib-arch): New variable.
19010 [!gnulib] (gnulib-tests): Likewise.
19011 [!gnulib] (static-gnulib-arch): Likewise.
19012 [!gnulib] (static-gnulib-tests): Likewise.
19013 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19014 Define with "=" instead of ":=".
19015 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19016 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19017 * Rules (binaries-all-notests): New variable.
19018 (binaries-all-tests): Likewise.
19019 (binaries-static-notests): Likewise.
19020 (binaries-static-tests): Likewise.
19021 (binaries-all): Define using $(binaries-all-notests) and
19022 $(binaries-all-tests).
19023 (binaries-static): Define using $(binaries-static-notests) and
19024 $(binaries-static-tests).
19025 (binaries-shared-tests): New variable.
19026 (binaries-shared-notests): Likewise.
19027 (binaries-shared): Remove variable.
19028 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19029 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19030 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19031 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19032 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19033 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19034 * elf/Makefile (sln-modules): New variable.
19035 (extra-objs): Add $(sln-modules:=.o).
19036 (ldconfig-modules): Add static-stubs.
19037 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19038 * elf/static-stubs.c: New file.
19041 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19042 by 7 not 8 to examine high bit of fractional part. Use volatile
19043 variables when splitting into final array of floats if
19044 __FLT_EVAL_METHOD__ != 0.
19045 * math/libm-test.inc (cos_test): Add another test.
19046 (sin_test): Likewise.
19047 * sysdeps/i386/fpu/libm-test-ulps: Update.
19050 * math/libm-test.inc (cosh_test): Add more tests.
19052 * version.h (RELEASE): Set to "development".
19053 (VERSION): Set to "2.16.90".
19055 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19057 * NEWS: Update copyright. Remove last-updated date.
19058 Mention math library bug fixes and timezone data changes.
19059 * README: Mention GNU/Hurd, x32, and HPPA support status.
19061 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19063 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19065 2012-06-27 Andreas Jaeger <aj@suse.de>
19067 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19069 2012-06-25 Andreas Jaeger <aj@suse.de>
19071 * sysdeps/s390/fpu/libm-test-ulps: Update.
19073 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19074 Thomas Schwinge <thomas@codesourcery.com>
19076 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19077 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19078 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19081 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19083 * sysdeps/mach/start.c: Remove file.
19084 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19085 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19086 * sysdeps/sh/init-first.c: Likewise.
19088 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19089 registers for frame unwinding purposes, add CFI directives.
19090 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19091 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19092 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19095 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19096 __fortify_fail returning.
19097 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19099 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19100 sysdeps/sh/____longjmp_chk.S.
19101 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19102 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19103 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19104 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19106 * sysdeps/sh/abort-instr.h: New file.
19107 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19108 process in case exit returns.
19110 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19111 initialize the GOT register before use.
19113 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19114 calculation of ARGC > 4.
19116 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19117 meaningful names to some local labels.
19119 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19120 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19122 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19123 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19124 (__arch_compare_and_exchange_val_16_acq): Likewise.
19125 (__arch_compare_and_exchange_val_32_acq): Likewise.
19126 (atomic_exchange_and_add): Fix gUSA sequence.
19127 (atomic_add): Likewise.
19128 (atomic_add_negative): Likewise.
19129 (atomic_add_zero): Likewise.
19130 (atomic_bit_test_set): Likewise.
19132 2012-06-22 Andreas Schwab <schwab@redhat.com>
19135 * include/link.h (struct link_map): Add l_free_initfini.
19136 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19138 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19139 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19140 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19143 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19145 * configure.in: Use AC_LANG_SOURCE.
19146 * configure: Regenerate.
19148 2012-06-22 Roland McGrath <roland@hack.frob.com>
19150 * configure.in (libc_cv_localstatedir): New substituted variable.
19151 * configure: Regenerated.
19152 * config.make.in (localstatedir): New variable, substituted from
19153 libc_cv_localstatedir.
19154 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19155 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19156 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19157 * sysdeps/gnu/configure: Regenerated.
19159 2012-06-21 Jeff Law <law@redhat.com>
19162 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19163 free. Simplify list management for _LIBC case.
19165 2012-06-21 Joseph Myers <joseph@codesourcery.com>
19168 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19169 Clear sign bit of 64-bit integer value before comparing against
19172 * sysdeps/mach/configure: Regenerated.
19174 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19177 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19179 2012-06-21 Jeff Law <law@redhat.com>
19182 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19183 uint16_t for elements in the "seen" array to avoid char overflows.
19184 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19185 * elf/dl-open.c (dl_open_worker): Likewise.
19187 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19189 * scripts/list-sources.sh: Scan PORTS for translations.
19190 * po/libc.pot: Regenerated.
19192 2012-06-21 Andreas Jaeger <aj@suse.de>
19195 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19197 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19198 * bits/byteswap-16.h (__bswap_16): Likewise.
19199 * bits/byteswap.h (__bswap_constant_16): Likewise.
19201 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19204 * sysdeps/i386/fpu_control.h: Removed.
19205 * sysdeps/x86_64/fpu_control.h: Moved to ...
19206 * sysdeps/x86/fpu_control.h: Here.
19208 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19209 (_FPU_SETCW): Likewise.
19211 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19214 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19215 * sysdeps/x86/fpu/bits/mathinline.h: This.
19216 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19220 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19221 functions if __x86_64__ is defined.
19223 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19225 * string/endian.h: Add !__ASSEMBLER__ condition for including
19226 conversion interfaces.
19228 2012-06-15 Joseph Myers <joseph@codesourcery.com>
19231 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19232 of ABS(x) in calculating zero to negative powers other than odd
19234 * math/libm-test.inc (pow_test): Add more tests.
19236 2012-06-15 Andreas Jaeger <aj@suse.de>
19238 * manual/contrib.texi (Contributors): Update entry of Liubov
19239 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19242 2012-06-15 Cyril Hrubis <metan@ucw.cz>
19244 * string/string.h: Add __wur to GNU version of strerror_r.
19246 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19249 * string/Makefile (tests): Add tst-strtok_r.
19250 * string/tst-strtok_r.c: New file.
19251 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19252 RAX_LP/RDX_LP on SAVE_PTR.
19254 2012-06-14 Roland McGrath <roland@hack.frob.com>
19256 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19258 2012-06-14 Joseph Myers <joseph@codesourcery.com>
19260 * libm_test.inc (csqrt_test): Allow more spurious underflow
19262 (j0_test): Likewise.
19263 (j1_test): Likewise.
19264 (y0_test): Likewise.
19265 (y1_test): Likewise.
19267 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19269 * po/Makefile (libc.pot): Use UTF-8 charset.
19271 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19274 Suppress sign-conversion warning from FD_SET.
19275 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19276 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19277 not unsigned long int.
19278 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19280 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19284 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19285 __extern_always_inline instead of __extern_inline.
19286 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19287 (__signbit): Likewise.
19288 (__signbitl): Support C++ namespace.
19289 (lrintf): New inline function.
19291 (llrintf): Likewise.
19292 (llrint): Likewise.
19302 (floorf): Likewise.
19303 (nearbyint): Likewise.
19304 (nearbyintf): Likewise.
19306 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19308 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19309 non-default versions.
19311 2012-06-11 Roland McGrath <roland@hack.frob.com>
19314 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19316 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19318 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19319 (FE_UPWARD, FE_DOWNWARD): Don't define.
19320 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19321 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19323 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19325 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19326 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19328 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19330 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19331 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19332 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19333 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19335 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19338 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19339 * sysdeps/i386/fpu/Implies: New file.
19340 * sysdeps/x86_64/fpu/Implies: Likewise.
19341 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19342 * sysdeps/x86/fpu/bits/fenv.h: This.
19344 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19347 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19350 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19351 character 0xffff that matches the last element of the
19354 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19356 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19359 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19362 values higher than 25.6283.
19364 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19366 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19367 subnormal exponent extraction and add some __builtin_expect.
19368 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19369 Fix for subnormal mantissa calculation.
19371 2012-06-04 Mike Frysinger <vapier@gentoo.org>
19373 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19374 cpu2 is -1 and errno is not ENOSYS.
19376 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19379 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19380 * sysdeps/x86/bits/string.h: This.
19381 * sysdeps/x86_64/bits/string.h: Removed.
19383 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19384 if not compiling for x86-64, but compiling for >= i486.
19386 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19387 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19389 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19390 New macro from Linux kernel 3.4.0.
19391 (FP_XSTATE_MAGIC2): Likewise.
19392 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19393 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19394 (struct _fpx_sw_bytes): New struct.
19395 (struct _xsave_hdr): Likewise.
19396 (struct _ymmh_state): Likewise.
19397 (struct _xstate): Likewise.
19399 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19400 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19401 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19402 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19403 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19404 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19406 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19407 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19408 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19409 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19410 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19411 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19413 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19416 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19417 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19418 (sysdep_headers): Include sys/platform/ppc.h.
19419 * sysdeps/powerpc/test-gettimebase.c: Test for
19420 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19421 * manual/Makefile (appendices): Include platform.texi.
19422 * manual/contrib.texi (Contributors): Update @node pointers.
19423 * manual/maint.texi (Maintenance): Likewise.
19424 (Platform): New node.
19425 * manual/platform.texi: New file. Document the new features.
19427 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19428 Jakub Jelinek <jakub@redhat.com>
19431 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19432 where __builtin_expect is unavailable.
19434 2012-06-03 David S. Miller <davem@davemloft.net>
19436 * stdlib/longlong.h: Updated from GCC.
19438 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19441 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19442 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19445 (GLIBC_2.16): Likewise.
19447 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19449 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19451 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19454 (default-abi): New variable.
19455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19456 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19458 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19460 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19462 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19465 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19466 definition. Document in comment.
19468 2012-06-01 David S. Miller <davem@davemloft.net>
19470 * stdlib/longlong.h: Updated from GCC.
19472 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19475 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19476 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19477 sys/debugreg.h sys/io.h here.
19478 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19479 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19481 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19482 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19483 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19484 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19485 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19486 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19488 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19489 Define only if __x86_64__ is defined.
19491 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19494 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19495 Use int64_t for variable i.
19496 * math/libm-test.inc (fmod_test): Add more tests.
19498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19499 z computation is not scheduled after fetestexcept.
19500 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19501 Use math_force_eval instead of asm to ensure calculation scheduled
19502 before exception test.
19503 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19504 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19506 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19509 computation is not scheduled after fetestexcept.
19511 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19514 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19515 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19517 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19519 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19520 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19522 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19525 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19527 (__WCHAR_MIN): Support __WORDSIZE == 64.
19528 (__WCHAR_MAX): Likewise.
19530 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19531 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19534 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19535 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19538 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19539 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19541 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19542 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19544 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19545 Defined to 1 if __x86_64__ isn't defined.
19546 (_STAT_VER_LINUX_OLD): New.
19547 (st_atime): Remove duplicate.
19548 (st_mtime): Likewise.
19549 (st_ctime): Likewise.
19551 2012-05-31 David S. Miller <davem@davemloft.net>
19553 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19556 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19558 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19562 * elf/dl-reloc.c: Include <_itoa.h>.
19563 (_dl_reloc_bad_type): Remove use of INTUSE.
19564 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19565 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19566 * stdio-common/psiginfo.c (psiginfo): Likewise.
19567 * stdio-common/psignal.c (psignal): Likewise.
19568 * string/strsignal.c (strsignal): Likewise.
19569 * include/signal.h (_sys_siglist): Declare hidden proto.
19570 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19571 INTVARDEF with libc_hidden_data_def.
19572 * stdio-common/itoa-udigits.c: Likewise.
19573 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19574 (_itoa_lower_digits_internal): Remove declaration.
19575 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19576 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19577 (_sys_sigabbrev_internal): Remove aliases.
19578 (_sys_siglist): Define hidden alias.
19580 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19585 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19588 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19589 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19591 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19592 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19593 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19594 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19595 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19596 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19598 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19599 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19600 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19602 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19610 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19611 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19612 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19614 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19615 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19616 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19617 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19618 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19619 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19621 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19622 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19624 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19625 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19627 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19629 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19631 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19632 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19634 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19636 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19637 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19638 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19640 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19642 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19644 2012-05-31 Joseph Myers <joseph@codesourcery.com>
19646 * math/math.h (M_El): Use two more decimal places.
19647 (M_LOG2El): Likewise.
19648 (M_LOG10El): Likewise.
19649 (M_LN2l): Likewise.
19650 (M_LN10l): Likewise.
19652 (M_PI_2l): Likewise.
19653 (M_PI_4l): Likewise.
19654 (M_1_PIl): Likewise.
19655 (M_2_PIl): Likewise.
19656 (M_2_SQRTPIl): Likewise.
19657 (M_SQRT2l): Likewise.
19658 (M_SQRT1_2l): Likewise.
19660 2012-05-31 David S. Miller <davem@davemloft.net>
19662 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19663 values between float registers.
19664 * sysdeps/sparc/sparc64/memset.S: Likewise.
19665 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19667 2012-05-31 Mike Frysinger <vapier@gentoo.org>
19669 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19670 -D_FORTIFY_SOURCE=1.
19671 (CPPFLAGS-tst-longjmp_chk.c): Define.
19672 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19673 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19674 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19675 CFLAGS-tst-wchar-h.c.
19677 2012-05-31 Marek Polacek <polacek@redhat.com>
19680 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19681 __endmntent_internal): Remove declaration.
19682 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19683 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19684 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19686 2012-05-30 David S. Miller <davem@davemloft.net>
19688 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19689 (___Q_simulate_exceptions): Use real FP ops rather than writing
19691 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19694 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19697 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19698 * sysdeps/x86/bits/xtitypes.h: This.
19700 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19701 * sysdeps/x86/bits/wordsize.h: This.
19703 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19704 * sysdeps/x86/bits/huge_vall.h: This.
19706 * sysdeps/i386/bits/select.h: Removed.
19707 * sysdeps/x86_64/bits/select.h: Renamed to ...
19708 * sysdeps/x86/bits/select.h: This.
19710 * sysdeps/i386/bits/setjmp.h: Removed.
19711 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19712 * sysdeps/x86/bits/setjmp.h: This.
19714 * sysdeps/i386/bits/mathdef.h: Removed.
19715 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19716 * sysdeps/x86/bits/mathdef.h: This.
19718 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19721 * include/sys/socket.h (__connect_internal)
19722 (__libc_sa_len_internal): Remove declaration.
19723 (__connect, __libc_sa_len): Declare hidden_proto.
19724 (SA_LEN): Remove use of INTUSE.
19725 * socket/connect.c: Add libc_hidden_def.
19726 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19727 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19728 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19730 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19731 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19732 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19733 of adding _internal alias.
19735 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19738 * sysdeps/i386/bits/link.h: Removed.
19739 * sysdeps/i386/bits/linkmap.h: Likewise.
19740 * sysdeps/x86_64/bits/link.h: Renamed to ...
19741 * sysdeps/x86/bits/link.h: This.
19742 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19743 * sysdeps/x86/bits/linkmap.h: This.
19745 * sysdeps/i386/bits/endian.h: Removed.
19746 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19747 * sysdeps/x86/bits/endian.h: This.
19749 * sysdeps/i386/bits/byteswap.h: Removed.
19750 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19751 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19752 * sysdeps/x86/bits/byteswap.h: This.
19753 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19754 * sysdeps/x86/bits/byteswap-16.h: This.
19755 * sysdeps/i386/Implies: Add x86.
19756 * sysdeps/x86_64/Implies: Likewise.
19758 2012-05-30 David S. Miller <davem@davemloft.net>
19760 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19761 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19762 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19763 (FP_TRAPPING_EXCEPTIONS): Define.
19764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19765 (FP_TRAPPING_EXCEPTIONS): Define.
19766 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19767 subnormals only when inexact has been signalled or underflow
19768 exceptions are enabled.
19769 (_FP_PACK_CANONICAL): Likewise.
19771 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19774 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19775 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19777 2012-05-30 Richard Henderson <rth@twiddle.net>
19779 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19780 with #ifndef NOT_IN_libc.
19782 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19783 marked to avoid plt entry.
19785 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19788 * Makeconfig (default-abi): New macro.
19789 (abi-includes): Likewise.
19790 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19791 $(abi-$(default-abi)-lib-soname) for soname if defined.
19792 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19794 * Makefile (installed-stubs): Likewise.
19795 * include/stubs-biarch.h: Removed.
19796 * scripts/lib-names.awk: Only handle one library at a time.
19797 * scripts/soversions.awk: Remove WORDSIZE support.
19798 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19800 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19802 (syscall-list-default-condition): Likewise.
19803 (syscall-list-default-condition): Likewise.
19804 (syscall-list-includes): Likewise.
19805 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19806 syscall-list-* with abi-*. Handle undefined abi-variants.
19807 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19808 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19809 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19810 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19811 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19812 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19814 (syscall-list-32-options): Likewise.
19815 (syscall-list-32-condition): Likewise.
19816 (syscall-list-64-options): Likewise.
19817 (syscall-list-64-condition): Likewise.
19818 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19820 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19823 (abi-64-ld-soname): New macro.
19824 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19825 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19828 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19829 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19831 2012-05-30 Joseph Myers <joseph@codesourcery.com>
19833 * sysdeps/unix/sysv/linux/kernel-features.h
19834 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19835 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19836 include <kernel-features.h>.
19837 [!__NR_ftruncate64]: Remove conditional code.
19838 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19839 [__NR_ftruncate64]: Make code unconditional.
19840 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19841 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19842 include <kernel-features.h>.
19843 [!__NR_ftruncate64]: Remove conditional code.
19844 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19845 [__NR_ftruncate64]: Make code unconditional.
19846 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19848 include <kernel-features.h>.
19849 [!__NR_ftruncate64]: Remove conditional code.
19850 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19851 [__NR_ftruncate64]: Make code unconditional.
19852 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19854 include <kernel-features.h>.
19855 [!__NR_ftruncate64]: Remove conditional code.
19856 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19857 [__NR_ftruncate64]: Make code unconditional.
19858 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19860 * configure.in (libc_cv_fpie): Weaken to a compile test using
19861 LIBC_TRY_CC_OPTION.
19862 * configure: Regenerated.
19864 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19874 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19876 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19879 2012-05-27 David S. Miller <davem@davemloft.net>
19881 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19883 (__Q_simulate_exceptions): Return void. Change to simulate
19884 exceptions by writing into the %fsr.
19885 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19886 (__Qp_handle_exceptions): Likewise.
19888 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19889 __Qp_handle_exceptions.
19890 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19891 __Qp_handle_exceptions.
19892 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19893 as unused and give dummy FP_RND_NEAREST initializer.
19894 (FP_INHIBIT_RESULTS): Define.
19895 (___Q_simulate_exceptions): Update declaration.
19896 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19898 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19899 as unused and give dummy FP_RND_NEAREST initializer.
19900 (__Qp_handle_exceptions): Update declaration.
19901 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19904 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19906 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19907 the temporary FPU control word.
19908 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19909 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19910 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19911 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19912 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19913 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19914 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19915 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19916 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19917 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19918 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19920 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19922 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19925 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19927 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19928 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19929 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19930 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19932 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19933 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19936 2012-05-27 Ulrich Drepper <drepper@gmail.com>
19938 * po/h.po: Update from translation team.
19940 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19942 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19944 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19945 handling of denormals.
19946 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19947 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19948 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19949 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19950 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19951 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19952 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19955 2012-05-26 Marek Polacek <polacek@redhat.com>
19958 * math/libm-test.inc (fma_test): Don't always expect underflow
19961 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19964 * elf/tst-execstack.c: Include stackinfo.h.
19965 (do_test): Adjust test case to ensure that pthread_getattr_np
19966 behaviour remains the same after marking stack executable.
19968 2012-05-25 Joseph Myers <joseph@codesourcery.com>
19970 * sysdeps/unix/sysv/linux/kernel-features.h
19971 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19972 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19974 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19975 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19976 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19978 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19979 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19981 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19983 * configure.in: Define the default includes to being none.
19984 * configure: Regenerated.
19986 2012-05-25 Roland McGrath <roland@hack.frob.com>
19988 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19989 * sysdeps/x86_64/setjmp.S: Likewise.
19990 * sysdeps/i386/bsd-setjmp.S: Likewise.
19991 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19992 * sysdeps/i386/setjmp.S: Likewise.
19993 * sysdeps/i386/__longjmp.S: Likewise.
19994 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19995 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19997 * include/stap-probe.h: New file.
19998 * configure.in: Handle --enable-systemtap.
19999 * configure: Regenerated.
20000 * config.h.in (USE_STAP_PROBE): New #undef.
20001 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20002 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20003 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20005 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20008 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20009 to 2.4.0 where earlier.
20010 * sysdeps/unix/sysv/linux/configure: Regenerated.
20011 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20012 <kernel-features.h>.
20013 [__ASSUME_32BITUIDS]: Make code unconditional.
20014 [!__ASSUME_32BITUIDS]: Remove conditional code.
20015 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20016 <kernel-features.h>.
20017 [__ASSUME_32BITUIDS]: Make code unconditional.
20018 [!__ASSUME_32BITUIDS]: Remove conditional code.
20019 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20020 [__ASSUME_32BITUIDS]: Make code unconditional.
20021 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20022 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20023 <kernel-features.h>.
20024 [__ASSUME_32BITUIDS]: Make code unconditional.
20025 [!__ASSUME_32BITUIDS]: Remove conditional code.
20026 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20027 <kernel-features.h>.
20028 [__ASSUME_32BITUIDS]: Make code unconditional.
20029 [!__ASSUME_32BITUIDS]: Remove conditional code.
20030 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20031 <kernel-features.h>.
20032 [__ASSUME_32BITUIDS]: Make code unconditional.
20033 [!__ASSUME_32BITUIDS]: Remove conditional code.
20034 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20035 <kernel-features.h>.
20036 [__ASSUME_32BITUIDS]: Make code unconditional.
20037 [!__ASSUME_32BITUIDS]: Remove conditional code.
20038 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20039 <kernel-features.h>.
20040 [__ASSUME_32BITUIDS]: Make code unconditional.
20041 [!__ASSUME_32BITUIDS]: Remove conditional code.
20042 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20043 <kernel-features.h>.
20044 [__ASSUME_32BITUIDS]: Make code unconditional.
20045 [!__ASSUME_32BITUIDS]: Remove conditional code.
20046 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20047 <kernel-features.h>.
20048 [__ASSUME_32BITUIDS]: Make code unconditional.
20049 [!__ASSUME_32BITUIDS]: Remove conditional code.
20050 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20051 <kernel-features.h>.
20052 [__ASSUME_32BITUIDS]: Make code unconditional.
20053 [!__ASSUME_32BITUIDS]: Remove conditional code.
20054 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20055 <kernel-features.h>.
20056 [__ASSUME_32BITUIDS]: Make code unconditional.
20057 [!__ASSUME_32BITUIDS]: Remove conditional code.
20058 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20059 <kernel-features.h>.
20060 [__ASSUME_32BITUIDS]: Make code unconditional.
20061 [!__ASSUME_32BITUIDS]: Remove conditional code.
20062 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20063 <kernel-features.h>.
20064 [__NR_setresgid] (__setresgid): Do not declare.
20065 [__ASSUME_32BITUIDS]: Make code unconditional.
20066 [!__ASSUME_32BITUIDS]: Remove conditional code.
20067 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20068 <kernel-features.h>.
20069 [__NR_setresuid] (__setresuid): Do not declare.
20070 [__ASSUME_32BITUIDS]: Make code unconditional.
20071 [!__ASSUME_32BITUIDS]: Remove conditional code.
20072 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20073 <kernel-features.h>.
20074 [__ASSUME_32BITUIDS]: Make code unconditional.
20075 [!__ASSUME_32BITUIDS]: Remove conditional code.
20076 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20077 <kernel-features.h>.
20078 [__ASSUME_32BITUIDS]: Make code unconditional.
20079 [!__ASSUME_32BITUIDS]: Remove conditional code.
20080 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20081 <kernel-features.h>.
20082 [__ASSUME_32BITUIDS]: Make code unconditional.
20083 [!__ASSUME_32BITUIDS]: Remove conditional code.
20084 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20085 <kernel-features.h>.
20086 [__ASSUME_32BITUIDS]: Make code unconditional.
20087 [!__ASSUME_32BITUIDS]: Remove conditional code.
20088 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20089 <kernel-features.h>.
20090 [__ASSUME_32BITUIDS]: Make code unconditional.
20091 [!__ASSUME_32BITUIDS]: Remove conditional code.
20092 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20093 <kernel-features.h>.
20094 [__ASSUME_32BITUIDS]: Make code unconditional.
20095 [!__ASSUME_32BITUIDS]: Remove conditional code.
20096 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20097 <kernel-features.h>.
20098 [__ASSUME_32BITUIDS]: Make code unconditional.
20099 [!__ASSUME_32BITUIDS]: Remove conditional code.
20100 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20101 <kernel-features.h>.
20102 [__ASSUME_32BITUIDS]: Make code unconditional.
20103 [!__ASSUME_32BITUIDS]: Remove conditional code.
20104 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20105 <kernel-features.h>.
20106 [__ASSUME_32BITUIDS]: Make code unconditional.
20107 [!__ASSUME_32BITUIDS]: Remove conditional code.
20108 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20109 <kernel-features.h>.
20110 [__ASSUME_32BITUIDS]: Make code unconditional.
20111 [!__ASSUME_32BITUIDS]: Remove conditional code.
20112 * sysdeps/unix/sysv/linux/kernel-features.h
20113 (__ASSUME_SETRESUID_SYSCALL): Remove.
20114 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20115 (__ASSUME_32BITUIDS): Likewise.
20116 (__ASSUME_LDT_WORKS): Likewise.
20117 (__ASSUME_O_DIRECTORY): Likewise.
20118 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20119 architecture but not kernel version.
20120 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20121 (__ASSUME_MMAP2_SYSCALL): Likewise.
20122 (__ASSUME_STAT64_SYSCALL): Likewise.
20123 (__ASSUME_IPC64): Likewise.
20124 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20125 <kernel-features.h>.
20126 [__ASSUME_32BITUIDS]: Make code unconditional.
20127 [!__ASSUME_32BITUIDS]: Remove conditional code.
20128 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20129 <kernel-features.h>.
20130 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20131 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20132 132096]: Remove conditional code.
20133 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20134 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20135 <kernel-features.h>.
20136 [__ASSUME_32BITUIDS]: Make code unconditional.
20137 [!__ASSUME_32BITUIDS]: Remove conditional code.
20138 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20139 <kernel-features.h>.
20140 [__ASSUME_32BITUIDS]: Make code unconditional.
20141 [!__ASSUME_32BITUIDS]: Remove conditional code.
20142 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20143 <kernel-features.h>.
20144 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20146 (__setresgid): Do not declare.
20147 [__ASSUME_32BITUIDS]: Make code unconditional.
20148 [!__ASSUME_32BITUIDS]: Remove conditional code.
20149 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20150 <kernel-features.h>.
20151 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20153 (__setresuid): Do not declare.
20154 [__ASSUME_32BITUIDS]: Make code unconditional.
20155 [!__ASSUME_32BITUIDS]: Remove conditional code.
20156 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20157 <kernel-features.h>.
20158 [__ASSUME_32BITUIDS]: Make code unconditional.
20159 [!__ASSUME_32BITUIDS]: Remove conditional code.
20160 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20161 <kernel-features.h>.
20162 [__ASSUME_32BITUIDS]: Make code unconditional.
20163 [!__ASSUME_32BITUIDS]: Remove conditional code.
20165 2012-05-25 Richard Henderson <rth@twiddle.net>
20167 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20168 dl_hwcap to ifunc resolver.
20169 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20171 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20172 dl_hwcap to ifunc resolver.
20173 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20175 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20178 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20179 for |x| <= 2**-26, not 2**-57.
20180 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20183 2012-05-24 Jeff Law <law@redhat.com>
20185 * stdio-common/Makefile (tests): Add bug25.
20186 * stdio-common/bug25.c: New test.
20188 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20191 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20192 multiple of MALLOC_ALIGNMENT in size.
20193 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20195 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20197 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20199 (FILENAME_MAX): Use macro-int-constant.
20200 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20201 (_IOFBF): Use macro-int-constant.
20202 (_IOLBF): Likewise.
20203 (_IONBF): Likewise.
20204 (SEEK_CUR): Likewise.
20205 (SEEK_END): Likewise.
20206 (SEEK_SET): Likewise.
20207 (TMP_MAX): Likewise.
20208 (EOF): Use macro-int-constant. Require < 0.
20209 (NULL): Use macro-constant. Require == 0.
20210 (stdin): Require type to be FILE *.
20211 (stdout): Likewise.
20212 (stderr): Likewise.
20213 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20214 macro-int-constant.
20215 (EXIT_SUCCESS): Likewise.
20216 (NULL): Use macro-constant. Require == 0.
20217 (RAND_MAX): Use macro-int-constant.
20218 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20219 [C99-based standards] (strtof): Require function.
20220 [C99-based standards] (strtold): Likewise.
20221 [C99-based standards] (strtoll): Likewise.
20222 [C99-based standards] (strtoull): Likewise.
20223 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20224 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20225 [ISO || ISO99 || ISO11] (math.h): Likewise.
20226 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20227 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20230 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20233 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20234 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20235 * intl/dgettext.c (DCGETTEXT): Likewise.
20236 * intl/gettext.c (DCGETTEXT): Likewise.
20237 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20238 * posix/regex_internal.h (gettext): Likewise.
20239 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20240 Remove declaration.
20241 * include/argz.h (__argz_count_internal)
20242 (__argz_stringify_internal): Remove declaration.
20243 (__argz_count, __argz_stringify): Declare hidden proto.
20244 * intl/dcgettext.c: Remove use of INTDEF.
20245 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20246 * string/argz-stringify.c: Likewise.
20247 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20248 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20249 Declare hidden proto.
20250 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20251 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20252 Declare hidden proto.
20253 * include/stdio.h (__asprintf_internal): Don't declare.
20254 (__asprintf): Don't define as macro. Declare hidden proto.
20255 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20256 (__fsetlocking): Declare hidden proto.
20257 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20258 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20260 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20261 (_IO_setlinebuf): Remove use of INTUSE.
20262 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20263 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20264 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20265 Remove declaration.
20266 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20267 (_IO_do_flush): Remove use of INTUSE.
20268 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20269 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20270 (_IO_adjust_column, _IO_least_wmarker)
20271 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20272 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20273 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20274 (_IO_default_doallocate, _IO_wdefault_doallocate)
20275 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20276 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20277 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20278 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20279 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20280 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20281 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20282 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20283 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20284 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20285 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20286 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20287 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20289 (_IO_flush_all_internal, _IO_adjust_column_internal)
20290 (_IO_default_uflow_internal, _IO_default_finish_internal)
20291 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20292 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20293 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20294 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20295 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20296 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20297 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20298 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20299 (_IO_file_close_internal, _IO_file_close_it_internal)
20300 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20301 (_IO_file_init_internal, _IO_file_attach_internal)
20302 (_IO_file_fopen_internal, _IO_file_read_internal)
20303 (_IO_file_sync_internal, _IO_file_seek_internal)
20304 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20305 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20306 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20307 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20308 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20309 (_IO_list_all_internal, _IO_link_in_internal)
20310 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20311 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20312 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20313 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20314 (_IO_do_write_internal, _IO_padn_internal)
20315 (_IO_getline_info_internal, _IO_getline_internal)
20316 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20317 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20318 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20319 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20320 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20321 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20322 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20323 with libc_hidden_ver, remove use of INTUSE.
20324 * libio/genops.c: Likewise.
20325 * libio/freopen.c: Likewise.
20326 * libio/freopen64.c: Likewise.
20327 * libio/iofclose.c: Likewise.
20328 * libio/iofdopen.c: Likewise.
20329 * libio/iofflush.c: Likewise.
20330 * libio/iofflush_u.c: Likewise.
20331 * libio/iofgets.c: Likewise.
20332 * libio/iofgets_u.c: Likewise.
20333 * libio/iofopen.c: Likewise.
20334 * libio/iofopncook.c: Likewise.
20335 * libio/iofread.c: Likewise.
20336 * libio/iofread_u.c: Likewise.
20337 * libio/ioftell.c: Likewise.
20338 * libio/iofwrite.c: Likewise.
20339 * libio/iogetline.c: Likewise.
20340 * libio/iogets.c: Likewise.
20341 * libio/iogetwline.c: Likewise.
20342 * libio/iopadn.c: Likewise.
20343 * libio/iopopen.c: Likewise.
20344 * libio/ioseekoff.c: Likewise.
20345 * libio/ioseekpos.c: Likewise.
20346 * libio/iosetbuffer.c: Likewise.
20347 * libio/iosetvbuf.c: Likewise.
20348 * libio/ioungetc.c: Likewise.
20349 * libio/ioungetwc.c: Likewise.
20350 * libio/iovdprintf.c: Likewise.
20351 * libio/iovsprintf.c: Likewise.
20352 * libio/iovsscanf.c: Likewise.
20353 * libio/memstream.c: Likewise.
20354 * libio/obprintf.c: Likewise.
20355 * libio/oldfileops.c: Likewise.
20356 * libio/oldiofclose.c: Likewise.
20357 * libio/oldiofdopen.c: Likewise.
20358 * libio/oldiofopen.c: Likewise.
20359 * libio/oldiopopen.c: Likewise.
20360 * libio/oldstdfiles.c: Likewise.
20361 * libio/putc.c: Likewise.
20362 * libio/setbuf.c: Likewise.
20363 * libio/setlinebuf.c: Likewise.
20364 * libio/stdfiles.c: Likewise.
20365 * libio/strops.c: Likewise.
20366 * libio/vasprintf.c: Likewise.
20367 * libio/vscanf.c: Likewise.
20368 * libio/vsnprintf.c: Likewise.
20369 * libio/vswprintf.c: Likewise.
20370 * libio/wfiledoalloc.c: Likewise.
20371 * libio/wfileops.c: Likewise.
20372 * libio/wgenops.c: Likewise.
20373 * libio/wmemstream.c: Likewise.
20374 * libio/wstrops.c: Likewise.
20375 * libio/__fpurge.c: Likewise.
20376 * libio/__fsetlocking.c: Likewise.
20377 * assert/assert.c: Likewise.
20378 * debug/fgets_chk.c: Likewise.
20379 * debug/fgets_u_chk.c: Likewise.
20380 * debug/fread_chk.c: Likewise.
20381 * debug/fread_u_chk.c: Likewise.
20382 * debug/gets_chk.c: Likewise.
20383 * debug/obprintf_chk.c: Likewise.
20384 * debug/vasprintf_chk.c: Likewise.
20385 * debug/vdprintf_chk.c: Likewise.
20386 * debug/vsnprintf_chk.c: Likewise.
20387 * debug/vsprintf_chk.c: Likewise.
20388 * malloc/mtrace.c: Likewise.
20389 * misc/error.c: Likewise.
20390 * misc/syslog.c: Likewise.
20391 * stdio-common/asprintf.c: Likewise.
20392 * stdio-common/fxprintf.c: Likewise.
20393 * stdio-common/getw.c: Likewise.
20394 * stdio-common/isoc99_fscanf.c: Likewise.
20395 * stdio-common/isoc99_scanf.c: Likewise.
20396 * stdio-common/isoc99_vfscanf.c: Likewise.
20397 * stdio-common/isoc99_vscanf.c: Likewise.
20398 * stdio-common/isoc99_vsscanf.c: Likewise.
20399 * stdio-common/printf-prs.c: Likewise.
20400 * stdio-common/printf_fp.c: Likewise.
20401 * stdio-common/printf_fphex.c: Likewise.
20402 * stdio-common/printf_size.c: Likewise.
20403 * stdio-common/putw.c: Likewise.
20404 * stdio-common/scanf.c: Likewise.
20405 * stdio-common/sprintf.c: Likewise.
20406 * stdio-common/tmpfile.c: Likewise.
20407 * stdio-common/vfprintf.c: Likewise.
20408 * stdio-common/vfscanf.c: Likewise.
20409 * stdlib/strfmon_l.c: Likewise.
20410 * sunrpc/openchild.c: Likewise.
20411 * sunrpc/xdr_stdio.c: Likewise.
20412 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20413 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20415 2012-05-24 Roland McGrath <roland@hack.frob.com>
20417 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20419 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20420 in the third column, to generate for the shared library an IFUNC
20421 that uses _dl_vdso_vsym.
20422 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20423 * Makeconfig (object-suffixes-noshared): New variable.
20425 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20426 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20427 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20428 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20431 * include/sys/time.h (__gettimeofday): Remove macro.
20432 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20433 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20435 (__gettimeofday): Add libc_hidden_def.
20436 (gettimeofday): Add libc_hidden_weak.
20437 * sysdeps/mach/gettimeofday.c: Likewise.
20438 * sysdeps/posix/gettimeofday.c: Likewise.
20439 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20440 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20441 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20442 (__gettimeofday_internal): Remove strong_alias.
20443 (__gettimeofday): Add libc_hidden_def.
20444 (gettimeofday): Add libc_hidden_weak.
20445 * sysdeps/unix/syscalls.list (gettimeofday):
20446 Remove __gettimeofday_internal alias.
20448 2012-05-24 Daniel Jacobowitz <drow@false.org>
20449 H.J. Lu <hongjiu.lu@intel.com>
20452 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20453 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20454 (largebin_index_32_big): New.
20455 (largebin_index): Use it for 16-byte alignment.
20456 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20457 correction with front_misalign.
20459 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20462 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20464 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20466 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20470 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20472 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20482 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20484 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20487 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20488 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20490 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20494 * math/libm-test.inc (exp_test): Add test from bug 14036.
20495 (pow_test): Add test from bug 10846.
20497 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20499 (special_function): Do not include flags in test name.
20500 (parse_args): Likewise.
20501 * sysdeps/i386/fpu/libm-test-ulps: Update.
20502 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20503 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20504 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20507 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20509 * math/libm-test.inc ("Philosophy"): Update comment about
20511 (UNDERFLOW_EXCEPTION): New macro.
20512 (UNDERFLOW_EXCEPTION_OK): Likewise.
20513 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20514 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20515 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20516 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20517 (INVALID_EXCEPTION_OK): Update value.
20518 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20519 (OVERFLOW_EXCEPTION_OK): Likewise.
20520 (IGNORE_ZERO_INF_SIGN): Likewise.
20521 (test_exceptions): Handle underflow exceptions.
20522 (acos_test): Update for underflow exception expectations.
20523 (cexp_test): Likewise.
20524 (clog_test): Likewise.
20525 (clog10_test): Likewise.
20526 (csqrt_test): Likewise.
20527 (ctan_test): Likewise.
20528 (ctanh_test): Likewise.
20529 (exp_test): Likewise.
20530 (exp10_test): Likewise.
20531 (exp2_test): Likewise.
20532 (expm1_test): Likewise.
20533 (fma_test): Likewise.
20534 (j0_test): Likewise.
20535 (jn_test): Likewise.
20536 (nexttoward_test): Likewise.
20537 (pow_test): Likewise.
20538 (scalbn_test): Likewise.
20539 (scalbln_test): Likewise.
20540 (tan_test): Likewise.
20541 (y1_test): Likewise.
20542 * sysdeps/i386/fpu/libm-test-ulps: Update.
20543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20545 2012-05-23 David S. Miller <davem@davemloft.net>
20547 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20548 (__libc_sigaction): Remove unused local variables.
20550 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20552 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20554 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20556 mktime: avoid signed integer overflow
20557 * time/mktime.c (__mktime_internal): Do not mishandle the case
20558 where diff == INT_MIN.
20560 mktime: simplify computation of average
20561 * time/mktime.c (ranged_convert): Use new time_t_avg function
20562 instead of rolling our own (probably-slower) code.
20564 mktime: do not assume signed right shift propagates sign bit
20565 * time/mktime.c (isdst_differ): New static function.
20566 (__mktime_internal): No need to normalize tm_isdst now.
20567 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20570 mktime: merge another wrapv change from gnulib
20571 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20572 from some compilers.
20574 mktime: remove incorrect attempt at unusual arithmetics
20575 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20576 The code didn't really work on such machines anyway.
20577 (TYPE_MINIMUM): Assume two's complement.
20578 (twos_complement_arithmetic): Verify that long_int and time_t
20579 are two's complement (or unsigned, in the latter case).
20581 mktime: check signed shifts on long_int and time_t, too
20582 * time/mktime.c (SHR): Check that shifts work as desired
20583 on the types long_int and time_t too, as SHR is used on
20586 mktime: do not assume 'long' is wide enough
20587 * time/mktime.c (verify): Move decl up.
20588 (long_int): New type.
20589 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20590 to remove assumption in the code that 'long' is wide enough to
20591 store year values. This assumption is not true on x32 and on
20592 some non-glibc platforms.
20594 mktime: merge wrapv change from gnulib
20595 * time/mktime.c (WRAPV): New macro.
20596 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20597 (guess_time_tm, __mktime_internal): Do not assume that signed
20598 integer overflow wraps around; modern compilers generate code
20599 where this assumption is no longer valid.
20601 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20603 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20604 Replace "jmp L(pseudo_end)" with "ret".
20605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20608 2012-05-23 Andreas Jaeger <aj@suse.de>
20610 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20611 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20613 2012-05-23 Andreas Jaeger <aj@suse.de>
20614 Maximilian Attems <max@stro.at>
20616 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20619 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20621 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20622 code so that pseudo_end is just ret and the stack pointer is
20623 correct also for static library in error case.
20625 2012-05-23 Joseph Myers <joseph@codesourcery.com>
20627 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20628 move to syscalls.list.
20629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20634 * manual/install.texi (Running make install): Do not mention Linux
20635 kernel version for which pt_chown is not needed.
20636 (Linux): Do not mention problems with nscd with 2.0 kernels.
20637 * INSTALL: Regenerated.
20639 2012-05-23 Andreas Jaeger <aj@suse.de>
20641 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20642 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20644 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20645 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20646 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20647 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20648 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20649 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20650 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20651 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20652 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20653 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20654 * sysdeps/unix/sysv/linux/bits/in.h
20655 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20657 2012-05-22 Roland McGrath <roland@hack.frob.com>
20659 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20660 (PREPARE_VERSION): Just use assert instead, it will be elided
20661 under [NDEBUG] anyway.
20663 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20665 * sysdeps/unix/sysv/linux/Makefile: Include
20666 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
20667 (sysdep_routines): Remove sysctl.
20668 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20669 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20670 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20671 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20672 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20674 2012-05-22 Andreas Jaeger <aj@suse.de>
20676 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20677 that pseudo_end is just ret and the stack pointer is correct also
20678 for static library in error case.
20680 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20683 * nss/nsswitch.c (defconfig_entries): New variable.
20684 (__nss_database_lookup): Don't leak defconfig entries.
20685 (nss_parse_service_list): Don't leak on error paths.
20686 (free_database_entries): New function.
20687 (free_defconfig): New function.
20688 (free_mem): Move common code to free_database_entries.
20690 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20692 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20694 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20696 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20697 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20700 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20701 (INTERNAL_SYSCALL_TYPES): Likewise.
20702 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20703 (LOAD_REGS_TYPES_[1-6]): Likewise.
20704 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20705 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20707 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20709 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20710 copysignl for GLIBC_2_0.
20711 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20712 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20713 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20714 logbl for GLIBC_2_0.
20715 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20716 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20718 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20721 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20723 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20726 * time/mktime.c: Update copyright years.
20728 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20730 mktime: merge comment-quoting-style change from gnulib
20731 * time/mktime.c: Quote 'like this' in comments.
20732 The GNU coding standards suggest that we no longer quote `like this',
20733 as "`" and "'" are typically rendered asymmetrically nowadays.
20734 The typical gnulib style is to quote 'like this' when quoting
20735 code, and "like this" when quoting English.
20737 * time/mktime.c (compile-command): Add "-I.".
20739 mktime: merge mktime-internal.h change from gnulib
20740 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20742 mktime: merge time_r change from gnulib
20743 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20745 mktime: merge DEBUG change from gnulib
20746 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20747 case system <time.h> has a #define.
20749 mktime: merge <sys/types.h> change from gnulib
20750 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20751 since <time.t> is now guaranteed to define time_t.
20753 mktime: merge HAVE_CONFIG_H change from gnulib
20754 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20756 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20761 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20763 (struct rusage): Use anonymous union to pad each field to
20766 2012-05-21 David S. Miller <davem@davemloft.net>
20768 * Makefules (o-iterator): Remove .s cases.
20769 (compile-command.s): Delete.
20770 (COMPILE.s): Delete.
20771 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20773 2012-05-21 Joseph Myers <joseph@codesourcery.com>
20775 * configure.in (libc_cv_predef_stack_protector): Only consider
20776 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20777 * configure: Regenerated.
20779 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20781 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20782 New macro. Use R*LP on int and pointer.
20783 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
20784 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20785 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
20786 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20788 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20789 [__WORDSIZE_TIME64_COMPAT32] instead of
20790 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20791 (struct utmp): Likewise.
20792 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20793 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20795 (__WORDSIZE_TIME64_COMPAT32): This.
20796 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20797 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20798 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20799 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20800 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20801 (__WORDSIZE_TIME64_COMPAT32): New macro.
20803 2012-05-21 Andreas Jaeger <aj@suse.de>
20805 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20806 only if [SHARED]. Add prototype for __wcschr_ia32.
20808 2012-05-21 Roland McGrath <roland@hack.frob.com>
20810 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20811 of %rbp unmolested in the jmp_buf while mangling the low bits.
20812 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20813 unmolested high bits of %rbp while demangling the low bits.
20814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20816 2012-05-21 Andreas Jaeger <aj@suse.de>
20818 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20819 * sunrpc/svc_simple.c: Use it for registerrpc.
20820 * sunrpc/xcrypt.c: Use it for passwd2des.
20822 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20824 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20826 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20827 Don't define if [__SYSCALL_WORDSIZE != 32].
20828 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20831 2012-05-21 Bruno Haible <bruno@clisp.org>
20832 Andreas Jaeger <aj@suse.de>
20834 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20835 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20836 inptr and inend for must_buffer_ch.
20837 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20838 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20839 * stdio-common/Makefile (tests): Remove bug15.
20840 (bug15-ENV): Remove macro.
20841 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20844 2012-05-19 Andreas Jaeger <aj@suse.de>
20845 Roland McGrath <roland@hack.frob.com>
20847 * manual/contrib.texi: Completely rewritten. It contains now an
20848 alphabetical list of contributors and their contributions.
20850 2012-05-21 Richard Henderson <rth@twiddle.net>
20852 * misc/getauxval.c (__getauxval): Use unsigned long int.
20853 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20854 (getauxval): Use unsigned long int.
20856 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20858 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20860 2012-05-21 Roland McGrath <roland@hack.frob.com>
20862 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20863 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20864 __alignof__ (long double).
20866 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20870 2012-05-20 Richard Henderson <rth@twiddle.net>
20872 * misc/getauxval.c: New file.
20873 * misc/sys/auxv.h: New file.
20874 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20875 (routines): Add getauxval.
20876 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20877 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20878 * elf/dl-sysdep.c (_dl_auxv): Remove.
20879 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20880 * elf/dl-support.c (_dl_auxv): New variable.
20881 (_dl_aux_init): Initialize it.
20882 * manual/startup.texi (Auxiliary Vector): New node.
20883 * sysdeps/generic/bits/hwcap.h: New file.
20884 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20885 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20886 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20887 * sysdeps/sparc/sysdep.h: ... here. Include it.
20888 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
20890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20897 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20898 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20899 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20901 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20905 2012-05-19 David S. Miller <davem@davemloft.net>
20907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20909 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20912 * math/s_ccosh.c: Include <float.h>
20913 (__ccosh): Avoid internal overflow calculating sinh and cosh
20914 values before multiplying by sin and cos values.
20915 * math/s_ccoshf.c: Likewise.
20916 * math/s_ccoshl.c: Likewise.
20917 * math/s_csin.c: Likewise.
20918 * math/s_csinf.c: Likewise.
20919 * math/s_csinl.c: Likewise.
20920 * math/s_csinh.c: Likewise.
20921 * math/s_csinhf.c: Likewise.
20922 * math/s_csinhl.c: Likewise.
20923 * math/libm-test.inc (ccos_test): Add more tests.
20924 (ccosh_test): Likewise.
20925 (csin_test): Likewise.
20926 (csinh_test): Likewise.
20927 * sysdeps/i386/fpu/libm-test-ulps: Update.
20928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20930 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20932 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20933 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20935 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20937 2012-05-19 Joseph Myers <joseph@codesourcery.com>
20939 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20940 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20941 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20942 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20943 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20944 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20945 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20946 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20947 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20948 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20949 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20950 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20951 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20952 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20953 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20954 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20955 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20956 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20957 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20958 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20959 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20960 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20961 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20962 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20963 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20964 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20965 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20966 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20967 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20968 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20969 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20971 2012-05-18 Andreas Jaeger <aj@suse.de>
20973 * csu/.gitignore: Delete.
20975 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20977 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20978 (timex): Use __syscall_slong_t.
20980 2012-05-18 Andreas Jaeger <aj@suse.de>
20981 Carlos O'Donell <carlos_odonell@mentor.com>
20983 * manual/install.texi (Configuring and compiling): Update
20984 description about files modified in the source directory.
20985 * INSTALL: Regenerated.
20987 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20989 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20990 value. Use "or" to set return value to -1.
20991 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20992 negate return value.
20994 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20996 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20997 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20998 failure if the compiler has Graphite support disabled.
20999 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21001 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21002 CFLAGS-memmove.c): Likewise.
21003 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21006 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21008 * sysdeps/x86_64/x32/_itoa.h: New file.
21010 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21011 getdents system call only if kernel and user dirents have the
21012 same d_ino and d_off.
21014 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21015 LLONG_MAX != LONG_MAX.
21016 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21017 (_fitoa_word): Likewise.
21019 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21021 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21022 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21023 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21025 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21026 include <bits/wordsize.h>. Check __x86_64__ instead of
21028 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21029 if __x86_64__ is defined. Use anonymous union on fpstate.
21031 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21034 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21036 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21037 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21038 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21039 Refer to _rtld_local_ro instead of _rtld_global_ro.
21040 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21042 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21044 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21046 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21047 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21048 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21050 * sysdeps/powerpc/powerpc32/dl-machine.c
21051 (__elf_machine_runtime_setup) [PROF]: Don't reference
21054 2012-05-18 Andreas Jaeger <aj@suse.de>
21056 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21057 function only available for GCCs before 3.4 since GCC 3.4
21058 introduced a builtin.
21060 (llrintf): Likewise.
21061 (llrint): Likewise.
21068 (nearbyint): Likewise.
21069 (nearbyintf): Likewise.
21073 (floorf): Likewise.
21075 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21077 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21078 on both fields and cast pointer to __syscall_ulong_t.
21080 * bits/types.h (__fsword_t): New type.
21081 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21082 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21083 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21084 (__FSWORD_T_TYPE): Likewise.
21085 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21086 (__FSWORD_T_TYPE): Likewise.
21087 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21088 (__FSWORD_T_TYPE): Likewise.
21089 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21090 (__FSWORD_T_TYPE): Likewise.
21091 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21092 __SWORD_TYPE with __fsword_t.
21093 (statfs64): Likewise.
21095 2012-05-17 David S. Miller <davem@davemloft.net>
21097 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21099 2012-05-17 Andreas Jaeger <aj@suse.de>
21101 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21104 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21106 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21108 2012-05-17 Andreas Jaeger <aj@suse.de>
21110 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21113 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21115 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21117 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21119 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21120 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21122 2012-05-17 Andreas Jaeger <aj@suse.de>
21123 Carlos O'Donell <carlos_odonell@mentor.com>
21126 * sysdeps/x86_64/multiarch/init-arch.h
21127 (bit_YMM_Usable): Rename to...
21128 (bit_AVX_Usable): ... this.
21129 (bit_FMA4_Usable): New macro.
21130 (bit_XMM_state): New macro.
21131 (bit_YMM_state): New macro.
21132 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21133 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21134 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21135 (CPUID_OSXSAVE): New macro.
21136 (CPUID_AVX): New macro.
21137 (CPUID_FMA4): New macro.
21138 (index_YMM_Usable): Rename to...
21139 (index_AVX_Usable): ... this.
21140 (HAS_AVX): Use HAS_ARCH_FEATURE.
21141 (HAS_FMA4): Likewise.
21142 (HAS_YMM_USABLE): Remove.
21143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21144 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21146 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21147 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21148 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21149 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21150 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21152 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21154 * math/libm-test.c: Support platforms without multiple rounding modes.
21155 * math/bug-nextafter.c: Support platforms without FP exceptions.
21156 * math/bug-nexttoward.c: Likewise.
21157 * math/test-fenv.c: Likewise.
21158 * math/test-misc.c: Likewise.
21159 * stdlib/bug-getcontext.c: Likewise.
21161 2012-05-17 Andreas Jaeger <aj@suse.de>
21163 * manual/examples/search.c (critter_cmp): Change signature to
21165 * manual/string.texi (Collation Functions): Likewise.
21167 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21169 * bits/types.h: Fold copyright years.
21170 * bits/typesizes.h: Likewise.
21171 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21172 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21173 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21174 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21175 * time/time.h: Likewise.
21177 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21180 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21181 in instead of returning them. Return void.
21182 (__libc_mallinfo): Accumulate over all arenas.
21183 (__malloc_stats): Adjust for change in int_mallinfo interface.
21185 2012-05-16 Roland McGrath <roland@hack.frob.com>
21188 * configure.in (NM): Add AC_CHECK_TOOL for it.
21189 (libc_extra_cflags): New substituted variable.
21190 Check for -fstack-protector being used implicitly.
21191 * configure: Regenerated.
21192 * config.make.in (config-extra-cflags): New variable,
21193 gets @libc_extra_cflags@.
21194 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21197 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21198 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21199 * configure: Regenerated.
21200 * config.make.in (CPPUNDEFS): New substituted variable.
21201 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21202 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21203 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21205 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21207 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21208 (mq_attr): Use __syscall_slong_t.
21210 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21212 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21213 Check __x86_64__ instead of __WORDSIZE.
21214 (_STAT_VER_LINUX): Likewise.
21215 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21216 __syscall_ulong_t and __syscall_slong_t.
21217 (stat64): Likewise.
21219 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21221 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21223 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21225 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21227 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21229 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21232 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21233 include <bits/wordsize.h>. Check __x86_64__ instead of
21235 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21237 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21239 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21240 include <bits/wordsize.h>. Check __x86_64__ instead of
21242 (user_regs_struct): Use "__extension__ unsigned long long"
21243 instead of "unsigned long" if __x86_64__ is defined.
21244 (user): Likewise. Pad after pointer field if __ILP32__ is
21247 2012-05-16 Joseph Myers <joseph@codesourcery.com>
21249 * configure.in (makeinfo): Require version 4.5 or later. Allow
21251 * configure: Regenerated.
21252 * manual/install.texi (texinfo): Increase version requirement to
21254 * INSTALL: Regenerated.
21256 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21258 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21260 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21262 * sysdeps/x86_64/x32/ffs.c: New file.
21264 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21266 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21267 defined. Use __syscall_ulong_t.
21268 (shminfo): Use __syscall_ulong_t.
21269 (shm_info): Likewise.
21271 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21274 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21276 (msgqnum_t): Use __syscall_ulong_t.
21277 (msglen_t): Likewise.
21278 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21281 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21282 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21284 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21286 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21287 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21289 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21292 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21293 include <bits/wordsize.h>. Check __x86_64__ instead of
21296 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21297 "unsigned long long int" if __x86_64__ is defined.
21298 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21300 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21301 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21302 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21304 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21306 (GET_PC): Cast to uintptr_t first.
21307 (GET_FRAME): Likewise.
21308 (GET_STACK): Likewise.
21310 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21311 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21312 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21313 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21314 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21315 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21316 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21317 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21318 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21319 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21320 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21321 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21322 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21323 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21324 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21325 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21326 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21327 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21328 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21329 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21330 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21331 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21332 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21333 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21334 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21335 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21336 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21337 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21338 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21340 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21342 * Makerules (+depfiles): Also collect depfiles from .oS in
21344 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21345 .oS, $(libnldbl-routines)).
21347 * Makerules (native-compile-mkdep-flags): Define.
21348 * sunrpc/Makefile (extra-objs): Add $(addprefix
21349 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21350 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21351 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21352 calling $(make-target-directory).
21354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21356 * bits/types.h (__snseconds_t): Removed.
21357 * time/time.h (struct timespec): Replace __snseconds_t with
21359 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21360 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21362 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21363 (__SNSECONDS_T_TYPE): Likewise.
21364 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21365 (__SNSECONDS_T_TYPE): Likewise.
21366 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21367 (__SNSECONDS_T_TYPE): Likewise.
21369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21371 * sysdeps/mach/hurd/bits/typesizes.h
21372 (__SYSCALL_SLONG_TYPE): New macro.
21373 (__SYSCALL_ULONG_TYPE): Likewise.
21375 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21377 * bits/types.h (__syscall_slong_t): New type.
21378 (__syscall_ulong_t): Likewise.
21380 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21381 (__SYSCALL_ULONG_TYPE): Likewise.
21382 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21383 (__SYSCALL_SLONG_TYPE): Likewise.
21384 (__SYSCALL_ULONG_TYPE): Likewise.
21385 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21386 (__SYSCALL_SLONG_TYPE): Likewise.
21387 (__SYSCALL_ULONG_TYPE): Likewise.
21388 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21389 (__SYSCALL_SLONG_TYPE): Likewise.
21390 (__SYSCALL_ULONG_TYPE): Likewise.
21392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21394 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21395 Add sigaltstack-offsets.sym.
21396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21397 <sigaltstack-offsets.h>.
21398 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21399 longjmp_msg pointer.
21400 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21401 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21403 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21405 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21407 * elf/stackguard-macros.h: Remove file.
21408 * sysdeps/generic/stackguard-macros.h: New file.
21409 * sysdeps/i386/stackguard-macros.h: Likewise.
21410 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21411 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21412 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21413 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21414 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21415 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21416 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21417 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21418 <elf/stackguard-macros.h>.
21421 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21422 __aligned__ in attribute.
21423 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21424 (gregset_t): Likewise.
21426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21428 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21429 * sysdeps/x86_64/64/Implies-after: Here. New file.
21430 * sysdeps/x86_64/x32/Implies-after: New file.
21432 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21434 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21435 and access return value for _dl_profile_fixup. Use R10_LP to
21438 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21440 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21444 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21445 * sysdeps/x86_64/x32/sysdep.h: New file.
21447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21449 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21450 * sysdeps/x86_64/setjmp.S: Likewise.
21452 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21454 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21455 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21456 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21457 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21458 remove unused global constant.
21460 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21462 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21463 include of <not-cancel.h>.
21465 2012-05-15 Roland McGrath <roland@hack.frob.com>
21467 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21469 2012-05-15 Jeff Law <law@redhat.com>
21470 Andreas Jaeger <aj@suse.de>
21473 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21475 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21476 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21477 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21478 code changing __hst_map_handle.map.
21480 2012-05-15 Roland McGrath <roland@hack.frob.com>
21482 * configure.in (sysnames): Look for Implies-before and Implies-after
21484 * configure: Regenerated.
21486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21488 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21489 8-byte data alignment with LP_SIZE alignment.
21491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21493 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21496 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21498 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21500 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21502 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21503 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21504 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21506 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21508 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21510 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21511 (stackinfo_sub_sp): Likewise.
21513 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21518 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21525 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21530 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21532 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21534 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21535 into R11_LP and load __x86_64_shared_cache_size_half into
21538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21540 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21543 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21545 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21547 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21549 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21551 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21552 powerpc32/power7/fpu/s_logb.c via #include.
21553 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21554 powerpc32/power7/fpu/s_logbf.c via #include.
21555 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21556 powerpc32/power7/fpu/s_logbl.c via #include.
21558 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21560 * README.libm: Remove file.
21562 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21564 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21565 count for x32. Use R*_LP and omit operand-size suffix.
21567 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21569 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21570 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21571 * sysdeps/x86_64/x32/shlib-versions: New file.
21573 2012-05-14 Roland McGrath <roland@hack.frob.com>
21575 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21576 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21577 Use _dl_fatal_printf instead.
21579 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21581 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21582 set if not set by the user. Do not allow for being unset.
21583 * sysdeps/unix/sysv/linux/configure: Regenerated.
21585 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21587 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21588 the `q' suffix from lea and replace .quad with ASM_ADDR.
21590 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21593 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21595 (PTR_DEMANGLE): Likewise.
21597 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21599 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21601 (ASM_ADDR): Likewise.
21602 (RAX_LP): Likewise.
21603 (RBP_LP): Likewise.
21604 (RBX_LP): Likewise.
21605 (RCX_LP): Likewise.
21606 (RDI_LP): Likewise.
21607 (RSI_LP): Likewise.
21608 (RSP_LP): Likewise.
21611 (R10_LP): Likewise.
21612 (R10_LP): Likewise.
21613 (R11_LP): Likewise.
21614 (R12_LP): Likewise.
21615 (R13_LP): Likewise.
21616 (R14_LP): Likewise.
21617 (R15_LP): Likewise.
21619 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21621 * sysdeps/x86_64/x32/dl-machine.h: New file.
21623 2012-05-14 Andreas Jaeger <aj@suse.de>
21625 * manual/Makefile (subdir): Remove export of subdir.
21626 (all): Remove target.
21627 (.PHONY): Remove all from list.
21628 (mkinstalldirs): Remove.
21629 (.PHONY): Remove installdirs from list.
21630 ($(inst_infodir)/libc.info): Use make-target-directory.
21631 (installdirs): Remove.
21632 (subdir_%): Remove.
21633 (glibc-targets): Remove.
21636 ($(objpfx)stubs ../po/manual.pot): Remove.
21637 ($(objpfx)stamp%): Remove.
21638 (make-target-directory): Remove.
21639 (subdir_install): Remove.
21640 (routines): Remove.
21647 * manual/.gitignore: Remove, it's not needed anymore.
21648 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21650 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21652 (texis): Renamed to $(objpfx)texis.
21653 (texis-path): New, contains path to generated files.
21654 (chapters.%): Use texis-path for complete path, add extra argument
21656 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21657 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21658 (summary,texi, stamp-summary): Use complete path of
21659 files. Generate files in build dir.
21660 (dir-add.texi): Build in build dir.
21661 (libm-err.texi,stamp-libm-err): Likewise.
21662 (version.texi, stamp-version): Likewise.
21663 (.%c.texi): Likewise.
21664 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21665 (mostlyclean): Remove target.
21666 (realclean): Remove target.
21667 (generated): Add new variable with contents from mostlyclean and
21668 realclean, remove entries duplicated in common-mostlyclean, add
21669 stamp-libm-err and stamp-version.
21670 (generated-dirs): Add libc directory.
21671 ($(inst_infodir)/libc.info): Install files from build dir.
21673 * manual/install.texi (Configuring and compiling): Adjust since
21674 the info files are not part of the tar ball anymore.
21676 2012-05-14 Andreas Jaeger <aj@suse.de>
21678 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21681 2012-05-14 Joseph Myers <joseph@codesourcery.com>
21684 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21685 to 2.2.0 where earlier.
21686 * sysdeps/unix/sysv/linux/configure: Regenerated.
21687 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21688 Remove conditional code.
21689 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21690 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21691 Remove conditional code.
21692 [!__NR_lchown]: Likewise.
21693 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21694 [__NR_lchown]: Likewise.
21695 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21696 comment referencing __ASSUME_LCHOWN_SYSCALL.
21697 * sysdeps/unix/sysv/linux/i386/sigaction.c
21698 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21699 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21700 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21701 Remove conditional code.
21702 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21703 (__protocol_available): Remove #if 0 code.
21704 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21706 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21707 * sysdeps/unix/sysv/linux/kernel-features.h
21708 (__ASSUME_GETCWD_SYSCALL): Don't define.
21709 (__ASSUME_REALTIME_SIGNALS): Likewise.
21710 (__ASSUME_PREAD_SYSCALL): Likewise.
21711 (__ASSUME_PWRITE_SYSCALL): Likewise.
21712 (__ASSUME_POLL_SYSCALL): Likewise.
21713 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21714 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21716 (__ASSUME_SIOCGIFNAME): Don't define.
21717 (__ASSUME_MSG_NOSIGNAL): Likewise.
21718 (__ASSUME_SENDFILE): Define unconditionally.
21719 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21720 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21722 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21723 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21724 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21725 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21726 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21727 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21728 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21730 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21731 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21733 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21734 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21736 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21737 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21739 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21742 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21743 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21748 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21749 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21753 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21754 Remove conditional code.
21755 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21756 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21757 Remove conditional code.
21758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21759 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21760 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21761 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21762 Remove conditional code.
21763 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21764 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21765 Remove conditional code.
21766 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21767 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21768 Remove conditional code.
21769 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21770 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21771 Remove conditional code.
21772 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21773 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21774 Remove conditional code.
21775 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21776 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21777 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21779 * sysdeps/unix/sysv/linux/sigaction.c
21780 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21781 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21782 * sysdeps/unix/sysv/linux/sigpending.c
21783 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21784 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21785 * sysdeps/unix/sysv/linux/sigprocmask.c
21786 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21787 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21788 * sysdeps/unix/sysv/linux/sigsuspend.c
21789 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21790 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21791 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21792 (__libc_missing_rt_sigs): Remove.
21793 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21794 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21795 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21796 Remove conditional code.
21797 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21798 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21800 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21801 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21802 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21803 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21805 2012-05-14 Andreas Jaeger <aj@suse.de>
21807 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21808 it's not used in glibc.
21809 (__coshm1): Likewise.
21810 (__acosh1p): Likewise.
21813 * manual/string.texi (Copying and Concatenation): Add missing
21814 variable in concat example.
21815 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21817 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21820 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21821 __builtin_clzl with __builtin_clzll.
21823 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21826 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21829 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21831 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21832 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21833 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21834 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21836 2012-05-14 Mike Frysinger <vapier@gentoo.org>
21838 * NEWS: Update ia64 info.
21840 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21842 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21845 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21847 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21848 * sysdeps/unix/syscalls.list (dup3): Likewise.
21849 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21850 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21852 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21854 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21855 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21857 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21859 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21861 (TLS_IE): Use mov/add instead of movq/addq to load thread
21863 (TLS_GD_PREFIX): New.
21866 2012-05-11 David S. Miller <davem@davemloft.net>
21868 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21869 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21870 (_FPU_SETCW): Likewise.
21872 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21874 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21875 is 32-byte aligned.
21877 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21880 * iconvdata/gb18030.c: Update tables.
21881 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21882 characters specially.
21883 (BODY for TO_LOOP): Add encoding of missing ranges.
21885 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21888 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21889 * sysdeps/mach/hurd/dup3.c: Likewise.
21890 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21891 * sysdeps/powerpc/memmove.c:: Likewise.
21893 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21895 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21896 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21898 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21900 * elf/elf.h (R_X86_64_RELATIVE64): New.
21901 (R_X86_64_NUM): Updated.
21902 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21903 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21904 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21905 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21906 tst-quad1pie tst-quad2pie
21907 (modules-names): Add tst-quadmod1 tst-quadmod2.
21908 ($(objpfx)tst-quad1): New dependency.
21909 ($(objpfx)tst-quad2): Likewise.
21910 ($(objpfx)tst-quad1pie): Likewise.
21911 ($(objpfx)tst-quad2pie): Likewise.
21912 * sysdeps/x86_64/tst-quad1.c: New file.
21913 * sysdeps/x86_64/tst-quad1pie.c: New file.
21914 * sysdeps/x86_64/tst-quad2.c: Likewise.
21915 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21916 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21917 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21918 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21919 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21921 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21923 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21924 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21925 * streams/stropts.h (t_scalar_t): Define type.
21927 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21928 (_PATH_PRESERVE): Set to "/var/lib".
21929 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21931 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21934 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21935 if __dir_mkfile succeeded.
21937 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21938 checking for _hurd_dtablesize. Unlock it right after having
21939 finished _hurd_dtable allocation.
21941 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
21943 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21944 * sysdeps/mach/hurd/configure: Regenerated.
21945 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21946 special-casing to...
21947 * sysdeps/gnu/configure.in: ... this new file.
21948 * sysdeps/unix/sysv/linux/configure: Regenerated.
21949 * sysdeps/gnu/configure: New generated file.
21951 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21952 for Linux: use nsec instead of usec, as well as:
21953 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21954 members of type struct timespec.
21955 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21957 (struct stat64): Likewise.
21958 (_STATBUF_ST_NSEC): New macro.
21959 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21961 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21962 __strtoul_internal rather than strtoul.
21964 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21966 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21969 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21971 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21972 which preserves existing values.
21973 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21975 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21977 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21978 TIMEOUT values. Return EINVAL for NFDS values either negative or
21979 greater than FD_SETSIZE.
21981 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21983 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21984 allocated, call __vm_protect to finish enabling the existing space, and
21985 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21986 allocate the remainder.
21988 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21990 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21991 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21993 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21995 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21996 sysdeps/mach/hurd/readlink.c.
21998 * posix/tst-sysconf.c (posix_options): Only use
21999 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22000 _POSIX_SYNCHRONIZED_IO when they are defined
22001 * sysdeps/mach/hurd/bits/posix_opt.h:
22002 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22003 (_XOPEN_REALTIME): Undefine macro.
22004 (_XOPEN_REALTIME_THREADS): Undefine macro.
22005 (_XOPEN_SHM): Undefine macro.
22006 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22008 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22010 (_POSIX_ASYNC_IO): Undefine macro.
22011 (_POSIX_PRIORITIZED_IO): Undefine macro.
22012 (_POSIX_SPIN_LOCKS): Define macro to -1.
22014 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22015 SA_NODEFER, SA_RESETHAND.
22016 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22017 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22020 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22022 * elf/Makefile (pldd-modules): Define unconditionally.
22024 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22026 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22028 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22030 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22031 Return ENOENT when name is empty.
22032 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22034 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22036 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22038 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22042 Fix mlock in all cases except non-readable pages.
22043 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22044 instead of VM_PROT_ALL as parameter to __vm_wire function.
22046 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22047 (__mkdir): When path is `/', just fail with EEXIST.
22048 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22050 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22052 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22053 <sys/uio.h> (for writev).
22054 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22055 and <sys/param.h> (for MIN).
22057 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22059 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22060 REQUESTED_TIME. Properly set the remaining time and return EINTR
22063 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22065 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22066 Depend on against $(link-rpcuserlibs).
22068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22070 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22071 (__libc_stack_end): Do not use attribute_relro.
22072 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22073 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22074 to libthread-provided value.
22075 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22081 * bits/libc-lock.h (__libc_once_get): New macro.
22082 * sysdeps/mach/bits/libc-lock.h: Likewise.
22083 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22084 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22085 instead of using implementation details.
22087 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22088 * libio/freopen.c: Likewise.
22089 * libio/freopen64.c: Likewise.
22090 * misc/syslog.c: Likewise.
22091 * nscd/connections.c: Likewise.
22092 * nscd/netgroupcache.c: Likewise.
22093 * sysdeps/posix/getcwd.c: Likewise.
22095 2012-05-10 Roland McGrath <roland@hack.frob.com>
22097 * math/w_ilogbf.c: Add #include <limits.h>.
22099 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22101 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22102 path instead of returning without unlocking.
22104 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22105 immediate-write ioctls.
22106 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22108 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22110 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22111 __builtin_frame_address instead of making assumptions about the
22112 location of the return address relative to DATA. Force early load of
22113 the return address.
22114 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22115 __builtin_frame_address.
22118 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22119 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22120 implement dup3 and do some further code clean-ups.
22121 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22122 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22124 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22126 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22128 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22129 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22130 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22131 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22132 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22135 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22136 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22137 when handler == SIG_ERR, not when handler != SIG_ERR.
22139 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22141 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22142 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22145 accept4 for GNU Hurd.
22146 * include/sys/socket.h (__libc_accept4): New prototype.
22147 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22148 to implement __libc_accept4.
22149 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22151 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22153 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22154 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22155 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22156 signal-defines.sym.
22158 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22160 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22162 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22164 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22165 assertion on O_CLOEXEC flag.
22166 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22167 * hurd/intern-fd.c: Likewise.
22168 * hurd/port2fd.c: Likewise.
22170 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22173 * bits/in.h (IPV6_PKTINFO): Define new macro.
22174 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22176 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22181 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22182 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22183 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22184 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22185 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22186 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22187 * math/libm-test.inc (logb_test) : Additional logb tests.
22189 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22190 Andreas Jaeger <aj@suse.de>
22192 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22193 * configure: Regenerated.
22194 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22195 * config.make.in (link-obsolete-rpc): New substituted variable.
22196 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22197 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22198 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22199 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22200 so that libc.a contains the symbols.
22201 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22202 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22203 * sunrpc/auth_none.c: Likewise.
22204 * sunrpc/auth_unix.c: Likewise.
22205 * sunrpc/authdes_prot.c: Likewise.
22206 * sunrpc/authuxprot.c: Likewise.
22207 * sunrpc/clnt_gen.c: Likewise.
22208 * sunrpc/clnt_perr.c: Likewise.
22209 * sunrpc/clnt_raw.c: Likewise.
22210 * sunrpc/clnt_simp.c: Likewise.
22211 * sunrpc/clnt_tcp.c: Likewise.
22212 * sunrpc/clnt_udp.c: Likewise.
22213 * sunrpc/clnt_unix.c: Likewise.
22214 * sunrpc/des_crypt.c: Likewise.
22215 * sunrpc/des_soft.c: Likewise.
22216 * sunrpc/get_myaddr.c: Likewise.
22217 * sunrpc/key_call.c: Likewise.
22218 * sunrpc/key_prot.c: Likewise.
22219 * sunrpc/netname.c: Likewise.
22220 * sunrpc/pm_getmaps.c: Likewise.
22221 * sunrpc/pm_getport.c: Likewise.
22222 * sunrpc/pmap_clnt.c: Likewise.
22223 * sunrpc/pmap_prot.c: Likewise.
22224 * sunrpc/pmap_prot2.c: Likewise.
22225 * sunrpc/pmap_rmt.c: Likewise.
22226 * sunrpc/publickey.c: Likewise.
22227 * sunrpc/rpc_cmsg.c: Likewise.
22228 * sunrpc/rpc_common.c: Likewise.
22229 * sunrpc/rpc_dtable.c: Likewise.
22230 * sunrpc/rpc_prot.c: Likewise.
22231 * sunrpc/rpc_thread.c: Likewise.
22232 * sunrpc/rtime.c: Likewise.
22233 * sunrpc/svc.c: Likewise.
22234 * sunrpc/svc_auth.c: Likewise.
22235 * sunrpc/svc_raw.c: Likewise.
22236 * sunrpc/svc_run.c: Likewise.
22237 * sunrpc/svc_tcp.c: Likewise.
22238 * sunrpc/svc_udp.c: Likewise.
22239 * sunrpc/svc_unix.c: Likewise.
22240 * sunrpc/svcauth_des.c: Likewise.
22241 * sunrpc/xcrypt.c: Likewise.
22242 * sunrpc/xdr.c: Likewise.
22243 * sunrpc/xdr_array.c: Likewise.
22244 * sunrpc/xdr_float.c: Likewise.
22245 * sunrpc/xdr_intXX_t.c: Likewise.
22246 * sunrpc/xdr_mem.c: Likewise.
22247 * sunrpc/xdr_rec.c: Likewise.
22248 * sunrpc/xdr_ref.c: Likewise.
22249 * sunrpc/xdr_sizeof.c: Likewise.
22250 * sunrpc/xdr_stdio.c: Likewise.
22252 2012-05-10 Roland McGrath <roland@hack.frob.com>
22254 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22255 change. Update copyright years.
22257 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22259 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22261 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22262 Joseph Myers <joseph@codesourcery.com>
22263 Paul Pluzhnikov <ppluzhnikov@google.com>
22266 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22268 [cross-compiling] (extra-libs): Likewise.
22269 [cross-compiling] (extra-libs-others): Likewise.
22270 [cross-compiling] (librpcsvc-routines): Likewise.
22271 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22272 [cross-compiling] (omit-deps): Likewise.
22273 (sunrpc-CPPFLAGS): New variable.
22274 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22275 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22276 (cross-rpcgen-objs): New variable.
22277 (extra-objs): Append $(cross-rpcgen-objs).
22278 ($(cross-rpcgen-objs)): New rule.
22279 ($(objpfx)cross-rpcgen): Likewise.
22280 (rpcgen-cmd): Define to use $(built-program-file). Expand
22282 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22283 ($(objpfx)x%.stmp): Likewise.
22284 * sunrpc/proto.h [IS_IN_build] (_): Define.
22285 [IS_IN_build] (_libc_intl_domainname): Likewise.
22287 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22289 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22290 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22291 and R_X86_64_TPOFF64.
22293 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22295 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22296 sysdeps/unix/sysv/syscalls.list.
22299 * sysdeps/unix/sysv/syscalls.list: Remove file.
22301 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22304 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22305 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22306 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22307 (__LC_IDENTIFICATION): Make these macros useful in #if
22308 expressions, as required by C99.
22310 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22312 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22313 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22316 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22318 * stdlib/longlong.h: Updated from GCC.
22320 2012-05-09 Andreas Jaeger <aj@suse.de>
22322 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22323 default is first entry.
22324 (run_mode): Set type.
22325 (main): Remove informal message about syslog.
22326 (options): Fix typo.
22329 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22332 (llrintf): Likewise.
22333 (llrint): Likewise.
22336 (nearbyint): Likewise.
22337 (nearbyintf): Likewise.
22339 2012-05-09 Andreas Jaeger <aj@suse.de>
22340 Pedro Alves <palves@redhat.com>
22342 * nscd/nscd.c (run_mode): Use enum.
22343 (main): Cleanup coding style issue.
22345 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
22346 Andreas Jaeger <aj@suse.de>
22348 * nscd/nscd.c (go_background): Replaced with...
22349 (run_mode): ... this.
22350 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22351 (options): Add -F --foreground.
22352 (main): Implement it.
22353 (parse_opt): Parse it.
22355 2012-05-09 Andreas Jaeger <aj@suse.de>
22358 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22359 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22360 -Wconversion warning.
22361 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22364 2012-05-09 Joseph Myers <joseph@codesourcery.com>
22366 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22368 (LC_ALL): Use macro-int-constant.
22369 (LC_COLLATE): Likewise.
22370 (LC_CTYPE): Likewise.
22371 (LC_MESSAGES): Likewise.
22372 (LC_MONETARY): Likewise.
22373 (LC_NUMERIC): Likewise.
22374 (LC_TIME): Likewise.
22375 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22376 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22378 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22380 [C99-based standards] (float_t): Expect type.
22381 [C99-based standards] (double_t): Expect type.
22382 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22384 [C99-based standards] (HUGE_VALL): Likewise.
22385 [C99-based standards] (INFINITY): Likewise.
22386 [C99-based standards] (NAN): Likewise.
22387 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22388 [C99-based standards] (FP_NAN): Likewise.
22389 [C99-based standards] (FP_NORMAL): Likewise.
22390 [C99-based standards] (FP_SUBNORMAL): Likewise.
22391 [C99-based standards] (FP_ZERO): Likewise.
22392 [C99-based standards] (FP_FAST_FMA): Use
22393 optional-macro-int-constant. Specify type. Require == 1.
22394 [C99-based standards] (FP_FAST_FMAF): Likewise.
22395 [C99-based standards] (FP_FAST_FMAL): Likewise.
22396 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22397 [C99-based standards] (FP_ILOGBNAN): Likewise.
22398 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22400 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22401 [C99-based standards] (math_errhandling): Specify type.
22402 [ISO99 || ISO11] (signgam): Do not allow.
22403 [non-C99-based standards] (copysignf): Do not allow.
22404 [non-C99-based standards] (exp2f): Likewise.
22405 [non-C99-based standards] (log2f): Likewise.
22406 [non-C99-based standards] (modff): Allow.
22407 [non-C99-based standards] (erff): Do not allow.
22408 [non-C99-based standards] (erfcf): Likewise.
22409 [non-C99-based standards] (gammaf): Likewise.
22410 [non-C99-based standards] (hypotf): Likewise.
22411 [non-C99-based standards] (j0f): Likewise.
22412 [non-C99-based standards] (j1f): Likewise.
22413 [non-C99-based standards] (jnf): Likewise.
22414 [non-C99-based standards] (lgammaf): Likewise.
22415 [non-C99-based standards] (tgammaf): Likewise.
22416 [non-C99-based standards] (y0f): Likewise.
22417 [non-C99-based standards] (y1f): Likewise.
22418 [non-C99-based standards] (ynf): Likewise.
22419 [non-C99-based standards] (isnanf): Likewise.
22420 [non-C99-based standards] (acoshf): Likewise.
22421 [non-C99-based standards] (asinhf): Likewise.
22422 [non-C99-based standards] (atanhf): Likewise.
22423 [non-C99-based standards] (cbrtf): Likewise.
22424 [non-C99-based standards] (expm1f): Likewise.
22425 [non-C99-based standards] (ilogbf): Likewise.
22426 [non-C99-based standards] (log1pf): Likewise.
22427 [non-C99-based standards] (logbf): Likewise.
22428 [non-C99-based standards] (nextafterf): Likewise.
22429 [non-C99-based standards] (remainderf): Likewise.
22430 [non-C99-based standards] (rintf): Likewise.
22431 [non-C99-based standards] (scalbf): Likewise.
22432 [non-C99-based standards] (copysignl): Likewise.
22433 [non-C99-based standards] (exp2l): Likewise.
22434 [non-C99-based standards] (log2l): Likewise.
22435 [non-C99-based standards] (modfl): Allow.
22436 [non-C99-based standards] (erfl): Do not allow.
22437 [non-C99-based standards] (erfcl): Likewise.
22438 [non-C99-based standards] (gammal): Likewise.
22439 [non-C99-based standards] (hypotl): Likewise.
22440 [non-C99-based standards] (j0l): Likewise.
22441 [non-C99-based standards] (j1l): Likewise.
22442 [non-C99-based standards] (jnl): Likewise.
22443 [non-C99-based standards] (lgammal): Likewise.
22444 [non-C99-based standards] (tgammal): Likewise.
22445 [non-C99-based standards] (y0l): Likewise.
22446 [non-C99-based standards] (y1l): Likewise.
22447 [non-C99-based standards] (ynl): Likewise.
22448 [non-C99-based standards] (isnanl): Likewise.
22449 [non-C99-based standards] (acoshl): Likewise.
22450 [non-C99-based standards] (asinhl): Likewise.
22451 [non-C99-based standards] (atanhl): Likewise.
22452 [non-C99-based standards] (cbrtl): Likewise.
22453 [non-C99-based standards] (expm1l): Likewise.
22454 [non-C99-based standards] (ilogbl): Likewise.
22455 [non-C99-based standards] (log1pl): Likewise.
22456 [non-C99-based standards] (logbl): Likewise.
22457 [non-C99-based standards] (nextafterl): Likewise.
22458 [non-C99-based standards] (remainderl): Likewise.
22459 [non-C99-based standards] (rintl): Likewise.
22460 [non-C99-based standards] (scalbl): Likewise.
22461 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22462 [non-C99-based standards] (FP_*): Do not allow.
22463 [C99-based standards] (FP_*): Change to
22464 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22465 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22467 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22468 (SIG_ERR): Likewise.
22469 [X/Open-based standards] (SIG_HOLD): Likewise.
22470 (SIG_IGN): Likewise.
22471 (SIGABRT): Use macro-int-constant. Specify type. Require
22473 (SIGFPE): Likewise.
22474 (SIGILL): Likewise.
22475 (SIGINT): Likewise.
22476 (SIGSEGV): Likewise.
22477 (SIGTER): Likewise.
22478 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22479 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22480 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22481 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22482 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22483 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22484 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22485 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22486 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22487 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22488 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22489 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22490 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22491 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22492 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22493 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22494 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22495 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22496 [X/Open-based standards] (SIGTRAP): Likewise.
22497 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22498 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22499 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22500 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22501 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22504 2012-05-08 Ian Wienand <ianw@vmware.com>
22507 * time/tzset.c (__tzset_parse_tz): Update default rules for
22508 daylight time changes in the Energy Policy Act of 2005.
22510 2012-05-09 Andreas Jaeger <aj@suse.de>
22513 * elf/ldconfig.c (parse_conf): Change string to make clear that
22514 ldconfig only issued a warning if ld.so.conf does not exist.
22516 2012-05-08 David S. Miller <davem@davemloft.net>
22518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22519 movxtod instead of popping the value on the stack.
22521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22523 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22525 * config.h.in: Add HAVE_ARM_PCS_VFP.
22527 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22530 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22531 checking but the checks are disabled for any reason.
22533 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22535 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22536 and ELF64_R_TYPE with ELFW(R_TYPE).
22538 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22540 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22541 (ulimit): Likewise.
22543 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22544 (settimeofday): Likewise.
22546 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22548 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22549 a struct th_u2 inside the union, and move tu_block/tu_code into
22550 a new th_u3 union of tu_block/tu_code inside of that. Move
22551 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22552 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22553 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22554 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22555 (th_stuff): Change to th_u1.tu_stuff.
22557 (th_msg): Change to th_u1.th_u2.tu_data.
22559 2012-05-07 David S. Miller <davem@davemloft.net>
22561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22564 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22565 (SETUP_PIC_REG): Use it.
22566 (SETUP_PIC_REG_LEAF): Use it.
22568 2012-05-07 Joseph Myers <joseph@codesourcery.com>
22572 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22574 (EXPL_FINITE): Likewise.
22575 (FLDLOG): Likewise.
22576 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22577 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22579 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22581 (EXPL_FINITE): Likewise.
22582 (FLDLOG): Likewise.
22583 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22584 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22586 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22587 test of -max_value argument for long double.
22588 * sysdeps/i386/fpu/libm-test-ulps: Update.
22589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22591 2012-05-06 David S. Miller <davem@davemloft.net>
22593 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22594 quad soft-float symbols whose references which are compiler
22596 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22598 2012-05-06 Joseph Myers <joseph@codesourcery.com>
22602 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22604 (EXPL_FINITE): Likewise.
22605 (FLDLOG): Likewise.
22608 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22609 Adjust comments for base varying.
22610 (__expl_finite): Change alias to EXPL_FINITE.
22611 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22613 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22614 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22616 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22617 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22619 (EXPL_FINITE): Likewise.
22620 (FLDLOG): Likewise.
22623 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22624 Adjust comments for base varying.
22625 (__expl_finite): Change alias to EXPL_FINITE.
22626 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22631 * math/libm-test.inc (check_float_internal): Correct ulp
22632 calculation for subnormal expected results.
22634 2012-05-06 Andreas Jaeger <aj@suse.de>
22636 * Makeconfig (+math-flags): New, set to -frounding-math.
22637 (+cflags): Add +math-flags so that all of glibc gets compiled with
22640 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22642 2012-05-05 Joseph Myers <joseph@codesourcery.com>
22644 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22650 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22651 (__ieee754_expl): Allow for and saturate large arguments.
22652 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22653 (u_threshold): Likewise.
22654 (__exp): Call __ieee754_exp before checking for overflow and
22656 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22657 (u_threshold): Likewise.
22658 (__expf): Call __ieee754_expf before checking for overflow and
22660 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22661 (u_threshold): Likewise.
22662 (__expl): Call __ieee754_expl before checking for overflow and
22664 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22665 (__ieee754_expl): Allow for and saturate large arguments.
22666 * math/libm-test.inc (exp_test): Add another test. Do not allow
22667 missing overflow exception on overflow.
22668 (expm1_test): Do not allow missing overflow exception on overflow.
22670 * sysdeps/i386/fpu/e_expl.c: Move to ...
22671 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22672 rather than using inline asm.
22673 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22674 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22675 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22677 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22680 (signal): Likewise.
22684 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22686 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22687 sysdeps/unix/common/syscalls.list.
22688 (fchmod): Likewise.
22689 (fchown): Likewise.
22690 (ftruncate): Likewise.
22691 (getrusage): Likewise.
22692 (gettimeofday): Likewise.
22693 (setpgid): Likewise.
22694 (setregid): Likewise.
22695 (setreuid): Likewise.
22696 (sigaction): Likewise.
22697 (truncate): Likewise.
22698 (vhangup): Likewise.
22699 * sysdeps/unix/common/syscalls.list: Remove file.
22700 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22701 * sysdeps/unix/sysv/linux/Implies: Likewise.
22703 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22705 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22706 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22707 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22711 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22713 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22714 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22717 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22720 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22723 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22726 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22729 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22733 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22737 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22739 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22740 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22742 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22744 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22748 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22750 * sysdeps/unix/common/bits/dirent.h: Remove file.
22751 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22753 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22754 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22755 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22756 * sysdeps/unix/bsd/isatty.c: Likewise.
22757 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22758 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22759 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22761 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22764 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22765 long double comparison inaccuracies.
22766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22769 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22771 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22774 2012-05-04 Joseph Myers <joseph@codesourcery.com>
22777 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22778 nonzero digits before rounding a hex value.
22779 * stdlib/tst-strtod.c (tests): Add another test.
22781 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22783 * sysdeps/s390/fpu/libm-test-ulps: Update.
22785 2012-05-03 Andreas Jaeger <aj@suse.de>
22787 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22788 does not get optimized out.
22789 (malloc_opt_barrier): New.
22791 2012-05-03 Andreas Jaeger <aj@suse.de>
22792 Roland McGrath <roland@hack.frob.com>
22794 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
22795 intermediate file deletion.
22796 (generated): Add .symlist files.
22798 2012-05-03 Joseph Myers <joseph@codesourcery.com>
22801 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22802 Redirect under this condition.
22803 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22804 [__USE_GNU] (__dprintf_chk): Not under this condition.
22805 [__USE_GNU] (__vdprintf_chk): Likewise.
22806 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22807 under this condition.
22808 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22809 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22810 [__USE_XOPEN2K8] (vdprintf): Likewise.
22811 [__USE_GNU] (__dprintf_chk): Not under this condition.
22812 [__USE_GNU] (__vdprintf_chk): Likewise.
22813 [__USE_GNU] (dprintf): Likewise.
22814 [__USE_GNU] (vdprintf): Likewise.
22816 2012-05-03 Roland McGrath <roland@hack.frob.com>
22818 * elf/Makefile (common-generated): Set this instead of generated for
22819 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22820 $(all-built-dso)-derived lists.
22822 2012-05-03 Andreas Jaeger <aj@suse.de>
22824 * sysdeps/i386/fpu/libm-test-ulps: Update.
22827 * FAQ.in: Likewise.
22828 * scripts/gen-FAQ.pl: Likewise.
22829 * manual/install.texi (Installation): Point to online location of
22831 * Makefile (files-for-dist): Remove FAQ.
22834 2012-05-02 Allan McRae <allan@archlinux.org>
22836 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22837 (LDFLAGS-reldepmod5.so): Likewise.
22838 (LDFLAGS-reldep6mod1.so): Likewise.
22839 (LDFLAGS-reldep6mod4.so): Likewise.
22840 (LDFLAGS-reldep8mod3.so): Likewise.
22841 (LDFLAGS-unload4mod1.so): Likewise.
22842 (LDFLAGS-unload4mod2.so): Likewise.
22843 (LDFLAGS-tst-initorder): Likewise.
22844 (LDFLAGS-tst-initordera2.so): Likewise.
22845 (LDFLAGS-tst-initordera3.so): Likewise.
22846 (LDFLAGS-tst-initordera4.so): Likewise.
22847 (LDFLAGS-tst-initorderb2.so): Likewise.
22848 (LDFLAGS-noload): Likewise.
22849 (LDFLAGS-next): Likewise.
22850 (LDFLAGS-order2mod1.so): Likewise.
22851 (LDFLAGS-order2mod2.so): Likewise.
22852 (LDFLAGS-tst-initorder2): Likewise.
22853 (LDFLAGS-tst-initorder2a.so): Likewise.
22854 (LDFLAGS-tst-initorder2b.so): Likewise.
22855 (LDFLAGS-tst-initorder2c.so): Likewise.
22856 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22858 2012-05-02 David S. Miller <davem@davemloft.net>
22860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22862 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22865 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22867 2012-05-02 Andreas Jaeger <aj@suse.de>
22869 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22870 since we manipulate rounding mode.
22871 (CPPFLAGS-test-idouble.c): Likewise.
22872 (CPPFLAGS-test-ifloat.c): Likewise.
22873 (CFLAGS-test-ldouble.c): Likewise.
22874 (CFLAGS-test-double.c): Likewise.
22875 (CFLAGS-test-float.c): Likewise.
22876 (CFLAGS-test-misc.c): Likewise.
22877 (CFLAGS-test-test-fenv.c): Likewise.
22879 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22884 comparisons to determine direction to adjust input.
22886 2012-05-01 Roland McGrath <roland@hack.frob.com>
22888 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22889 output to the target.
22891 * scripts/localplt.awk: New file.
22892 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22893 (check-localplt-CFLAGS): Variable removed.
22894 ($(all-built-dso:=.jmprel)): New static pattern rule.
22895 (generated): Add those targets.
22896 (localplt-built-dso): New variable.
22897 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22899 * elf/check-localplt.c: File removed.
22901 * scripts/check-execstack.awk: New file.
22902 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22903 (check-execstack-CFLAGS): Variable removed.
22904 ($(objpfx)check-execstack.h): Target removed.
22905 ($(objpfx)execstack-default): New target.
22906 (generated): Add that instead of check-execstack.h.
22907 ($(all-built-dso:=.phdr)): New static pattern rule.
22908 (generated): Add those targets.
22909 * elf/check-execstack.c: File removed.
22911 * scripts/check-textrel.awk: New file.
22912 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22913 (check-textrel-CFLAGS): Variable removed.
22914 (all-built-dso): Use := to define.o
22915 ($(all-built-dso:=.dyn)): New static pattern rule.
22916 (generated): Add those targets.
22917 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22918 * config.make.in (READELF): New substituted variable.
22919 * elf/check-textrel.c: File removed.
22921 2012-05-01 Joseph Myers <joseph@codesourcery.com>
22923 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22925 * conform/data/ctype.h-data [C99-based standards] (isblank):
22927 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22928 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22930 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22931 Specify type. Require positive value.
22932 (EILSEQ): Likewise.
22933 (ERANGE): Likewise.
22934 [ISO || POSIX] (EILSEQ): Do not expect.
22935 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22936 Specify type. Require positive value.
22937 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22938 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22939 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22940 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22941 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22942 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22943 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22944 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22945 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22946 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22947 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22953 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22954 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22956 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22959 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22960 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22961 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22962 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22963 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22964 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22966 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22967 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22968 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22969 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22970 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22971 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22972 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22973 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22974 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22975 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22976 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22977 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22978 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22979 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22980 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22981 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22982 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22983 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22984 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22985 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22986 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22987 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22988 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22989 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22990 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22991 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22992 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22993 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22994 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22995 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22996 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22997 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22998 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22999 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23000 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23001 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23002 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23003 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23004 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23005 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23006 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23007 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23008 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23009 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23010 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23011 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23012 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23013 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23015 (FLT_ROUNDS): Expect as macro, not constant.
23016 (FLT_MANT_DIG): Use macro-int-constant.
23017 (DBL_MANT_DIG): Likewise.
23018 (LDBL_MANT_DIG): Likewise.
23019 (FLT_DIG): Likewise.
23020 (DBL_DIG): Likewise.
23021 (LDBL_DIG): Likewise.
23022 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23023 (DBL_MIN_EXP): Likewise.
23024 (LDBL_MIN_EXP): Likewise.
23025 (FLT_MAX_EXP): Use macro-int-constant.
23026 (DBL_MAX_EXP): Likewise.
23027 (LDBL_MAX_EXP): Likewise.
23028 (FLT_MAX_10_EXP): Likewise.
23029 (DBL_MAX_10_EXP): Likewise.
23030 (LDBL_MAX_10_EXP): Likewise.
23031 (FLT_MAX): Use macro-constant.
23032 (DBL_MAX): Likewise.
23033 (LDBL_MAX): Likewise.
23034 (FLT_EPSILON): Use macro-constant. Give upper bound.
23035 (DBL_EPSILON): Likewise.
23036 (LDBL_EPSILON): Likewise.
23037 (FLT_MIN): Likewise.
23038 (DBL_MIN): Likewise.
23039 (LDBL_MIN): Likewise.
23040 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23041 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23042 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23043 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23044 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23045 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23046 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23047 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23048 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23049 [ISO11] (FLT_TRUE_MIN): Likewise.
23050 [ISO11] (LDBL_TRUE_MIN): Likewise.
23051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23052 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23053 (SCHAR_MIN): Use macro-int-constant. Specify type.
23054 (SCHAR_MAX): Likewise.
23055 (UCHAR_MAX): Likewise.
23056 (CHAR_MIN): Likewise.
23057 (CHAR_MAX): Likewise.
23058 (MB_LEN_MAX): Use macro-int-constant.
23059 (SHRT_MIN): Use macro-int-constant. Specify type.
23060 (SHRT_MAX): Likewise.
23061 (USHRT_MAX): Likewise.
23062 (INT_MAX): Likewise.
23063 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23065 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23067 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23069 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23070 bound negative. Suffix upper bound with "L".
23071 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23073 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23075 [C99-based standards] (LLONG_MAX): Likewise.
23076 [C99-based standards] (ULLONG_MAX): Likewise.
23077 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23079 [ISO11] (max_align_t): Require type.
23080 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23082 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23083 from $CFLAGS, without defining away __attribute__ calls.
23084 (checknamespace): Use $CFLAGS_namespace.
23086 * conform/conformtest.pl (@keywords): Only include C99 keywords
23087 for standards based on C99 or C11.
23089 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23091 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23094 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23095 usability of symbols in #if.
23097 * conform/conformtest.pl: If macro or constant types start
23098 "promoted:", expect the symbol to be of the following type
23099 promoted by the integer promotions.
23101 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23102 in one place. Also handle "macro-constant".
23104 * conform/conformtest.pl: Only accept expected macro values with
23105 "==". Parse all "macro" lines in one place.
23106 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23108 * conform/conformtest.pl: Handle braced types on "constant" lines
23109 instead of handling "typed-constant".
23110 * conform/data/signal.h-data: Use "constant" instead of
23113 * conform/conformtest.pl: Handle "optional-" at start of lines in
23114 one place rather than duplicating several cases. Handle each
23115 format of "macro" line with initial "optional-".
23117 * conform/conformtest.pl: Only accept expected constant or
23118 optional-constant values with "==". Parse all "constant" lines in
23119 one place. Parse all "optional-constant" lines in one place.
23120 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23121 * conform/data/fmtmsg.h-data: Likewise.
23122 * conform/data/netinet/in.h-data: Likewise.
23123 * conform/data/tar.h-data: Likewise.
23124 * conform/data/limits.h-data: Use "==" form on "constant" and
23125 "optional-constant" lines.
23127 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23128 Use -std=c99 for XOPEN2K.
23129 (@knownproblems): Remove.
23130 (newtoken): Don't check %isknown.
23132 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23133 Do not expect macro.
23134 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23135 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23136 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23137 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23138 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23139 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23140 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23141 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23142 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23143 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23144 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23145 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23146 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23147 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23148 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23149 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23150 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23151 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23152 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23153 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23154 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23155 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23156 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23157 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23158 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23159 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23160 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23161 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23162 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23163 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23164 [XPG3] (acosh): Likewise.
23165 [XPG3] (asinh): Likewise.
23166 [XPG3] (atanh): Likewise.
23167 [XPG3] (cbrt): Likewise.
23168 [XPG3] (expm1): Likewise.
23169 [XPG3] (ilogb): Likewise.
23170 [XPG3] (log1p): Likewise.
23171 [XPG3] (logb): Likewise.
23172 [XPG3] (nextafter): Likewise.
23173 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23174 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23175 [XPG3] (remainder): Likewise.
23176 [XPG3] (rint): Likewise.
23177 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23178 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23179 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23180 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23181 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23182 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23183 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23184 [UNIX98 || XOPEN2K] (scalb): Expect.
23185 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23186 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23187 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23188 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23189 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23190 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23191 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23192 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23193 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23194 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23195 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23196 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23197 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23198 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23199 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23200 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23201 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23202 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23203 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23204 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23205 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23206 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23207 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23208 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23209 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23210 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23211 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23212 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23213 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23214 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23215 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23216 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23217 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23218 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23219 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23220 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23221 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23222 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23223 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23224 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23225 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23226 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23227 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23228 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23229 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23230 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23231 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23232 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23233 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23234 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23235 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23236 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23237 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23238 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23239 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23240 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23241 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23242 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23243 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23244 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23245 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23246 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23247 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23248 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23249 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23250 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23251 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23252 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23253 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23254 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23255 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23256 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23257 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23258 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23259 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23260 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23261 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23262 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23263 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23264 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23265 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23266 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23267 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23268 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23269 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23270 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23271 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23272 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23273 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23274 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23275 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23276 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23277 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23278 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23279 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23280 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23281 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23282 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23283 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23284 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23285 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23286 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23287 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23288 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23289 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23290 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23291 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23292 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23293 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23294 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23295 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23296 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23297 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23298 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23299 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23300 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23301 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23302 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23303 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23304 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23305 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23306 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23307 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23308 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23309 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23310 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23311 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23312 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23313 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23314 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23315 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23316 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23317 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23318 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23319 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23320 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23321 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23323 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23324 _XOPEN_SOURCE_EXTENDED for XPG4.
23326 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23328 * Makeconfig (localtime): Remove variable.
23329 (inst_localtime-file): Likewise.
23331 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23352 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23356 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23357 comparisons to determine direction to adjust input.
23358 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23359 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23360 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23362 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23364 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23366 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23367 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23369 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23371 * math/libm-test.inc (nexttoward_test): Add more tests.
23373 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23376 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23377 in version GLIBC_2.1, not GLIBC_2.0.
23378 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23381 2012-04-30 Joseph Myers <joseph@codesourcery.com>
23384 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23386 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23387 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23388 * math/libm-test.inc (acos_test): Add more tests.
23389 (asin_test): Likewise.
23390 * sysdeps/i386/fpu/libm-test-ulps: Update.
23391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23394 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23396 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23397 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23398 * math/libm-test.inc (acos_test_tonearest): New function.
23399 (acos_test_towardzero): Likewise.
23400 (acos_test_downward): Likewise.
23401 (acos_test_upward): Likewise.
23402 (asin_test_tonearest): Likewise.
23403 (asin_test_towardzero): Likewise.
23404 (asin_test_downward): Likewise.
23405 (asin_test_upward): Likewise.
23406 (main): Call the new functions.
23407 * sysdeps/i386/fpu/libm-test-ulps: Update.
23408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23412 * math/e_exp10.c: Include <float.h>.
23413 (__ieee754_exp10): Handle underflow here rather than multiplying
23414 large negative argument by M_LN10.
23415 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23417 * math/e_exp10l.c: Include <float.h>.
23418 (__ieee754_exp10l): Handle underflow here rather than multiplying
23419 large negative argument by M_LN10l.
23420 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23421 spurious overflow exception on underflow.
23423 2012-04-29 Marek Polacek <polacek@redhat.com>
23425 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23426 (__fortify_function): New macro.
23427 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23428 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23429 __extern_always_inline.
23430 * libio/bits/stdio2.h: Likewise.
23431 * libio/bits/stdio.h: Likewise.
23432 * string/string.h: Likewise.
23433 * string/bits/string3.h: Likewise.
23434 * include/stdio.h: Likewise.
23435 * stdlib/bits/stdlib.h: Likewise.
23436 * stdlib/stdlib.h: Likewise.
23437 * rt/bits/mqueue2.h: Likewise.
23438 * rt/mqueue.h: Likewise.
23439 * posix/bits/unistd.h: Likewise.
23440 * posix/unistd.h: Likewise.
23441 * io/bits/poll2.h: Likewise.
23442 * io/bits/fcntl2.h: Likewise.
23443 * io/fcntl.h: Likewise.
23444 * io/sys/poll.h: Likewise.
23445 * misc/bits/syslog.h: Likewise.
23446 * misc/bits/syslog-ldbl.h: Likewise.
23447 * misc/sys/syslog.h: Likewise.
23448 * socket/bits/socket2.h: Likewise.
23449 * socket/sys/socket.h: Likewise.
23450 * debug/tst-chk1.c: Likewise.
23451 * wcsmbs/bits/wchar2.h: Likewise.
23452 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23453 * wcsmbs/wchar.h: Likewise.
23455 2012-04-29 Andreas Jaeger <aj@suse.de>
23457 * Makerules (tests): Remove enable-check-abi protection.
23458 (check-abi-warn): Remove.
23459 (check-abi-%): Remove check-abi-warn usage.
23461 * configure.in: Remove check-abi configure option.
23462 * configure: Regenerated.
23463 * config.make.in (enable-check-abi): Remove.
23465 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23468 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23469 double functions to double *_finite functions.
23472 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23473 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23475 * stdio-common/Makefile (tests): Add tst-sprintf3.
23476 * stdio-common/tst-sprintf3.c: New file.
23478 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23479 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23481 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23483 * conform/conformtest.pl: Remove duplicate typed-constant
23486 2012-04-28 David S. Miller <davem@davemloft.net>
23488 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23489 (check-abi-%): Remove AWK script prerequisite and explicit
23491 (check-abi): Rewrite to just diff the symlist with the abilist.
23492 (config-tls, config-abi-config): Delete, no longer used.
23493 (update-abi-%): Remove AWK script and explicit abilist directory.
23494 (update-abi): Rewrite to simply compare and conditionally copy the
23495 symlist and the sysdep abilist file. Remove update-abi-config
23497 * abilist/ld.abilist: Remove.
23498 * abilist/libBrokenLocale.abilist: Remove.
23499 * abilist/libanl.abilist: Remove.
23500 * abilist/libcrypt.abilist: Remove.
23501 * abilist/libdl.abilist: Remove.
23502 * abilist/librt.abilist: Remove.
23503 * abilist/libthread_db.abilist: Remove.
23504 * abilist/libutil.abilist: Remove.
23505 * scripts/extract-abilist.awk: Remove.
23506 * scripts/merge-abilist.awk: Remove.
23507 * sysdeps/generic/libcidn.abilist: New file.
23508 * sysdeps/generic/libnss_compat.abilist: New file.
23509 * sysdeps/generic/libnss_db.abilist: New file.
23510 * sysdeps/generic/libnss_dns.abilist: New file.
23511 * sysdeps/generic/libnss_files.abilist: New file.
23512 * sysdeps/generic/libnss_hesiod.abilist: New file.
23513 * sysdeps/generic/libnss_nis.abilist: New file.
23514 * sysdeps/generic/libnss_nisplus.abilist: New file.
23515 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23516 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23517 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23519 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23520 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23521 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23522 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23523 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23524 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23525 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23526 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23527 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23529 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23530 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23531 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23532 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23534 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23535 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23536 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23537 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23538 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23539 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23541 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23542 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23543 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23545 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23546 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23548 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23550 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23552 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23554 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23556 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23558 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23560 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23562 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23564 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23566 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23568 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23570 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23617 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23619 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23626 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23648 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23649 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23650 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23652 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23653 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23654 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23655 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23656 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23657 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23658 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23659 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23660 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23661 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23671 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23673 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23679 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23681 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23685 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23688 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23690 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23704 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23710 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23713 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23715 * conform/conformtest.pl: Fix typo in handling typed-constant from
23718 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23720 * README: Cut down references to pre-2.6 Linux kernels and
23721 Linuxthreads. Update lists of configurations in libc and ports
23722 and sort alphabetically. Say "or newer" with Linux kernel version
23725 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23727 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23730 * math/libm-test.inc (logb_test_downward): New test to expose
23731 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23734 2012-04-27 Joseph Myers <joseph@codesourcery.com>
23737 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23739 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23740 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23742 2012-04-26 Joseph Myers <joseph@codesourcery.com>
23744 * sysdeps/unix/i386/brk.S: Remove file.
23745 * sysdeps/unix/i386/dl-brk.S: Likewise.
23746 * sysdeps/unix/i386/pipe.S: Likewise.
23747 * sysdeps/unix/i386/sigreturn.S: Likewise.
23748 * sysdeps/unix/i386/syscall.S: Likewise.
23749 * sysdeps/unix/i386/vfork.S: Likewise.
23750 * sysdeps/unix/i386/wait.S: Likewise.
23752 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23753 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23755 * configure.in (arm*-none*): Do not allow without
23756 --enable-hacker-mode.
23757 (netbsd*): Remove case setting base_os.
23758 (386bsd*): Likewise.
23759 (freebsd*): Likewise.
23762 (sunos*): Likewise.
23763 (ultrix*): Likewise.
23764 (newsos*): Likewise.
23765 (dynix*): Likewise.
23771 (minix*): Likewise.
23772 (irix4*): Likewise.
23773 (irix6*): Likewise.
23774 (solaris[2-9]*): Likewise.
23776 * configure: Regenerated.
23778 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23781 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23782 overflow or cancellation in calculating denominator.
23783 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23784 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23785 down expression to avoid unexpected rounding in newer GCCs.
23786 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23788 2012-04-26 David S. Miller <davem@davemloft.net>
23790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23791 long-double compat symbols.
23792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23806 2012-04-25 David S. Miller <davem@davemloft.net>
23808 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23809 HWCAP_* values only after the memory barriers have been defined.
23810 (atomic_full_barrier): Define.
23811 (atomic_read_barrier): Define.
23812 (atomic_write_barrier): Define.
23814 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23816 * shlib-versions: Add libgcc_s version information.
23817 * sysdeps/generic/libgcc_s.h: Remove.
23818 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23820 * sysdeps/gnu/unwind-resume.c: Likewise.
23821 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23823 2012-04-25 David S. Miller <davem@davemloft.net>
23825 * sysdeps/unix/sparc/brk.S: Delete.
23826 * sysdeps/unix/sparc/dl-brk.S: Delete.
23827 * sysdeps/unix/sparc/pipe.S: Delete.
23828 * sysdeps/unix/sparc/sysdep.S: Delete.
23829 * sysdeps/unix/sparc/sysdep.h: Delete.
23830 * sysdeps/unix/sparc/vfork.S: Delete.
23831 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23832 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23833 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23834 ret_ERRVAL, r0, r1, MOVE): Define.
23835 (JUMPTARGET): Remove.
23836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23837 sysdeps/unix/sparc/sysdep.h
23838 (ENTRY, END): Remove.
23839 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23841 2012-04-25 Joseph Myers <joseph@codesourcery.com>
23843 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23844 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23847 * timezone/README: Update upstream location and email address for
23849 * timezone/zdump.c: Update from tzcode 2012b.
23850 * timezone/zic.c: Likewise.
23852 * configure.in (libc_cv_as_needed): Remove test.
23853 * configure: Regenerated.
23854 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23855 conditional definition.
23856 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23857 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23858 * config.make.in (have-as-needed): Remove variable.
23860 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23861 Paul Pluzhnikov <ppluzhnikov@google.com>
23863 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23866 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23868 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23869 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23870 * sysdeps/sh/strlen.S: Likewise.
23872 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23874 * sysdeps/unix/fork.S: Remove file.
23875 * sysdeps/unix/i386/fork.S: Likewise.
23876 * sysdeps/unix/sparc/fork.S: Likewise.
23878 * sysdeps/unix/system.c: Remove file.
23879 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23881 * sysdeps/unix/getegid.S: Remove file.
23882 * sysdeps/unix/geteuid.S: Likewise.
23884 2012-04-24 Roland McGrath <roland@hack.frob.com>
23886 * scripts/check-localplt.awk: New file.
23887 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23889 * scripts/data/localplt-generic.data: Add a comment.
23891 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23892 NODE when __dir_mkfile failed.
23893 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23894 Reported by Ludovic Courtès <ludo@gnu.org>.
23896 2012-04-24 Andreas Jaeger <aj@suse.de>
23898 * Makerules (common-clean): Also remove gen-as-const-headers
23901 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23903 * Makerules (native-compile): Do not change working directory for
23904 build. Use $(OUTPUT_OPTION) in command.
23905 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23907 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23910 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23911 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23912 * math/libm-test.inc (floor_test): Add more tests.
23913 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23915 2012-04-24 Joseph Myers <joseph@codesourcery.com>
23917 * sysdeps/unix/getdents.c: Remove file.
23918 * sysdeps/unix/sysv/getdents.c: Likewise.
23919 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23921 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23922 sysdeps/unix/mman/syscalls.list.
23924 (mprotect): Likewise.
23926 (munmap): Likewise.
23927 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23928 * sysdeps/unix/mman/syscalls.list: Remove.
23929 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23931 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23932 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23933 * configure: Regenerated.
23934 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23935 $(libgcc_s_suffix).
23936 * config.make.in (libgcc_s_suffix): Remove variable.
23938 2012-04-23 Joseph Myers <joseph@codesourcery.com>
23940 * sysdeps/unix/sysv/gethostname.c: Move to ...
23941 * sysdeps/posix/gethostname.c: ... here.
23943 * sysdeps/unix/execve.S: Remove file.
23945 * sysdeps/unix/_exit.S: Remove file.
23947 2012-04-23 Andreas Jaeger <aj@suse.de>
23950 * manual/Makefile: Remove make dist support, there's no
23951 need for a stand-alone documentation tar ball.
23952 (TEXI2DVI): Define always, it's not in Makeconfig.
23955 (edition): Removed.
23956 (glibc-doc-$(edition).tar): Removed
23960 (ETAGS): Remove, it's in Makeconfig.
23961 (move-if-change): Remove, it's in Makeconfig.
23963 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
23966 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23967 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23968 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23969 (strtod_l, strtof_l, strtold_l): Remove __wur.
23970 It is not necessarily an error to ignore strtol's return value.
23971 One can reliably look at the stored endptr to decide whether
23972 the number had valid syntax.
23974 2012-04-21 Andreas Jaeger <aj@suse.de>
23977 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23979 2012-04-21 Joseph Myers <joseph@codesourcery.com>
23981 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23982 * sysdeps/unix/sysv/Versions: Remove file.
23984 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23987 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23989 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
23992 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23993 version from __vm86.
23995 2012-04-20 Joseph Myers <joseph@codesourcery.com>
23997 * sysdeps/unix/common/lxstat.c: Remove file.
23998 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24000 * sysdeps/unix/sysv/Makefile: Remove file.
24002 * sysdeps/unix/sysv/direct.h: Remove file.
24004 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24005 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24006 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24007 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24008 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24009 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24010 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24012 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24014 * sysdeps/unix/xmknod.c: Remove file.
24015 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24017 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24019 * sysdeps/unix/sysv/i386/time.S: Remove file.
24021 * sysdeps/unix/fxstat.c: Remove file.
24022 * sysdeps/unix/xstat.c: Likewise.
24023 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24025 * sysdeps/unix/sysv/sigaction.c: Remove file.
24027 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24028 (sysdep_headers): Remove variable.
24029 [termio.h not in sysdep_headers] (generated): Likewise.
24030 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24031 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24032 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24033 * sysdeps/unix/sysv/tcflow.c: Likewise.
24034 * sysdeps/unix/sysv/tcflush.c: Likewise.
24035 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24036 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24037 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24038 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24039 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24041 * sysdeps/unix/siglist.c: Remove file.
24043 * sysdeps/unix/getppid.S: Remove file.
24045 * sysdeps/unix/mkdir.c: Remove file.
24046 * sysdeps/unix/rmdir.c: Likewise.
24048 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24050 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24052 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24053 errlist-compat value.
24055 2012-04-18 David S. Miller <davem@davemloft.net>
24057 * sysdeps/generic/memcopy.h (reg_char): Delete.
24058 * debug/strcat_chk.c: Use char, not reg_char.
24059 * debug/strcpy_chk.c: Likewise.
24060 * debug/strncat_chk.c: Likewise.
24061 * debug/strncpy_chk.c: Likewise.
24062 * string/memchr.c: Likewise.
24063 * string/memrchr.c: Likewise.
24064 * string/rawmemchr.c: Likewise.
24065 * string/strcat.c: Likewise.
24066 * string/strchr.c: Likewise.
24067 * string/strchrnul.c: Likewise.
24068 * string/strcmp.c: Likewise.
24069 * string/strcpy.c: Likewise.
24070 * string/strncat.c: Likewise.
24071 * string/strncmp.c: Likewise.
24072 * string/strncpy.c: Likewise.
24074 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24076 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24077 __builtin_memcopy is called when src and dest ranges are known to not
24080 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24082 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24083 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24084 fwd_align_merge macro call.
24085 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24086 bwd_align_merge macro call.
24087 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24089 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24091 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24092 bwd_align_merge macros.
24093 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24094 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24095 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24097 2012-04-18 David S. Miller <davem@davemloft.net>
24099 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24101 2012-04-18 Andreas Jaeger <aj@suse.de>
24104 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24105 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24106 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24108 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24109 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24110 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24112 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24113 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24114 Adjust for changed ldbl-128 files.
24116 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24117 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24118 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24120 2012-04-17 David S. Miller <davem@davemloft.net>
24122 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24124 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24126 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24127 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24128 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24129 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24130 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24131 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24133 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24136 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24137 * math/libm-test.inc: Add ilogb errno and exception tests.
24138 * math/w_ilogb.c: New file: ilogb wrapper.
24139 * math/w_ilogbf.c: New file: ilogbf wrapper.
24140 * math/w_ilogbl.c: New file: ilogbl wrapper.
24141 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24142 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24143 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24144 exception being thrown with 0.0 as argument.
24145 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24146 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24147 exception being thrown with 0.0 as argument.
24148 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24149 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24150 exception being thrown with 0.0 as argument.
24151 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24152 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24153 exception being thrown with 0.0 as argument.
24154 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24155 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24156 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24157 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24158 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24159 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24160 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24161 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24162 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24164 2012-04-17 Petr Baudis <pasky@ucw.cz>
24166 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24169 2012-04-16 Marek Polacek <polacek@redhat.com>
24171 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24173 2012-04-16 Marek Polacek <polacek@redhat.com>
24175 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24176 operands of fdivp instruction.
24178 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24180 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24181 * elf/tst-auditmod3b.c: Likewise.
24182 * elf/tst-auditmod4b.c: Likewise.
24183 * elf/tst-auditmod5b.c: Likewise.
24184 * elf/tst-auditmod6b.c: Likewise.
24185 * elf/tst-auditmod6c.c: Likewise.
24186 * elf/tst-auditmod7b.c: Likewise.
24187 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24188 * sysdeps/x86_64/preconfigure.in: Likewise.
24189 * sysdeps/x86_64/preconfigure: Regenerated.
24191 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24193 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24196 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
24198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24199 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24201 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24204 * locale/iso-639.def: Fix gl language name. Spotted by
24207 2012-04-12 Roland McGrath <roland@hack.frob.com>
24210 * libio/libio.h (__io_write_fn): Update comment.
24212 2012-04-12 Petr Baudis <pasky@ucw.cz>
24215 * stdio.texi (Hook Functions): The user provided writer function
24216 is not allowed to return -1.
24218 2012-04-11 David S. Miller <davem@davemloft.net>
24220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24222 2012-04-11 Mike Frysinger <vapier@gentoo.org>
24224 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24225 Add a leading slash to rtkaio.
24227 2012-04-11 Jim Meyering <meyering@redhat.com>
24230 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24231 It is not necessarily an error to ignore fwrite's return
24232 value. One can reliably use ferror to test for errors after
24235 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24237 * bits/types.h (__snseconds_t): New type.
24238 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24240 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24242 (__SNSECONDS_T_TYPE): Likewise.
24243 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24244 (__SNSECONDS_T_TYPE): Likewise.
24245 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24246 (__SNSECONDS_T_TYPE): Likewise.
24248 2012-04-10 Andreas Jaeger <aj@suse.de>
24251 * manual/time.texi (Processor Time): Return type of times is
24252 elapsed real time since an arbitrary point in the past.
24253 (CPU Time): Move CLK_TCK from here...
24254 (Processor Time): ...to here. Correct description.
24255 * manual/conf.texi (Constants for Sysconf): Correct description of
24258 2012-04-10 David S. Miller <davem@davemloft.net>
24261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24262 where the is a gap between DT_REL(A) and DT_JMPREL.
24264 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24266 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24267 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24268 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24270 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24272 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24273 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24274 (dl_main): Handle --inhibit-cache.
24275 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24277 * elf/dl-load.c (_dl_map_object): Use it.
24278 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24280 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24283 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24284 (__ieee754_powl): Saturate large exponents rather than testing for
24285 overflow of y*log2(x).
24286 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24287 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24291 * math/s_ctan.c: Include <float.h>.
24292 (__ctan): Avoid internal overflow or cancellation in calculating
24294 * math/s_ctanf.c: Likewise.
24295 * math/s_ctanl.c: Likewise.
24296 * math/s_ctanh.c: Likewise.
24297 * math/s_ctanhf.c: Likewise.
24298 * math/s_ctanhl.c: Likewise.
24299 * math/libm-test.inc (ctan_test): Add more tests.
24300 (ctanh_test): Likewise.
24301 * sysdeps/i386/fpu/libm-test-ulps: Update.
24302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24304 2012-04-09 Andreas Jaeger <aj@suse.de>
24307 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24308 is an optional BSD extension.
24311 * manual/stdio.texi (Opening Streams): Document additional fopen
24314 2012-04-09 Roland McGrath <roland@hack.frob.com>
24316 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24317 %eax without telling the compiler.
24319 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24322 * manual/install.texi: Use sourceware.org.
24324 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24327 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24328 (__ieee754_pow): Generate overflow and underflow using huge*huge
24329 and tiny*tiny rather than just returning constant infinity or zero
24330 for large exponents.
24331 * math/libm-test.inc (pow_test): Require overflow exceptions for
24332 applicable cases of large exponents.
24335 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24336 (__ieee754_pow): Use iterative multiplication algorithm only for
24337 integer exponents with absolute value below 1024. Check for odd
24338 integer exponents when using algorithm for real exponents.
24339 * math/libm-test.inc (pow_test): Add more tests.
24340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24342 2012-04-08 Joseph Myers <joseph@codesourcery.com>
24345 * math/libm-test.inc (exp_test): Do not allow overflow exception
24348 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24351 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24352 instead of __kernel_standard_f.
24354 2012-04-08 Mike Frysinger <vapier@gentoo.org>
24356 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24357 * sysdeps/x86_64/memset_chk.S: Likewise.
24359 2012-04-08 Andreas Jaeger <aj@suse.de>
24362 * manual/startup.texi (Environment Access): Describe return value
24363 for putenv and setenv.
24366 * manual/filesys.texi (Directory Entries): Add description for
24370 * manual/filesys.texi (Directory Entries): Clarify that it's file
24371 system not operating system in the description of DT_UNKNOWN.
24374 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24376 2012-04-08 Stephen Compall <s11@member.fsf.org>
24379 * manual/llio.texi (Opening and Closing Files): Add cross
24380 reference to explain mode argument.
24382 2012-04-07 Mike Frysinger <vapier@gentoo.org>
24384 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24385 * sysdeps/x86_64/memset_chk.S: Likewise.
24387 2012-04-07 David S. Miller <davem@davemloft.net>
24389 * elf/elf.h (R_SPARC_WDISP10): Define.
24390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24392 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24393 R_SPARC_SIZE64 and R_SPARC_H34.
24395 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24397 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24398 conditions and remove no longer applicable assertion.
24400 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24402 * bits/byteswap.h: Include <features.h>.
24403 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24404 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24406 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24408 * bits/byteswap.h (__bswap_16): Removed.
24409 Include <bits/byteswap-16.h> to get __bswap_16.
24410 * sysdeps/i386/bits/byteswap.h: Likewise.
24411 * sysdeps/s390/bits/byteswap.h: Likewise.
24412 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24413 * bits/byteswap-16.h: New file.
24414 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24415 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24416 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24417 * string/Makefile (headers): Add bits/byteswap-16.h.
24419 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24422 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24424 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24425 * nss/tst-nss-static.c: New.
24427 2012-04-06 Robert Millan <rmh@gnu.org>
24430 * manual/llio.texi (File Position Primitive): lseek
24431 refers to WHENCE when it really means OFFSET.
24433 2012-04-06 Andreas Jaeger <aj@suse.de>
24435 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24436 strncmp declarations.
24438 * abilist/libc.abilist: Add __poll and __ppoll.
24440 2012-04-05 David S. Miller <davem@davemloft.net>
24442 * scripts/check-local-headers.sh: Accept a host triplet in the
24443 path matched by the exclude regexp.
24445 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24447 * sysdeps/powerpc/powerpc32/dl-machine.h
24448 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24449 * sysdeps/s390/s390-32/dl-machine.h
24450 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24451 * sysdeps/sparc/sparc32/dl-machine.h
24452 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24453 * sysdeps/sparc/sparc64/dl-machine.h
24454 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24456 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24458 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24459 undefined symbol errors.
24461 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24464 2012-04-05 Michael Matz <matz@suse.de>
24467 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24469 2012-04-05 Andreas Jaeger <aj@suse.de>
24472 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24475 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24477 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24478 which ROUND is no valid rounding mode.
24480 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24482 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24484 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24486 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24488 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24489 an exception using FPU order intentionally.
24491 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24493 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24494 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24495 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24496 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24498 2012-04-05 Simon Josefsson <simon@josefsson.org>
24501 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24502 EINVAL when BUFLEN is too smal.
24504 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24507 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24508 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24510 2012-04-03 Andreas Jaeger <aj@suse.de>
24513 * manual/setjmp.texi (System V contexts): Fix sentence.
24516 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24517 New macro for this case.
24518 [!__GNUC__] (__bswap_64): New inline function for this case.
24519 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24520 * bits/byteswap.h: Likewise.
24521 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24522 ull, guard with __GLIBC_HAVE_LONG_LONG.
24524 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24525 __GLIBC_HAVE_LONG_LONG.
24527 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24528 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24530 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24533 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24534 inptr and inend, rather than using last_ch.
24536 2012-04-02 David S. Miller <davem@davemloft.net>
24538 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24539 * stdio-common/printf-parse.h (read_int): Change return type to
24540 'int', return -1 on INT_MAX overflow.
24541 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24542 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24543 overflows INT_MAX. Check for overflow of in-format-string precision
24544 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24545 SIZE_MAX not INT_MAX for integer overflow test.
24546 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24547 skip the construct in the format string but do not record anything.
24548 * stdio-common/bug22.c: Adjust to test both width/prevision
24549 INT_MAX overflow as well as total length INT_MAX overflow. Check
24550 explicitly for proper errno values.
24552 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24554 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24556 * string/test-strcmp.c [! WIDE]: Likewise.
24557 * time/tst-mktime2.c: Likewise for INT_MAX.
24558 * string/test-string.h: #include <sys/param.h> for MIN.
24560 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24561 * sysdeps/i386/init-first.c (init): Likewise.
24562 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24563 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24564 * sysdeps/sh/init-first.c (init): Likewise.
24566 2012-04-01 Ulrich Drepper <drepper@gmail.com>
24568 * po/ru.po: Update from translation team.
24569 * po/vi.po: Likewise.
24571 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24573 * resolv/nss_dns/dns-host.c: Merge copyright years.
24575 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24578 Optimize memcpy with prefetch if
24579 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24580 src, dst pointers have unequal 16 byte alignments.
24582 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24585 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24586 from a CNAME entry and return the minimum ttl for the query.
24587 (gaih_getanswer_slice): Likewise.
24589 2012-03-30 Jeff Law <law@redhat.com>
24591 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24593 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24594 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24596 * resolv/nss_dns/dns-host.c: Update copyright year.
24598 2012-03-30 Ulrich Drepper <drepper@gmail.com>
24600 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
24601 requests to save a system call. Fix check that all bytes are sent.
24603 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24604 comments for sendmmsg.
24606 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24609 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24610 with only 1 character between 0x0041 and 0x01b0.
24611 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24612 * wcsmbs/tst-mbsnrtowcs.c: New file.
24614 2012-03-29 David S. Miller <davem@davemloft.net>
24616 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24617 small copies by hand.
24619 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24622 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24623 _nss_compat_initgroups_dyn): Fall back to malloc/free
24624 for large group memberships.
24626 2012-03-28 David S. Miller <davem@davemloft.net>
24628 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24629 that branches into memcpy.
24630 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24631 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24632 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24633 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24634 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24636 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24637 implementation too.
24638 * sysdeps/sparc/mempcpy.S: New file.
24640 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24641 the IFUNC routine in the libc case.
24642 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24644 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24645 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24646 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24647 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24648 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24649 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24650 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24651 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24653 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24654 loop to 256 bytes instead of 64 bytes and fix test signedness.
24656 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24657 * sysdeps/sparc/sparc32/Makefile: rather than here...
24658 * sysdeps/sparc/sparc64/Makefile: and here.
24660 2012-03-28 Ulrich Drepper <drepper@gmail.com>
24662 * malloc/mallocbug.c: Avoid warnings about unused variables.
24664 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24667 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24668 in the right place. Discard and retry query if response is
24669 larger than input buffer size.
24671 2012-03-28 Joseph Myers <joseph@codesourcery.com>
24676 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24677 x for large integer exponent.
24678 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24679 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24680 sign of result as needed afterwards.
24681 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24682 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24683 result for underflowing pow the same as for overflow.
24684 (__kernel_standard_l): Handle powl overflow and underflow here
24685 rather than calling __kernel_standard.
24686 * math/libm-test.inc (pow_test): Add more tests.
24701 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24702 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24703 (__kernel_standard_l): New function.
24704 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24706 * math/w_acosl.c (__acosl): Likewise.
24707 * math/w_asinl.c (__asinl): Likewise.
24708 * math/w_atan2l.c (__atan2l): Likewise.
24709 * math/w_atanhl.c (__atanhl): Likewise.
24710 * math/w_coshl.c (__coshl): Likewise.
24711 * math/w_exp10l.c (__exp10l): Likewise.
24712 * math/w_exp2l.c (__exp2l): Likewise.
24713 * math/w_fmodl.c (__fmodl): Likewise.
24714 * math/w_hypotl.c (__hypotl): Likewise.
24715 * math/w_j0l.c (__j0l, __y0l): Likewise.
24716 * math/w_j1l.c (__j1l, __y1l): Likewise.
24717 * math/w_jnl.c (__jnl, __ynl): Likewise.
24718 * math/w_lgammal.c (__lgammal): Likewise.
24719 * math/w_log10l.c (__log10l): Likewise.
24720 * math/w_log2l.c (__log2l): Likewise.
24721 * math/w_logl.c (__logl): Likewise.
24722 * math/w_powl.c (__powl): Likewise.
24723 * math/w_remainderl.c (__remainderl): Likewise.
24724 * math/w_scalbl.c (sysv_scalbl): Likewise.
24725 * math/w_sinhl.c (__sinhl): Likewise.
24726 * math/w_sqrtl.c (__sqrtl): Likewise.
24727 * math/w_tgammal.c (__tgammal): Likewise.
24728 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24729 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24730 * math/libm-test.inc (acos_test): Add more tests.
24731 (acosh_test): Likewise.
24732 (asin_test): Likewise.
24733 (atanh_test): Likewise.
24734 (exp_test): Likewise.
24735 (exp10_test): Likewise.
24736 (exp2_test): Likewise.
24737 (expm1_test): Likewise.
24738 (lgamma_test): Likewise.
24739 (log_test): Likewise.
24740 (log10_test): Likewise.
24741 (log1p_test): Likewise.
24742 (log2_test): Likewise.
24743 (pow_test): Do not allow some spurious overflow exceptions.
24744 (sqrt_test): Add more tests.
24745 (tgamma_test): Likewise.
24746 (y0_test): Likewise.
24747 (y1_test): Likewise.
24748 (yn_test): Likewise.
24750 2012-03-27 Anton Blanchard <anton@samba.org>
24752 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24754 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24755 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24756 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24758 2012-03-27 David S. Miller <davem@davemloft.net>
24760 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24762 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24763 have-as-vis3 check.
24765 2012-03-27 Andreas Jaeger <aj@suse.de>
24767 * sysdeps/x86_64/elf/configure.in: Moved to ...
24768 * sysdeps/x86_64/configure.in: ... here.
24769 * sysdeps/x86_64/elf/start.S: Moved to ...
24770 * sysdeps/x86_64/start.S: ... here.
24771 * sysdeps/x86_64/elf/configure: Delete.
24773 * sysdeps/x86_64/configure.in: Merge contents from
24774 sysdeps/i386/configure.in (without i686 check).
24776 * sysdeps/i386/elf/Versions: Merge into ...
24777 * sysdeps/i386/Versions: ... this.
24778 * sysdeps/i386/elf/Versions: Delete file.
24779 * sysdeps/i386/elf/start.S: Moved to ...
24780 * sysdeps/i386/start.S: ...here.
24781 * sysdeps/i386/elf/configure.in: Merge into...
24782 * sysdeps/i386/configure.in: ...here.
24783 * sysdeps/i386/elf/configure.in: Delete file.
24784 * sysdeps/i386/elf/configure: Delete file.
24786 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24787 * debug/backtracesyms.c: ... here.
24788 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24789 * debug/backtracesymsfd.c: ... here.
24790 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24791 * sysdeps/generic/ifunc-sel.h: ... here.
24793 * sysdeps/unix/i386/start.c: Delete file.
24794 * sysdeps/unix/sparc/start.c: Delete file.
24795 * sysdeps/unix/start.c: Delete file.
24797 * sysdeps/sh/elf/configure.in: Moved to ...
24798 * sysdeps/sh/configure.in: ... here.
24799 * sysdeps/sh/elf/start.S: Moved to ...
24800 * sysdeps/sh/start.S: ... here.
24801 * sysdeps/sh/elf/configure: Delete file.
24803 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24804 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24805 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24806 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24807 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24808 * sysdeps/powerpc/powerpc64/start.S: here.
24809 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24810 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24811 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24812 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24813 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24815 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24816 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24817 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24818 * sysdeps/powerpc/powerpc32/start.S: ... here.
24819 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24820 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24821 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24823 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24824 * sysdeps/powerpc/ifunc-sel.h: ... here.
24825 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24826 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24828 * sysdeps/sparc/elf/configure.in: Moved to ...
24829 * sysdeps/sparc/configure.in: ... here.
24830 * sysdeps/sparc/elf/configure: Delete file.
24831 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24832 * sysdeps/sparc/sparc32/start.S: ... here.
24833 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24834 * sysdeps/sparc/sparc64/start.S: ... here.
24835 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24836 * sysdeps/sparc/sparc32/Makefile: ... this.
24837 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24838 * sysdeps/sparc/sparc64/Makefile: ... this.
24840 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24841 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24842 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24843 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24844 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24845 * sysdeps/s390/s390-32/setjmp.S: ... here.
24846 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24847 * sysdeps/s390/s390-32/configure.in: ... here.
24848 * sysdeps/s390/s390-32/elf/configure: Delete file.
24849 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24850 * sysdeps/s390/s390-32/start.S: ... here.
24852 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24853 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24854 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24855 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24856 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24857 * sysdeps/s390/s390-64/setjmp.S: ... here.
24858 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24859 * sysdeps/s390/s390-64/configure.in: ... here
24860 * sysdeps/s390/s390-64/elf/configure: Delete file.
24861 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24862 * sysdeps/s390/s390-64/start.S: ... here.
24863 * sysdeps/s390/s390-64/elf/configure: Delete.
24865 * configure.in: Remove support for elf directories in sysdeps.
24867 * configure: Regenerated.
24868 * sysdeps/i386/configure: Regenerated.
24869 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24870 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24871 * sysdeps/s390/s390-32/configure: Regenerated.
24872 * sysdeps/s390/s390-64/configure: Regenerated.
24873 * sysdeps/sh/configure: Regenerated.
24874 * sysdeps/sparc/configure: Regenerated.
24875 * sysdeps/x86_64/configure: Regenerated.
24877 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24881 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24882 denormal result into account.
24884 2012-03-25 Roland McGrath <roland@hack.frob.com>
24886 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24887 Reported by Allan McRae <allan@archlinux.org>.
24889 2012-03-23 Jeff Law <law@redhat.com>
24891 * nss/getnssent.c (__nss_getent): Fix typo.
24893 2012-03-23 David S. Miller <davem@davemloft.net>
24895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24897 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24899 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24900 to pad to uint64_t for each field.
24901 (dl_tls_index): Replace unsigned long with uint64_t.
24903 2012-03-23 Daniel Jacobowitz <dmj@google.com>
24904 Paul Pluzhnikov <ppluzhnikov@google.com>
24907 * grp/Makefile (otherlibs): Don't set it.
24908 * inet/Makefile (otherlibs): Likewise.
24909 * login/Makefile (otherlibs): Likewise.
24910 * nscd/Makefile (otherlibs): Likewise.
24911 * posix/Makefile (otherlibs): Likewise.
24912 * pwd/Makefile (otherlibs): Likewise.
24913 * rt/Makefile (otherlibs): Likewise.
24914 * sunrpc/Makefile (otherlibs): Likewise.
24915 * nss/Makefile (otherlibs): Likewise.
24916 Add libnss_files to routines and static-only-routines.
24917 ($(objpfx)getent): Remove rule.
24918 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24919 static-only-routines.
24921 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24924 * math/s_cexp.c: Include <float.h>.
24925 (__cexp): Handle exp result overflowing not necessarily
24926 overflowing both real and imaginary parts of result.
24927 * math/s_cexpf.c: Likewise.
24928 * math/s_cexpl.c: Likewise.
24929 * math/libm-test.inc (cexp_test): Add more tests.
24930 * sysdeps/i386/fpu/libm-test-ulps: Update.
24931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24933 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24935 * include/link.h (ELFW): New macro.
24936 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24937 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24939 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24941 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24944 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24946 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24948 (struct La_x32_retval): Likewise.
24950 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24952 * sysdeps/x86_64/preconfigure.in: New file.
24953 * sysdeps/x86_64/preconfigure: New generated file.
24955 2012-03-22 Joseph Myers <joseph@codesourcery.com>
24958 * math/e_exp2l.c: Include <float.h>.
24959 (__ieee754_exp2l): Handle overflow and underflow cases
24960 separately. Only pass fractional part of argument to
24962 * math/libm-test.inc (exp2_test): Add more tests.
24964 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24965 negating x to take absolute value.
24966 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24968 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24969 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24971 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24972 computing low part if x was negated.
24973 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24975 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24977 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24978 la_x32_gnu_pltexit.
24979 (pltexit): Cast int_retval to ptrdiff_t.
24980 * elf/tst-auditmod3b.c: Likewise.
24981 * elf/tst-auditmod4b.c: Likewise.
24982 * elf/tst-auditmod5b.c: Likewise.
24983 * elf/tst-auditmod6b.c: Likewise.
24984 * elf/tst-auditmod6c.c: Likewise.
24985 * elf/tst-auditmod7b.c: Likewise.
24987 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24988 and x32_gnu_pltexit.
24990 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24991 __ELF_NATIVE_CLASS.
24992 (La_x32_regs): New macro.
24993 (La_x32_retval): Likewise.
24994 (la_x32_gnu_pltenter): New function prototype.
24995 (la_x32_gnu_pltexit): Likewise.
24997 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24999 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25004 * configure.in (libc_cv_cc_nofma): Check for option to disable
25005 generation of FMA instructions.
25006 * configure: Regenerate.
25007 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25008 * sysdeps/ieee754/dbl-64/Makefile: New file.
25009 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25010 Remove brandred-fma4.
25011 (CFLAGS-brandred-fma4.c): Remove.
25012 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25013 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25015 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25018 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25020 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25021 LLONG_MAX != LONG_MAX.
25022 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25023 (_fitoa_word): Likewise.
25024 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25025 LLONG_MAX != LONG_MAX.
25026 * stdio-common/_itowa.h: Include <_itoa.h>.
25027 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25028 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25029 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25030 only if not defined.
25031 (_ITOA_WORD_TYPE): Likewise.
25032 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25033 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25035 2012-03-21 David S. Miller <davem@davemloft.net>
25037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25039 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25041 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25042 of x86_64 when setting libc_cv_slibdir, libdir and
25044 * sysdeps/unix/sysv/linux/configure: Regenerated.
25046 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25048 * manual/lang.texi (Old Varargs): Remove section.
25049 (How Variadic): Update menu.
25050 (va_start): Do not mention varargs.h.
25052 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25053 Joseph Myers <joseph@codesourcery.com>
25055 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25057 * configure: Regenerated.
25059 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25061 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25062 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25065 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25068 * Makefile (files-for-dist): Remove NOTES.
25069 (NOTES): Remove rule.
25070 * README: Don't refer to NOTES.
25071 * manual/creature.texi: Don't include macros.texi.
25072 * manual/intro.texi (creature.texi): Remove comment referring to
25075 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25076 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25077 * configure: Regenerated.
25078 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25079 LIBC_TRY_CC_OPTION.
25080 (libc_cv_as_i686): Likewise.
25081 (libc_cv_cc_avx): Likewise.
25082 (libc_cv_cc_sse2avx): Likewise.
25083 (libc_cv_cc_fma4): Likewise.
25084 (libc_cv_cc_novzeroupper): Likewise.
25085 * sysdeps/i386/configure: Regenerated.
25088 * sysdeps/i386/fpu/s_cexp.S: Remove.
25089 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25090 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25091 * math/libm-test.inc (cexp_test): Add more tests.
25092 * sysdeps/i386/fpu/libm-test-ulps: Update.
25093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25095 2012-03-21 Allan McRae <allan@archlinux.org>
25097 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25099 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25102 * math/w_exp2.c: Do not include <float.h>.
25103 (o_threshold, u_threshold): Remove.
25104 (__exp2): Calculate result before checking finiteness and calling
25106 * math/w_exp2f.c: Likewise.
25107 * math/w_exp2l.c: Likewise.
25108 * math/libm-test.inc (exp2_test): Require overflow exception for
25112 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25113 range of signed 64-bit integers before using fistpll. Remove
25114 checks for whether integers fit in mantissa bits.
25115 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25116 the range of signed 32-bit integers before using fistpl. Remove
25117 checks for whether integers fit in mantissa bits.
25118 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25119 (__ieee754_powl): Test for y outside the range of signed 64-bit
25120 integers before using fistpll. Reduce 64-bit values to 63-bit
25122 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25123 divide-by-zero is raised for zero to large negative powers.
25124 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25125 (__ieee754_powl): Test for y outside the range of signed 64-bit
25126 integers before using fistpll. Reduce 64-bit values to 63-bit
25128 * math/libm-test.inc (pow_test): Add more tests.
25130 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25132 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25133 <stdio-common/_itoa.h>.
25134 * debug/segfault.c: Likewise.
25135 * elf/dl-cache.c: Likewise.
25136 * elf/dl-minimal.c: Likewise.
25137 * elf/dl-misc.c: Likewise.
25138 * elf/dl-sysdep.c: Likewise.
25139 * elf/dl-version.c: Likewise.
25140 * elf/rtld.c: Likewise.
25141 * hurd/hurdsock.c: Likewise.
25142 * hurd/lookup-retry.c: Likewise.
25143 * malloc/malloc.c: Likewise.
25144 * malloc/mtrace.c: Likewise.
25145 * nscd/nscd_getgr_r.c: Likewise.
25146 * nscd/nscd_getpw_r.c: Likewise.
25147 * nscd/nscd_getserv_r.c: Likewise.
25148 * posix/getopt_init.c: Likewise.
25149 * posix/wordexp.c: Likewise.
25150 * stdio-common/_itoa.c: Likewise.
25151 * stdio-common/printf_fphex.c: Likewise.
25152 * stdio-common/vfprintf.c: Likewise.
25153 * string/_strerror.c: Likewise.
25154 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25155 * sysdeps/i386/i686/hp-timing.h: Likewise.
25156 * sysdeps/mach/_strerror.c: Likewise.
25157 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25158 * sysdeps/mach/hurd/sethostid.c: Likewise.
25159 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25160 * sysdeps/mach/xpg-strerror.c: Likewise.
25161 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25162 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25163 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25164 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25165 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25166 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25167 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25168 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25169 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25170 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25171 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25172 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25173 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25174 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25175 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25176 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25177 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25178 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25179 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25180 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25181 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25183 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25185 * stdio-common/_itoa.h: Moved to ...
25186 * sysdeps/generic/_itoa.h: Here.
25188 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25190 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25191 instead of "_itoa.h" and "_itowa.h".
25192 * stdio-common/vfprintf.: Likewise.
25194 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25196 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25198 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25199 (__signbit): Likwise.
25200 (llrintf): Likwise.
25203 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25205 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25208 2012-03-20 Joseph Myers <joseph@codesourcery.com>
25210 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25211 OVERFLOW_EXCEPTION_OK.
25212 * math/libm-test.inc ("Philosophy"): Update comment about
25214 (OVERFLOW_EXCEPTION): Define.
25215 (OVERFLOW_EXCEPTION_OK): Likewise.
25216 (INVALID_EXCEPTION_OK): Renumber.
25217 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25218 (IGNORE_ZERO_INF_SIGN): Likewise.
25219 (test_exceptions): Handle FE_OVERFLOW.
25220 (exp10_test): Expect overflow exceptions.
25221 (exp2_test): Likewise.
25222 (expm1_test): Likewise.
25223 (nextafter_test): Likewise.
25224 (pow_test): Likewise.
25225 (scalbn_test): Likewise.
25226 (scalbln_test): Likewise.
25228 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25230 * sysdeps/x86_64/bits/atomic.h
25231 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25233 (atomic_exchange_acq): Likewise.
25234 (__arch_exchange_and_add_body): Likewise.
25235 (__arch_add_body): Likewise.
25236 (atomic_add_negative): Likewise.
25237 (atomic_add_zero): Likewise.
25239 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25241 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25242 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25244 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25246 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25247 Check __x86_64__ instead of __WORDSIZE.
25249 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25251 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25253 2012-03-19 David S. Miller <davem@davemloft.net>
25255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25257 * sysdeps/sparc/fpu/fenv_private.h: New file.
25258 * sysdeps/sparc/fpu/math_private.h: Use it.
25259 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25261 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25262 (libc_feholdexcept_setroundl): Remove.
25263 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25265 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25266 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25268 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25270 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25271 int64_t instead of long int.
25272 (INSERT_WORDS64): Likwise.
25274 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25276 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25277 _Unwind_GetCFA return to _Unwind_Ptr first.
25279 2012-03-19 Joseph Myers <joseph@codesourcery.com>
25282 * math/s_clog.c: Include <float.h>.
25283 (__clog): Scale large or subnormal inputs.
25284 * math/s_clogf.c: Likewise.
25285 * math/s_clogl.c: Likewise.
25286 * math/s_clog10.c: Include <float.h>.
25287 (M_LOG10_2): Define.
25288 (__clog10): Scale large or subnormal inputs.
25289 * math/s_clog10f.c: Likewise.
25290 * math/s_clog10l.c: Likewise.
25291 * math/libm-test.inc (clog_test): Add more tests.
25292 (clog10_test): Likewise.
25293 * sysdeps/i386/fpu/libm-test-ulps: Update.
25294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25297 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25299 * math/libm-test.inc (atan2_test): Add another test.
25301 * Makerules (common-objdir-compile): Remove.
25302 * sysdeps/unix/Makefile (config-generated): Do not add
25303 $(unix-generated) to variable.
25304 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25305 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25307 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25309 [generic bits/local_lim.h] (before-compile): Do not append to
25311 [generic bits/local_lim.h] (common-generated): Likewise.
25312 [generic sys/param.h] (before-compile): Do not append to variable.
25313 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25314 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25315 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25316 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25318 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25319 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25320 [generic sys/param.h] ($(addprefix
25321 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25322 [generic sys/param.h] (common-generated): Do not append to
25324 [generic sys/param.h] (sysdep_headers): Likewise.
25325 [generic bits/errno.h] (before-compile): Do not append to
25327 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25329 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25330 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25331 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25332 [generic bits/errno.h] (common-generated): Do not append to
25334 [generic bits/ioctls.h] (before-compile): Do not append to
25336 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25338 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25339 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25340 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25342 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25343 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25344 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25345 [generic bits/ioctls.h] (common-generated): Do not append to
25347 [generic sys/syscall.h] (syscall.h): Remove variable.
25348 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25350 [generic sys/syscall.h] (before-compile): Do not append to
25352 [generic sys/syscall.h] (common-generated): Likewise.
25353 * sysdeps/unix/errnos-tmpl.c: Remove file.
25354 * sysdeps/unix/errnos.awk: Likewise.
25355 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25356 * sysdeps/unix/ioctls.awk: Likewise.
25357 * sysdeps/unix/mk-local_lim.c: Likewise.
25358 * sysdeps/unix/snarf-ioctls: Likewise.
25360 2012-03-19 Richard Henderson <rth@twiddle.net>
25362 * sysdeps/i386/fpu/fenv_private.h: New file.
25363 * sysdeps/i386/fpu/math_private.h: Use it.
25364 (math_opt_barrier, math_force_eval): Remove.
25365 (libc_feholdexcept_setround_53bit): Remove.
25366 (libc_feupdateenv_53bit): Remove.
25367 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25368 (math_opt_barrier, math_force_eval): Remove.
25369 (libc_feholdexcept): Remove.
25370 (libc_feholdexcept_setround): Remove.
25371 (libc_fetestexcept, libc_fesetenv): Remove.
25372 (libc_feupdateenv_test): Remove.
25373 (libc_feupdateenv, libc_feholdsetround): Remove.
25374 (libc_feresetround): Remove.
25376 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25377 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25379 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25380 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25381 (libc_feupdateenv_testl): New.
25382 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25383 (libc_feupdateenv_testf): New.
25384 (libc_feupdateenv): Use libc_feupdateenv_test.
25385 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25386 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25388 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25389 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25390 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25391 (libc_feresetround_noex): New.
25392 (libc_feresetround_noexf): New.
25393 (libc_feresetround_noexl): New.
25394 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25395 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25396 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25397 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25399 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25400 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25402 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25403 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25404 SET_RESTORE_ROUND_NOEX.
25405 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25406 SET_RESTORE_ROUND_NOEXF.
25407 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25408 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25409 (libc_feholdsetroundf): New.
25410 (libc_feresetround, libc_feresetroundf): New.
25412 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25413 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25414 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25416 * sysdeps/generic/math_private.h: Include <fenv.h>.
25417 (default_libc_feholdexcept): New.
25418 (default_libc_feholdexcept_setround): New.
25419 (default_libc_fesetenv, default_libc_feupdateenv): New.
25420 (libc_feholdexcept): Only define if undefined.
25421 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25422 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25423 (libc_feholdexcept_setroundl): Likewise.
25424 (libc_feholdexcept_setround_53bit): Likewise.
25425 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25426 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25427 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25428 (libc_feupdateenv_53bit): Likewise.
25429 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25430 (libc_feholdexcept): Convert from macro to inline function.
25431 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25432 (libc_fesetenv, libc_feupdateenv): Likewise.
25434 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25435 not previously defined.
25436 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25437 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25438 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25439 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25440 * sysdeps/ieee754/flt-32/math_private.h: New file.
25441 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25442 math_private.h below SET_FLOAT_WORD.
25443 (__isnan, __isinf_ns, __finite): Remove.
25444 (__isnanf, __isinf_nsf, __finitef): Remove.
25446 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25450 2012-03-17 David S. Miller <davem@davemloft.net>
25453 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25456 2012-03-16 David S. Miller <davem@davemloft.net>
25458 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25462 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25464 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25465 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25466 sysdep_routines when subdir is sysvipc.
25467 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25468 __getshmlba helper.
25470 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25472 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25474 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25477 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25479 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25480 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25481 (__lround): Renamed to ...
25482 (__llround): This. Replace long int with long long int.
25483 Define lround functions as aliases of llround functions.
25484 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25486 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25488 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25489 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25490 adresses to uintptr_t. Replace "long int" and "unsigned long
25491 int" with "greg_t" on va_arg.
25493 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25495 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25496 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25498 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25499 Move e_machine check before EI_CLASS check. Handle x32
25500 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25501 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25502 SKIP_EM_IA_64 and include
25503 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25505 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25506 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25507 (add_system_dir): New macro.
25509 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25510 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25512 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25523 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25525 * math/w_j0f.c (j0f): Likewise.
25527 * math/w_j0l.c (__j0l): Likewise.
25529 * math/w_j1.c (j1): Likewise.
25531 * math/w_j1f.c (j1f): Likewise.
25533 * math/w_j1l.c (__j1l): Likewise.
25535 * math/w_jn.c (jn): Likewise.
25537 * math/w_jnf.c (jnf): Likewise.
25539 * math/w_jnl.c (__jnl): Likewise.
25541 * math/libm-test.inc (j0_test): Add more tests.
25542 (j1_test): Likewise.
25543 (jn_test): Likewise. Add trailing semicolon to existing test.
25544 (y0_test): Likewise.
25545 (y1_test): Likewise.
25546 * sysdeps/i386/fpu/libm-test-ulps: Update.
25547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25551 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25552 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25553 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25554 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25555 (__tanl): Set errno for infinite argument.
25556 * sysdeps/i386/fpu/mptan.c: Remove.
25557 * sysdeps/i386/fpu/s_tan.S: Likewise.
25558 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25559 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25560 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25561 * math/libm-test.inc (tan_test): Add more tests and enable more
25562 tests for double and long double.
25563 * sysdeps/i386/fpu/libm-test-ulps: Update.
25564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25566 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25568 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25569 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25571 2012-03-16 Roland McGrath <roland@hack.frob.com>
25573 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25574 * configure.in: Use it for both main tree and add-ons.
25575 * configure: Regenerated.
25577 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25579 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25581 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25583 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25587 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25588 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25593 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25595 != 0 for prec == 2.
25596 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25597 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25598 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25599 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25600 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25601 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25602 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25603 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25604 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25605 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25606 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25607 * math/libm-test.inc (cos_test): Add more tests and enable more
25608 tests for long double.
25609 (sin_test): Likewise.
25610 (sincos_test): Likewise.
25611 * sysdeps/i386/fpu/libm-test-ulps: Update.
25612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25614 2012-03-16 David S. Miller <davem@davemloft.net>
25616 * sysdeps/sparc/fpu/math_private.h: New file.
25618 2012-03-15 David S. Miller <davem@davemloft.net>
25620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
25623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25630 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25634 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25635 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25637 * sysdeps/sparc/sparc-ifunc.h: New file.
25638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
25654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25662 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25676 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25677 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25680 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25681 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25683 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25685 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25689 2012-03-15 Andreas Jaeger <aj@suse.de>
25692 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25693 ieee754/flt-32 implementation for sin, cos and sincos.
25694 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25695 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25696 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25697 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25698 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25699 ieee754/flt-32 implementation for tan.
25701 * math/libm-test.inc (cos_test): Enable some large input tests for
25703 (sin_test): Likewise.
25704 (sincos_test): Likewise.
25705 (tan_test): Add tests for large input.
25707 * sysdeps/i386/fpu/libm-test-ulps: Update.
25709 2012-03-15 Andreas Jaeger <aj@suse.de>
25712 * math/libm-test.inc (cos_test): Add more test cases.
25713 (sin_test): Likewise.
25714 (sincos_test): Likewise.
25716 2012-03-15 Andreas Jaeger <aj@suse.de>
25719 * math/libm-test.inc (cos_test): Add a test case for large input
25721 (sin_test): Likewise.
25722 (sincos_test): Likewise.
25724 2012-03-15 Andreas Jaeger <aj@suse.de>,
25725 Joseph Myers <joseph@codesourcery.com>
25728 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
25729 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25730 * sysdeps/i386/fpu/branred.c: Likewise.
25731 * sysdeps/i386/fpu/dosincos.c: Likewise.
25732 * sysdeps/i386/fpu/mpa.c: Likewise.
25733 * sysdeps/i386/fpu/s_cos.S: Likewise.
25734 * sysdeps/i386/fpu/s_sin.S: Likewise.
25735 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25736 * sysdeps/i386/fpu/sincos32.c: Likewise.
25738 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25740 (libc_feupdateenv_53bit): Define.
25741 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25743 (libc_feupdateenv_53bit): Define.
25745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25746 53 bit (without extend i386 double precision).
25748 * math/libm-test.inc (sincos_test): Add tests for large input.
25752 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25754 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25758 2012-03-15 David S. Miller <davem@davemloft.net>
25760 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25761 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25762 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25763 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25769 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25774 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
25775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
25778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
25781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
25784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25787 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25788 fmin/fmax sysdep routines.
25789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25791 2012-03-14 David S. Miller <davem@davemloft.net>
25793 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25794 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25795 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25796 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25797 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25798 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25799 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25800 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25801 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25805 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25806 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25807 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25808 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25814 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25815 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25816 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25817 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25818 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25819 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25820 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
25821 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
25826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
25829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
25832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
25835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
25838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
25853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
25856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
25859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
25862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25865 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25870 * sysdeps/sparc/configure.in: New file.
25871 * sysdeps/sparc/configure: Generate.
25872 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25873 * configure: Regenerate.
25874 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25875 * config.make.in (have-as-vis3): New.
25876 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25877 available use -Av9d instead of -Av9a.
25878 * sysdeps/sparc/sparc64/Makefile: Likewise.
25879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
25880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25888 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25889 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25890 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25891 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25892 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25894 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25895 fzeros/fnegs to load 0x80000000 into a float register instead of
25897 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25899 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25903 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25904 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25905 ($(inst_includedir)/bits/syscall.h): Remove rule.
25906 ($(objpfx)bits/syscall.d): Include instead of
25907 $(objpfx)syscall-list.d.
25908 (generated): Change syscall-list.h and syscall-list.d to
25909 bits/syscall.h and bits/syscall.d.
25911 2012-03-14 Roland McGrath <roland@hack.frob.com>
25914 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25916 2012-03-14 Joseph Myers <joseph@codesourcery.com>
25919 * math/s_csqrt.c: Include <float.h>.
25920 (__csqrt): Scale large or subnormal inputs.
25921 * math/s_csqrtf.c: Likewise.
25922 * math/s_csqrtl.c: Likewise.
25923 * math/libm-test.inc (csqrt_test): Add more tests.
25924 * sysdeps/i386/fpu/libm-test-ulps: Update.
25925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25928 * math/libm-test.inc (hypot_test): Add more tests.
25930 2012-03-13 David S. Miller <davem@davemloft.net>
25933 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25934 double-precision for the calculation instead of scaling.
25936 2012-03-13 Joseph Myers <joseph@codesourcery.com>
25938 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25939 manipulate bits before adding and subtracting TWO52[sx].
25940 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25941 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25943 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25945 2012-03-13 David S. Miller <davem@davemloft.net>
25947 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25948 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25950 rtld-global-offsets.h
25951 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25953 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25956 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25958 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25959 'err' in the ifdef scope in which it is actually used.
25961 * nss/nss_db/db-init.c: Include string.h
25963 2012-03-12 David S. Miller <davem@davemloft.net>
25965 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25966 masking out of the most significant byte of random value used.
25967 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25968 Fix coding style in previous change.
25970 * sysdeps/unix/sysv/linux/kernel-features.h
25971 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25972 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25974 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25977 2012-03-11 David S. Miller <davem@davemloft.net>
25979 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25980 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25981 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25982 for 'resultvar' otherwise things get truncated on 64-bit.
25984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25985 Fix masking out of the most significant byte of random value used.
25987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25989 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25993 2012-03-09 David S. Miller <davem@davemloft.net>
25995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25996 variables with appropriate CPP guards.
25997 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25998 frame pointer, not the stack pointer. Correct layout comments. Fix test
25999 on resulting framesize and the management of the outregs buffer for pltexit.
26000 Preserve floating point return values across _dl_call_pltexit call.
26001 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26002 framesize and the management of the outregs buffer for pltexit.
26003 Preserve floating point return values across _dl_call_pltexit
26005 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26006 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26007 (print_exit): Fix format string for return register value.
26009 2012-03-10 Joseph Myers <joseph@codesourcery.com>
26011 * sunrpc/Makefile (others): Add rpcgen.
26012 ($(objpfx)rpcgen): Remove special build rule and dependency on
26014 * sunrpc/rpcgen.c: New file.
26016 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26019 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26020 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26021 * sysdeps/i386/crti.S: Likewise.
26022 * sysdeps/i386/crtn.S: Likewise.
26023 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26024 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26025 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26026 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26027 * sysdeps/sh/crti.S: Likewise.
26028 * sysdeps/sh/crtn.S: Likewise.
26029 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26032 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26034 * locale/programs/locfile-kw.gperf: Likewise.
26035 * locale/programs/charmap-kw.h: Regenerated.
26036 * locale/programs/locfile-kw.h: Likewise.
26039 * intl/plural.y: Replace FSF snail mail address with URL.
26040 * intl/plural.c: Regenerated.
26042 2012-03-09 Richard Henderson <rth@twiddle.net>
26044 * include/math_private.h: Remove file.
26045 * math/math_private.h: Move file ...
26046 * sysdeps/generic/math_private.h: ... here.
26048 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26049 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26050 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26052 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26053 and <math_private.h>.
26054 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26055 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26056 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26057 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26058 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26059 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26060 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26062 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26063 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26066 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26067 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26068 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26075 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26076 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26078 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26079 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26080 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26083 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26084 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26086 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26087 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26088 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26089 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26090 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26091 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26092 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26093 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26094 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26095 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26096 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26097 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26098 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26099 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26100 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26101 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26102 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26103 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26104 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26105 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26106 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26107 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26108 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26109 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26110 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26111 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26112 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26121 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26122 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26123 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26124 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26127 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26129 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26130 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26131 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26133 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26134 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26135 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26136 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26137 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26138 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26139 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26141 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26142 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26143 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26144 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26145 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26146 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26147 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26148 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26149 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26150 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26151 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26152 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26153 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26154 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26155 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26156 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26157 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26158 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26159 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26160 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26161 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26162 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26163 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26164 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26165 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26166 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26167 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26168 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26169 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26170 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26171 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26172 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26173 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26174 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26175 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26176 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26177 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26178 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26179 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26180 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26181 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26182 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26183 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26184 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26185 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26186 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26187 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26188 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26189 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26190 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26191 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26192 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26193 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26194 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26195 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26196 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26197 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26198 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26199 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26200 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26201 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26202 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26203 * sysdeps/ieee754/k_standard.c: Likewise.
26204 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26205 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26207 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26208 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26209 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26210 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26211 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26212 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26213 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26214 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26215 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26216 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26217 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26218 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26220 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26221 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26222 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26223 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26224 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26225 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26226 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26227 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26228 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26229 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26230 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26231 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26232 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26233 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26234 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26235 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26236 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26237 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26238 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26239 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26240 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26241 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26242 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26243 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26244 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26245 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26246 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26247 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26248 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26249 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26250 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26251 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26252 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26253 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26254 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26255 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26256 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26260 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26261 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26262 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26263 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26267 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26268 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26270 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26271 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26272 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26275 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26276 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26277 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26278 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26279 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26280 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26281 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26282 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26283 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26284 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26285 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26286 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26287 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26288 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26289 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26290 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26292 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26294 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26295 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26296 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26297 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26299 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26303 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26304 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26305 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26306 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26307 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26308 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26309 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26310 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26311 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26312 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26313 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26314 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26315 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26316 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26317 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26318 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26319 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26321 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26322 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26323 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26325 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26326 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26327 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26328 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26329 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26330 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26331 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26332 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26333 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26335 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26336 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26337 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26338 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26339 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26340 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26341 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26342 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26343 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26344 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26345 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26346 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26347 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26348 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26349 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26350 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26351 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26352 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26353 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26354 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26355 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26356 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26357 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26358 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26359 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26360 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26361 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26362 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26363 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26364 * sysdeps/ieee754/s_lib_version.c: Likewise.
26365 * sysdeps/ieee754/s_matherr.c: Likewise.
26366 * sysdeps/ieee754/s_signgam.c: Likewise.
26367 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26368 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26369 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26370 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26371 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26372 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26373 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26374 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26375 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26376 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26377 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26378 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26379 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26380 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26381 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26382 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26383 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26384 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26385 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26387 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26389 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26391 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26392 * sunrpc/rpc_main.c: Likewise.
26393 * sunrpc/rpc_svcout.c: Likewise.
26395 2012-03-09 David S. Miller <davem@davemloft.net>
26397 * include/math_private.h: New file.
26399 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26401 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26402 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26403 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26404 from <bits/socket_type.h>.
26405 (enum __socket_type): Don't define here.
26406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26407 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26408 bits/socket_type.h.
26411 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26412 checking __USE_GNU.
26414 * Makerules ($(inst_includedir)/%.h): New rule.
26415 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26416 (install-others): Remove variable setting.
26417 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26419 2012-03-08 Richard Henderson <rth@twiddle.net>
26421 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26422 from macro to inline function; merge with the
26423 !__LIBC_INTERNAL_MATH_INLINES version.
26424 (__ieee754_sqrtf): Likewise.
26426 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26427 to inline function.
26428 (__rintf, __floor, __floorf): Likewise.
26430 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26431 macro to inline function.
26432 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26434 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26435 not <math/math_private.h>.
26437 2012-03-08 David S. Miller <davem@davemloft.net>
26439 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26441 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26443 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26445 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26447 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26448 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26450 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26452 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26453 be defined individually, they must be defined as a block. Define
26454 S for printing a string instead of hidint the different by using a
26455 macro for adding the 'l'.
26456 * stdio-common/tst-fphex-wide.c: Adjust.
26458 2012-03-07 Marek Polacek <polacek@redhat.com>
26460 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26462 2012-03-08 Marek Polacek <polacek@redhat.com>
26465 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26466 * stdio-common/tst-fphex.c: Define a few macros to make the
26467 test reusable. Use them.
26468 * stdio-common/tst-fphex-wide.c: New file.
26470 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26473 * manual/macros.texi (gnusystems): New macro.
26474 (nongnusystems): Likewise.
26475 (gnulinuxhurdsystems): Likewise.
26476 (gnuhurdsystems): Likewise..
26477 (gnulinuxsystems): Likewise.
26478 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26479 variants of the GNU system, not "GNU system".
26480 * manual/conf.texi: Likewise.
26481 * manual/errno.texi: Likewise. Update example of errno macro
26483 * manual/filesys.texi: Likewise.
26484 (getumask): Document as specific to GNU/Hurd.
26485 * manual/install.texi: Likewise. Reword some references to
26487 * manual/intro.texi: Likewise.
26488 * manual/io.texi: Likewise.
26489 (File Name Portability): Detail which constraints are inapplicable
26490 to all GNU systems and which are only inapplicable to GNU/Hurd.
26491 * manual/job.texi: Likewise.
26492 * manual/llio.texi: Likewise.
26493 (O_NOCTTY): Document as present on GNU/Linux.
26494 * manual/maint.texi: Likewise.
26495 * manual/memory.texi: Likewise.
26496 * manual/pattern.texi: Likewise.
26497 * manual/pipe.texi: Likewise.
26498 * manual/process.texi: Likewise.
26499 * manual/resource.texi: Likewise.
26500 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26502 * manual/setjmp.texi: Likewise.
26503 * manual/signal.texi: Likewise.
26504 * manual/startup.texi: Likewise.
26505 * manual/stdio.texi: Likewise.
26506 * manual/terminal.texi: Likewise.
26507 (ONLCR): Document as POSIX.
26508 (OXTABS): Document availability on GNU/Linux as XTABS.
26509 (ONOEOT): Document availability separately from other bits.
26510 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26511 * manual/time.texi: Likewise.
26512 * manual/users.texi: Likewise.
26513 * INSTALL: Regenerated.
26514 * sysdeps/gnu/errlist.c: Regenerated.
26516 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26517 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26518 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26520 * configure: Regenerated.
26522 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26524 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26525 default includes instead of AC_HEADER_CHECK.
26526 * sysdeps/i386/configure: Regenerated.
26529 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26530 * math/s_cacoshf.c (__cacoshf): Likewise.
26531 * math/s_cacoshl.c (__cacoshl): Likewise.
26532 * math/s_casinh.c (__casinh): Set signs of result from argument.
26533 * math/s_casinhf.c (__casinhf): Likewise.
26534 * math/s_casinhl.c (__casinhl): Likewise.
26535 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26536 (casinh_test): Add more tests.
26537 * sysdeps/i386/fpu/libm-test-ulps: Update.
26538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26540 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26542 * po/zh_TW.po: Update from translation team.
26544 * login/Makefile (distribute): Remove variable.
26545 * catgets/Makefile: Likewise.
26546 * mach/Makefile: Likewise.
26547 * malloc/Makefile: Likewise.
26548 * misc/Makefile: Likewise.
26549 * iconv/Makefile: Likewise.
26550 * nscd/Makefile: Likewise.
26551 * hurd/Makefile: Likewise.
26552 * manual/Makefile: Likewise.
26553 * locale/Makefile: Likewise.
26554 * intl/Makefile: Likewise.
26555 * conform/Makefile: Likewise.
26556 * nss/Makefile: Likewise.
26557 * time/Makefile: Likewise.
26558 * soft-fp/Makefile: Likewise.
26559 * dirent/Makefile: Likewise.
26560 * gmon/Makefile: Likewise.
26561 * po/Makefile: Likewise.
26562 * rt/Makefile: Likewise.
26563 * socket/Makefile: Likewise.
26564 * math/Makefile: Likewise.
26565 * signal/Makefile: Likewise.
26566 * debug/Makefile: Likewise.
26567 * elf/Makefile: Likewise.
26568 * timezone/Makefile: Likewise.
26569 * stdlib/Makefile: Likewise.
26570 * iconvdata/Makefile: Likewise.
26571 * sunrpc/Makefile: Likewise.
26572 * io/Makefile: Likewise.
26573 * argp/Makefile: Likewise.
26574 * inet/Makefile: Likewise.
26575 * hesiod/Makefile: Likewise.
26576 * grp/Makefile: Likewise.
26577 * csu/Makefile: Likewise.
26578 * wctype/Makefile: Likewise.
26579 * crypt/Makefile: Likewise.
26580 * libio/Makefile: Likewise.
26581 * string/Makefile: Likewise.
26582 * nis/Makefile: Likewise.
26583 * resolv/Makefile: Likewise.
26584 * stdio-common/Makefile: Likewise.
26585 * wcsmbs/Makefile: Likewise.
26586 * dlfcn/Makefile: Likewise.
26587 * posix/Makefile: Likewise.
26590 * timezone/Makefile: Don't install timezone files, just the programs
26593 2012-03-06 Ulrich Drepper <drepper@gmail.com>
26595 * nss/databases.def: Add missing gshadow entry.
26597 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26599 2012-03-06 Marek Polacek <polacek@redhat.com>
26602 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26603 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26604 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26605 * stdio-common/tst-long-dbl-fphex.c: New file.
26607 2012-03-06 David S. Miller <davem@davemloft.net>
26609 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26610 (set_obp_int): New function.
26611 (get_obp_int): New function.
26612 (__get_clockfreq_via_dev_openprom): Likewise.
26613 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26614 Avoid unused variable warnings on 'val' and use builtin_expect.
26615 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26617 (INLINE_CLONE_SYSCALL): Likewise.
26619 2012-03-05 David S. Miller <davem@davemloft.net>
26621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26623 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26627 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26628 only for |x| >= 40.
26629 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26631 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
26633 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26634 Replace gettimeofday with __vdso_gettimeofday.
26636 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26637 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26638 __vdso_clock_gettime and __vdso_getcpu.
26640 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26641 time with __vdso_time.
26643 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26645 * manual/lang.texi (size_t): Note types to which size_t may be
26646 equivalent with the GNU C Library, but do not describe when
26647 differences between them are significant.
26649 2012-03-05 Andreas Jaeger <aj@suse.de>
26651 * sysdeps/i386/fpu/libm-test-ulps: Update.
26653 2012-03-05 Joseph Myers <joseph@codesourcery.com>
26656 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26657 (__ieee754_pow): Save and restore rounding mode and use
26658 round-to-nearest for main computations.
26659 * math/libm-test.inc (pow_test_tonearest): New function.
26660 (pow_test_towardzero): Likewise.
26661 (pow_test_downward): Likewise.
26662 (pow_test_upward): Likewise.
26663 (main): Call the new functions.
26664 * sysdeps/i386/fpu/libm-test-ulps: Update.
26665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26668 * math/libm-test.inc (cosh_test_tonearest): New function.
26669 (cosh_test_towardzero): Likewise.
26670 (cosh_test_downward): Likewise.
26671 (cosh_test_upward): Likewise.
26672 (sinh_test_tonearest): Likewise.
26673 (sinh_test_towardzero): Likewise.
26674 (sinh_test_downward): Likewise.
26675 (sinh_test_upward): Likewise.
26676 (main): Call the new functions.
26677 * sysdeps/i386/fpu/libm-test-ulps: Update.
26678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26680 2012-03-05 Tom de Vries <tom@codesourcery.com>
26682 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26683 default stack guard is set in last bytes.
26684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26686 2012-03-05 Kees Cook <keescook@chromium.org>
26688 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
26691 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26692 possibly allocate from heap instead of stack.
26693 * stdio-common/bug-vfprintf-nargs.c: New file.
26694 * stdio-common/Makefile (tests): Add nargs overflow test.
26696 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26698 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26700 2012-03-03 Marek Polacek <polacek@redhat.com>
26702 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26703 * math/math_private.h: Likewise.
26704 * stdlib/tst-strtod.c: Likewise.
26705 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26706 * sysdeps/x86_64/bits/atomic.h: Likewise.
26708 2012-03-02 David S. Miller <davem@davemloft.net>
26710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26714 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26715 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26716 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26717 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26719 2012-03-02 Roland McGrath <roland@hack.frob.com>
26722 * manual/examples/README: New file, says the example source files
26723 can be used under GPL>=2.
26724 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26725 line containing just "*/".
26726 * manual/examples/add.c: Add copyright header (GPL>=2).
26727 * manual/examples/argp-ex1.c: Likewise.
26728 * manual/examples/argp-ex2.c: Likewise.
26729 * manual/examples/argp-ex3.c: Likewise.
26730 * manual/examples/argp-ex4.c: Likewise.
26731 * manual/examples/atexit.c: Likewise.
26732 * manual/examples/db.c: Likewise.
26733 * manual/examples/dir.c: Likewise.
26734 * manual/examples/dir2.c: Likewise.
26735 * manual/examples/execinfo.c: Likewise.
26736 * manual/examples/filecli.c: Likewise.
26737 * manual/examples/filesrv.c: Likewise.
26738 * manual/examples/fmtmsgexpl.c: Likewise.
26739 * manual/examples/genpass.c: Likewise.
26740 * manual/examples/inetcli.c: Likewise.
26741 * manual/examples/inetsrv.c: Likewise.
26742 * manual/examples/isockad.c: Likewise.
26743 * manual/examples/longopt.c: Likewise.
26744 * manual/examples/memopen.c: Likewise.
26745 * manual/examples/memstrm.c: Likewise.
26746 * manual/examples/mkfsock.c: Likewise.
26747 * manual/examples/mkisock.c: Likewise.
26748 * manual/examples/mygetpass.c: Likewise.
26749 * manual/examples/pipe.c: Likewise.
26750 * manual/examples/popen.c: Likewise.
26751 * manual/examples/rprintf.c: Likewise.
26752 * manual/examples/search.c: Likewise.
26753 * manual/examples/select.c: Likewise.
26754 * manual/examples/setjmp.c: Likewise.
26755 * manual/examples/sigh1.c: Likewise.
26756 * manual/examples/sigusr.c: Likewise.
26757 * manual/examples/stpcpy.c: Likewise.
26758 * manual/examples/strdupa.c: Likewise.
26759 * manual/examples/strftim.c: Likewise.
26760 * manual/examples/strncat.c: Likewise.
26761 * manual/examples/subopt.c: Likewise.
26762 * manual/examples/swapcontext.c: Likewise.
26763 * manual/examples/termios.c: Likewise.
26764 * manual/examples/testopt.c: Likewise.
26765 * manual/examples/testpass.c: Likewise.
26766 * manual/examples/timeval_subtract.c: Likewise.
26769 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26771 * manual/timeval_subtract.c.texi: ... here, new file.
26773 2012-03-02 David S. Miller <davem@davemloft.net>
26775 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26777 2012-03-02 Joseph Myers <joseph@codesourcery.com>
26780 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26781 (__sin): Save and restore rounding mode and use round-to-nearest
26782 for all computations.
26783 (__cos): Save and restore rounding mode and use round-to-nearest
26784 for all computations.
26785 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26787 (tan): Save and restore rounding mode and use round-to-nearest for
26789 * math/libm-test.inc (cos_test_tonearest): New function.
26790 (cos_test_towardzero): Likewise.
26791 (cos_test_downward): Likewise.
26792 (cos_test_upward): Likewise.
26793 (sin_test_tonearest): Likewise.
26794 (sin_test_towardzero): Likewise.
26795 (sin_test_downward): Likewise.
26796 (sin_test_upward): Likewise.
26797 (tan_test_tonearest): Likewise.
26798 (tan_test_towardzero): Likewise.
26799 (tan_test_downward): Likewise.
26800 (tan_test_upward): Likewise.
26801 (main): Call the new functions.
26802 * sysdeps/i386/fpu/libm-test-ulps: Update.
26803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26806 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26807 small n, then large n, before computing and testing k+n.
26808 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26809 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26811 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26813 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26814 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26815 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26816 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26817 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26818 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26819 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26820 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26821 * math/libm-test.inc (scalbn_test): Add more tests.
26822 (scalbln_test): Likewise.
26824 * manual/filesys.texi (mode_t): Describe constraints on size and
26825 signedness, not exact equivalence to a particular type.
26827 (ino64_t): Likewise.
26829 (nlink_t): Likewise.
26830 (blkcnt_t): Likewise.
26831 (blkcnt64_t): Likewise.
26832 * manual/llio.texi (off_t): Likewise.
26835 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26836 (__ieee754_exp): Save and restore rounding mode and use
26837 round-to-nearest for all computations.
26838 * math/libm-test.inc (exp_test_tonearest): New function.
26839 (exp_test_towardzero): Likewise.
26840 (exp_test_downward): Likewise.
26841 (exp_test_upward): Likewise.
26842 (main): Call the new functions.
26843 * sysdeps/i386/fpu/libm-test-ulps: Update.
26844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26846 2012-03-01 Chris Demetriou <cgd@google.com>
26848 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26849 have predictable order.
26851 2012-03-01 David S. Miller <davem@davemloft.net>
26853 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26855 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26856 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26857 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26858 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26860 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26861 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26862 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26864 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26865 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26866 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26867 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26868 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26870 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26872 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26873 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26874 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26876 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26877 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26878 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26879 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26880 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26881 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26882 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26883 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26884 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26885 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26886 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26887 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26889 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26890 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26892 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26893 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26894 * sysdeps/sparc/elf/configure: Regenerated.
26896 2012-03-01 Joseph Myers <joseph@codesourcery.com>
26898 * configure.in (AS, LD): Require binutils 2.20 or later.
26899 * configure: Regenerated.
26900 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26901 as required minimum version.
26902 * INSTALL: Regenerated.
26906 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26907 before squaring exponent.
26908 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26909 bottom long double and 27 bits of top long double before squaring
26911 * math/libm-test.inc (erfc_test): Add more tests.
26912 * sysdeps/i386/fpu/libm-test-ulps: Update.
26913 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26916 2012-03-01 Kai Tietz <ktietz@redhat.com>
26918 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26919 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26920 containing bit-fields.
26921 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26922 * soft-fp/single.h (_FP_UNION_S): Likewise.
26923 * soft-fp/double.h (_FP_UNION_D): Likewise.
26925 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26928 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26929 not include ../strcmp.S.
26930 [USE_AS_STRNCASECMP_L]: Likewise.
26931 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26932 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26933 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26934 (__strncasecmp_l_ia32): Define as alias to
26935 __strncasecmp_l_nonascii.
26938 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26939 * sysdeps/i386/fpu/libm-test-ulps: Update.
26940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26942 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26945 2012-02-29 Jeff Law <law@redhat.com>
26947 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26948 out of bounds read.
26950 2012-02-29 Marek Polacek <polacek@redhat.com>
26953 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26954 * elf/Makefile: Add rules to run tst-unused-dep.out.
26956 2012-02-28 David S. Miller <davem@davemloft.net>
26958 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26959 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26960 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26961 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26962 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26963 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26965 2012-02-29 Joseph Myers <joseph@codesourcery.com>
26967 * math/libm-test.inc (llround_test): Move one test from
26968 lround_test. Use TEST_f_L in moved test.
26969 (lround_test): Move misplaced test to llround_test. Add testcase
26972 2012-02-28 Ulrich Drepper <drepper@gmail.com>
26974 * sysdeps/x86_64/fpu/e_expf.S: New file.
26975 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26977 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26980 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26981 of remain_len that may cause incomplete multi-byte character and
26983 * posix/bug-regex33.c: New file.
26984 * posix/Makefile (tests): Add bug-regex33.
26986 2012-02-28 Joseph Myers <joseph@codesourcery.com>
26988 * manual/macros.texi: New file.
26989 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26990 * manual/libc.texinfo: Include macros.texi.
26991 * manual/creatute.texi: Likewise.
26992 * manual/install.texi: Likewise.
26993 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26994 @glibcadj{} in references to the GNU C Library.
26995 * manual/charset.texi: Likewise.
26996 * manual/conf.texi: Likewise.
26997 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26998 when not using those macros.
26999 * manual/creature.texi: Likewise.
27000 * manual/crypt.texi: Likewise.
27001 * manual/errno.texi: Likewise.
27002 * manual/filesys.texi: Likewise.
27003 * manual/header.texi: Likewise.
27004 * manual/install.texi: Likewise.
27005 * manual/intro.texi: Likewise.
27006 * manual/io.texi: Likewise.
27007 * manual/job.texi: Likewise.
27008 * manual/lang.texi: Likewise.
27009 * manual/libc.texiinfo: Likewise.
27010 * manual/llio.texi: Likewise.
27011 * manual/locale.texi: Likewise.
27012 * manual/maint.texi: Likewise.
27013 * manual/math.texi: Likewise.
27014 * manual/memory.texi: Likewise.
27015 * manual/message.texi: Likewise.
27016 * manual/nss.texi: Likewise.
27017 * manual/pattern.texi: Likewise.
27018 * manual/process.texi: Likewise.
27019 * manual/resource.texi: Likewise.
27020 * manual/search.texi: Likewise.
27021 * manual/setjmp.texi: Likewise.
27022 * manual/signal.texi: Likewise.
27023 * manual/socket.texi: Likewise.
27024 * manual/startup.texi: Likewise.
27025 * manual/stdio.texi: Likewise.
27026 * manual/string.texi: Likewise.
27027 * manual/sysinfo.texi: Likewise.
27028 * manual/syslog.texi: Likewise.
27029 * manual/terminal.texi: Likewise.
27030 * manual/time.texi: Likewise.
27031 * manual/users.texi: Likewise.
27032 * INSTALL: Regenerated.
27033 * NOTES: Regenerated.
27034 * sysdeps/gnu/errlist.c: Regenerated.
27036 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27038 * include/dirent.h: Include <dirstream.h> before
27041 2012-02-28 David S. Miller <davem@davemloft.net>
27043 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27044 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27045 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27046 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27048 2012-02-27 David S. Miller <davem@davemloft.net>
27050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27052 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27053 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27056 frame pointer instead of stack pointer relative arg slot.
27057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27058 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27059 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27061 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27064 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27066 2012-02-27 David S. Miller <davem@davemloft.net>
27068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27072 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27073 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27074 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27075 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27077 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27079 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27080 later. Allow versions 5-9.
27081 * configure: Regenerated.
27082 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27083 required minimum version and 4.6 as recommended version. Do not
27084 mention bugs in GCC 2.7 and 2.8.
27085 * INSTALL: Regenerated.
27087 2012-02-27 David S. Miller <davem@davemloft.net>
27089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27093 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27094 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27095 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27096 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27099 manipulate bits before adding and subtracting TWO112[sx].
27100 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27102 2012-02-27 Roland McGrath <roland@hack.frob.com>
27105 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27106 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27107 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27108 being in POSIX, because they are in 1003.1-2008.
27110 * rt/tst-aio.c: Include <fcntl.h>.
27111 * rt/tst-aio7.c: Likewise.
27112 * rt/tst-aio64.c: Likewise.
27114 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27116 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27118 * manual/install.texi (--with-headers): Describe headers as
27119 interface headers, not private headers.
27120 (Specific advice for GNU/Linux systems): Describe use of headers
27121 from "make headers_install", not private headers from older
27123 * INSTALL: Regenerated.
27124 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27126 * sysdeps/unix/sysv/linux/configure: Regenerated.
27128 * manual/llio.texi (fclean): Remove documentation.
27130 * manual/Makefile (libc-texi-generated): New variable. Include
27132 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27133 $(libc-texi-generated), not duplicated list of files.
27134 (version.texi, stamp-version): New rules.
27135 (realclean): Remove $(libc-texi-generated), not individual files
27136 from that list. Do not remove dir-add.texinfo.
27137 * manual/libc.texinfo: Comment out uses of edition numbers and
27138 references to printed manual. Remove last-updated dates.
27139 (EDITION): Comment out.
27141 (VERSION, UPDATED): Remove.
27142 (version.texi): Include.
27144 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27146 * sysdeps/posix/spawni.c: Include <signal.h>.
27147 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27148 * sysdeps/pthread/aio_fsync.c: Likewise.
27150 2012-02-26 Ulrich Drepper <drepper@gmail.com>
27152 * conform/Makefile (tests): Run only when not cross-compiling and
27153 when fast-check is not defined.
27155 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27156 * conform/data/limits.h-data: Fixes for POSIX2008.
27157 * conform/run-conformtest.sh: Run all tests.
27158 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27160 * include/bits/dlfcn.h: Likewise.
27161 * include/langinfo.h: Likewise.
27162 * include/monetary.h: Likewise.
27163 * include/sys/poll.h: Likewise.
27165 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27167 * posix/spawn.h: Define __need_sigset_t.
27168 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27169 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27170 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27171 to get sigevent_t only.
27172 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27173 only for __USE_GNU.
27174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27175 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27176 process_vm_writev only for __USE_GNU.
27177 * termios/termios.h: Declare tcgetsid also for POSIX2008.
27179 * conform/Makefile: For now ignore errors from run-conformtest.
27180 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27181 POSIX to avoid namespace pollution. Don't prepend headers.
27182 * conform/data/aio.h-data: Fixes for POSIX testing.
27183 * conform/data/fcntl.h-data: Likewise.
27184 * conform/data/glob.h-data: Likewise.
27185 * conform/data/grp.h-data: Likewise.
27186 * conform/data/pthread.h-data: Likewise.
27187 * conform/data/pwd.h-data: Likewise.
27188 * conform/data/signal.h-data: Likewise.
27189 * conform/data/spawn.h-data: Likewise.
27190 * conform/data/stdio.h-data: Likewise.
27191 * conform/data/stdlib.h-data: Likewise.
27192 * conform/data/stropts.h-data: Likewise.
27193 * conform/data/sys/mman.h-data: Likewise.
27194 * conform/data/sys/stat.h-data: Likewise.
27195 * conform/data/sys/types.h-data: Likewise.
27196 * conform/data/sys/wait.h-data: Likewise.
27197 * conform/data/time.h-data: Likewise.
27198 * conform/data/unistd.h-data: Likewise.
27199 * conform/data/utime.h-data: Likewise.
27201 * io/sys/stat.h: fchmod was always in POSIX.
27202 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27203 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27204 * rt/aio.h: Define __need_timespec before including <time.h>.
27205 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27206 struct. Add forward declaration of pthread_attr_t and use it in
27208 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27209 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27210 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27211 always remove CLK_TCK definition.
27213 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27215 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27217 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27219 * conform/run-conformtest.sh: New file.
27220 * conform/Makefile: Run run-conformtest for tests.
27221 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27224 * conform/data/uchar.h-data: New file.
27225 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27226 * conform/data/arpa/inet.h-data: Likewise.
27227 * conform/data/assert.h-data: Likewise.
27228 * conform/data/complex.h-data: Likewise.
27229 * conform/data/cpio.h-data: Likewise.
27230 * conform/data/ctype.h-data: Likewise.
27231 * conform/data/dirent.h-data: Likewise.
27232 * conform/data/dlfcn.h-data: Likewise.
27233 * conform/data/errno.h-data: Likewise.
27234 * conform/data/fcntl.h-data: Likewise.
27235 * conform/data/float.h-data: Likewise.
27236 * conform/data/fmtmsg.h-data: Likewise.
27237 * conform/data/fnmatch.h-data: Likewise.
27238 * conform/data/ftw.h-data: Likewise.
27239 * conform/data/glob.h-data: Likewise.
27240 * conform/data/grp.h-data: Likewise.
27241 * conform/data/iconv.h-data: Likewise.
27242 * conform/data/inttypes.h-data: Likewise.
27243 * conform/data/langinfo.h-data: Likewise.
27244 * conform/data/libgen.h-data: Likewise.
27245 * conform/data/limits.h-data: Likewise.
27246 * conform/data/locale.h-data: Likewise.
27247 * conform/data/math.h-data: Likewise.
27248 * conform/data/monetary.h-data: Likewise.
27249 * conform/data/mqueue.h-data: Likewise.
27250 * conform/data/ndbm.h-data: Likewise.
27251 * conform/data/net/if.h-data: Likewise.
27252 * conform/data/netdb.h-data: Likewise.
27253 * conform/data/netinet/in.h-data: Likewise.
27254 * conform/data/nl_types.h-data: Likewise.
27255 * conform/data/poll.h-data: Likewise.
27256 * conform/data/pthread.h-data: Likewise.
27257 * conform/data/pwd.h-data: Likewise.
27258 * conform/data/regex.h-data: Likewise.
27259 * conform/data/sched.h-data: Likewise.
27260 * conform/data/search.h-data: Likewise.
27261 * conform/data/semaphore.h-data: Likewise.
27262 * conform/data/setjmp.h-data: Likewise.
27263 * conform/data/signal.h-data: Likewise.
27264 * conform/data/spawn.h-data: Likewise.
27265 * conform/data/stdarg.h-data: Likewise.
27266 * conform/data/stdio.h-data: Likewise.
27267 * conform/data/stdlib.h-data: Likewise.
27268 * conform/data/string.h-data: Likewise.
27269 * conform/data/strings.h-data: Likewise.
27270 * conform/data/stropts.h-data: Likewise.
27271 * conform/data/sys/ipc.h-data: Likewise.
27272 * conform/data/sys/mman.h-data: Likewise.
27273 * conform/data/sys/msg.h-data: Likewise.
27274 * conform/data/sys/resource.h-data: Likewise.
27275 * conform/data/sys/select.h-data: Likewise.
27276 * conform/data/sys/sem.h-data: Likewise.
27277 * conform/data/sys/shm.h-data: Likewise.
27278 * conform/data/sys/socket.h-data: Likewise.
27279 * conform/data/sys/stat.h-data: Likewise.
27280 * conform/data/sys/statvfs.h-data: Likewise.
27281 * conform/data/sys/time.h-data: Likewise.
27282 * conform/data/sys/timeb.h-data: Likewise.
27283 * conform/data/sys/times.h-data: Likewise.
27284 * conform/data/sys/types.h-data: Likewise.
27285 * conform/data/sys/uio.h-data: Likewise.
27286 * conform/data/sys/un.h-data: Likewise.
27287 * conform/data/sys/utsname.h-data: Likewise.
27288 * conform/data/sys/wait.h-data: Likewise.
27289 * conform/data/syslog.h-data: Likewise.
27290 * conform/data/tar.h-data: Likewise.
27291 * conform/data/termios.h-data: Likewise.
27292 * conform/data/utime.h-data: Likewise.
27293 * conform/data/utmpx.h-data: Likewise.
27294 * conform/data/varargs.h-data: Likewise.
27295 * conform/data/wchar.h-data: Likewise.
27296 * conform/data/wctype.h-data: Likewise.
27297 * conform/data/wordexp.h-data: Likewise.
27299 * include/stropts.h: New file.
27300 * include/uchar.h: New file.
27301 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27302 * include/assert.h: Likewise.
27303 * include/ctype.h: Likewise.
27304 * include/dirent.h: Likewise.
27305 * include/dlfcn.h: Likewise.
27306 * include/fcntl.h: Likewise.
27307 * include/fnmatch.h: Likewise.
27308 * include/glob.h: Likewise.
27309 * include/grp.h: Likewise.
27310 * include/libio.h: Likewise.
27311 * include/locale.h: Likewise.
27312 * include/math.h: Likewise.
27313 * include/net/if.h: Likewise.
27314 * include/netdb.h: Likewise.
27315 * include/netinet/in.h: Likewise.
27316 * include/pthread.h: Likewise.
27317 * include/pwd.h: Likewise.
27318 * include/regex.h: Likewise.
27319 * include/sched.h: Likewise.
27320 * include/search.h: Likewise.
27321 * include/setjmp.h: Likewise.
27322 * include/signal.h: Likewise.
27323 * include/stdio.h: Likewise.
27324 * include/stdlib.h: Likewise.
27325 * include/string.h: Likewise.
27326 * include/sys/cdefs.h: Likewise.
27327 * include/sys/mman.h: Likewise.
27328 * include/sys/msg.h: Likewise.
27329 * include/sys/resource.h: Likewise.
27330 * include/sys/select.h: Likewise.
27331 * include/sys/socket.h: Likewise.
27332 * include/sys/stat.h: Likewise.
27333 * include/sys/statvfs.h: Likewise.
27334 * include/sys/time.h: Likewise.
27335 * include/sys/times.h: Likewise.
27336 * include/sys/uio.h: Likewise.
27337 * include/sys/utsname.h: Likewise.
27338 * include/sys/wait.h: Likewise.
27339 * include/termios.h: Likewise.
27340 * include/time.h: Likewise.
27341 * include/ulimit.h: Likewise.
27342 * include/unistd.h: Likewise.
27343 * include/utime.h: Likewise.
27344 * include/wchar.h: Likewise.
27345 * include/wctype.h: Likewise.
27346 * include/wordexp.h: Likewise.
27348 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27350 * time/time.h: TIME_UTC must be a macro.
27351 Make timespec_get available for ISO C11 only as well.
27353 2012-02-24 Ulrich Drepper <drepper@gmail.com>
27355 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27356 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27358 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27360 * configure.in: Use -o not -a in test for unsupported multi-arch.
27362 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27364 * manual/texinfo.tex: Update to version 2012-01-19.16.
27366 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27368 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27370 2012-02-24 Roland McGrath <roland@hack.frob.com>
27373 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27374 * manual/fdl-1.3.texi: New file.
27375 * manual/fdl-1.1.texi: File removed.
27378 * manual/libc.texinfo (FDL_VERSION): New @set.
27379 Use it for mention of FDL in cover text.
27380 (Documentation License): Use it in @include file name.
27382 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27383 Roland McGrath <roland@hack.frob.com>
27386 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27387 not LONG_LONG_MAX and LONG_LONG_MIN.
27388 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27389 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27391 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27393 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27397 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27398 manipulate bits before adding and subtracting TWO23[sx].
27399 * math/libm-test.inc (nearbyint_test): Add more tests.
27401 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27404 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27405 bits before adding and subtracting TWO23[sx].
27406 * math/libm-test.inc (rint_test): Add more tests.
27407 (rint_test_tonearest): Likewise.
27408 (rint_test_towardzero): Likewise.
27409 (rint_test_downward): Likewise.
27410 (rint_test_upward: Likewise.
27412 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27415 * include/stdc-predef.h: New file. Extracted from features.h.
27416 * include/features.h: Include stdc-predef.h.
27417 * Makefile (headers): Add stdc-predef.h.
27418 * CONFORMANCE (Compiler limitations): Update.
27420 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27422 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27424 2012-02-21 David S. Miller <davem@davemloft.net>
27426 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27427 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27429 2012-02-20 David S. Miller <davem@davemloft.net>
27431 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27432 using a normal save/restore sequence, rather than allocating a
27433 dummy stack frame just to store a frame pointer and restore.
27434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27436 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27438 * manual/install.texi: Fix stray word in line-wrapped comment.
27440 2012-02-20 David S. Miller <davem@davemloft.net>
27442 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27443 both binutils and gcc support GOTDATA.
27445 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27446 "rd %pc" in the PIC register setup sequences.
27448 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27449 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27450 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27451 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27452 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27453 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27454 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27455 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27456 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27457 (SYSCALL_ERROR_HANDLER): Likewise.
27458 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27459 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27460 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27461 (SYSCALL_ERROR_HANDLER): Likewise.
27463 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27464 (HAVE_GCC_GOTDATA): New.
27465 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27466 relocation support in both binutils and gcc.
27467 * sysdeps/sparc/elf/configure: Regenerate.
27469 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27470 * sysdeps/sparc/sparc32/elf/configure: Delete.
27471 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27472 * sysdeps/sparc/sparc64/elf/configure: Delete.
27473 * sysdeps/sparc/elf/configure.in: New file.
27474 * sysdeps/sparc/elf/configure: Generate.
27476 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27477 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27478 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27479 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27480 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27482 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27484 * manual/install.texi: Do not mention specific glibc version
27486 * manual/libc.texinfo (VERSION, UPDATED): Update.
27487 (@copying): Use @copyright{} and range of years.
27489 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27492 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27493 [crti.S not in sysdirs] (generated): Do not append.
27494 [crti.S not in sysdirs] (omit-deps): Likewise.
27495 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27496 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27497 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27498 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27499 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27501 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27502 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27503 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27504 * csu/defs.awk: Remove file.
27505 * sysdeps/generic/initfini.c: Likewise.
27506 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27508 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27511 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27513 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27514 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27515 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27517 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27518 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27520 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27521 (__EPOLL_PACKED): Define to empty if not defined by
27523 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27524 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27527 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27529 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27530 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27531 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27532 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27534 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27538 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27540 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27542 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27543 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27544 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27547 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27549 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27550 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27552 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27554 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27555 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27557 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27559 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27562 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27564 * math/w_acos.c: Use non-signaling floating-point comparisons.
27565 * math/w_acosf.c: Likewise.
27566 * math/w_acosh.c: Likewise.
27567 * math/w_acoshf.c: Likewise.
27568 * math/w_acoshl.c: Likewise.
27569 * math/w_acosl.c: Likewise.
27570 * math/w_asin.c: Likewise.
27571 * math/w_asinf.c: Likewise.
27572 * math/w_asinl.c: Likewise.
27573 * math/w_atanh.c: Likewise.
27574 * math/w_atanhf.c: Likewise.
27575 * math/w_atanhl.c: Likewise.
27576 * math/w_exp2.c: Likewise.
27577 * math/w_exp2f.c: Likewise.
27578 * math/w_exp2l.c: Likewise.
27579 * math/w_j0.c: Likewise.
27580 * math/w_j0f.c: Likewise.
27581 * math/w_j0l.c: Likewise.
27582 * math/w_j1.c: Likewise.
27583 * math/w_j1f.c: Likewise.
27584 * math/w_j1l.c: Likewise.
27585 * math/w_jn.c: Likewise.
27586 * math/w_jnf.c: Likewise.
27587 * math/w_log.c: Likewise.
27588 * math/w_log10.c: Likewise.
27589 * math/w_log10f.c: Likewise.
27590 * math/w_log10l.c: Likewise.
27591 * math/w_log2.c: Likewise.
27592 * math/w_log2f.c: Likewise.
27593 * math/w_log2l.c: Likewise.
27594 * math/w_logf.c: Likewise.
27595 * math/w_logl.c: Likewise.
27596 * math/w_sqrt.c: Likewise.
27597 * math/w_sqrtf.c: Likewise.
27598 * math/w_sqrtl.c: Likewise.
27599 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27600 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27601 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27602 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27603 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27605 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27608 * manual/string.texi (strnlen): Use correct parameter name in
27609 equivalent expression.
27611 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27614 * manual/users.texi (seteuid): Consistently use neweuid for
27617 2012-02-19 Joseph Myers <joseph@codesourcery.com>
27620 * manual/nss.texi (Services in the NSS configuration): Correct
27621 list of services in example configuration file.
27623 2012-02-19 Nick Bowler <nbowler@draconx.ca>
27626 * manual/arith.texi: Remove statements about negative zero
27627 behaving identically to zero.
27629 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27632 * manual/install.texi: Do not document upgrading from libc5.
27634 2012-02-18 Joseph Myers <joseph@codesourcery.com>
27637 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27639 2012-02-18 David S. Miller <davem@davemloft.net>
27641 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27642 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27643 %o7 across the call.
27644 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27647 SETUP_PIC_REG_LEAF.
27648 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27649 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27650 * sysdeps/sparc/crtn.S: Likewise.
27652 2012-02-17 Ulrich Drepper <drepper@gmail.com>
27654 * aout/Makefile: Remove.
27656 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27659 * manual/examples/argp-ex1.c (main): Format definition in GNU
27661 * manual/examples/argp-ex2.c (main): Likewise.
27662 * manual/examples/argp-ex3.c (main): Likewise.
27663 * manual/examples/argp-ex4.c (main): Likewise.
27664 * manual/examples/longopt.c (main): Use new-style prototype
27666 * manual/examples/strncat.c (main): Specify return type and use
27667 (void) for arguments.
27668 * manual/examples/subopt.c (main): Use char **argv argument.
27670 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27673 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27676 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27679 * manual/string.texi (strchr): Change when strchrnul is
27682 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27685 * manual/locale.texi (setlocale): Document LOCPATH.
27687 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27690 * manual/process.texi (execle): Move @dots{} before last argument.
27692 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
27695 * manual/charset.texi (Generic Charset Conversion): Fix typo
27696 (LC_TYPE -> LC_CTYPE).
27698 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27701 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27702 (scalbnf): Likewise.
27703 (scalbnl): Likewise.
27704 (scalbln): Likewise.
27705 (scalblnf): Likewise.
27706 (scalblnl): Likewise.
27707 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27708 (vwarnx): Likewise.
27711 * manual/filesys.texi (telldir): Use braces around return type.
27712 * manual/llio.texi (mmap): Add space after comma.
27713 (mmap64): Likewise.
27714 * manual/math.texi (jn): Use @var{} on parameter names.
27720 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27722 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27724 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27725 (sched_get_priority_max): Likewise.
27726 * manual/signal.texi (sigvec): Add space after comma.
27727 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27729 (if_indextoname): Likewise.
27730 (if_freenameindex): Likewise.
27731 (sendto): Use ',' instead of '.' in prototype.
27732 * manual/startup.texi (syscall): Use @dots{} instead of literal
27734 * manual/stdio.texi (__fpending): Separate initial words of
27735 paragraph from @deftypefun line.
27736 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27738 (vsyslog): Use @var{} on parameter names.
27739 * manual/terminal.texi (stty): Use @var{} on parameter names.
27740 * manual/users.texi (getutmp): Use @var{} on parameter names.
27741 (getutmpx): Likewise.
27743 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27746 * manual/stdio.texi (fopen): Fix typos in description of
27749 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27752 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27753 get clock_id definition.
27755 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
27758 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27759 (madvise): Cast every argument to void on its own.
27761 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27764 * manual/startup.texi (Exit Status): Fix typo.
27766 2012-02-17 Joseph Myers <joseph@codesourcery.com>
27769 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27770 * manual/examples/argp-ex2.c: Likewise.
27771 * manual/examples/argp-ex3.c: Likewise.
27773 2012-02-16 Richard Henderson <rth@redhat.com>
27775 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27776 * sysdeps/s390/s390-32/initfini.c: Remove.
27777 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27778 * sysdeps/s390/s390-64/initfini.c: Remove.
27780 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27782 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27783 compiler output for sysdeps/generic/initfini.c.
27784 * sysdeps/sh/elf/initfini.c: Remove file.
27786 2012-02-16 David S. Miller <davem@davemloft.net>
27789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27791 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27792 * sysdeps/sparc/crti.S: New file.
27793 * sysdeps/sparc/crtn.S: New file.
27794 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27795 * sysdeps/sparc/sparc64/Makefile: Likewise.
27797 2012-02-15 Mike Frysinger <vapier@gentoo.org>
27800 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27802 2012-02-15 Roland McGrath <roland@hack.frob.com>
27805 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27807 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27808 (write, read, close): Likewise.
27809 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27811 2012-02-15 Joseph Myers <joseph@codesourcery.com>
27813 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27814 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27815 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27816 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27818 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27819 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27822 2012-02-14 Marek Polacek <polacek@redhat.com>
27824 * sysdeps/x86_64/crti.S: New file.
27825 * sysdeps/x86_64/crtn.S: New file.
27826 * sysdeps/x86_64/elf/initfini.c: Remove file.
27828 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27830 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27831 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27832 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27833 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27835 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27839 2012-02-13 Joseph Myers <joseph@codesourcery.com>
27841 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27842 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27843 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27844 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27846 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27850 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27852 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27853 __feraiseexcept instead of feraiseexcept.
27855 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27856 nanosleep invocations.
27857 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27858 strings, and add error checking for a nanosleep invocations.
27860 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27862 Replace FSF snail mail address with URLs, as per GNU coding standards.
27863 Most of the snail mail addresses were wrong anyway, and omitting
27864 them makes the source code easier to maintain. Almost all of the
27865 changes are to license notices and to locale LC_IDENTIFICATION
27866 addresses, except for this one:
27867 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27868 not its snail mail address.
27870 2012-02-09 Richard Henderson <rth@twiddle.net>
27872 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27873 of kernel-features.h.
27875 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27877 2012-02-08 Marek Polacek <polacek@redhat.com>
27879 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27880 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27881 * sysdeps/gnu/_G_config.h: Likewise.
27882 * sysdeps/generic/_G_config.h: Likewise.
27884 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27886 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27890 * sysdeps/powerpc/powerpc32/crti.S: New file.
27891 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27892 * sysdeps/powerpc/powerpc64/crti.S: New file.
27893 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27895 * Makeconfig (have-initfini): Don't set.
27896 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27897 * configure.in (nopic_initfini): Don't substitute.
27898 * config.h.in (HAVE_INITFINI): Don't #undef.
27899 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27900 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27902 2012-02-08 Joseph Myers <joseph@codesourcery.com>
27904 Support crti.S and crtn.S provided directly by architectures.
27905 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27906 [crti.S in sysdirs] (omit-deps): Likewise.
27907 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27908 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27909 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27910 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27911 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27912 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27913 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27914 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27915 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27916 compiler output for sysdeps/generic/initfini.c.
27917 * sysdeps/i386/elf/Makefile: Remove file.
27918 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27920 2012-02-07 Marek Polacek <polacek@redhat.com>
27922 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27923 * sysdeps/gnu/_G_config.h: Likewise.
27924 * sysdeps/mach/hurd/_G_config.h: Likewise.
27926 2012-02-07 Marek Polacek <polacek@redhat.com>
27928 * math/Makefile (tests): Add tst-CMPLX2.
27929 * math/tst-CMPLX2.c: New file.
27931 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27933 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27935 * math/libm-test.inc (jn_test): Add missing L suffix.
27937 2012-02-06 Marek Polacek <polacek@redhat.com>
27939 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27940 * sysdeps/i386/fpu/e_powf.S: Likewise.
27941 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27942 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27943 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27944 * sysdeps/i386/fpu/e_pow.S: Likewise.
27945 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27946 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27947 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27948 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27949 * sysdeps/i386/fpu/e_log2.S: Likewise.
27950 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27951 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27952 * sysdeps/i386/fpu/e_powl.S: Likewise.
27953 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27954 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27955 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27956 * sysdeps/i386/fpu/e_logl.S: Likewise.
27957 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27958 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27959 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27960 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27961 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27962 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27963 * sysdeps/i386/fpu/e_log.S: Likewise.
27964 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27965 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27966 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27967 * sysdeps/i386/fpu/e_logf.S: Likewise.
27968 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27969 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27970 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27971 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27972 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27973 * sysdeps/i386/fpu/e_log10.S: Likewise.
27974 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27975 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27976 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27977 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27978 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27979 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27980 * sysdeps/i386/asm-syntax.h: Likewise.
27981 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27982 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27983 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27984 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27985 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27986 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27987 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27988 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27989 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27990 * sysdeps/powerpc/sysdep.h: Likewise.
27991 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27992 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27994 2012-02-06 Joseph Myers <joseph@codesourcery.com>
27997 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27999 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28001 * sysdeps/i386/sysdep.h: Include <features.h>.
28002 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28005 2012-02-05 Joseph Myers <joseph@codesourcery.com>
28007 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28009 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28012 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28014 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28015 (SETUP_PIC_REG): Use GET_PC_THUNK.
28016 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28019 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28021 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28022 for non-PIC compilation.
28023 (SETUP_PIC_REG): Add .p2align directive.
28024 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28025 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28026 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28027 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28028 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28029 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28030 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28031 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28032 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28033 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28034 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28035 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28036 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28037 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28038 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28039 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28040 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28041 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28042 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28043 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28044 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28045 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28046 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28047 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28048 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28049 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28050 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28051 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28052 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28053 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28054 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28055 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28056 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28057 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28058 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28059 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28060 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28061 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28062 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28063 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28064 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28066 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28068 * math/tst-CMPLX.c: Include <stdio.h>.
28070 2012-01-31 Joseph Myers <joseph@codesourcery.com>
28072 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28074 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28075 * sysdeps/sparc/bits/mathdef.h: Likewise.
28077 2012-01-31 Marek Polacek <polacek@redhat.com>
28079 * libio/libio.h: Don't define _PARAMS.
28080 * locale/programs/config.h: Don't define PARAMS.
28081 * stdlib/strtol_l.c: Likewise.
28082 (__strtol_l): Remove PARAMS from the prototype.
28084 2012-01-31 Ulrich Drepper <drepper@gmail.com>
28086 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28087 names. Just use the correct names. Remove unnecessary wrapper
28089 * malloc/arena.c: Likewise.
28090 * malloc/hooks.c: Likewise.
28092 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28093 ARENA_TEST says not to. Simplify test for creation of a new arena.
28094 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28096 2012-01-30 Ulrich Drepper <drepper@gmail.com>
28098 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28100 (update_get_addr): New function.
28101 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28102 GET_ADDR_MODULE parameter.
28104 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28106 * crypt/cert.c: Remove __STDC__ conditionals.
28107 * crypt/crypt-entry.c: Likewise.
28108 * crypt/crypt_util.c: Likewise.
28109 * libio/filedoalloc.c: Likewise.
28110 * libio/fileops.c: Likewise.
28111 * libio/genops.c: Likewise.
28112 * libio/iofclose.c: Likewise.
28113 * libio/iofdopen.c: Likewise.
28114 * libio/iofopen.c: Likewise.
28115 * libio/iofopen64.c: Likewise.
28116 * libio/iogetdelim.c: Likewise.
28117 * libio/iopopen.c: Likewise.
28118 * libio/obprintf.c: Likewise.
28119 * libio/oldfileops.c: Likewise.
28120 * libio/oldiofclose.c: Likewise.
28121 * libio/oldiofdopen.c: Likewise.
28122 * libio/oldiofopen.c: Likewise.
28123 * libio/oldiopopen.c: Likewise.
28124 * libio/wfiledoalloc.c: Likewise.
28125 * libio/wgenops.c: Likewise.
28126 * locale/programs/xmalloc.c: Likewise.
28127 * misc/syslog.c: Likewise.
28128 * stdio-common/xbug.c: Likewise.
28129 * string/memchr.c: Likewise.
28130 * string/memcmp.c: Likewise.
28131 * string/memrchr.c: Likewise.
28132 * string/rawmemchr.c: Likewise.
28133 * sysdeps/posix/getcwd.c: Likewise.
28134 * time/strftime_l.c: Likewise.
28136 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28138 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28139 * config.make.in (config-cflags-sse2avx): Define.
28140 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28143 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28145 * scripts/config.guess: Update from upstream config git repository.
28146 * scripts/config.sub: Likewise.
28148 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28150 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28152 (R_TILEPRO_*, R_TILEGX_*): New macros.
28154 * scripts/firstversions.awk: Fix bug in version range handling.
28156 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28158 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28160 * include/sys/epoll.h: New file.
28161 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28164 2012-01-28 Ulrich Drepper <drepper@gmail.com>
28166 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28167 Avoid unnecessary __WORDSIZE == 64 test.
28168 (fmaxf): Use VEX format if possible.
28173 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28174 * math/math_private.h: Remove libc_fegetround* and
28176 * sysdeps/i386/configure.in: Check for -msse2avx.
28177 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28178 also if SSE2AVX is defined.
28179 Remove libc_fegetround* and libc_fesetround*.
28180 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28181 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28182 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28184 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28185 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28186 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28187 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28188 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28190 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28192 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28194 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28196 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28198 2012-01-27 Ulrich Drepper <drepper@gmail.com>
28201 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28203 * Makeconfig (libm): Define.
28204 * elf/Makefile: Add rules to build and run tst-relsort1.
28205 * elf/tst-relsort1.c: New file.
28206 * elf/tst-relsort1mod1.c: New file.
28207 * elf/tst-relsort1mod2.c: New file.
28209 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28211 * math/s_ldexp.c: Remove __STDC__ conditionals.
28212 * math/s_ldexpf.c: Likewise.
28213 * math/s_ldexpl.c: Likewise.
28214 * math/s_nextafter.c: Likewise.
28215 * math/s_nexttowardf.c: Likewise.
28216 * math/s_significand.c: Likewise.
28217 * math/s_significandf.c: Likewise.
28218 * math/s_significandl.c: Likewise.
28219 * math/w_jnl.c: Likewise.
28220 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28221 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28222 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28223 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28224 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28225 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28226 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28227 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28228 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28229 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28230 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28231 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28232 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28233 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28234 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28235 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28236 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28237 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28238 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28239 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28240 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28241 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28242 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28244 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28245 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28246 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28247 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28248 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28249 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28250 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28251 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28252 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28253 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28254 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28255 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28256 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28257 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28258 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28259 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28260 * sysdeps/ieee754/k_standard.c: Likewise.
28261 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28262 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28263 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28264 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28265 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28266 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28267 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28268 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28269 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28270 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28271 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28272 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28273 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28274 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28275 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28276 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28277 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28278 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28279 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28280 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28281 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28282 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28283 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28284 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28285 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28286 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28287 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28288 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28289 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28290 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28291 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28292 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28293 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28294 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28295 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28296 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28297 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28298 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28299 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28300 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28304 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28305 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28306 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28307 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28308 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28309 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28310 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28311 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28312 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28313 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28314 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28315 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28316 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28317 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28318 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28319 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28320 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28321 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28322 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28323 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28324 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28325 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28326 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28327 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28328 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28329 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28330 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28331 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28332 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28333 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28334 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28335 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28336 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28337 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28338 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28340 * sysdeps/ieee754/s_matherr.c: Likewise.
28341 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28342 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28346 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28348 * crypt/md5.h: Remove __STDC__ conditionals.
28349 * libio/libioP.h: Likewise.
28350 * locale/programs/config.h: Likewise.
28351 * sysdeps/generic/sysdep.h: Likewise.
28352 * sysdeps/i386/asm-syntax.h: Likewise.
28353 * sysdeps/s390/asm-syntax.h: Likewise.
28354 * sysdeps/unix/sysdep.h: Likewise.
28355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28358 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28360 * libio/libio.h: Remove __STDC__ conditionals.
28361 * malloc/obstack.h: Likewise.
28362 * math/complex.h: Likewise.
28363 * math/math.h: Likewise.
28364 * sysdeps/generic/_G_config.h: Likewise.
28365 * sysdeps/gnu/_G_config.h: Likewise.
28366 * sysdeps/mach/hurd/_G_config.h: Likewise.
28367 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28368 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28369 * sysdeps/sparc/bits/mathdef.h: Likewise.
28371 2012-01-26 Ulrich Drepper <drepper@gmail.com>
28374 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28375 Clean up HAS_* macros.
28376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28377 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28379 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28381 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28382 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28383 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28384 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28385 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28387 2012-01-25 Joseph Myers <joseph@codesourcery.com>
28389 * elf/tst-unique3.cc (gets): Remove declaration.
28390 * elf/tst-unique3lib.cc (gets): Likewise.
28391 * elf/tst-unique3lib2.cc (gets): Likewise.
28392 * elf/tst-unique4.cc (gets): Likewise.
28394 2012-01-24 Ulrich Drepper <drepper@gmail.com>
28396 * include/stdio.h: Add C++ protection. Add gets declarations and
28398 * debug/tst-chk1.c: Don't declare gets here.
28399 * stdio-common/tst-gets.c: Likewise.
28401 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28403 * posix/glob: Remove directory.
28405 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28407 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28409 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28411 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28412 of the non-standard EPFNOSUPPORT.
28414 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28416 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28417 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28418 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28420 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28422 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28424 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28426 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28428 * nscd/grpcache.c (cache_addgr): Likewise.
28429 * nscd/hstcache.c (cache_addhst): Likewise.
28430 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28431 * nscd/pwdcache.c (cache_addpw): Likewise.
28432 * nscd/servicescache.c (cache_addserv): Likewise.
28434 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28436 * malloc/malloc.c: Various cleanups.
28437 * malloc/hooks.c: Likewise.
28439 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28440 * stdlib/bug-fmtmsg1.c: New file.
28442 * stdlib/fmtmsg.c (init): Add missing unlock.
28443 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28445 2012-01-12 Marek Polacek <polacek@redhat.com>
28447 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28450 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28452 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28453 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28454 macro to ensure uniqueness of label name.
28455 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28456 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28458 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28460 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28462 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28463 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28464 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28465 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28467 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28469 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28471 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28472 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28473 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28475 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28477 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28478 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28479 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28482 * math/bits/math-finite.h: Add ldexp support.
28484 2012-01-10 Marek Polacek <polacek@redhat.com>
28486 * locale/programs/localedef.h (show_archive_content): Add noreturn
28489 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28491 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28493 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28495 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28497 * io/Makefile (headers): Add bits/poll2.h.
28499 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28502 typo #include statement.
28504 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28506 * include/sys/cdefs.h: Define __attribute_alloc_size.
28507 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28508 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28509 * elf/pldd.c: Likewise.
28510 * iconv/iconv_charmap.c: Likewise.
28511 * iconv/iconvconfig.c: Likewise.
28512 * iconv/strtab.c: Likewise.
28513 * locale/programs/locale.c: Likewise.
28514 * locale/programs/localedef.h: Likewise.
28515 * locale/programs/simple-hash.c: Likewise.
28516 * nscd/nscd.h: Likewise.
28517 * nss/makedb.c: Likewise.
28518 * sysdeps/generic/ldconfig.h: Likewise.
28519 * locale/programs/localedef.c: Remove xmalloc prototype.
28520 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28522 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28524 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28527 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28529 * math/Makefile (tests): Add tst-CMPLX.
28530 * math/tst-CMPLX.c: New file.
28532 * math/complex.h (CMPLXL): Fix typo.
28534 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28535 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28537 * debug/tst-chk1.c: Add poll and ppoll tests.
28538 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28539 * include/sys/poll.h: Add hidden proto for ppoll.
28540 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28541 * sysdeps/mach/hurd/ppoll.c: Likewise.
28542 * io/ppoll.c: Likewise.
28543 * debug/poll_chk.c: New file.
28544 * debug/ppoll_chk.c: New file.
28545 * include/bits/poll2.h: New file.
28546 * io/bits/poll2.h: New file.
28549 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28551 * configure.in: static is always set to yes. Remove.
28552 * config.make.in: Don't set build-static.
28553 * Makeconfig: Remove use of build-static.
28554 * dlfcn/Makefile: Likewise.
28555 * elf/Makefile: Likewise.
28556 * math/Makefile: Likewise.
28557 * misc/Makefile: Likewise.
28558 * nptl/Makefile: Likewise.
28559 * sysdeps/mach/hurd/Makefile: Likewise.
28561 * configure.in: PWD_P is not used anymore.
28562 * config.make.in: Remove PWD_P entry.
28564 * configure.in: Remove last remnants of RANLIB.
28565 No need to check for signed size_t anymore.
28566 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28568 Remove __builtin_expect test because we require at least gcc 3.4.
28569 * aclocal.m4: Likewise.
28571 * wcsmbs/mbrtoc16.c: Implement using towc function.
28572 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28573 * wcsmbs/wcsmbsload.c: Likewise.
28574 * iconv/gconv_simple.c: Likewise.
28575 * iconv/gconv_int.h: Likewise.
28576 * iconv/gconv_builtin.h: Likewise.
28577 * iconv/iconv_prog.c: Remove CHAR16 handling.
28579 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28581 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28583 * configure.in: Remove --with-elf and --enable-bounded options.
28584 Dont set base_machine for ia64. More non-ELF conditions removed.
28585 Remove testing and setting of leading underscore information.
28586 * config.make.in (build-bounded): Set to no.
28587 * config.h.in: Remove NO_UNDERSCORES entry.
28588 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28590 * csu/start.c: Remove !NO_UNDERSCORE code.
28591 * locale/localeinfo.h: Likewise.
28592 * sysdeps/generic/machine-gmon.h: Likewise.
28593 * sysdeps/generic/sysdep.h: Likewise.
28594 * sysdeps/i386/sysdep.h: Likewise.
28595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28596 * sysdeps/mach/sysdep.h: Likewise.
28597 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28598 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28599 * sysdeps/sh/sysdep.h: Likewise.
28600 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28601 * sysdeps/unix/i386/sysdep.S: Likewise.
28602 * sysdeps/unix/sparc/start.c: Likewise.
28603 * sysdeps/unix/sparc/sysdep.S: Likewise.
28604 * sysdeps/unix/sparc/sysdep.h: Likewise.
28605 * sysdeps/unix/start.c: Likewise.
28606 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28607 * sysdeps/x86_64/sysdep.h: Likewise.
28609 2012-01-07 Ulrich Drepper <drepper@gmail.com>
28612 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28614 * argp/argp-fmtstream.h: Use const instead __const.
28615 * argp/argp.h: Likewise.
28616 * assert/assert.h: Likewise.
28617 * bits/fenv.h: Likewise.
28618 * bits/sched.h: Likewise.
28619 * bits/sigset.h: Likewise.
28620 * bits/sigthread.h: Likewise.
28621 * catgets/nl_types.h: Likewise.
28622 * conform/data/pthread.h-data: Likewise.
28623 * crypt/crypt-private.h: Likewise.
28624 * crypt/crypt.h: Likewise.
28625 * crypt/crypt_util.c: Likewise.
28626 * ctype/ctype.h: Likewise.
28627 * debug/execinfo.h: Likewise.
28628 * debug/mbsnrtowcs_chk.c: Likewise.
28629 * debug/mbsrtowcs_chk.c: Likewise.
28630 * debug/wcsnrtombs_chk.c: Likewise.
28631 * debug/wcsrtombs_chk.c: Likewise.
28632 * debug/wcstombs_chk.c: Likewise.
28633 * dirent/dirent.h: Likewise.
28634 * dlfcn/dlfcn.h: Likewise.
28635 * elf/neededtest4.c: Likewise.
28636 * grp/grp.h: Likewise.
28637 * gshadow/gshadow.h: Likewise.
28638 * iconv/gconv.h: Likewise.
28639 * iconv/gconv_int.h: Likewise.
28640 * iconv/gconv_simple.c: Likewise.
28641 * iconv/iconv.h: Likewise.
28642 * iconv/loop.c: Likewise.
28643 * iconv/skeleton.c: Likewise.
28644 * include/aio.h: Likewise.
28645 * include/aliases.h: Likewise.
28646 * include/argz.h: Likewise.
28647 * include/arpa/inet.h: Likewise.
28648 * include/assert.h: Likewise.
28649 * include/dirent.h: Likewise.
28650 * include/dlfcn.h: Likewise.
28651 * include/execinfo.h: Likewise.
28652 * include/fcntl.h: Likewise.
28653 * include/fenv.h: Likewise.
28654 * include/glob.h: Likewise.
28655 * include/grp.h: Likewise.
28656 * include/libintl.h: Likewise.
28657 * include/mntent.h: Likewise.
28658 * include/netdb.h: Likewise.
28659 * include/pwd.h: Likewise.
28660 * include/rpc/netdb.h: Likewise.
28661 * include/sched.h: Likewise.
28662 * include/search.h: Likewise.
28663 * include/shadow.h: Likewise.
28664 * include/signal.h: Likewise.
28665 * include/stdio.h: Likewise.
28666 * include/stdlib.h: Likewise.
28667 * include/string.h: Likewise.
28668 * include/sys/socket.h: Likewise.
28669 * include/sys/stat.h: Likewise.
28670 * include/sys/statfs.h: Likewise.
28671 * include/sys/statvfs.h: Likewise.
28672 * include/sys/syslog.h: Likewise.
28673 * include/sys/time.h: Likewise.
28674 * include/sys/uio.h: Likewise.
28675 * include/time.h: Likewise.
28676 * include/unistd.h: Likewise.
28677 * include/utmp.h: Likewise.
28678 * include/wchar.h: Likewise.
28679 * include/wctype.h: Likewise.
28680 * inet/aliases.h: Likewise.
28681 * inet/arpa/inet.h: Likewise.
28682 * inet/netinet/ether.h: Likewise.
28683 * inet/netinet/in.h: Likewise.
28684 * intl/libintl.h: Likewise.
28685 * io/bits/fcntl2.h: Likewise.
28686 * io/fcntl.h: Likewise.
28687 * io/ftw.h: Likewise.
28688 * io/sys/poll.h: Likewise.
28689 * io/sys/stat.h: Likewise.
28690 * io/sys/statfs.h: Likewise.
28691 * io/sys/statvfs.h: Likewise.
28692 * io/utime.h: Likewise.
28693 * libio/bits/stdio.h: Likewise.
28694 * libio/bits/stdio2.h: Likewise.
28695 * libio/libio.h: Likewise.
28696 * libio/libioP.h: Likewise.
28697 * libio/stdio.h: Likewise.
28698 * locale/lc-ctype.c: Likewise.
28699 * locale/locale.h: Likewise.
28700 * login/utmp.h: Likewise.
28701 * malloc/arena.c: Likewise.
28702 * malloc/malloc.c: Likewise.
28703 * malloc/malloc.h: Likewise.
28704 * malloc/mcheck.c: Likewise.
28705 * malloc/mtrace.c: Likewise.
28706 * math/bits/mathcalls.h: Likewise.
28707 * math/fenv.h: Likewise.
28708 * math/math_private.h: Likewise.
28709 * misc/bits/error.h: Likewise.
28710 * misc/bits/syslog.h: Likewise.
28711 * misc/err.h: Likewise.
28712 * misc/error.h: Likewise.
28713 * misc/fstab.h: Likewise.
28714 * misc/mntent.h: Likewise.
28715 * misc/regexp.h: Likewise.
28716 * misc/search.h: Likewise.
28717 * misc/sgtty.h: Likewise.
28718 * misc/sys/mman.h: Likewise.
28719 * misc/sys/syslog.h: Likewise.
28720 * misc/sys/uio.h: Likewise.
28721 * misc/sys/xattr.h: Likewise.
28722 * misc/ttyent.h: Likewise.
28723 * nis/rpcsvc/ypclnt.h: Likewise.
28724 * nss/nss.h: Likewise.
28725 * posix/bits/unistd.h: Likewise.
28726 * posix/fnmatch.h: Likewise.
28727 * posix/glob.h: Likewise.
28728 * posix/sched.h: Likewise.
28729 * posix/spawn.h: Likewise.
28730 * posix/sys/wait.h: Likewise.
28731 * posix/unistd.h: Likewise.
28732 * posix/wordexp.h: Likewise.
28733 * pwd/pwd.h: Likewise.
28734 * resolv/netdb.h: Likewise.
28735 * resource/sys/resource.h: Likewise.
28736 * rt/aio.h: Likewise.
28737 * rt/bits/mqueue2.h: Likewise.
28738 * rt/mqueue.h: Likewise.
28739 * shadow/shadow.h: Likewise.
28740 * signal/signal.h: Likewise.
28741 * socket/send.c: Likewise.
28742 * socket/sendto.c: Likewise.
28743 * socket/sys/socket.h: Likewise.
28744 * stdio-common/printf.h: Likewise.
28745 * stdlib/bits/stdlib.h: Likewise.
28746 * stdlib/fmtmsg.h: Likewise.
28747 * stdlib/monetary.h: Likewise.
28748 * stdlib/stdlib.h: Likewise.
28749 * stdlib/ucontext.h: Likewise.
28750 * streams/stropts.h: Likewise.
28751 * string/argz.h: Likewise.
28752 * string/bits/string2.h: Likewise.
28753 * string/string.h: Likewise.
28754 * string/strings.h: Likewise.
28755 * sunrpc/rpc/auth.h: Likewise.
28756 * sunrpc/rpc/auth_des.h: Likewise.
28757 * sunrpc/rpc/clnt.h: Likewise.
28758 * sunrpc/rpc/netdb.h: Likewise.
28759 * sunrpc/rpc/pmap_clnt.h: Likewise.
28760 * sunrpc/rpc/xdr.h: Likewise.
28761 * sysdeps/generic/inttypes.h: Likewise.
28762 * sysdeps/generic/net/if.h: Likewise.
28763 * sysdeps/generic/sys/swap.h: Likewise.
28764 * sysdeps/gnu/net/if.h: Likewise.
28765 * sysdeps/gnu/utmpx.h: Likewise.
28766 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28767 * sysdeps/i386/i486/bits/string.h: Likewise.
28768 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28769 * sysdeps/s390/bits/string.h: Likewise.
28770 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28771 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28772 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28773 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28774 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28775 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28776 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28777 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28778 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28779 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28780 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28781 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28782 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28783 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28784 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28785 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28786 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28788 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28789 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28790 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28791 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28792 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28793 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28794 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28795 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28796 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28797 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28798 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28799 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28800 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28801 * sysvipc/sys/ipc.h: Likewise.
28802 * sysvipc/sys/msg.h: Likewise.
28803 * sysvipc/sys/sem.h: Likewise.
28804 * sysvipc/sys/shm.h: Likewise.
28805 * termios/termios.h: Likewise.
28806 * time/sys/time.h: Likewise.
28807 * time/time.h: Likewise.
28808 * wcsmbs/bits/wchar2.h: Likewise.
28809 * wcsmbs/uchar.h: Likewise.
28810 * wcsmbs/wchar.h: Likewise.
28811 * wctype/wctype.h: Likewise.
28814 * Makeconfig: Remove all but ELF support including AIX support.
28815 * Makerules: Likewise.
28816 * config.h.in: Likewise.
28817 * config.make.in: Likewise.
28818 * configure: Likewise.
28819 * configure.in: Likewise.
28820 * csu/Makefile: Likewise.
28821 * csu/version.c: Likewise.
28822 * debug/Makefile: Likewise.
28823 * dlfcn/Makefile: Likewise.
28824 * elf/Makefile: Likewise.
28825 * extra-lib.mk: Likewise.
28826 * iconv/Makefile: Likewise.
28827 * include/libc-symbols.h: Likewise.
28828 * include/shlib-compat.h: Likewise.
28829 * resolv/Makefile: Likewise.
28830 * resolv/res_libc.c: Likewise.
28831 * rt/Makefile: Likewise.
28832 * sysdeps/i386/asm-syntax.h: Likewise.
28833 * sysdeps/i386/sysdep.h: Likewise.
28834 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28835 * sysdeps/mach/sysdep.h: Likewise.
28836 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28837 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28838 * sysdeps/s390/asm-syntax.h: Likewise.
28839 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28840 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28841 * sysdeps/sh/sysdep.h: Likewise.
28842 * sysdeps/unix/sparc/sysdep.h: Likewise.
28843 * sysdeps/wordsize-32/divdi3.c: Likewise.
28844 * sysdeps/x86_64/sysdep.h: Likewise.
28846 * argp/Versions: Remove _argp_unlock_xxx.
28849 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28850 * abilist/libBrokenLocale.abilist: Likewise.
28851 * abilist/libanl.abilist: Likewise.
28852 * abilist/libc.abilist: Likewise.
28853 * abilist/libcrypt.abilist: Likewise.
28854 * abilist/libdl.abilist: Likewise.
28855 * abilist/libm.abilist: Likewise.
28856 * abilist/libnsl.abilist: Likewise.
28857 * abilist/libpthread.abilist: Likewise.
28858 * abilist/libresolv.abilist: Likewise.
28859 * abilist/librt.abilist: Likewise.
28860 * abilist/libthread_db.abilist: Likewise.
28861 * abilist/libutil.abilist: Likewise.
28862 * abilist/libnss_db.abilist: New file.
28864 * scripts/abilist.awk: Add support for indirect functions.
28866 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28868 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28870 * shlib-versions: Remove entries for ports architectures.
28872 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28874 * elf/stackguard-macros.h: Remove support for IA-64.
28875 * elf/tst-auditmod1.c: Likewise.
28876 * sysdeps/generic/ldsodefs.h: Likewise.
28878 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28879 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28883 * configure.in: Remove --enable-omitfp support.
28885 * config.make.in: Likewise.
28886 * Makeconfig: Likewise.
28887 * manual/install.texi: Likewise.
28889 In case anyone cares, the IA-64 architecture could move to ports.
28890 * sysdeps/ia64/*: Removed.
28891 * sysdeps/unix/sysv/linux/ia64/*: Removed.
28892 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
28895 * configure.in: Remove entries for unsupported architectures.
28898 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28899 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28901 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28902 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28903 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28904 fall back to using wcrtomb.
28905 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28906 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28908 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28909 * wcsmbs/tst-c16c32-1.c: New file.
28911 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28914 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28916 * elf/tst-unique3.cc: Add explicit declaration of gets.
28917 * elf/tst-unique3lib.cc: Likewise.
28918 * elf/tst-unique3lib2.cc: Likewise.
28919 * elf/tst-unique4.cc: Likewise.
28921 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28923 2012-01-06 Joseph Myers <joseph@codesourcery.com>
28926 * assert/assert.h (static_assert): Don't define for C++.
28927 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28928 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28930 2012-01-03 Ulrich Drepper <drepper@gmail.com>
28932 * iconv/loop.c (single loop): Fix assertion in storing of
28935 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28937 2012-01-01 Ulrich Drepper <drepper@gmail.com>
28939 * posix/getconf.c: Update copyright year.
28940 * nss/getent.c: Likewise.
28941 * nss/makedb.c: Likewise.
28942 * iconv/iconvconfig.c: Likewise.
28943 * iconv/iconv_prog.c: Likewise.
28944 * elf/ldconfig.c: Likewise.
28945 * elf/pldd.c: Likewise.
28946 * elf/sotruss.ksh: Likewise.
28947 * catgets/gencat.c: Likewise.
28948 * csu/version.c: Likewise.
28949 * elf/ldd.bash.in: Likewise.
28950 * elf/sprof.c (print_version): Likewise.
28951 * locale/programs/locale.c: Likewise.
28952 * locale/programs/localedef.c: Likewise.
28953 * login/programs/pt_chown.c: Likewise.
28954 * nscd/nscd.c (print_version): Likewise.
28955 * debug/xtrace.sh: Likewise.
28956 * malloc/memusage.sh: Likewise.
28957 * malloc/mtrace.pl: Likewise.
28958 * debug/catchsegv.sh: Likewise.
28960 2011-12-30 Jakub Jelinek <jakub@redhat.com>
28962 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28965 2011-12-24 Ulrich Drepper <drepper@gmail.com>
28968 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28969 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28971 * iconv/gconv_int.h: Likewise.
28972 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28973 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28974 from libc for GLIBC_2.16.
28975 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28976 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28977 * wcsmbs/uchar.h: Really define mbstate_t.
28978 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28979 * wcsmbs/c16rtomb.c: New file.
28980 * wcsmbs/mbrtoc16.c: New file.
28981 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28982 for C/POSIX locale.
28983 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28984 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28986 * wcsmbs/wchar.h: Add missing __restrict.
28988 2011-12-23 Ulrich Drepper <drepper@gmail.com>
28991 * time/Makefile (routines): Add timespec_get.
28992 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28993 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28994 timespec for ISO C11.
28995 * time/timespec_get.c: New file.
28996 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28997 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29000 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29001 * stdlib/stdlib.h: Declare aligned_alloc.
29002 * Versions.def: Add GLIBC_2.16 for libc.
29003 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29006 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29009 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29013 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29016 * assert/assert.h (static_assert): Define.
29018 * version.h: Update for 2.16 development version.
29021 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29024 * version.h (RELEASE): Bump for 2.15 release.
29025 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29027 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29028 Patch by Marek Polacek <mpolacek@redhat.com>.
29030 * bits/byteswap.h: Protect long long constants with __extension__.
29031 * sysdeps/i386/bits/byteswap.h: Likewise.
29032 * sysdeps/ia64/bits/byteswap.h: Likewise.
29033 * sysdeps/s390/bits/byteswap.h: Likewise.
29034 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29036 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29040 destination buffer.
29041 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29043 2011-12-23 Marek Polacek <polacek@redhat.com>
29045 * elf/dl-addr.c (determine_info): Add inline keyword.
29046 * elf/tst-auditmod4b.c (check_avx): Likewise.
29047 * elf/tst-auditmod6b.c (check_avx): Likewise.
29048 * elf/tst-auditmod6c.c (check_avx): Likewise.
29049 * elf/tst-auditmod7b.c (check_avx): Likewise.
29051 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29053 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29056 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29059 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29060 processing for last bytes.
29062 2011-08-06 Bruno Haible <bruno@clisp.org>
29065 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29066 U+0385, not to U+1FEE.
29069 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29070 entry for U+00A5 U+0301.
29072 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29075 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29076 buffer for the output is too small.
29078 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29082 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29083 SSE flags if possible.
29085 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29089 processing for last bytes.
29091 2011-12-22 Joseph Myers <joseph@codesourcery.com>
29093 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29094 (syscall-list-default-options, syscall-list-default-condition)
29095 (syscall-list-includes): Define.
29096 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29097 list of ABIs and options and #if conditions for each ABI. Do not
29098 handle common syscalls between ABIs specially.
29099 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29101 (syscall-list-variants, syscall-list-32bit-options)
29102 (syscall-list-32bit-condition, syscall-list-64bit-options)
29103 (syscall-list-64bit-condition): Define.
29104 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29105 (syscall-list-variants, syscall-list-32bit-options)
29106 (syscall-list-32bit-condition, syscall-list-64bit-options)
29107 (syscall-list-64bit-condition): Define.
29108 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29110 (syscall-list-variants, syscall-list-32bit-options)
29111 (syscall-list-32bit-condition, syscall-list-64bit-options)
29112 (syscall-list-64bit-condition): Define.
29113 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29115 (syscall-list-variants, syscall-list-32bit-options)
29116 (syscall-list-32bit-condition, syscall-list-64bit-options)
29117 (syscall-list-64bit-condition): Define.
29119 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29121 * locale/iso-639.def: Add brx entry.
29124 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29125 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29127 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29128 __feraiseexcept_renamed.
29130 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29133 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29134 EPOLLET with unsigned values.
29135 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29136 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29138 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29139 to large cancellation.
29140 * math/s_cacoshf.c: Likewise.
29141 * math/s_cacoshl.c: Likewise.
29143 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29147 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29148 * math/s_cacoshf.c: Likewise.
29149 * math/s_cacoshl.c: Likewise.
29151 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29154 * iconv/gconv.h: Define __GCONV_SWAP.
29155 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29156 * iconvdata/utf-16.c: Likewise.
29157 * iconvdata/utf-32.c: Likewise.
29159 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29162 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29163 numerator after shifting it by one limb.
29165 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29167 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29168 under [__USE_EXTERN_INLINES].
29170 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29173 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29175 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29177 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29178 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29180 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29181 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29182 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29183 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29184 for strncasecmp/strncasecmp_l compilation.
29185 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29186 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29188 2011-12-08 Marek Polacek <mpolacek@redhat.com>
29191 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29194 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29197 * time/tzfile.c (__tzfile_read): Check values from file header.
29199 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29201 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29202 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29203 * powerpc/powerpc32/dl-start.S: Likewise.
29204 * powerpc/powerpc32/elf/start.S: Likewise.
29205 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29206 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29207 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29208 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29209 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29210 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29211 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29212 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29213 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29214 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29215 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29216 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29217 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29218 * powerpc/powerpc32/memset.S: Likewise.
29219 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29220 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29221 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29222 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29223 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29224 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29225 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29226 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29227 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29228 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29229 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29230 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29231 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29233 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29235 * math/libm-test.inc: Added more nearbyint tests.
29236 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29237 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29238 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29239 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29241 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29243 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29246 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29248 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29249 Add wcscpy-ssse3 wcscpy-c.
29250 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29251 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29252 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29253 * sysdeps/x86_64/wcschr.S: New file.
29254 * sysdeps/x86_64/wcsrchr.S: New file.
29255 * string/test-strcmp.c: Remove checking of wcscmp function for
29257 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29258 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29259 wcsrchr-sse2 wcsrchr-c.
29260 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29261 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29262 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29263 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29264 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29265 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29266 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29267 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29268 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29269 * wcsmbc/wcschr.c (WCSCHR): New macro.
29271 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29273 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29274 * wcsmbs/test-wcsrchr.c: New file.
29275 * string/test-strrchr.c: Add wcsrchr support.
29277 * wcsmbs/test-wcscpy.c: New file.
29278 * string/test-strcpy.c: Add wcscpy support.
29281 2011-12-10 Ulrich Drepper <drepper@gmail.com>
29283 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29286 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29289 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29291 2011-12-04 Ulrich Drepper <drepper@gmail.com>
29293 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29294 Minor optimizations.
29296 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29297 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29298 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29300 2011-12-03 Ulrich Drepper <drepper@gmail.com>
29302 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29303 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29304 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29305 for gcc to avoid warnings.
29306 * inet/Makefile (tests): Add tst-checks.
29307 * inet/tst-checks.c: New file.
29309 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29312 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29315 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29316 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29318 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29320 2011-12-02 Ulrich Drepper <drepper@gmail.com>
29322 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29325 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29327 2011-11-29 Joseph Myers <joseph@codesourcery.com>
29329 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29330 conditional on GCC version.
29331 (__arch_compare_and_exchange_val_8_acq)
29332 (__arch_compare_and_exchange_val_16_acq)
29333 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29334 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29335 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29337 2011-12-02 Joseph Myers <joseph@codesourcery.com>
29339 * sysdeps/sh/backtrace.c: New file.
29341 2011-12-02 Andreas Schwab <schwab@redhat.com>
29343 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29346 2011-12-01 Andreas Schwab <schwab@redhat.com>
29348 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29349 falling back to utime.
29351 2011-11-30 Andreas Schwab <schwab@redhat.com>
29353 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29354 expectations for float.
29356 2011-11-29 Andreas Schwab <schwab@redhat.com>
29358 * locale/weight.h (findidx): Add parameter len.
29359 * locale/weightwc.h (findidx): Likewise.
29360 * posix/fnmatch_loop.c (FCT): Adjust caller.
29361 * posix/regcomp.c (build_equiv_class): Likewise.
29362 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29363 * posix/regexec.c (check_node_accept_bytes): Likewise.
29364 * string/strcoll_l.c (STRCOLL): Likewise.
29365 * string/strxfrm_l.c (STRXFRM): Likewise.
29367 2011-11-17 Ulrich Drepper <drepper@gmail.com>
29369 * Makefile.in: Remove CVSOPT handling.
29370 * configure.in: Remove use of AC_REVISION.
29371 * iconvdata/Makefile (distribute): No need to filter out CVS.
29372 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29375 2011-11-16 Andreas Schwab <schwab@redhat.com>
29377 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29378 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29379 [USE_AS_STRNCASECMP_L]: Likewise.
29380 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29381 NO_TLS_DIRECT_SEG_REFS.
29382 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29383 Fix argument offsets for non-PIC.
29384 [USE_AS_STRNCASECMP_L]: Likewise.
29385 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29386 NO_TLS_DIRECT_SEG_REFS.
29388 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29390 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29392 * locale/loadlocale.c (_nl_load_locale): Likewise.
29394 2011-11-15 Andreas Schwab <schwab@redhat.com>
29396 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29397 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29399 (SYSCALL_GETTIME): Set errno on error.
29401 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29402 count references to noai6ai_cached.
29404 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29406 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29408 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29409 FD_CLOEXEC for /proc/self/maps.
29411 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29412 FD_CLOEXEC for /proc/meminfo.
29414 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29417 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29418 FD_CLOEXEC for given file.
29420 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29422 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29423 FD_CLOEXEC for /etc/hosts.
29424 (_gethtent): Likewise.
29426 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29428 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29429 cancellation and set FD_CLOEXEC for /etc/netgroup.
29431 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29432 reading /etc/publickey.
29434 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29435 allow cancellation when reading /etc/group.
29437 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29439 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29441 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29442 when using data file.
29444 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29446 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29447 (write_nis_obj): Use "c" and "e" in fopen.
29449 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29451 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29453 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29455 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29457 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29460 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29462 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29464 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29466 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29467 file parsing and set FD_CLOEXEC.
29469 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29471 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29473 2011-11-14 Andreas Schwab <schwab@redhat.com>
29475 * malloc/arena.c (arena_get2): Don't call reused_arena when
29476 _int_new_arena failed.
29478 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29480 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29481 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29482 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29483 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29484 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29485 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29486 to compile strcasecmp and strncasecmp.
29487 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29488 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29492 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29494 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29495 locale-defines.sym to gen-as-const-headers.
29496 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29497 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29499 to compile strcasecmp and strncasecmp.
29500 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29501 strcasecmp_l and strncasecmp_l.
29502 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29503 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29504 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29505 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29506 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29507 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29508 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29509 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29510 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29511 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29512 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29514 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29516 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29517 result of SYSDEP_GETTIME_CPU to retval.
29518 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29519 parameter list to macro. Remove trailing semicolon. Adjust users.
29521 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29524 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29526 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29528 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29529 from unused variable.
29531 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29533 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29536 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29539 * sunrpc/rpc_prot.c (rejected): Fix case value.
29541 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29542 unsigned long long int to avoid warnings in shift.
29544 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29546 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29549 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29550 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29551 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29553 * nis/nis_table.c (nis_list): Use variable of correct type for
29554 result of __follow_path call.
29556 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29558 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29559 of math functions ceil, trunc, floor, round, and sqrt, when
29560 avaliable on the platform.
29561 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29563 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29564 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29565 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29567 2011-10-30 Marek Polacek <mpolacek@redhat.com>
29569 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29570 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29572 2011-11-11 Roland McGrath <roland@hack.frob.com>
29574 * include/unistd.h: Fix __readlink return type.
29575 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29577 2011-11-11 Ulrich Drepper <drepper@gmail.com>
29579 * stdlib/ucontext.h: Undo last change for makecontext.
29581 2011-11-11 Andreas Schwab <schwab@redhat.com>
29583 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29585 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29586 * setjmp/setjmp.h: Mark functions as non-leaf.
29587 * setjmp/bits/setjmp2.h: Likewise.
29588 * stdlib/ucontext.h: Likewise.
29590 2011-11-10 Andreas Schwab <schwab@redhat.com>
29592 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29593 (reused_arena): Don't check arena limit.
29594 (arena_get2): Atomically check arena limit.
29596 2011-11-08 Ulrich Drepper <drepper@gmail.com>
29598 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29599 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29604 2011-11-07 Andreas Schwab <schwab@redhat.com>
29606 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29607 handler when locking.
29609 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29610 Fix size of allocated buffer.
29612 2011-11-04 Andreas Schwab <schwab@redhat.com>
29615 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29616 declarations for long double functions.
29617 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29619 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29621 2011-11-03 Andreas Schwab <schwab@redhat.com>
29623 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29626 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29629 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29631 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29633 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29635 * include/alloca.h (stackinfo_alloca_round): Define.
29636 (extend_alloca): Use it.
29637 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29638 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29641 * scripts/check-local-headers.sh: Ignore libaudit.h.
29643 * nscd/Makefile (extra-objs): Make recursively expanded.
29645 2011-11-01 Ulrich Drepper <drepper@gmail.com>
29647 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29648 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29650 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29651 * posix/tst-rfc3484-2.c: Likewise.
29652 * posix/tst-rfc3484-3.c: Likewise.
29654 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29656 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29658 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29659 process_vm_writev from libc using GLIBC_2.15 version.
29661 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29663 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29665 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29668 2011-10-31 Ulrich Drepper <drepper@gmail.com>
29671 * nss/getent.c (initgroups_keys): Show error message in case no group
29674 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29675 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29676 __bump_nl_timestamp.
29677 * nscd/connections (nscd_init): When host database is served open
29678 netlink socket and request notification about configuration changes.
29679 (main_loop_poll): Track netlink file descriptor and bump timestamp
29680 in case data becomes available.
29681 (main_loop_epoll): Likewise.
29682 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29683 (database_pers_head): Add extra_data fileds.
29684 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29685 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29686 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29688 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29689 in6ai data, call __free_in6ai.
29690 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29691 Add -DHAVE_NETLINK.
29692 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29693 interface information. Reuse previous data if netlink timestamp
29695 (__bump_nl_timestamp): New function.
29696 (__free_in6ai): New function.
29698 2011-10-30 Ulrich Drepper <drepper@gmail.com>
29700 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29701 close_not_cancel_no_status here.
29702 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29704 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29707 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29710 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
29711 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29712 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29714 2011-07-03 Andreas Jaeger <aj@suse.de>
29717 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29718 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29719 * math/libm-test.inc (sin_test): Add test case.
29721 2011-10-29 Ulrich Drepper <drepper@gmail.com>
29724 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29725 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29727 * elf/chroot_canon.c (chroot_canon): Cleanups.
29729 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29732 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29733 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29735 * string/test-strchr.c: Make usable for strchrnul testing.
29736 * string/test-strchrnul.c: New file.
29737 * string/Makefile (strop-tests): Add strchrnul.
29739 * po/it.po: Update from translation team.
29740 * po/es.po: Likewise.
29742 2011-10-28 Ulrich Drepper <drepper@gmail.com>
29744 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29745 the three constants needed as parameters. Drop the others.
29746 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29747 __m128i_strloadu_tolower.
29748 Create and initialize variable zero and use it in all the places
29749 where _mm_setzero_si128 was used.
29751 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29752 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29753 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29754 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29756 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29757 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29758 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29759 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29760 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29761 __mpranred, __mptan.
29762 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29763 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29764 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29765 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29766 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29767 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29769 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29770 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29772 2011-10-28 Andreas Schwab <schwab@redhat.com>
29774 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29775 redefine if SHARED.
29776 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29778 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29779 wide char related routines to wcsmbs subdir.
29781 2011-10-27 Andreas Schwab <schwab@redhat.com>
29784 * misc/sys/cdefs.h (__THROWNL): Define.
29785 * posix/unistd.h: Use __THREADNL instead of __THREAD
29786 for memory synchronization functions.
29788 2011-10-26 Roland McGrath <roland@hack.frob.com>
29791 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29793 * manual/stdio.texi (Obstack Streams): Node removed.
29795 2011-10-26 Andreas Schwab <schwab@redhat.com>
29797 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29798 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29799 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29801 * math/math_private.h (math_force_eval): Allow non-addressable
29803 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29805 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29807 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29808 file is not needed.
29810 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29811 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29812 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29813 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29814 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29815 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29817 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29819 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29820 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29821 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29822 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29823 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29824 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29825 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29826 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29827 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29828 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29829 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29830 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29831 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29832 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29833 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29834 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29835 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29836 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29837 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29839 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29840 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29843 place. Use VEX encoding when compiling for AVX.
29845 2011-10-25 Andreas Schwab <schwab@redhat.com>
29847 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29848 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29850 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29852 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29854 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
29855 useless if() expression.
29856 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29857 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29858 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29860 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29861 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29862 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29863 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29864 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29865 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29866 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29867 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29868 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29869 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29870 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29871 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29872 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29873 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29874 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29876 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29878 2011-10-25 Andreas Schwab <schwab@redhat.com>
29880 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29882 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29884 2011-10-25 Ulrich Drepper <drepper@gmail.com>
29886 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29887 .text section. Avoid duplicate constants.
29888 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29889 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29890 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29892 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29893 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29894 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29896 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29897 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29898 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29899 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29900 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29901 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29904 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29905 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29911 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29912 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29913 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29914 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29915 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29916 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29917 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29918 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29919 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29920 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29921 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29922 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29923 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29924 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29925 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29926 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29927 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29928 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29929 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29930 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29931 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29932 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29934 2011-10-24 Ulrich Drepper <drepper@gmail.com>
29936 * sysdeps/x86_64/dla.h: Move to ...
29937 * sysdeps/x86_64/fpu/dla.h: ...here.
29938 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29939 situations. Use __builtin_fma only for gcc 4.6 and up.
29941 * config.make.in: Add have-mfma4 entry.
29942 * configure.in: Substitute libc_cv_cc_fma4.
29943 * math/Makefile (dbl-only-routines): Add sincostab.
29944 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29945 Use __sincostab not sincos.
29946 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29948 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29949 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29950 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29951 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29953 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29954 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29955 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29956 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29958 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29959 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29961 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29962 define aliases when function name is a macro.
29963 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29964 sysdeps/ieee754/dbl-64/sincos.tbl.
29965 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29966 fma4-enabled routines.
29967 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29968 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29969 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29970 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29971 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29972 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29973 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29974 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29976 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29977 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29978 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29979 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29980 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29982 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29983 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29984 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29985 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29987 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29989 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29991 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29992 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29994 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29995 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29996 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29998 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30000 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30003 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30004 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30006 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30007 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30009 2011-10-24 Andreas Schwab <schwab@redhat.com>
30011 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30013 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30015 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30017 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30019 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30021 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30022 Remove unused variable magic_bits.
30023 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30025 * string/strnlen.c: Define and use STRNLEN macro.
30026 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30027 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30029 * wcsmbs/wcslen.c: Define and use WCSLEN.
30030 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30031 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30032 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30033 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30034 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30035 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30036 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30038 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30040 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30041 strnlen-sse2-no-bsf.
30042 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30043 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30044 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30045 Add strnlen support.
30046 (USE_AS_STRNLEN): New macro.
30047 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30048 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30049 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30050 * sysdeps/x86_64/wcslen.S: New file.
30052 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30054 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30055 XMM-moves are used for copying on small sizes.
30057 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30059 * wcsmbs/Makefile (strop-tests): Add wcschr.
30060 * wcsmbs/test-wcschr.c: New file.
30061 * string/test-strchr.c: Update.
30062 Add wcschr support.
30065 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30067 * wcsmbs/Makefile (strop-tests): Add wcslen.
30068 * wcsmbs/test-wcslen.c: New file.
30069 * string/test-strlen.c: Update.
30070 Add wcslen support.
30073 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30075 * po/it.po: Update from translation team.
30077 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30079 * sysdeps/x86_64/wcscmp.S: Update.
30080 Fix wrong comparison semantics.
30081 wcscmp shall use signed comparison not unsigned.
30082 Don't use substraction to avoid overflow bug.
30083 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30084 * wcsmbc/wcscmp.c: Likewise.
30085 * string/test-strcmp.c: Likewise.
30086 Add new tests to check cases with negative values.
30088 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30090 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30091 * sysdeps/x86_64/dla.h: ...here. New file.
30092 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30093 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30094 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30095 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30097 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30102 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30104 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30105 __ynl_finite aliases.
30107 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30109 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30111 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30113 [DLA_FMA] (EMULV): Use DLA_FMA.
30114 [DLA_FMA] (MUL12): Use EMULV.
30115 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30116 that are not needed.
30117 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30118 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30119 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30120 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30121 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30122 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30123 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30125 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30127 * math/s_nan.c: Undef __nan.
30128 * math/s_nanf.c: Undef __nanf.
30129 * math/s_nanl.c: Undef __nanl.
30130 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30133 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30135 * math/s_catan.c: Add branch predictions.
30136 * math/s_catanf.c: Likewise.
30137 * math/s_catanh.c: Likewise.
30138 * math/s_catanhf.c: Likewise.
30139 * math/s_catanhl.c: Likewise.
30140 * math/s_catanl.c: Likewise.
30141 * math/s_cexp.c: Likewise.
30142 * math/s_cexpf.c: Likewise.
30143 * math/s_cexpl.c: Likewise.
30144 * math/s_clog.c: Likewise.
30145 * math/s_clog10.c: Likewise.
30146 * math/s_clog10f.c: Likewise.
30147 * math/s_clog10l.c: Likewise.
30148 * math/s_clogf.c: Likewise.
30149 * math/s_clogl.c: Likewise.
30150 * math/s_csqrt.c: Likewise.
30151 * math/s_csqrtf.c: Likewise.
30152 * math/s_csqrtl.c: Likewise.
30153 * math/s_ctanf.c: Likewise.
30154 * math/s_ctanh.c: Likewise.
30155 * math/s_ctanhf.c: Likewise.
30156 * math/s_ctanhl.c: Likewise.
30157 * math/s_ctanl.c: Likewise.
30159 * math/math_private.h: Define __nan, __nanf, __nanl.
30160 * math/s_cacosh.c: Include <math_private.h>.
30161 * math/s_cacoshl.c: Likewise.
30162 * math/s_casinh.c: Likewise.
30163 * math/s_casinhf.c: Likewise.
30164 * math/s_casinhl.c: Likewise.
30165 * math/s_ccos.c: Rely entire on ccosh.
30166 * math/s_ccosf.c: Rely entire on ccoshf.
30167 * math/s_ccosl.c: Rely entirely on ccoshl.
30168 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30169 Remove tests for FE_INVALID.
30170 * math/s_ccoshf.c: Likewise.
30171 * math/s_ccoshl.c: Likewise.
30172 * math/s_csin.c: Likewise.
30173 * math/s_csinf.c: Likewise.
30174 * math/s_csinh.c Likewise.
30175 * math/s_csinhf.c: Likewise.
30176 * math/s_csinhl.c: Likewise.
30177 * math/s_csinl.c: Likewise.
30178 * math/s_ctan.c: Likewise.
30179 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30180 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30181 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30183 2011-10-21 Ulrich Drepper <drepper@gmail.com>
30185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30186 compilation problems.
30188 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30191 2011-10-20 Ulrich Drepper <drepper@gmail.com>
30193 * sysdeps/i386/configure.in: Test for -mfma4 option.
30194 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30195 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30196 COMMON_CPUID_INDEX_80000001.
30197 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30198 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30199 use it if FMA3 is not supported.
30200 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30202 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30203 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30205 2011-10-20 Andreas Schwab <schwab@redhat.com>
30208 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30209 it would create a cycle with a link time dependency.
30211 2011-10-19 Ulrich Drepper <drepper@gmail.com>
30213 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30215 * string/Makefile (strop-tests): Add rawmemchr.
30216 * string/test-rawmemchr.c: New file.
30218 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30219 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30220 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30221 when compiling str{,n}casecmp and when AVX is available. Hook up
30222 new optimized code in initializers.
30224 2011-10-19 Andreas Schwab <schwab@redhat.com>
30226 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30227 __feraiseexcept instead of feraiseexcept.
30229 2011-10-18 Ulrich Drepper <drepper@gmail.com>
30231 * math/math_private.h: Define defaults for libc_fetestexcept and
30233 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30234 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30235 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30236 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30237 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30238 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30239 libc_fetestexcept and libc_feupdateenv.
30241 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30242 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30243 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30244 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30245 libc_feholdexcept_setround.
30247 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30248 Add s_nearbyint-c and s_nearbyintf-c.
30249 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30250 nearbyintf inlines.
30251 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30252 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30253 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30254 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30256 * math/math_private.h: Define defaults for libc_fegetround,
30257 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30258 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30259 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30260 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30261 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30262 standard functions.
30263 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30264 Remove comments and hacks for old compiler versions.
30265 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30266 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30267 libc_feholdexceptl.
30269 2011-10-18 Andreas Schwab <schwab@redhat.com>
30271 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30272 (__feraiseexcept_renamed): Add __NTH.
30273 (feraiseexcept): Add __NTH. Rename local variables to fix
30274 namespace violations.
30276 2011-10-17 Ulrich Drepper <drepper@gmail.com>
30278 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30280 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30282 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30283 recently added interfaces.
30284 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30286 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30287 about macro parameter expansion.
30289 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30290 __NO_MATH_INLINES is defined. Cleanups.
30292 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30293 and __floorf is target has SSE4.1.
30294 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30295 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30296 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30297 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30299 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30301 (floorf): Likewise.
30303 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30305 2011-10-17 Andreas Schwab <schwab@redhat.com>
30307 * misc/sys/cdefs.h: Fix last change.
30309 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30312 2011-10-16 Ulrich Drepper <drepper@gmail.com>
30314 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30316 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30317 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30318 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30319 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30320 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30321 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30322 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30323 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30324 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30325 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30326 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30327 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30328 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30329 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30330 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30331 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30332 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30333 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30334 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30335 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30336 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30337 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30339 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30340 ceil, ceilf, floor, floorf.
30342 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30343 Perform IRELATIVE relocations last.
30345 * elf/do-rel.h: Add another parameter nrelative, replacing the
30346 local variable with the same name. Change name of the function
30347 to end in Rel or Rela (uppercase).
30348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30349 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30350 elf_dynamic_do_##reloc function.
30352 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30354 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30355 is sufficient, at least on modern CPUs.
30357 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30359 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30360 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30362 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30364 * math/bits/math-finite.h: Add entries for exp.
30365 * math/e_expl.c: Add __*_finite alias.
30366 * sysdeps/i386/fpu/e_exp.S: Likewise.
30367 * sysdeps/i386/fpu/e_expf.S: Likewise.
30368 * sysdeps/i386/fpu/e_expl.c: Likewise.
30369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30370 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30371 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30372 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30373 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30374 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30375 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30377 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30378 is sufficient, at least on modern CPUs.
30380 * ctype/ctype-info.c (__ctype_init): Define.
30381 * include/ctype.h (__ctype_init): Declare.
30382 (__ctype_b_loc): The variable is always initialized.
30383 (__ctype_toupper_loc): Likewise.
30384 (__ctype_tolower_loc): Likewise.
30385 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30386 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30388 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30390 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30392 * configure.in: Also look in $cxxmachine/include for C++ system
30395 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30397 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30398 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30399 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30400 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30401 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30402 (USE_AS_WMEMCMP): New macro.
30404 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30405 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30406 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30407 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30408 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30409 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30410 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30411 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30412 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30413 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30414 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30415 (USE_AS_WMEMCMP): New macro.
30416 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30417 * sysdeps/string/test-memcmp.c: Update.
30418 Fix simple_wmemcmp.
30420 * wcsmbs/wmemcmp.c: Update.
30421 (WMEMCMP): New macro.
30424 2011-10-12 Andreas Jaeger <aj@suse.de>
30427 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30429 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30431 * libio/iofwide.c (do_length): Avoid warning.
30433 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30435 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30437 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30439 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30440 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30441 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30442 * sysdeps/i386/i686/fpu/e_log.S: New file.
30443 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30444 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30446 * ctype/ctype.h: Add support for inlined isXXX functions when
30447 compiling C++ code.
30449 2011-10-14 Andreas Schwab <schwab@redhat.com>
30451 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30453 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30455 2011-10-13 Roland McGrath <roland@hack.frob.com>
30458 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30460 2011-10-13 Andreas Schwab <schwab@redhat.com>
30462 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30463 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30466 * sysdeps/x86_64/memrchr.S: Check for zero size.
30468 * string/stratcliff.c: Add memrchr tests.
30470 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30473 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30474 rawmemchr-sse2 rawmemchr-sse2-bsf.
30475 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30476 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30477 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30478 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30479 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30480 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30481 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30482 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30483 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30484 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30485 * string/memrchr.c (MEMRCHR): New macro.
30487 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30489 Add integration with gcc's -ffinite-math-only and optimize wrapper
30491 * Versions.def: Define GLIBC_2.15 version for libm.
30492 * math/Makefile (headers): Add bits/math-finite.h.
30493 * math/bits/math-finite.h: New file.
30494 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30495 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30496 * math/e_acoshl.c: Add __*_finite alias.
30497 * math/e_acosl.c: Likewise.
30498 * math/e_asinl.c: Likewise.
30499 * math/e_atan2l.c: Likewise.
30500 * math/e_atanhl.c: Likewise.
30501 * math/e_coshl.c: Likewise.
30502 * math/e_exp10.c: Likewise.
30503 * math/e_exp10f.c: Likewise.
30504 * math/e_exp10l.c: Likewise.
30505 * math/e_exp2l.c: Likewise.
30506 * math/e_fmodl.c: Likewise.
30507 * math/e_gammal_r.c: Likewise.
30508 * math/e_hypotl.c: Likewise.
30509 * math/e_j0l.c: Likewise.
30510 * math/e_j1l.c: Likewise.
30511 * math/e_jnl.c: Likewise.
30512 * math/e_lgammal_r.c: Likewise.
30513 * math/e_log10l.c: Likewise.
30514 * math/e_log2l.c: Likewise.
30515 * math/e_logl.c: Likewise.
30516 * math/e_powl.c: Likewise.
30517 * math/e_sinhl.c: Likewise.
30518 * math/e_sqrtl.c: Likewise.
30519 * math/e_scalb.c: Completely rewritten and optimized.
30520 * math/e_scalbf.c: Likewise.
30521 * math/e_scalbl.c: Likewise.
30522 * math/w_acos.c: Likewise.
30523 * math/w_acosf.c: Likewise.
30524 * math/w_acosl.c: Likewise.
30525 * math/w_acosh.c: Likewise.
30526 * math/w_acoshf.c: Likewise.
30527 * math/w_acoshl.c: Likewise.
30528 * math/w_asin.c: Likewise.
30529 * math/w_asinf.c: Likewise.
30530 * math/w_asinl.c: Likewise.
30531 * math/w_atan2.c: Likewise.
30532 * math/w_atan2f.c: Likewise.
30533 * math/w_atan2l.c: Likewise.
30534 * math/w_atanh.c: Likewise.
30535 * math/w_atanhf.c: Likewise.
30536 * math/w_atanhl.c: Likewise.
30537 * math/w_exp10.c: Likewise.
30538 * math/w_exp10f.c: Likewise.
30539 * math/w_exp10l.c: Likewise.
30540 * math/w_fmod.c: Likewise.
30541 * math/w_fmodf.c: Likewise.
30542 * math/w_fmodl.c: Likewise.
30543 * math/w_j0.c: Likewise.
30544 * math/w_j0f.c: Likewise.
30545 * math/w_j0l.c: Likewise.
30546 * math/w_j1.c: Likewise.
30547 * math/w_j1f.c: Likewise.
30548 * math/w_j1l.c: Likewise.
30549 * math/w_jn.c: Likewise.
30550 * math/w_jnf.c: Likewise.
30551 * math/w_log.c: Likewise.
30552 * math/w_logf.c: Likewise.
30553 * math/w_logl.c: Likewise.
30554 * math/w_log10.c: Likewise.
30555 * math/w_log10f.c: Likewise.
30556 * math/w_log10l.c: Likewise.
30557 * math/w_log2.c: Likewise.
30558 * math/w_log2f.c: Likewise.
30559 * math/w_log2l.c: Likewise.
30560 * math/w_pow.c: Likewise.
30561 * math/w_powf.c: Likewise.
30562 * math/w_powl.c: Likewise.
30563 * math/w_remainder.c: Likewise.
30564 * math/w_remainderf.c: Likewise.
30565 * math/w_remainderl.c: Likewise.
30566 * math/w_scalb.c: Likewise.
30567 * math/w_scalbf.c: Likewise.
30568 * math/w_scalbl.c: Likewise.
30569 * math/w_sqrt.c: Likewise.
30570 * math/w_sqrtf.c: Likewise.
30571 * math/w_sqrtl.c: Likewise.
30572 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30573 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30575 * math/math_private.h: Declare __kernel_standard_f.
30576 * math/w_cosh.c: Remove cruft and optimize a bit.
30577 * math/w_coshf.c: Likewise.
30578 * math/w_coshl.c: Likewise.
30579 * math/w_exp2.c: Likewise.
30580 * math/w_exp2f.c: Likewise.
30581 * math/w_exp2l.c: Likewise.
30582 * math/w_hypot.c: Likewise.
30583 * math/w_hypotf.c: Likewise.
30584 * math/w_hypotl.c: Likewise.
30585 * math/w_lgamma.c: Likewise.
30586 * math/w_lgamma_r.c: Likewise.
30587 * math/w_lgammaf.c: Likewise.
30588 * math/w_lgammaf_r.c: Likewise.
30589 * math/w_lgammal.c: Likewise.
30590 * math/w_lgammal_r.c: Likewise.
30591 * math/w_sinh.c: Likewise.
30592 * math/w_sinhf.c: Likewise.
30593 * math/w_sinhl.c: Likewise.
30594 * math/w_tgamma.c: Likewise.
30595 * math/w_tgammaf.c: Likewise.
30596 * math/w_tgammal.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30598 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30599 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30600 Minor optimizations. Pretty printing. Remove cruft.
30601 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30602 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30603 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30604 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30605 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30606 * sysdeps/i386/fpu/e_asin.S: Likewise.
30607 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30608 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30609 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30610 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30611 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30612 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30613 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30614 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30615 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30616 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30617 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30618 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30619 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30620 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30621 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30622 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30623 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30624 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30625 * sysdeps/i386/fpu/e_log.S: Likewise.
30626 * sysdeps/i386/fpu/e_log10.S: Likewise.
30627 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30628 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30629 * sysdeps/i386/fpu/e_log2.S: Likewise.
30630 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30631 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30632 * sysdeps/i386/fpu/e_logf.S: Likewise.
30633 * sysdeps/i386/fpu/e_logl.S: Likewise.
30634 * sysdeps/i386/fpu/e_pow.S: Likewise.
30635 * sysdeps/i386/fpu/e_powf.S: Likewise.
30636 * sysdeps/i386/fpu/e_powl.S: Likewise.
30637 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30638 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30639 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30640 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30641 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30642 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30643 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30644 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30645 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30649 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30655 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30656 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30657 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30658 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30659 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30660 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30662 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30663 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30664 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30665 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30666 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30667 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30668 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30669 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30670 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30671 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30672 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30673 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30674 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30675 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30676 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30677 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30680 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30681 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30682 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30683 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30684 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30685 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30686 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30687 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30688 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30689 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30690 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30691 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30692 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30693 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30694 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30695 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30696 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30697 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30701 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30702 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30703 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30704 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30705 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30706 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30714 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30715 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30720 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30721 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30722 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30723 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30724 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30725 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30726 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30727 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30728 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30729 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30730 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30731 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30732 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30733 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30734 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30735 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30736 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30737 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30738 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30739 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30740 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30741 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30742 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30743 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30744 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30745 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30746 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30747 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30748 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30749 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30750 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30751 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30752 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30753 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30754 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30755 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30756 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30757 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30758 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30759 (__isnanf): Likewise.
30760 (__isinf_ns): Likewise.
30761 (__isinf_nsf): Likewise.
30762 (__finite): Likewise.
30763 (__finitef): Likewise.
30764 (__ieee754_sqrt): Define as macro.
30765 (__ieee754_sqrtf): Define as macro.
30766 (__ieee754_sqrtl): Define as macro.
30767 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30769 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30770 __FINITE_MATH_ONLY__ consistent.
30771 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30773 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30775 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30778 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30780 2011-10-09 Ulrich Drepper <drepper@gmail.com>
30782 * po/ja.po: Update from translation team.
30784 2011-10-08 Roland McGrath <roland@hack.frob.com>
30786 * locale/programs/locarchive.c (prepare_address_space): New function.
30787 (create_archive, enlarge_archive, open_archive): Use it.
30789 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30790 inside [SHARED], where it is used.
30792 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30794 * nss/getent.c (netgroup_keys): Remove unused variable.
30795 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30797 2011-10-08 Ulrich Drepper <drepper@gmail.com>
30799 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30800 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30801 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30802 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30803 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30804 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30805 * math/Makefile (libm-calls): Add s_isinf_ns.
30806 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30807 * math/multc3.c: Likewise.
30808 * math/s_casin.c: Likewise.
30809 * math/s_casinf.c: Likewise.
30810 * math/s_casinl.c: Likewise.
30811 * math/s_ccos.c: Likewise.
30812 * math/s_ccosf.c: Likewise.
30813 * math/s_ccosl.c: Likewise.
30814 * math/s_ctan.c: Likewise.
30815 * math/s_ctanf.c: Likewise.
30816 * math/s_ctanh.c: Likewise.
30817 * math/s_ctanhf.c: Likewise.
30818 * math/s_ctanhl.c: Likewise.
30819 * math/s_ctanl.c: Likewise.
30820 * math/w_fmod.c: Likewise.
30821 * math/w_fmodf.c: Likewise.
30822 * math/w_fmodl.c: Likewise.
30823 * math/w_remainder.c: Likewise.
30824 * math/w_remainderf.c: Likewise.
30825 * math/w_remainderl.c: Likewise.
30826 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30827 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30828 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30830 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30831 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30832 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30833 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30835 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30837 * stdio-common/printf_fphex.c: Likewise.
30838 * stdio-common/printf_size.c: Likewise.
30840 * math/e_exp10.c: Include math_private.h using <...> not "...".
30841 * math/e_exp10f.c: Likewise.
30842 * math/e_exp10l.c: Likewise.
30843 * math/e_exp2l.c: Likewise.
30844 * math/e_j0l.c: Likewise.
30845 * math/e_j1l.c: Likewise.
30846 * math/e_jnl.c: Likewise.
30847 * math/e_lgammal_r.c: Likewise.
30848 * math/e_rem_pio2l.c: Likewise.
30849 * math/e_scalb.c: Likewise.
30850 * math/e_scalbf.c: Likewise.
30851 * math/e_scalbl.c: Likewise.
30852 * math/k_cosl.c: Likewise.
30853 * math/k_sinl.c: Likewise.
30854 * math/k_tanl.c: Likewise.
30855 * math/s_cacoshf.c: Likewise.
30856 * math/s_catan.c: Likewise.
30857 * math/s_catanf.c: Likewise.
30858 * math/s_catanh.c: Likewise.
30859 * math/s_catanhf.c: Likewise.
30860 * math/s_catanhl.c: Likewise.
30861 * math/s_catanl.c: Likewise.
30862 * math/s_ccosh.c: Likewise.
30863 * math/s_ccoshf.c: Likewise.
30864 * math/s_ccoshl.c: Likewise.
30865 * math/s_cexp.c: Likewise.
30866 * math/s_cexpf.c: Likewise.
30867 * math/s_cexpl.c: Likewise.
30868 * math/s_clog.c: Likewise.
30869 * math/s_clog10.c: Likewise.
30870 * math/s_clog10f.c: Likewise.
30871 * math/s_clog10l.c: Likewise.
30872 * math/s_clogf.c: Likewise.
30873 * math/s_clogl.c: Likewise.
30874 * math/s_csin.c: Likewise.
30875 * math/s_csinf.c: Likewise.
30876 * math/s_csinh.c: Likewise.
30877 * math/s_csinhf.c: Likewise.
30878 * math/s_csinhl.c: Likewise.
30879 * math/s_csinl.c: Likewise.
30880 * math/s_csqrt.c: Likewise.
30881 * math/s_csqrtf.c: Likewise.
30882 * math/s_csqrtl.c: Likewise.
30883 * math/s_ctan.c: Likewise.
30884 * math/s_ctanf.c: Likewise.
30885 * math/s_ctanh.c: Likewise.
30886 * math/s_ctanhf.c: Likewise.
30887 * math/s_ctanhl.c: Likewise.
30888 * math/s_ctanl.c: Likewise.
30889 * math/s_ldexp.c: Likewise.
30890 * math/s_ldexpf.c: Likewise.
30891 * math/s_ldexpl.c: Likewise.
30892 * math/s_significand.c: Likewise.
30893 * math/s_significandf.c: Likewise.
30894 * math/s_significandl.c: Likewise.
30895 * math/w_acos.c: Likewise.
30896 * math/w_acosf.c: Likewise.
30897 * math/w_acosh.c: Likewise.
30898 * math/w_acoshf.c: Likewise.
30899 * math/w_acoshl.c: Likewise.
30900 * math/w_acosl.c: Likewise.
30901 * math/w_asin.c: Likewise.
30902 * math/w_asinf.c: Likewise.
30903 * math/w_asinl.c: Likewise.
30904 * math/w_atan2.c: Likewise.
30905 * math/w_atan2f.c: Likewise.
30906 * math/w_atan2l.c: Likewise.
30907 * math/w_atanh.c: Likewise.
30908 * math/w_atanhf.c: Likewise.
30909 * math/w_atanhl.c: Likewise.
30910 * math/w_cosh.c: Likewise.
30911 * math/w_coshf.c: Likewise.
30912 * math/w_coshl.c: Likewise.
30913 * math/w_dremf.c: Likewise.
30914 * math/w_exp10.c: Likewise.
30915 * math/w_exp10f.c: Likewise.
30916 * math/w_exp10l.c: Likewise.
30917 * math/w_exp2.c: Likewise.
30918 * math/w_exp2f.c: Likewise.
30919 * math/w_fmod.c: Likewise.
30920 * math/w_fmodf.c: Likewise.
30921 * math/w_fmodl.c: Likewise.
30922 * math/w_hypot.c: Likewise.
30923 * math/w_hypotf.c: Likewise.
30924 * math/w_hypotl.c: Likewise.
30925 * math/w_j0.c: Likewise.
30926 * math/w_j0f.c: Likewise.
30927 * math/w_j0l.c: Likewise.
30928 * math/w_j1.c: Likewise.
30929 * math/w_j1f.c: Likewise.
30930 * math/w_j1l.c: Likewise.
30931 * math/w_jn.c: Likewise.
30932 * math/w_jnf.c: Likewise.
30933 * math/w_jnl.c: Likewise.
30934 * math/w_lgamma.c: Likewise.
30935 * math/w_lgamma_r.c: Likewise.
30936 * math/w_lgammaf.c: Likewise.
30937 * math/w_lgammaf_r.c: Likewise.
30938 * math/w_lgammal.c: Likewise.
30939 * math/w_lgammal_r.c: Likewise.
30940 * math/w_log.c: Likewise.
30941 * math/w_log10.c: Likewise.
30942 * math/w_log10f.c: Likewise.
30943 * math/w_log10l.c: Likewise.
30944 * math/w_log2.c: Likewise.
30945 * math/w_log2f.c: Likewise.
30946 * math/w_log2l.c: Likewise.
30947 * math/w_logf.c: Likewise.
30948 * math/w_logl.c: Likewise.
30949 * math/w_pow.c: Likewise.
30950 * math/w_powf.c: Likewise.
30951 * math/w_powl.c: Likewise.
30952 * math/w_remainder.c: Likewise.
30953 * math/w_remainderf.c: Likewise.
30954 * math/w_remainderl.c: Likewise.
30955 * math/w_scalb.c: Likewise.
30956 * math/w_scalbf.c: Likewise.
30957 * math/w_scalbl.c: Likewise.
30958 * math/w_sinh.c: Likewise.
30959 * math/w_sinhf.c: Likewise.
30960 * math/w_sinhl.c: Likewise.
30961 * math/w_sqrt.c: Likewise.
30962 * math/w_sqrtf.c: Likewise.
30963 * math/w_sqrtl.c: Likewise.
30964 * math/w_tgamma.c: Likewise.
30965 * math/w_tgammaf.c: Likewise.
30966 * math/w_tgammal.c: Likewise.
30968 * po/ja.po: Update from translation team.
30970 2011-09-29 Andreas Jaeger <aj@suse.de>
30973 * sunrpc/netname.c (netname2host): Fix logic.
30977 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30979 * math/w_remainder.c (__remainder): Likewise.
30980 * math/w_remainderf.c (__remainderf): Likewise.
30981 * math/libm-test.inc (remainder_test): Add test cases.
30983 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30985 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30988 2011-10-07 Ulrich Drepper <drepper@gmail.com>
30990 * string/test-memcmp.c: Avoid unncessary #defines.
30991 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30993 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30995 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30996 Use new sse2 version for core i3 - i7 as it's faster
30997 than sse42 version.
30998 (bit_Prefer_PMINUB_for_stringop): New.
30999 * sysdeps/x86_64/rawmemchr.S: Update.
31000 Replace with faster SSE2 version.
31001 * sysdeps/x86_64/memrchr.S: New file.
31002 * sysdeps/x86_64/memchr.S: Update.
31003 Replace with faster SSE2 version.
31005 2011-09-12 Marek Polacek <mpolacek@redhat.com>
31007 * elf/dl-load.c (lose): Add cast to avoid warning.
31009 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31011 * po/ca.po: Update from translation team.
31013 * inet/getnetgrent_r.c: Hook up nscd.
31014 * nscd/Makefile (routines): Add nscd_netgroup.
31015 (nscd-modules): Add netgroupcache.
31016 (CFLAGS-netgroupcache.c): Define.
31017 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31018 (cache_search): Add const to second parameter.
31019 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31021 (dbs): Add netgrdb entry.
31022 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31023 (verify_persistent_db): Handle netgrdb.
31024 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31025 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31027 (netgroup_response_header): Define.
31028 (innetgroup_response_header): Define.
31029 (datahead): Add netgroup_response_header and innetgroup_response_header
31031 * nscd/nscd.conf: Add entries for netgroup cache.
31032 * nscd/nscd.h (dbtype): Add netgrdb.
31033 (_PATH_NSCD_NETGROUP_DB): Define.
31034 (netgroup_iov_disabled): Declare.
31035 (xmalloc, xcalloc, xrealloc): Move declarations here.
31036 (cache_search): Adjust prototype.
31037 Add netgroup-related prototypes.
31038 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31039 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31040 (__nscd_innetgr): Declare.
31041 * nscd/selinux.c (perms): Use access_vector_t as element type and
31042 add netgroup-related initializers.
31043 * nscd/netgroupcache.c: New file.
31044 * nscd/nscd_netgroup.c: New file.
31045 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31046 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31047 For four parameters use innetgr.
31048 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31049 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31050 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31051 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31053 * nscd/connections.c (register_traced_file): Don't register file
31054 for disabled databases.
31056 2011-10-06 Ulrich Drepper <drepper@gmail.com>
31058 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31060 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31061 from tree and freeing node.
31063 2011-09-25 Jiri Olsa <jolsa@redhat.com>
31065 * nss/nsswitch.c (__nss_database_lookup): Handle
31066 nss_parse_service_list out of memory case.
31068 2011-09-15 Jiri Olsa <jolsa@redhat.com>
31070 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31071 out of memory case.
31073 2011-10-04 Andreas Schwab <schwab@redhat.com>
31075 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31076 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31078 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31079 elf_machine_rela, elf_machine_lazy_rel.
31080 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31081 (ELF_DYNAMIC_DO_REL): Likewise.
31082 (ELF_DYNAMIC_DO_RELA): Likewise.
31083 (ELF_DYNAMIC_RELOCATE): Likewise.
31084 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31085 to ELF_DYNAMIC_DO_REL.
31086 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31087 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31088 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31090 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31091 skip_ifunc, don't call ifunc function if non-zero.
31092 (elf_machine_rela): Likewise.
31093 (elf_machine_lazy_rel): Likewise.
31094 (elf_machine_lazy_rela): Likewise.
31095 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31096 (elf_machine_lazy_rel): Likewise.
31097 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31099 (elf_machine_lazy_rel): Likewise.
31100 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31102 (elf_machine_lazy_rel): Likewise.
31103 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31104 (elf_machine_lazy_rel): Likewise.
31105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31106 (elf_machine_lazy_rel): Likewise.
31107 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31108 (elf_machine_lazy_rel): Likewise.
31109 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31110 (elf_machine_lazy_rel): Likewise.
31111 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31112 (elf_machine_lazy_rel): Likewise.
31113 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31114 (elf_machine_lazy_rel): Likewise.
31116 2011-09-28 Ulrich Drepper <drepper@gmail.com>
31118 * nss/nss_files/files-init.c (_nss_files_init): Use static
31119 initialization for all the *_traced_file variables.
31121 2011-09-28 Andreas Schwab <schwab@redhat.com>
31123 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31125 2011-09-27 Roland McGrath <roland@hack.frob.com>
31128 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31130 2011-09-27 Andreas Schwab <schwab@redhat.com>
31132 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31133 Reread the line before reparsing it.
31135 2011-09-26 Andreas Schwab <schwab@redhat.com>
31137 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31139 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31140 Maxim Kuvyrkov <maxim@codesourcery.com>
31141 Joseph Myers <joseph@codesourcery.com>
31143 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31144 if needed for __stack_chk_guard.
31146 2011-09-19 Roland McGrath <roland@hack.frob.com>
31148 * sysdeps/posix/spawni.c (script_execute): Always define it.
31149 It will be optimized away if unused.
31150 (maybe_script_execute): New function.
31151 (__spawni): Call it.
31153 * Makerules: Don't include tls.make.
31154 (config-tls): Always set to thread.
31155 * tls.make.c: File removed.
31157 2011-09-19 Mike Frysinger <vapier@gentoo.org>
31159 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31160 * config.make.in (CPPFLAGS-config): New substituted variable.
31162 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31164 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31167 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31168 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31170 2011-09-15 Roland McGrath <roland@hack.frob.com>
31172 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31173 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31175 (CALL_FAIL): Likewise.
31176 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31177 (CALL_FAIL): Macro removed.
31178 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31180 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31182 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31183 for __FINITE_MATH_ONLY__ == 1.
31185 2011-09-15 Andreas Schwab <schwab@redhat.com>
31187 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31188 __ieee754_sqrt instead of sqrt.
31189 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31190 __ieee754_sqrtf instead of sqrtf.
31191 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31192 __floorf instead of floorf.
31193 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31194 __floorf, __truncf instead of floorf, truncf.
31196 2011-09-14 Ulrich Drepper <drepper@gmail.com>
31198 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31200 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31201 __extern_always_inline.
31202 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31205 2011-09-14 Andreas Schwab <schwab@redhat.com>
31207 * elf/rtld.c (dl_main): Also relocate in dependency order when
31208 doing symbol dependency testing.
31210 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31212 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31213 Always define `refsym'.
31215 2011-09-13 Andreas Schwab <schwab@redhat.com>
31217 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31218 (__FD_ELT): Renamed from __FDELT.
31219 * misc/bits/select2.h (__FD_ELT): Likewise.
31220 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31221 __FD_MASK instead of __FDELT, __FDMASK.
31222 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31224 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31227 * elf/Makefile (gen-ldd): Fix pattern.
31229 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31230 (init_tls): Likewise.
31232 2011-09-12 Ulrich Drepper <drepper@gmail.com>
31234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31236 2011-09-12 Andreas Schwab <schwab@redhat.com>
31238 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31239 `struct cmsghdr *' instead of `void *'.
31240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31243 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31245 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31247 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31248 ldd_rewrite_script.
31250 2011-09-11 Ulrich Drepper <drepper@gmail.com>
31252 * configure.in: Remove --with-tls option.
31253 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31254 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31255 out in case it is missing.
31256 * sysdeps/ia64/elf/configure.in: Likewise.
31257 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31258 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31259 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31260 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31261 * sysdeps/sh/elf/configure.in: Likewise.
31262 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31263 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31264 * sysdeps/x86_64/elf/configure.in: Likewise.
31265 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31266 * sysdeps/mach/hurd/tls.h: Likewise.
31269 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31272 * configure.in: Fix use of AC_INIT.
31274 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31276 2011-09-10 Ulrich Drepper <drepper@gmail.com>
31278 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31280 * malloc/hooks.c: Likewise.
31283 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31284 variables statically.
31285 (narenas): Initialize.
31286 (list_lock): Initialize.
31287 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31288 initializtion of main_arena and list_lock. Small cleanups.
31289 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31290 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31291 Add initializers to main_arena and mp_.
31292 (malloc_state): Remove pagesize member. Change all users to use
31295 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31296 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31297 is always initialized.
31299 * malloc/malloc.c: Removed unused configurations and dead code.
31300 * malloc/arena.c: Likewise.
31301 * malloc/hooks.c: Likewise.
31302 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31304 * include/tls.h: Removed. USE___THREAD must always be defined.
31305 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31306 * elf/dl-libc.c: Likewise.
31307 * elf/dl-tsd.c: Likewise.
31308 * include/errno.h: Likewise.
31309 * include/netdb.h: Likewise.
31310 * include/resolv.h: Likewise.
31311 * inet/herrno-loc.c: Likewise.
31312 * inet/herrno.c: Likewise.
31313 * malloc/arena.c: Likewise.
31314 * malloc/hooks.c: Likewise.
31315 * malloc/malloc.c: Likewise.
31316 * resolv/res-state.c: Likewise.
31317 * resolv/res_libc.c: Likewise.
31318 * sysdeps/i386/dl-machine.h: Likewise.
31319 * sysdeps/ia64/dl-machine.h: Likewise.
31320 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31321 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31322 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31323 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31324 * sysdeps/sh/dl-machine.h: Likewise.
31325 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31326 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31327 * sysdeps/unix/i386/sysdep.S: Likewise.
31328 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31329 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31330 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31331 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31334 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31337 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31338 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31339 * sysdeps/x86_64/dl-machine.h: Likewise.
31340 * tls.make.c: Likewise.
31342 * configure.in: Remove --with-__thread option. Make tests for
31343 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31344 tls_model attribute fail if no support is available. Remove
31346 * Makeconfig: Adjust for dropped configure option. All features are
31348 * Makerules: Likewise.
31349 * Versions.def: Likewise.
31350 * argp/argp-fmtstream.c: Likewise.
31351 * argp/argp-fmtstream.h: Likewise.
31352 * argp/argp-help.c: Likewise.
31353 * assert/assert.c: Likewise.
31354 * config.h.in: Likewise.
31355 * config.make.in: Likewise.
31356 * configure: Likewise.
31357 * configure.in: Likewise.
31358 * csu/Versions: Likewise.
31359 * csu/init.c: Likewise.
31360 * elf/tst-audit2.c: Likewise.
31361 * elf/tst-tls10.c: Likewise.
31362 * elf/tst-tls10.h: Likewise.
31363 * elf/tst-tls11.c: Likewise.
31364 * elf/tst-tls12.c: Likewise.
31365 * elf/tst-tls14.c: Likewise.
31366 * elf/tst-tlsmod11.c: Likewise.
31367 * elf/tst-tlsmod12.c: Likewise.
31368 * elf/tst-tlsmod13.c: Likewise.
31369 * elf/tst-tlsmod13a.c: Likewise.
31370 * elf/tst-tlsmod14a.c: Likewise.
31371 * elf/tst-tlsmod15b.c: Likewise.
31372 * elf/tst-tlsmod16a.c: Likewise.
31373 * elf/tst-tlsmod16b.c: Likewise.
31374 * elf/tst-tlsmod7.c: Likewise.
31375 * elf/tst-tlsmod8.c: Likewise.
31376 * elf/tst-tlsmod9.c: Likewise.
31377 * gmon/gmon.c: Likewise.
31378 * grp/fgetgrent_r.c: Likewise.
31379 * grp/putgrent.c: Likewise.
31380 * hurd/fopenport.c: Likewise.
31381 * include/libc-symbols.h: Likewise.
31382 * include/tls.h: Likewise.
31383 * intl/gettextP.h: Likewise.
31384 * intl/loadinfo.h: Likewise.
31385 * locale/global-locale.c: Likewise.
31386 * locale/localeinfo.h: Likewise.
31387 * mach/devstream.c: Likewise.
31388 * malloc/arena.c: Likewise.
31389 * malloc/set-freeres.c: Likewise.
31390 * misc/err.c: Likewise.
31391 * misc/getttyent.c: Likewise.
31392 * misc/mntent_r.c: Likewise.
31393 * posix/getopt.c: Likewise.
31394 * posix/wordexp.c: Likewise.
31395 * pwd/fgetpwent_r.c: Likewise.
31396 * resolv/Versions: Likewise.
31397 * resolv/res_hconf.c: Likewise.
31398 * shadow/fgetspent_r.c: Likewise.
31399 * shadow/putspent.c: Likewise.
31400 * stdio-common/printf_fphex.c: Likewise.
31401 * stdio-common/tmpfile.c: Likewise.
31402 * stdlib/abort.c: Likewise.
31403 * stdlib/fmtmsg.c: Likewise.
31404 * sunrpc/auth_unix.c: Likewise.
31405 * sunrpc/clnt_perr.c: Likewise.
31406 * sunrpc/clnt_tcp.c: Likewise.
31407 * sunrpc/clnt_udp.c: Likewise.
31408 * sunrpc/clnt_unix.c: Likewise.
31409 * sunrpc/openchild.c: Likewise.
31410 * sunrpc/svc_simple.c: Likewise.
31411 * sunrpc/svc_tcp.c: Likewise.
31412 * sunrpc/svc_udp.c: Likewise.
31413 * sunrpc/svc_unix.c: Likewise.
31414 * sunrpc/xdr.c: Likewise.
31415 * sunrpc/xdr_array.c: Likewise.
31416 * sunrpc/xdr_rec.c: Likewise.
31417 * sunrpc/xdr_ref.c: Likewise.
31418 * sunrpc/xdr_stdio.c: Likewise.
31420 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31422 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31424 2011-07-03 Andreas Jaeger <aj@suse.de>
31426 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31427 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31428 regenerate with gen-libm-tests.pl.
31430 2010-05-12 Petr Baudis <pasky@suse.cz>
31433 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31434 around j0() zero points by switching to j1().
31435 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31438 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31440 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31442 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31444 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31447 Patch in part by Pavel Roskin <proski@gnu.org>.
31450 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31452 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31453 Free memory block if necessary.
31456 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31457 be NULL. Don't lock in this case.
31459 2011-09-09 Roland McGrath <roland@hack.frob.com>
31461 * elf/elf.h (ELFOSABI_GNU): New macro.
31462 (ELFOSABI_LINUX): Define to that.
31464 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31466 * string/strncat.c (strncat): Undef the symbol in case it has been
31467 defined in bits/string.h.
31469 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31471 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31473 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31476 2011-08-17 Andreas Jaeger <aj@suse.de>
31478 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31480 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31481 Ian Lance Taylor <iant@google.com>
31483 * math/libm-test.inc (lround_test): New testcase.
31484 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31486 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31488 * Makefile: Remove support for automatic cvs check-ins.
31489 * Makerules: Likewise.
31490 * config.make.in: Likewise.
31491 * configure.in: Likewise.
31492 * intl/Makefile: Likewise.
31493 * locale/Makefile: Likewise.
31494 * po/Makefile: Likewise.
31495 * posix/Makefile: Likewise.
31496 * sysdeps/gnu/Makefile: Likewise.
31497 * sysdeps/mach/hurd/Makefile: Likewise.
31498 * sysdeps/sparc/sparc32/Makefile: Likewise.
31501 * posix/Makefile (bug-regex32-ENV): Define.
31502 Patch by John Stanley <jpsinthemix@verizon.net>.
31504 * misc/Makefile (headers): Add bits/select2.h.
31505 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31506 * misc/bits/select2.h: New file.
31507 * include/bits/select2.h: New file.
31508 * debug/Makefile (routines): Add fdelt_chk.
31509 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31510 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31512 * debug/fdelt_chk.c: New file.
31514 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31515 * wcsmbs/test-wmemcmp.c: Likewise.
31516 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31517 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31519 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31521 * string/Makefile (strop-tests): Add memcmp.
31522 * string/test-wmemcmp.c: New file.
31523 * string/test-memcmp.c: Add wmemcmp support.
31525 2011-09-08 Roland McGrath <roland@hack.frob.com>
31528 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31531 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31532 garbage value in a __mach_port_mod_refs call in the cases of the
31533 task-self and thread-self ports.
31535 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31537 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31539 2011-09-08 Andreas Schwab <schwab@redhat.com>
31541 * elf/dl-load.c (lose): Check for non-null L.
31543 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31545 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31547 * elf/dl-libc.c (dlerror_run): Pass back error code from
31551 * elf/dl-load.c (lose): Free l_origin if it is valid.
31553 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31555 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31556 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31557 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31558 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31559 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31560 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31562 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31564 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31565 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31566 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31567 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31568 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31569 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31570 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31571 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31572 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31573 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31575 2011-08-15 Alan Modra <amodra@gmail.com>
31578 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31579 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31580 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31581 ppc_mcount to static-only-routines.
31582 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31584 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31585 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31587 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31589 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31590 for finite and infinity parameters.
31592 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31595 and add nop instructions for throughput optimization.
31596 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31598 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31600 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31601 aligned copy for power7 with vector-scalar instructions.
31602 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31604 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31609 2011-09-07 Andreas Schwab <schwab@redhat.com>
31612 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31615 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31617 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31618 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31619 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31620 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31623 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31625 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31626 Forgot to demangle the pointer.
31628 * sysdeps/i386/sysdep.h: Define atom_text_section.
31629 * sysdeps/x86_64/sysdep.h: Likewise.
31630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31631 section with atom_text_section.
31632 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31633 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31634 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31635 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31636 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31638 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31639 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31640 already be defined. Change to take two parameters and don't assign
31641 result to variable. Adjust all users.
31642 Define INTERNAL_GETTIME if not already defined.
31643 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31646 HAVE_CLOCK_GETTIME_VSYSCALL.
31647 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31650 gettimeofday vsyscall, just use time.
31652 2011-09-06 Andreas Schwab <schwab@redhat.com>
31654 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31657 2011-09-06 Ulrich Drepper <drepper@gmail.com>
31659 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31663 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31664 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31665 syscall if possible.
31667 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31669 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31670 e_ident. Don't pass to find_mapsXX.
31671 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31673 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31676 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31677 * sysdeps/x86_64/multiarch/strchr.S: Update.
31678 Check bit_slow_BSF bit.
31679 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31680 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31681 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31683 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31686 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31688 (tryshell): Define.
31689 (__spawni): Change last parameter to be flag. Test
31690 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31691 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31692 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31693 * posix/spawni.c: Likewise.
31694 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31695 * posix/spawnp.c: Likewise. Change normal version to use
31696 SPAWN_XFLAGS_USE_PATH.
31697 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31698 SPAWN_XFLAGS_TRY_SHELL.
31701 * posix/glob.h: Remove gcc 1.x support.
31704 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31706 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31709 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31711 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31712 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31713 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31714 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31715 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31716 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31718 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31720 * sysdeps/x86_64/wcscmp.S: New file.
31722 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31723 wcscmp-c wcscmp-sse2
31724 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31725 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31726 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31727 * wcsmbs/wcscmp.c: Allow renaming.
31729 2011-09-05 David S. Miller <davem@davemloft.net>
31731 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31732 stack slot, rather than the struct return pointer slot.
31733 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31734 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31736 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31738 2011-09-05 Ulrich Drepper <drepper@gmail.com>
31740 * po/ja.po: Update from translation team.
31743 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31744 kernel in 64-bit binaries.
31746 2011-09-01 David S. Miller <davem@davemloft.net>
31748 * elf/elf.h (HWCAP_SPARC_*): Move to..
31749 * sysdeps/sparc/sysdep.h: this new file and add new values.
31750 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31751 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31752 _DL_HWCAP_COUNT to 24.
31753 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31755 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31756 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31757 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31758 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31759 instead of magic constants.
31760 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31762 2011-08-31 David S. Miller <davem@davemloft.net>
31764 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31765 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31766 Reimplement to do errno handling inline.
31767 (SYSCALL_ERROR_HANDLER): New macro.
31768 (__SYSCALL_STRING): Do not do errno handling in asm.
31769 (__CLONE_SYSCALL_STRING): Delete.
31770 (__INTERNAL_SYSCALL_STRING): Delete.
31771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31772 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31773 (PSEUDO): Reimplement to do errno handling inline.
31774 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31775 (SYSCALL_ERROR_HANDLER): New macro.
31776 (__SYSCALL_STRING): Do not do errno handling in asm.
31777 (__CLONE_SYSCALL_STRING): Delete.
31778 (__INTERNAL_SYSCALL_STRING): Delete.
31779 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31780 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31782 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31783 (inline_syscall*): Add 'err' argument.
31784 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31785 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31786 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31787 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31789 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31790 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31792 2011-08-30 Andreas Schwab <schwab@redhat.com>
31794 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31796 2011-08-29 Jiri Olsa <jolsa@redhat.com>
31798 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31801 2011-08-24 David S. Miller <davem@davemloft.net>
31803 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31805 2011-08-24 Andreas Schwab <schwab@redhat.com>
31807 * elf/Makefile: Add rules to build and run unload8 test.
31808 * elf/unload8.c: New file.
31809 * elf/unload8mod1.c: New file.
31810 * elf/unload8mod1x.c: New file.
31811 * elf/unload8mod2.c: New file.
31812 * elf/unload8mod3.c: New file.
31814 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31817 2011-08-23 David S. Miller <davem@davemloft.net>
31819 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31820 subtract stack bias.
31821 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31822 %sp not %fp in calculations.
31823 (_JMPBUF_UNWINDS_ADJ): Likewise.
31825 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31826 (aio_suspend): Call it to force an exception region around the
31827 AIO_MISC_WAIT() invocation.
31829 2011-08-23 Andreas Schwab <schwab@redhat.com>
31831 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31834 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31836 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31838 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31839 and <dl-machine.h>.
31840 (Elf64_FuncDesc): Remove.
31842 2011-08-22 David S. Miller <davem@davemloft.net>
31844 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31845 sigaltstack check, add missing cfi directives.
31846 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31847 missing cfi directives, and sigaltstack handling.
31849 2011-08-16 Andreas Schwab <schwab@redhat.com>
31852 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31853 object is seen twice.
31854 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31856 * elf/Makefile (distribute): Add tst-initorder2.c.
31857 (tests): Add tst-initorder2.
31858 (modules-names): Add tst-initorder2a tst-initorder2b
31859 tst-initorder2c tst-initorder2d. Add rules to build them.
31860 ($(objpfx)tst-initorder2.out): New rule.
31861 * elf/tst-initorder2.c: New file.
31862 * elf/tst-initorder2.exp: New file.
31864 2011-08-22 Andreas Schwab <schwab@redhat.com>
31866 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31868 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31869 dependencies back to end of function.
31871 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31872 $(elfobjdir)/ld.so.
31874 2011-08-21 Ulrich Drepper <drepper@gmail.com>
31876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31877 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31878 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31879 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31880 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31881 of __vdso_gettimeofday.
31882 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31883 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31885 (_libc_vdso_platform_setup): Remove initialization of
31886 __vdso_gettimeofday and __vdso_time.
31888 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31890 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31891 and fgetc_unlocked.
31892 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31895 * elf/dl-open.c (add_to_global): Report additions to the global scope
31896 for LD_DEBUG=scopes.
31897 (dl_open_worker): Also print scope of newly loaded dependencies.
31898 (_dl_show_scope): Indicate if there is no scope.
31901 * stdio-common/Makefile (tests): Add bug24.
31902 * stdio-common/bug24.c: New file.
31904 2011-08-19 Andreas Jaeger <aj@suse.de>
31907 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31908 non-existant file when using close-on-exec mode.
31910 2011-08-20 Ulrich Drepper <drepper@gmail.com>
31912 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31913 the very first instruction.
31915 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31916 the CFI state in the end.
31917 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31918 inclusion of dl-trampoline.h.
31919 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31921 2011-08-19 Andreas Schwab <schwab@redhat.com>
31923 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31924 expectations for long double.
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31927 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31929 2011-08-14 David S. Miller <davem@davemloft.net>
31931 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31932 artificual limit depends upon the system page size.
31934 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31936 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31937 * resolv/Makefile: Define CFLAGS-libresolv.
31939 2011-08-17 Andreas Schwab <schwab@redhat.com>
31941 * nss/makedb.c (compute_tables): Make variables used in nested
31944 2011-08-17 Ulrich Drepper <drepper@gmail.com>
31946 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31947 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31948 if buffer was too small.
31950 * elf/pldd.c (main): Attach to all threads in the process.
31951 Rewrite /proc handling to use *at functions.
31953 2011-08-16 Ulrich Drepper <drepper@gmail.com>
31955 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31956 specifies first scope to show.
31957 (dl_open_worker): Update callers. Move printing scope of new
31958 object to before the relocation.
31959 * elf/rtld.c (dl_main): Update _dl_show_scope call.
31960 * sysdeps/generic/ldsodefs.h: Update declaration.
31962 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31963 string for the scope number.
31965 2011-08-14 Ulrich Drepper <drepper@gmail.com>
31967 * nscd/servicescache.c (cache_addserv): Make sure written is always
31970 2011-08-14 Roland McGrath <roland@hack.frob.com>
31972 * sysdeps/i386/i486/bits/atomic.h
31973 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31974 statement expression, so as to suppress "set but not used" warning.
31975 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31977 * string/strncat.c (STRNCAT): Use prototype definition.
31979 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31980 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31982 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31983 (localedef-modules): Add localedef.
31984 (locale-modules): Add locale.
31986 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31987 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31988 to avoid a warning.
31990 2011-08-14 David S. Miller <davem@davemloft.net>
31992 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31993 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31995 2011-08-13 Ulrich Drepper <drepper@gmail.com>
31997 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
31998 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31999 * elf/rtld.c (dl_main): Set l_name of vDSO.
32000 Call _dl_show_scope when DL_DEBUG_SCOPES.
32001 (process_dl_debug): Recognize scopes flag and also set it for all.
32002 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32003 Declare _dl_show_scope.
32005 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32006 (do_dlopen): Pass caller_dlopen to dl_open.
32007 (__libc_dlopen_mode): Initialize caller_dlopen.
32009 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32010 of libc. Make tolower call locale-independent. Optimize a bit by
32011 using isdigit instead of isalnum.
32012 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32014 2011-08-12 Ulrich Drepper <drepper@gmail.com>
32016 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32017 was a dependency or dynamically loaded.
32019 2011-08-11 Ulrich Drepper <drepper@gmail.com>
32021 * intl/l10nflist.c: Allow architecture-specific pop function.
32022 * sysdeps/x86_64/l10nflist.c: New file.
32024 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32027 2011-08-10 Andreas Schwab <schwab@redhat.com>
32029 * include/dirent.h: Add libc_hidden_proto for scandirat and
32030 scandirat64. Don't declare __scandirat64.
32031 * dirent/scandirat.c: Add libc_hidden_def.
32032 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32033 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32035 2011-08-10 David S. Miller <davem@davemloft.net>
32037 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32039 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32040 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32041 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32043 2011-08-09 Ulrich Drepper <drepper@gmail.com>
32045 * Versions.def [libc]: Add GLIBC_2.15.
32046 * dirent/Makefile (routines): Add scandirat and scandirat64.
32047 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32049 * dirent/dirent.h: Declare scandirat and scandirat64.
32050 * dirent/scandirat.c: New file.
32051 * dirent/scandirat64.c: New file.
32052 * sysdeps/wordsize-64/scandirat.c: New file.
32053 * sysdeps/wordsize-64/scandirat64.c: New file.
32054 * dirent/opendir.c: Define opendirat.
32055 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32057 * dirent/scandir64.c: Adjust for scandir.c change.
32058 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32059 __scandirat64, and __scandir_cancel_handler.
32060 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32061 additional parameter and use openat instead of open (outside of ld.so).
32062 Add new __opendir as wrapper around __opendirat.
32063 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32064 here without requiring old scandirat implementation.
32066 2011-08-08 Ulrich Drepper <drepper@gmail.com>
32068 * dirent/scandir.c (cancel_handler): Renamed to
32069 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32070 defined. Adjust users.
32071 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32072 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32074 2011-08-04 Ulrich Drepper <drepper@gmail.com>
32076 * string/test-string.h (IMPL): Use __STRING to expand name and then
32079 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32082 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32084 * string/Makefile: Update.
32085 (strop-tests): Append strncat.
32086 * string/test-wcscmp.c: New file.
32087 New comprehensive test for wcscmp.
32088 * string/test-strcmp.c: Update.
32089 (WIDE): New define.
32091 2011-07-22 Andreas Schwab <schwab@redhat.com>
32093 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32096 2011-07-26 Andreas Schwab <schwab@redhat.com>
32098 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32099 encoding to ACE if AI_IDN.
32101 2011-08-01 Jakub Jelinek <jakub@redhat.com>
32103 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32104 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32106 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32108 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32109 Fix overflow bug in strncat.
32110 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32112 * string/test-strncat.c: Update.
32113 Add new tests for checking overflow bugs.
32115 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32118 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32119 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32120 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32121 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32122 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32123 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32124 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32125 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32128 (USE_AS_STRCAT): Define.
32129 Add strcat and strncat support.
32130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32132 2011-07-25 Andreas Schwab <schwab@redhat.com>
32134 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32135 __n bigger than INT_MAX+1.
32136 (__strncmp_g): Likewise.
32138 2011-07-23 Ulrich Drepper <drepper@gmail.com>
32140 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32141 * libio/stido.h: Likewise.
32143 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32145 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32148 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32149 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32151 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32152 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32155 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32158 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32160 (_dl_x86_64_save_sse): Likewise.
32162 2011-07-22 Ulrich Drepper <drepper@gmail.com>
32164 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32166 (_dl_x86_64_save_sse): Likewise.
32168 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32170 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32172 2011-07-21 Andreas Schwab <schwab@redhat.com>
32174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32176 (_dl_x86_64_save_sse): Use correct AVX check.
32178 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32180 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32181 bug in strncpy/strncat.
32182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32184 2011-07-21 Ulrich Drepper <drepper@gmail.com>
32186 * string/tester.c (test_strcat): Add tests for different alignments
32187 of source and destination.
32188 (test_strncat): Likewise.
32190 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32193 * posix/glob.c (glob): Check passed in values before using them in
32194 expressions to avoid some overflows.
32195 (glob_in_dir): Likewise.
32198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32199 check for AVX enablement so that we don't crash with old kernels and
32201 * elf/tst-audit4.c: Add same checks here.
32202 * elf/tst-audit6.c: Likewise.
32204 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32206 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32208 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32210 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32212 * po/cs.po: Update from translation team.
32213 * po/bg.po: Likewise.
32215 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32217 * misc/sys/cdefs.h: Add support for const attribute.
32218 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32219 to gnu_dev_{major,minor,makedev} functions.
32221 2011-07-20 Marek Polacek <mpolacek@redhat.com>
32223 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32225 2011-07-20 Andreas Schwab <schwab@redhat.com>
32227 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32230 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32233 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32234 register in order to avoid conflicts with the soft frame pointer
32235 being held in r11 when necessary.
32236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32237 (INTERNAL_VSYSCALL_NCS): Likewise.
32239 2011-07-14 Marek Polacek <mpolacek@redhat.com>
32241 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32242 * elf/dl-fini.c (_dl_fini): Adjust caller.
32243 * elf/dl-close.c (_dl_close_worker): Likewise.
32244 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32246 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32248 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32249 "aux_cache->nlibs < 0".
32251 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32252 in the reload-count case.
32254 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32257 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32258 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32259 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32260 * sysdeps/x86_64/multiarch/strcat.S: New file.
32261 * sysdeps/x86_64/multiarch/strncat.S: New file.
32262 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32263 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32264 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32265 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32266 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32267 (USE_AS_STRCAT): Define.
32268 Add strcat and strncat support.
32269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32270 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32271 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32272 * string/strncat.c: Update.
32273 (USE_AS_STRNCAT): Define.
32274 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32275 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32277 * sysdeps/x86_64/multiarch/init-arch.h
32278 (bit_Prefer_PMINUB_for_stringop): New.
32279 (index_Prefer_PMINUB_for_stringop): Likewise.
32280 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32281 bit_Prefer_PMINUB_for_stringop.
32283 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32285 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32287 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32288 of casting of buffer.
32289 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32290 buffer32 and buffer64.
32291 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32292 writes instead of casting of buffer.
32293 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32295 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32298 2011-07-19 Andreas Schwab <schwab@redhat.com>
32300 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32302 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32304 * nscd/nscd.c (termination_handler): Don't do anything for a database
32305 if it has not yet been initialized.
32307 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32309 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32311 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32313 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32315 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32317 * po/nl.po: Update from translation team.
32318 * po/sv.po: Likewise.
32320 2011-07-16 Roland McGrath <roland@hack.frob.com>
32322 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32323 now disallowed by GCC.
32325 * configure.in (use-default-link): Default to yes if a test -shared
32326 link meets our qualifications.
32327 * configure: Regenerated.
32329 * config.make.in (output-format): New variable.
32330 * configure.in: Check for ld --print-output-format support.
32331 * configure: Regenerated.
32332 * Makerules ($(common-objpfx)format.lds)
32333 [$(output-format) != unknown]: Just use $(output-format),
32334 instead of the linker-script munging.
32336 2011-07-14 Roland McGrath <roland@hack.frob.com>
32338 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32339 of $(common-objpfx)shlib.lds.
32340 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32342 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32343 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32345 * configure.in (-z relro check): Adjust test code to add a large
32346 writable data section after it.
32347 * configure: Regenerated.
32349 2011-07-11 Roland McGrath <roland@hack.frob.com>
32351 * configure.in (-z relro check): Fix test code to make the variable
32353 * configure: Regenerated.
32355 2011-07-11 Ulrich Drepper <drepper@gmail.com>
32357 * nscd/nscd.h (struct traced_file): Define.
32358 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32359 elements. Add traced_files.
32360 (inotify_fd): Declare.
32361 (register_traced_file): Declare.
32362 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32363 (inotify_fd): Export.
32364 (resolv_conf_descr): Remove.
32365 (nscd_init): Move inotify descriptor creation to main.
32366 Don't register files for notification here.
32367 (register_traced_file): New function.
32368 (invalidate_cache): Don't use reset_res to determine whether to call
32369 res_init, go through the list of registered files.
32370 (main_loop_poll): The inotify descriptors are now stored in the
32371 structures for the traced files.
32372 (main_loop_epoll): Likewise
32373 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32374 to __nss_disable_nscd.
32375 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32376 for a database anymore. Check the records for all the registered
32378 * nss/Makefile (libnss_files-routines): Add files-init.
32379 (libnss_db-routines): Add db-init.
32380 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32381 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32382 * nss/nss_db/db-init.c: New file.
32383 * nss/nss_files/files-init.c: New file.
32384 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32385 __nss_lookup_function.
32386 (__nss_lookup_function): Call nss_load_library.
32387 (nss_load_all_libraries): New function.
32388 (__nss_disable_nscd): Take parameter with callback function for files
32389 to register. Set is_nscd. Load all the DSOs for the NSS modules
32390 used for the cached services.
32391 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32392 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32393 options for features to all the files in nscd.
32395 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32397 2011-07-10 Roland McGrath <roland@hack.frob.com>
32399 * csu/elf-init.c (__libc_csu_init): Comment typo.
32401 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32403 * po/pl.po: Update from translation team.
32404 * po/ja.po: Likewise.
32405 * po/ru.po: Likewise.
32406 * po/ko.po: Likewise.
32407 * po/fr.po: Likewise.
32409 2011-07-09 Roland McGrath <roland@hack.frob.com>
32411 * configure.in (.ctors/.dtors header and trailer check):
32412 Use an empirical test on a built program.
32413 * configure: Regenerated.
32415 * configure.in (-z relro check): Use an empirical test on a built DSO.
32416 Detect, but do not require, on ia64.
32417 * configure: Regenerated.
32419 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32420 Update tests that use readelf to use $READELF instead.
32421 * configure: Regenerated.
32423 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32425 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32426 if the result is not used.
32428 2011-07-05 Andreas Jaeger <aj@suse.de>
32431 * stdlib/tst-strtod.c: Add testcase.
32433 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32435 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32436 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32437 The latter has a higher limit. Take additional parameter to pass to
32439 (__pathconf): Pass file to __statfs_link_max.
32440 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32442 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32446 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32447 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32449 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32450 (__statfs_filesize_max): Likewise.
32451 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32453 2011-07-05 Andreas Jaeger <aj@suse.de>
32455 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32457 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32459 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32461 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32464 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32466 * Makefile (strop-tests): Add strncat.
32467 * string/test-strncat.c: New file.
32469 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32471 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32473 2011-06-21 Andreas Jaeger <aj@suse.de>
32475 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32476 Copy rule from iconvdata/Makefile.
32478 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32481 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32482 but no long options are defined, just return 'W'.
32484 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32487 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32489 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32491 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32493 (innetgr): Likewise.
32495 2011-07-05 Roland McGrath <roland@hack.frob.com>
32497 * config.make.in (install_root): Default to $(DESTDIR).
32499 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32501 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32503 2011-07-02 Roland McGrath <roland@hack.frob.com>
32505 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32507 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32508 containing directory rather than embedding absolute directory names.
32510 * scripts/check-local-headers.sh: Rewritten using awk.
32511 Match by word, not by line. Print error messages for matches.
32512 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32514 * Makerules [shlib-lds-flags empty]:
32515 ($(common-objpfx)libc_pic.opts): New target.
32516 ($(common-objpfx)libc_pic.os.clean): New target.
32517 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32519 * config.make.in (OBJCOPY): New variable.
32520 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32521 * configure: Regenerated.
32523 * config.make.in (use-default-link): New variable.
32524 * configure.in (use_default_link): Grok --with-default-link to set it.
32525 * configure: Regenerated.
32526 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32527 (shlib-lds, shlib-lds-flags): Define to empty.
32529 * Makerules (shlib-lds): New variable.
32530 (shlib-lds-flags): New variable.
32531 (build-shlib, build-moduile, build-module-asneeded): Use it.
32532 ($(common-objpfx)libc.so): Use $(shlib-lds).
32533 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32534 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32536 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32537 DT_FLAGS/DT_FLAGS_1 with zero flags.
32539 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32540 linker script munging.
32542 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32544 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32546 * crypt/sha512.c (sha512_process_block): Perform total addition using
32547 128-bit if possible.
32548 (__sha512_finish_ctx): Likewise.
32549 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32551 * crypt/sha256.c (SWAP64): Define.
32552 (sha256_process_block): Perform total addition using 64-bit if
32554 (__sha256_finish_ctx): Likewise.
32556 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32558 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32559 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32560 * nscd/hstcache.c (cache_addhst): Likewise.
32561 * nscd/grpcache.c (cache_addgr): Likewise.
32562 * nscd/aicache.c (addhstaiX): Likewise
32563 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32565 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
32567 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32568 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32569 * nscd/hstcache.c (cache_addhst): Likewise.
32570 * nscd/grpcache.c (cache_addgr): Likewise.
32571 * nscd/aicache.c (addhstaiX): Likewise
32573 2011-07-01 Andreas Schwab <schwab@redhat.com>
32575 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32576 domain only when needed.
32578 2011-06-30 Andreas Schwab <schwab@redhat.com>
32580 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32581 is always restored.
32583 2011-06-29 Ulrich Drepper <drepper@gmail.com>
32585 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32586 are re-adding the entry.
32587 * nscd/servicescache.c (cache_addserv): Likewise.
32589 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32591 * sysdeps/generic/dl-irel.h: fix protection against multiple
32593 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32595 2011-06-28 Ulrich Drepper <drepper@gmail.com>
32598 * malloc/memusage.sh: Fix quoting in message.
32599 * debug/xtrace.sh: Likewise.
32601 * configure.in: Remove support for --experimental-malloc option, make
32603 * config.make.in: Likewise.
32604 * malloc/Makefile: Likewise.
32606 2011-06-27 Andreas Schwab <schwab@redhat.com>
32608 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32609 two-byte characters.
32611 2011-06-27 Roland McGrath <roland@hack.frob.com>
32613 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32614 AC_CACHE_CHECK invocation.
32615 * configure: Regenerated.
32617 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32619 2011-06-27 Ulrich Drepper <drepper@gmail.com>
32622 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32623 bit from old_res_options.
32625 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32627 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32628 value type for setfct.
32630 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32632 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32633 __gettimeofday instead of gettimeofday.
32635 2011-06-26 Ulrich Drepper <drepper@gmail.com>
32637 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32639 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32643 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32646 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32649 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32650 strcpy-sse2-unaligned strncpy-sse2-unaligned
32651 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32652 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32653 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32654 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32655 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32656 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32657 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32658 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32659 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32660 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32661 (STRCPY): Support SSE2 and SSSE3 versions.
32663 2011-06-24 Ulrich Drepper <drepper@gmail.com>
32666 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32667 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32668 kernels which artificially limit size of requests.
32670 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32672 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32673 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32674 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32675 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32676 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32677 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32678 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32679 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32680 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32681 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32682 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32683 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32684 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32685 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32686 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32688 Enable unaligned load optimization for Intel Core i3, i5 and i7
32690 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32692 (index_Fast_Unaligned_Load): Define.
32693 (HAS_FAST_UNALIGNED_LOAD): Define.
32695 2011-06-23 Marek Polacek <mpolacek@redhat.com>
32697 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32699 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32702 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32703 until it is clear that the information is realy needed.
32704 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32706 2011-06-22 Andreas Schwab <schwab@redhat.com>
32708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32710 2011-06-22 Ulrich Drepper <drepper@gmail.com>
32712 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32713 /sys/devices/system/cpu/online if it is usable.
32715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32716 reading the information from the /proc filesystem to once a second.
32718 2011-06-21 Andreas Jaeger <aj@suse.de>
32720 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32721 NULL after inclusion of kernel headers.
32723 2011-06-21 Ulrich Drepper <drepper@gmail.com>
32725 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32726 calls to internal_setent.
32729 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32730 addresses using gethostbyname4_r ignore IPv4 addresses.
32732 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32733 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32735 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32737 2011-06-20 David S. Miller <davem@davemloft.net>
32739 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32741 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32743 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32744 (elf_irel): Use it.
32745 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32746 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32747 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32748 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32749 * sysdeps/x86_64/dl-irel.h: Likewise.
32751 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32752 * elf/dl-sym.c: Likewise.
32754 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32756 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32757 need to dereference resplen2.
32759 2011-06-14 Andreas Schwab <schwab@redhat.com>
32761 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32763 2011-06-15 Ulrich Drepper <drepper@gmail.com>
32765 * Makeconfig: Define vardbdir and inst_vardbdir.
32766 * nss/Makefile: Add rules to install db-Makefile.
32768 * nss/nss_db/db-XXX.c: Cleanup.
32770 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32771 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32773 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32774 * nss/makedb.c: Implement -g option to specify that value strings
32775 are generated and should not be added to table iterated over for
32777 * nss/nss_db/db-initgroups.c: New file.
32779 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32782 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32783 (internal_getgrouplist): Adjust to name change.
32784 Update use_initgroups_entry if this is not the first call.
32785 * nss/databases.def: Add initgroups entry.
32787 * nss/makedb.c (compute_tables): Check result of multiple hash table
32788 sizes to minimize maximum chain length.
32790 2011-06-14 Ulrich Drepper <drepper@gmail.com>
32792 * Versions.def: Add entry for libnss_db.
32793 * shlib-versions: Likewise.
32794 * nss/Makefile: Add rules to build libnss_db.
32795 * nss/Versions: Add libnss_db information. Organize libnss_files
32797 * nss/db-Makefile: Add gshadow support. Change rules for the new
32798 makedb progra. Some minor improvements to generate smaller files.
32799 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32801 * nss/makedb.c: ...here.
32802 Improve database format to be smaller and require less memory at
32804 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32806 * nss/nss_db/db-netgrp.c: Likewise.
32807 * nss/nss_db/db-open.c: Likewise.
32808 * nss/nss_files/flies-XXX.x: Adjust comments.
32809 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32810 * nss/nss_files/files-grp.c: Likewise.
32811 * nss/nss_files/files-hosts.c: Likewise.
32812 * nss/nss_files/files-network.c: Likewise.
32813 * nss/nss_files/files-proto.c: Likewise.
32814 * nss/nss_files/files-pwd.c: Likewise.
32815 * nss/nss_files/files-rpc.c: Likewise.
32816 * nss/nss_files/files-service.c: Likewise.
32817 * nss/nss_files/files-sgrp.c: Likewise.
32818 * nss/nss_files/files-spwd.c: Likewise.
32819 * nss/nss_db/db-alias.c: Removed.
32820 * nss/nss_db/dummy-db.h: Removed.
32822 2011-06-02 Ulrich Drepper <drepper@gmail.com>
32824 * nss/makedb.c: Rewritten to not use database library.
32825 * nss/Makefile: Update to build new makedb program.
32827 2011-06-14 Andreas Jaeger <aj@suse.de>
32829 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32830 memset declaration.
32832 2011-06-10 Andreas Schwab <schwab@redhat.com>
32834 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32837 2011-06-10 Roland McGrath <roland@hack.frob.com>
32839 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32840 * elf/Makefile ($(objpfx)ld.so): Likewise.
32842 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32843 Don't list ld.so twice in dependencies.
32845 * posix/bug-regex31.c: Include <stdlib.h>.
32847 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32849 * nis/nss_compat/compat-spwd.c
32850 (getspent_next_nss_netgr): Remove unused variable.
32851 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32853 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32854 nonmembers" output to use the right array.
32856 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32858 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32860 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32861 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32862 * catgets/gencat.c (read_input_file): Likewise.
32863 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32865 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32866 variable definition inside #if's controlling its use.
32868 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32870 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32872 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32874 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32877 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32879 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32880 * configure: Regenerated.
32882 * Makerules: Revert last change.
32883 * elf/Makefile: Likewise.
32885 2011-06-09 Roland McGrath <roland@hack.frob.com>
32887 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32888 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32889 (reloc-link): Likewise.
32891 2011-06-09 Ulrich Drepper <drepper@gmail.com>
32893 * elf/Makefile: Add rules to build pldd.
32894 * elf/pldd.c: New file.
32895 * elf/pldd-xx.c: New file.
32897 2011-06-07 Ulrich Drepper <drepper@gmail.com>
32899 * version.h: Update for 2.15 development version.
32901 2011-06-07 David S. Miller <davem@davemloft.net>
32903 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32905 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32906 elf_machine_lazy_rel): Likewise.
32907 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32908 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32909 elf_machine_lazy_rel): Likewise.
32910 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32911 dl_hwcap via passed in argument.
32912 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32915 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32917 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32919 2011-06-06 Roland McGrath <roland@hack.frob.com>
32922 * manual/fdl-1.1.texi: New file, verbatim from:
32923 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32924 * manual/lgpl-2.1.texi: New file, verbatim from:
32925 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32926 * manual/Makefile (licenses): New variable, list those new file names.
32928 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32930 * manual/fdl.texi: File removed.
32931 * manual/lesser.texi: File removed.
32932 * manual/libc.texinfo (Copying, Documentation License):
32933 Use new @include file names, put @appendix directive before @include.
32935 2011-06-04 Jakub Jelinek <jakub@redhat.com>
32938 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32939 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32940 (mq_open): Add __NTH.
32942 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32944 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32945 Assume Intel Core i3/i5/i7 processor if AVX is available.
32947 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32949 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32952 2011-05-31 Andreas Schwab <schwab@redhat.com>
32954 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32955 memory. Use alloca_account. Fix memory leak when retrying.
32957 2011-05-31 Ulrich Drepper <drepper@gmail.com>
32959 * version.h (RELEASE): Bump for 2.14 release.
32960 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32962 * config.make.in (RANLIB): Remove entry.
32964 2011-05-30 Ulrich Drepper <drepper@gmail.com>
32966 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32967 (libc.pot): Work around missing support for .ksh extension in xgettext.
32970 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32971 if both request failed.
32972 (send_dg): In case of server errors clear resplen or *resplen2.
32975 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32976 when there are multiple maps.
32977 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32978 (_dl_fini): Remove test here.
32980 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32982 2011-05-29 Ulrich Drepper <drepper@gmail.com>
32985 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32986 bit from old_res_options.
32987 (gaih_inet): Likewise.
32990 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
32993 * resolv/res_init.c (res_setoptions): Make the code more compact.
32996 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33000 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33002 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33005 * malloc/malloc.h: Declare malloc hook variables as volatile.
33007 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33011 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33012 raise in the comment.
33013 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33014 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33015 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33017 2011-05-28 Ulrich Drepper <drepper@gmail.com>
33020 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33021 grow the buffers more if it already has to be sufficient.
33022 (build_wcs_upper_buffer): Likewise.
33023 * posix/regexec.c (check_matching): Likewise.
33024 (clean_state_log_if_needed): Likewise.
33025 (extend_buffers): Don't enlarge buffers beyond size of the input
33027 Patches mostly by Emil Wojak <emil@wojak.eu>.
33028 * posix/bug-regex32.c: New file.
33029 * posix/Makefile (tests): Add bug-regex32.
33031 * locale/findlocale.c (_nl_find_locale): Return right away if
33032 _nl_explode_name failed.
33033 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33035 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33037 * debug/xtrace.sh: Unify messages.
33038 * malloc/memusage.sh: Likewise.
33041 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33042 time symbol from vDSO. Substitute with vsyscall if not available.
33043 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33046 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33047 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33048 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33049 Add sendmmsg and internal_sendmmsg.
33050 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33051 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33052 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33054 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33055 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33056 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33058 2011-05-27 Ulrich Drepper <drepper@gmail.com>
33061 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33062 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33064 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33068 * iconvdata/Makefile (tests): Add bug-iconv9.
33069 * iconvdata/bug-iconv9.c: New file.
33071 2011-05-27 Andreas Schwab <schwab@redhat.com>
33074 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33076 2011-05-25 Jakub Jelinek <jakub@redhat.com>
33078 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33079 (struct user_regs_struct): Change intcs field back to cs.
33081 2011-05-25 Ulrich Drepper <drepper@gmail.com>
33083 * po/ja.po: Update from translation team.
33085 2011-05-23 Ulrich Drepper <drepper@gmail.com>
33088 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33089 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33091 2011-05-20 Andreas Schwab <schwab@redhat.com>
33093 * stdlib/longlong.h: Update from GCC.
33095 2011-05-23 Andreas Schwab <schwab@redhat.com>
33097 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33099 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33100 Add parameter name.
33101 (__sysconf): Pass it down.
33103 2011-05-22 Ulrich Drepper <drepper@gmail.com>
33106 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33108 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33109 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33110 add in in __libc_use_alloca calls. Adjust callers.
33111 (glob): Use malloc in some situations.
33113 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33114 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33117 2011-05-21 Ulrich Drepper <drepper@gmail.com>
33119 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33120 and CLOCK_BOOTTIME_ALARM.
33123 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33126 * string/_strerror.c (__strerror_r): Print negative errors as signed
33130 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33131 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33132 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33134 * configure.in: Fix typo in redirection and correct removal of test
33135 files in two cases.
33138 * locale/setlocale.c (new_composite_name): Fix test to check for
33139 identical name of all categories.
33142 * libio/filedoalloc.c (local_isatty): New function.
33143 (_IO_file_doallocate): Use local_isatty.
33144 * stdio-common/perror.c (perror): In case a new stream is used
33145 forward the stream error.
33146 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33149 2011-05-20 Ulrich Drepper <drepper@gmail.com>
33152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33154 * include/alloca.h (extend_alloca_account): Define.
33157 * posix/regex.h: Fix comments with documentation of user-accessible
33158 fields after compilation and describe correct free'ing of pattern
33159 after re_compile_pattern.
33160 Patch by Reuben Thomas <rrt@sc3d.org>.
33162 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33164 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33165 and -mno-altivec to prevent the compiler from using Altivec and/or
33166 VSX instructions when the corresponding registers are not available.
33168 2011-05-19 Andreas Schwab <schwab@redhat.com>
33170 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33172 2011-05-19 Ulrich Drepper <drepper@gmail.com>
33174 * libio/freopen.c (freopen): Use __dup2, not dup2.
33175 * libio/freopen64.c (freopen64): Likewise.
33177 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33180 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33181 * math/Makefile (tests): Add test-powl.
33182 (CFLAGS-test-powl.c): Define.
33183 * math/test-powl.c: New file.
33185 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33187 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33189 2011-05-17 Ulrich Drepper <drepper@gmail.com>
33192 * iconvdata/gb18030.c: Update to GB18020-2005.
33194 2011-05-16 Ulrich Drepper <drepper@gmail.com>
33196 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33197 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33198 Patch by Aharon Robbins <arnold@skeeve.com>.
33201 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33205 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33206 through underflows.
33209 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33210 point to strings before performing equality test for error_one_per_line
33214 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33217 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33218 (struct user_fpregs_struct): Avoid __uint*_t types.
33221 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33222 symbol info. Use it instead of calling _dl_addr locally.
33223 (lock_and_info): New function.
33224 (tr_freehook): Call lock_and_info and pass symbol info as additional
33225 parameter to tr_where.
33226 (tr_mallochook): Likewise.
33227 (tr_reallochook): Likewise.
33228 (tr_memalignhook): Likewise.
33230 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33231 used and couldn't be at all thread-safe.
33233 2011-05-15 Ulrich Drepper <drepper@gmail.com>
33235 * libio/freopen.c (freopen): Don't close old file descriptor
33236 before the new one is opened. Instead dup the new file descriptor
33237 to the old one after the new stream is created.
33238 * libio/freopen64.c (freopen64): Likewise.
33239 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33240 * libio/fileops.c (_IO_new_file_close_it): Handle new
33241 _IO_FLAGS2_NOCLOSE flag.
33242 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33243 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33244 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33245 _IO_FLAGS2_NOCLOSE flag.
33246 * include/unistd.h: Add hidden_proto for dup3.
33247 Define __have_dup3.
33248 * io/dup3.c: Define hidden symbol.
33249 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33252 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33253 when an incomplete long option is used.
33254 * posix/tst-getopt_long1.c: New file.
33255 * posix/Makefile (tests): Add tst-getopt_long1.
33258 * scripts/config.guess: Update from autoconf-2.68.
33259 * scripts/config.sub: Likewise.
33262 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33264 (has_cpuclock): ...this. New function.
33265 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33266 macro here based on has_cpuclock code.
33269 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33270 First byte (not low byte) is now always NUL.
33271 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33273 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33274 Use non-cancelable interfaces.
33277 * locale/iso-639.def: Add entry for Sorani.
33280 * include/stdlib.h: Move include protection to the right place.
33281 Define abort_msg_s. Declare __abort_msg with it.
33282 * stdlib/abort.c (__abort_msg): Adjust type.
33283 * assert/assert.c (__assert_fail_base): New function. Majority
33284 of code from __assert_fail. Allocate memory for __abort_msg with
33286 (__assert_fail): Now call __assert_fail_base.
33287 * assert/assert-perr.c: Remove bulk of implementation. Use
33288 __assert_fail_base.
33289 * include/assert.hL Declare __assert_fail_base.
33290 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33292 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33294 2011-05-14 Ulrich Drepper <drepper@gmail.com>
33298 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33299 until all modules are registered in the DTV.
33300 * elf/Makefile: Add rules to build and run tst-tls19.
33301 * elf/tst-tls19.c: New file.
33302 * elf/tst-tls19mod1.c: New file.
33303 * elf/tst-tls19mod2.c: New file.
33304 * elf/tst-tls19mod3.c: New file.
33305 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33308 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33312 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33313 two-byte sequence errors.
33314 * iconvdata/Makefile (tests): Add bug-iconv8.
33315 * iconvdata/bug-iconv8.c: New file.
33318 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33321 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33324 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33325 (dummy_getcfa): New function.
33326 (init): Get _Unwind_GetCFA address, use dummy if not found.
33327 (backtrace_helper): In recursion check, also check whether CFA changes.
33328 (__backtrace): Completely initialize arg.
33330 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33331 storing incomplete byte sequence in state object. Avoid testing for
33332 guaranteed too small input if we know there is enough data available.
33334 2011-05-11 Andreas Schwab <schwab@redhat.com>
33336 * Makeconfig (+link-pie): Indent.
33337 * Rules (binaries-pie): Define if $(have-fpie) and
33339 (binaries-shared): Also filter out $(binaries-pie).
33340 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33341 * nscd/Makefile (others-pie): Add nscd.
33342 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33343 ($(objpfx)nscd): Remove command override.
33344 * login/Makefile (others-pie): Add pt_chown.
33345 ($(objpfx)pt_chown): Remove command override.
33346 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33347 remove command overrides.
33349 2011-05-13 Ulrich Drepper <drepper@gmail.com>
33351 * libio/tst_putwc.c: Fix error messages.
33354 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33355 currently writing and seek to current position when not.
33356 * libio/Makefile (tests): Add bug-fclose1.
33357 * libio/bug-fclose1.c: New file.
33359 2011-05-12 Ulrich Drepper <drepper@gmail.com>
33362 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33363 don't set DF_1_NODELETE here.
33364 (do_lookup_x): When entering new entry test for copy relocation
33365 and if necessary set DF_1_NODELETE flag.
33366 * elf/tst-unique4.cc: New file.
33367 * elf/tst-unique4.h: New file.
33368 * elf/tst-unique4lib.cc: New file.
33369 * elf/Makefile: Add rules to build and run tst-unique4.
33370 Patch by Piotr Bury <pbury@goahead.com>.
33372 2011-05-11 Ulrich Drepper <drepper@gmail.com>
33375 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33378 * misc/mntent_r.c (addmntent): Flush the stream after the output
33381 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33382 (is_trusted_path_normalize): Skip initial colon. Append slash
33383 to empty buffer. Duplicate is_trusted_path code but allow
33384 constructed patch to be prefix.
33385 (is_dst): Allow $ORIGIN followed by /.
33386 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33387 Correct testing of result of is_trusted_path_normalize
33388 (decompose_rpath): Fix warning.
33390 2011-05-10 Ulrich Drepper <drepper@gmail.com>
33393 * grp/initgroups.c (internal_getgrouplist): When we found the service
33394 list through the initgroups entry in nsswitch.conf do not always
33395 continue on a successful lookup. Don't always use the
33396 __nss_group_database value if it is set.
33397 * nss/nsswitch.conf (initgroups): Change action for successful db
33398 lookup to continue for compatibility.
33400 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33403 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33405 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33407 * iconvdata/tst-tables.sh: Likewise.
33408 * iconvdata/cp770.c: New file.
33409 * iconvdata/cp771.c: New file.
33410 * iconvdata/cp772.c: New file.
33411 * iconvdata/cp773.c: New file.
33412 * iconvdata/cp774.c: New file.
33413 * iconvdata/testdata/CP770: New file.
33414 * iconvdata/testdata/CP770..UTF8: New file.
33415 * iconvdata/testdata/CP771: New file.
33416 * iconvdata/testdata/CP771..UTF8: New file.
33417 * iconvdata/testdata/CP772: New file.
33418 * iconvdata/testdata/CP772..UTF8: New file.
33419 * iconvdata/testdata/CP773: New file.
33420 * iconvdata/testdata/CP773..UTF8: New file.
33421 * iconvdata/testdata/CP774: New file.
33422 * iconvdata/testdata/CP774..UTF8: New file.
33424 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33426 * iconvdata/gen-8bit-gap.sh: Likewise.
33427 * iconvdata/gen-8bit.sh: Likewise.
33429 * locale/iso-639.def: Add ary entry.
33432 * locale/C-translit.h.in: Add U20A1 transliteration.
33435 * locale/iso-639.def: Add wae entry.
33436 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33439 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33443 * locale/C-translit.h.in: Add entry for U20B9.
33444 Patch by pravin.d.s@gmail.com.
33446 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33449 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33450 ENAMETOOLONG use generic getcwd.
33451 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33452 in rtld. Use *stat64.
33453 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33454 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33455 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33456 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33457 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33458 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33459 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33460 __fstatat64 macros.
33461 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33462 * dirent/rewinddir.c: Add libc_hidden_def.
33463 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33464 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33466 * include/dirent.h (__alloc_dir): Add flags parameter.
33467 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33468 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33470 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33471 from fdopendir if O_CLOEXEC is already set.
33473 2011-03-15 Alan Modra <amodra@gmail.com>
33475 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33476 l_tls_firstbyte_offset non-zero. Save padding offset in
33477 l_tls_firstbyte_offset for later use.
33478 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33479 freeing static tls block.
33481 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33483 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33484 where #ifdef was intended. The intent is to prevent ARG_MAX from
33485 being defined by the kernel headers.
33487 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33490 * resolv/resolv.h: Define RES_NOTLDQUERY.
33491 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33492 no-tld-query and set RES_NOTLDQUERY.
33493 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33494 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33495 modern BIND to search name as TLD unless forbidden.
33497 2011-05-07 Petr Baudis <pasky@suse.cz>
33498 Ulrich Drepper <drepper@gmail.com>
33501 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33502 (is_trusted_path): ...to here.
33503 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33504 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33505 using is_trusted_path_normalize() in setuid scripts.
33507 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33509 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33510 __BEGIN/__END_DECLS.
33512 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33514 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33515 NSS_STATUS_NOTFOUND if no record was found.
33517 2011-05-05 Andreas Schwab <schwab@redhat.com>
33519 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33520 (headers-not-in-tirpc): Remove rpc/netdb.h
33521 * resolv/netdb.h: Revert last change.
33523 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33525 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33526 circular dependency between libgcc.a and libc.a.
33528 2011-05-05 Andreas Schwab <schwab@redhat.com>
33530 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33531 * nis/Makefile: Don't install rpcsvc/*.
33532 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33533 instead of <rpc/types.h>.
33534 (MAXHOSTNAMELEN): Define.
33536 2011-05-03 Andreas Schwab <schwab@redhat.com>
33538 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33540 2011-04-28 Maciej Babinski <mbabinski@google.com>
33543 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33544 gethostbyname4_r when IPv6 results are possible.
33546 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33549 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33550 _PC_PIPE_BUF handling.
33552 2011-04-30 Bruno Haible <bruno@clisp.org>
33555 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33556 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33558 * inet/getnameinfo.c (getnameinfo): Likewise.
33560 2011-04-29 Ulrich Drepper <drepper@gmail.com>
33562 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33563 to groups setting in database lookup.
33564 * nss/nsswitch.conf: Add initgroups entry.
33566 2011-04-22 Ulrich Drepper <drepper@gmail.com>
33569 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33571 Patch by Eric Blake <eblake@redhat.com>.
33573 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33575 * sunrpc/Makefile (need-export-routines): Add svc_run.
33576 (routines): Remove svc_run.
33577 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33578 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33579 * sunrpc/svc_run.c (svc_run): Likewise.
33580 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33582 2011-04-21 Ulrich Drepper <drepper@gmail.com>
33584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33585 problem in reallocation in last patch.
33587 2011-04-20 Ulrich Drepper <drepper@gmail.com>
33589 * sunrpc/Makefile: Move inclusion of Rules.
33591 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33593 * nss/nss_files/files-initgroups.c: New file.
33594 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33595 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33596 _nss_files_initgroups_dyn.
33598 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33600 * elf/elf.h (R_ARM_IRELATIVE): Define.
33602 2011-04-19 Ulrich Drepper <drepper@gmail.com>
33604 * po/ru.po: Update from translation team.
33606 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33608 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33611 2011-02-06 Mike Frysinger <vapier@gentoo.org>
33614 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33615 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33616 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33618 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33620 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33622 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33624 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33626 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33628 2011-04-17 Ulrich Drepper <drepper@gmail.com>
33631 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33633 * stdlib/bug-getcontext.c: New file.
33634 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33636 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33638 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33639 instructions into .machine "z9-109".
33640 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33641 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33643 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33645 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33646 between environment variables and auxiliary vector.
33648 2011-04-16 Ulrich Drepper <drepper@gmail.com>
33650 * Makefile: Add rules to build linkobj/libc.so.
33651 * include/libc-symbols.h: Define libc_hidden_nolink.
33652 * include/rpc/auth.h: Mark functions which are to be hidden.
33653 * include/rpc/auth_des.h: Likewise.
33654 * include/rpc/auth_unix.h: Likewise.
33655 * include/rpc/clnt.h: Likewise.
33656 * include/rpc/des_crypt.h: Likewise.
33657 * include/rpc/key_prot.h: Likewise.
33658 * include/rpc/pmap_clnt.h: Likewise.
33659 * include/rpc/pmap_prot.h: Likewise.
33660 * include/rpc/pmap_rmt.h: Likewise.
33661 * include/rpc/rpc_msg.h: Likewise.
33662 * include/rpc/svc.h: Likewise.
33663 * include/rpc/svc_auth.h: Likewise.
33664 * include/rpc/xdr.h: Likewise.
33665 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33666 * nss/Makefile: Likewise.
33667 * sunrpc/Makefile: Don't install headers. Build library with normal
33668 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33669 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33670 for the compat linking library. Remove use of INTDEF/INTUSE.
33671 * sunrpc/auth_none.c: Likewise.
33672 * sunrpc/auth_unix.c: Likewise.
33673 * sunrpc/authdes_prot.c: Likewise.
33674 * sunrpc/authuxprot.c: Likewise.
33675 * sunrpc/clnt_gen.c: Likewise.
33676 * sunrpc/clnt_perr.c: Likewise.
33677 * sunrpc/clnt_raw.c: Likewise.
33678 * sunrpc/clnt_simp.c: Likewise.
33679 * sunrpc/clnt_tcp.c: Likewise.
33680 * sunrpc/clnt_udp.c: Likewise.
33681 * sunrpc/clnt_unix.c: Likewise.
33682 * sunrpc/des_crypt.c: Likewise.
33683 * sunrpc/des_soft.c: Likewise.
33684 * sunrpc/get_myaddr.c: Likewise.
33685 * sunrpc/key_call.c: Likewise.
33686 * sunrpc/key_prot.c: Likewise.
33687 * sunrpc/netname.c: Likewise.
33688 * sunrpc/pm_getmaps.c: Likewise.
33689 * sunrpc/pm_getport.c: Likewise.
33690 * sunrpc/pmap_clnt.c: Likewise.
33691 * sunrpc/pmap_prot.c: Likewise.
33692 * sunrpc/pmap_prot2.c: Likewise.
33693 * sunrpc/pmap_rmt.c: Likewise.
33694 * sunrpc/publickey.c: Likewise.
33695 * sunrpc/rpc_cmsg.c: Likewise.
33696 * sunrpc/rpc_common.c: Likewise.
33697 * sunrpc/rpc_dtable.c: Likewise.
33698 * sunrpc/rpc_prot.c: Likewise.
33699 * sunrpc/rpc_thread.c: Likewise.
33700 * sunrpc/rtime.c: Likewise.
33701 * sunrpc/svc.c: Likewise.
33702 * sunrpc/svc_auth.c: Likewise.
33703 * sunrpc/svc_authux.c: Likewise.
33704 * sunrpc/svc_raw.c: Likewise.
33705 * sunrpc/svc_run.c: Likewise.
33706 * sunrpc/svc_simple.c: Likewise.
33707 * sunrpc/svc_tcp.c: Likewise.
33708 * sunrpc/svc_udp.c: Likewise.
33709 * sunrpc/svc_unix.c: Likewise.
33710 * sunrpc/svcauth_des.c: Likewise.
33711 * sunrpc/xcrypt.c: Likewise.
33712 * sunrpc/xdr.c: Likewise.
33713 * sunrpc/xdr_array.c: Likewise.
33714 * sunrpc/xdr_float.c: Likewise.
33715 * sunrpc/xdr_intXX_t.c: Likewise.
33716 * sunrpc/xdr_mem.c: Likewise.
33717 * sunrpc/xdr_rec.c: Likewise.
33718 * sunrpc/xdr_ref.c: Likewise.
33719 * sunrpc/xdr_sizeof.c: Likewise.
33720 * sunrpc/xdr_stdio.c: Likewise.
33722 2011-04-10 Ulrich Drepper <drepper@gmail.com>
33725 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33726 * sysdeps/ia64/dl-tls.h: Likewise.
33727 * sysdeps/powerpc/dl-tls.h: Likewise.
33728 * sysdeps/s390/dl-tls.h: Likewise.
33729 * sysdeps/sh/dl-tls.h: Likewise.
33730 * sysdeps/sparc/dl-tls.h: Likewise.
33731 * sysdeps/x86_64/dl-tls.h: Likewise.
33732 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33734 2011-03-14 Andreas Schwab <schwab@redhat.com>
33736 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33737 rpath element also skip the following colon.
33738 (expand_dynamic_string_token): Add is_path parameter and pass
33739 down to DL_DST_REQUIRED and _dl_dst_substitute.
33740 (decompose_rpath): Call expand_dynamic_string_token with
33741 non-zero is_path. Ignore empty rpaths.
33742 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33745 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33750 2011-04-09 Ulrich Drepper <drepper@gmail.com>
33753 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33754 Patch by Filipe David Manana <fdmanana@apache.org>.
33756 2011-04-07 Andreas Schwab <schwab@redhat.com>
33758 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33759 Maintain aligned stack.
33760 (CHECK_RSP): Remove unused macro.
33762 2011-04-03 Ulrich Drepper <drepper@gmail.com>
33764 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33765 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33767 2011-04-02 Ulrich Drepper <drepper@gmail.com>
33769 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33771 * include/features.h: Mention __USE_XOPEN2K8 in comment.
33773 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33776 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33777 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33778 * sysdeps/x86_64/memmove.c: New file.
33779 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33780 (memcpy): Renamed to ...
33781 (__new_memcpy): This.
33782 (memcpy): Provide GLIBC_2_14 memcpy.
33783 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33784 (memcpy): Provide GLIBC_2_2_5 memcpy.
33786 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33789 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33791 2011-03-30 Andreas Schwab <schwab@redhat.com>
33793 * misc/syncfs.c: New file.
33794 * misc/Makefile (routines): Add syncfs.
33795 * posix/unistd.h: Declare syncfs.
33796 * sysdeps/unix/syscalls.list: Add syncfs.
33798 2011-04-01 Andreas Schwab <schwab@redhat.com>
33800 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33803 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33805 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33807 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33810 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33812 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33813 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33814 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33815 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33816 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33818 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33820 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33821 sync_file_range.c with -fexceptions.
33822 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33823 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33824 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33825 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33826 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33827 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33828 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
33829 sync_file_range as cancellation point
33830 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33831 now a wrapper around __call_sync_file_range with cancellation handling.
33832 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33833 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33834 function name to __call_sync_file_range.
33835 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33836 Add call_sync_file_range.
33838 2011-04-01 Andreas Schwab <schwab@redhat.com>
33840 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33843 2011-04-01 Ulrich Drepper <drepper@gmail.com>
33845 * iconv/iconv.h: Fix typo in comment.
33846 * io/fcntl.h: Likewise.
33847 * libio/stdio.h: Likewise.
33848 * posix/spawn.h: Likewise.
33849 * posix/unistd.h: Likewise.
33850 * stdlib/stdlib.h: Likewise.
33851 * time/time.h: Likewise.
33852 * wcsmbs/wchar.h: Likewise.
33854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33855 open_by_handle): Add.
33856 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33857 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33858 Augment a few comments.
33859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33861 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33862 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33863 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33864 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33867 * io/fcntl.h (AT_EMPTY_PATH): Define.
33869 2011-03-30 Ulrich Drepper <drepper@gmail.com>
33871 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33872 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33873 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33875 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
33876 * Versions.def: Add GLIBC_2.14.
33877 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33880 2011-03-22 Ulrich Drepper <drepper@gmail.com>
33882 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33884 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33886 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33889 * string/test-strncmp.c (do_page_test): New function.
33890 (check2): Likewise.
33891 (test_main): Call check2.
33892 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33894 2011-03-20 Ulrich Drepper <drepper@gmail.com>
33897 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33898 Handle cache information in CPU leaf 4.
33899 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33901 2011-03-18 Ulrich Drepper <drepper@gmail.com>
33904 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33905 character representation.
33906 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33908 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33910 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33911 END(__isnan) to END(__isnanf) to match function entry point/label
33912 EALIGN(__isnanf,...).
33914 2011-03-10 Jakub Jelinek <jakub@redhat.com>
33916 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33918 2011-03-10 Ulrich Drepper <drepper@gmail.com>
33921 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33922 copy from the symbol referenced in the relocation to initialize the
33924 Patch by Piotr Bury <pbury@goahead.com>.
33925 * elf/Makefile: Add rules to build and tst-unique3.
33926 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33927 * elf/tst-unique3.cc: New file.
33928 * elf/tst-unique3.h: New file.
33929 * elf/tst-unique3lib.cc: New file.
33930 * elf/tst-unique3lib2.cc: New file.
33932 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33934 2011-03-10 Mike Frysinger <vapier@gentoo.org>
33936 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33937 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33940 2011-03-06 Ulrich Drepper <drepper@gmail.com>
33942 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33943 to-be-loaded object along a path to loader is ld.so.
33945 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33946 Ulrich Drepper <drepper@gmail.com>
33948 * sysdeps/x86_64/memset.S: After aligning destination, code
33949 branches to different locations depending on the value of
33950 misalignment, when multiarch is enabled. Fix this.
33952 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33954 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33955 Set _x86_64_preferred_memory_instruction for AMD processsors.
33956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33957 Set bit_Prefer_SSE_for_memop for AMD processors.
33959 2011-03-04 Ulrich Drepper <drepper@gmail.com>
33961 * libio/fmemopen.c (fmemopen): Optimize a bit.
33963 2011-03-03 Andreas Schwab <schwab@redhat.com>
33965 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33967 2011-03-03 Roland McGrath <roland@redhat.com>
33969 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33971 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33973 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
33974 __bzero_ultra1 instead of __memset_ultra1.
33976 2011-02-23 Andreas Schwab <schwab@redhat.com>
33977 Ulrich Drepper <drepper@gmail.com>
33980 * include/link.h (struct link_map): Add l_orig_initfini.
33981 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33982 returning unsuccessfully.
33983 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33984 close of a file loaded at startup, restore the original l_initfini
33986 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33987 list, store the pointer.
33988 * elf/Makefile ($(objpfx)noload-mem): New rule.
33989 (noload-ENV): Define.
33990 (tests): Add $(objpfx)noload-mem.
33991 * elf/noload.c: Include <memcheck.h>.
33992 (main): Call mtrace. Close all opened handles.
33994 2011-02-17 Andreas Schwab <schwab@redhat.com>
33997 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33998 dependencies are missing.
34000 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34002 Fix __if_freereq crash: Unlike the generic version which uses free,
34004 * sysdeps/mach/hurd/ifreq.h: New file.
34006 2011-01-27 Petr Baudis <pasky@suse.cz>
34007 Ulrich Drepper <drepper@gmail.com>
34010 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34011 to extend_alloca().
34012 * stdio-common/bug23.c: New file.
34013 * stdio-common/Makefile (tests): Add bug23.
34015 2010-09-28 Andreas Schwab <schwab@redhat.com>
34016 Ulrich Drepper <drepper@gmail.com>
34019 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34020 before performing relro protection. At old place add assertion
34021 to make sure nothing changed.
34023 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34024 Glauber de Oliveira Costa <glommer@gmail.com>
34026 * elf/elf.h: Add new ARM TLS relocs.
34028 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34031 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34033 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34035 * sysdeps/wordsize-64/tst-writev.c: New file.
34037 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34039 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34040 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34041 insns in _dl_start to prevent a TOC reference before relocs are
34044 2011-02-15 Ulrich Drepper <drepper@gmail.com>
34047 * Makeconfig: Remove RANLIB definition.
34048 * Makerules: Don't use RANLIB.
34049 * aclocal.m4: Remove ranlib test.
34050 * configure.in: No need to check for ranlib.
34051 * elf/rtld-Rules: Don't use RANLIB.
34053 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34055 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34057 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34058 inclusion protection macro.
34060 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34061 SIGRTMIN and SIGRTMAX and print information in that case only when
34062 SIGRTMIN is defined.
34064 2011-02-11 Jakub Jelinek <jakub@redhat.com>
34066 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34067 arginfo fn returning -1.
34069 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34070 and thousands string is zero terminated.
34072 2011-02-03 Andreas Schwab <schwab@redhat.com>
34074 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34075 sysdeps/unix/sysv/linux/bits/socket.h.
34077 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34079 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34080 (__CPU_COUNT): Remove old macros.
34081 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34082 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34083 (__CPU_ALLOC, __CPU_FREE): Add macros.
34084 (__sched_cpualloc, __sched_cpufree): Add declarations.
34086 2011-02-05 Ulrich Drepper <drepper@gmail.com>
34088 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34089 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34090 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34091 (readdhstai): Return value of addhstaiX call.
34092 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34093 (addgrbyX): Return value returned by cache_addgr.
34094 (readdgrbyname): Return value returned by addgrbyX.
34095 (readdgrbygid): Likewise.
34096 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34097 (addpwbyX): Return value returned by cache_addpw.
34098 (readdpwbyname): Return value returned by addhstbyX.
34099 (readdpwbyuid): Likewise.
34100 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34101 (addservbyX): Return value returned by cache_addserv.
34102 (readdservbyname): Return value returned by addservbyX:
34103 (readdservbyport): Likewise.
34104 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34105 (addhstbyX): Return value returned by cache_addhst.
34106 (readdhstbyname): Return value returned by addhstbyX.
34107 (readdhstbyaddr): Likewise.
34108 (readdhstbynamev6): Likewise.
34109 (readdhstbyaddrv6): Likewise.
34110 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34111 (readdinitgroups): Return value returned by addinitgroupsX.
34112 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34113 (prune_cache): Keep track of timeout value of re-added entries.
34114 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34115 * nscd/nscd.h: Adjust prototypes of readd* functions.
34117 2011-02-04 Roland McGrath <roland@redhat.com>
34119 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34120 (nis_stats): Likewise.
34121 * nis/nis_modify.c (nis_modify): Likewise.
34122 * nis/nis_remove.c (nis_remove): Likewise.
34123 * nis/nis_add.c (nis_add): Likewise.
34125 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34127 * posix/fnmatch_loop.c: Add some consts.
34129 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34131 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34134 * config.make.in (config-cflags-novzeroupper): Define.
34135 * configure.in: Substitute libc_cv_cc_novzeroupper.
34136 * elf/Makefile (AVX-CFLAGS): Define.
34137 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34138 (CFLAGS-tst-auditmod4a.c): Likewise.
34139 (CFLAGS-tst-auditmod4b.c): Likewise.
34140 (CFLAGS-tst-auditmod6b.c): Likewise.
34141 (CFLAGS-tst-auditmod6c.c): Likewise.
34142 (CFLAGS-tst-auditmod7b.c): Likewise.
34143 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34145 2011-02-02 Ulrich Drepper <drepper@gmail.com>
34147 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34148 function to the callback.
34149 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34151 2011-02-02 Andreas Schwab <schwab@redhat.com>
34153 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34156 2011-01-19 Ulrich Drepper <drepper@gmail.com>
34159 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34161 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34163 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34166 * elf/Makefile: Add rules to build and run new test.
34167 * elf/tst-initorder.c: New file.
34168 * elf/tst-initorder.exp: New file.
34169 * elf/tst-initordera1.c: New file.
34170 * elf/tst-initordera2.c: New file.
34171 * elf/tst-initordera3.c: New file.
34172 * elf/tst-initordera4.c: New file.
34173 * elf/tst-initorderb1.c: New file.
34174 * elf/tst-initorderb2.c: New file.
34175 * elf/tst-order-a1.c: New file.
34176 * elf/tst-order-a2.c: New file.
34177 * elf/tst-order-a3.c: New file.
34178 * elf/tst-order-a4.c: New file.
34179 * elf/tst-order-b1.c: New file.
34180 * elf/tst-order-b2.c: New file.
34181 * elf/tst-order-main.c: New file.
34182 New test case by George Gensure <werkt0@gmail.com>.
34184 2010-10-01 Andreas Schwab <schwab@redhat.com>
34186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34187 decoding ACE if AI_CANONIDN.
34189 2011-01-18 Ulrich Drepper <drepper@gmail.com>
34191 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34193 2011-01-17 Ulrich Drepper <drepper@gmail.com>
34195 * version.h (RELEASE): Bump for 2.13 release.
34196 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34198 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34200 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34202 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34203 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34204 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34205 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34206 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34207 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34209 * posix/getconf.c: Update copyright year.
34210 * catgets/gencat.c: Likewise.
34211 * csu/version.c: Likewise.
34212 * debug/catchsegv.sh: Likewise.
34213 * debug/xtrace.sh: Likewise.
34214 * elf/ldconfig.c: Likewise.
34215 * elf/ldd.bash.in: Likewise.
34216 * elf/sprof.c (print_version): Likewise.
34217 * iconv/iconv_prog.c: Likewise.
34218 * iconv/iconvconfig.c: Likewise.
34219 * locale/programs/locale.c: Likewise.
34220 * locale/programs/localedef.c: Likewise.
34221 * malloc/memusage.sh: Likewise.
34222 * malloc/mtrace.pl: Likewise.
34223 * nscd/nscd.c (print_version): Likewise.
34224 * nss/getent.c: Likewise.
34226 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34227 PF_CAIF, and PF_ALG.
34228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34230 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34232 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34233 (modules-names): Use them.
34234 (ifunc-test-modules, ifunc-pie-tests): Define.
34235 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34236 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34237 (test-extras): Likewise.
34238 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34239 $(compile-command.c).
34240 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34241 (all-built-dso): Define.
34242 (check-textrel.out, check-execstack.out): Depend on it.
34244 * configure.in: Don't override --enable-multi-arch.
34246 2011-01-15 Ulrich Drepper <drepper@gmail.com>
34249 * nscd/hstcache.c (tryagain): Define.
34250 (cache_addhst): Return tryagain not notfound for temporary errors.
34251 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34254 2011-01-14 Ulrich Drepper <drepper@gmail.com>
34257 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34258 to make the syscall.
34259 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34262 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34263 and fall back to matching as normal character if the string ends before
34264 the matching ']' is found. This is what POSIX requires.
34265 * posix/testfnm.c: Adjust test result.
34266 * posix/globtest.sh: Adjust test result. Add new test.
34267 * posix/tst-fnmatch.input: Likewise.
34268 * posix/tst-fnmatch2.c: Add new test.
34270 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34272 * elf/Makefile (check-execstack): Revert last change. Depend on
34274 (check-execstack.h): New target.
34275 (generated): Add check-execstack.h.
34276 * elf/check-execstack.c: Include "check-execstack.h".
34277 (main): Revert last change.
34278 (handle_file): Return zero if GNU_STACK is absent and
34279 DEFAULT_STACK_PERMS doesn't include PF_X.
34281 2011-01-13 Ulrich Drepper <drepper@gmail.com>
34283 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34284 in child fails because the descriptor is already closed.
34285 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34286 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34287 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34290 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34294 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34295 temporary buffer used to handle multi lookups locally.
34296 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34298 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34300 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34303 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34305 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34306 alignment for SSE2.
34308 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34311 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34312 characters. When rounding increased number of integer digits recompute
34314 * stdio-common/tst-grouping.c: New file.
34315 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34317 2011-01-09 Ulrich Drepper <drepper@gmail.com>
34319 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34320 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34322 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34324 * bits/select.h: Likewise.
34326 2011-01-08 Ulrich Drepper <drepper@gmail.com>
34328 * po/ja.po: Update from translation team.
34330 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
34333 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34334 implementation just like for lxstat, fxstatat, et al.
34336 2010-12-27 Jim Meyering <meyering@redhat.com>
34339 * posix/regexec.c (build_trtable): Return failure indication upon
34340 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34342 2010-12-25 Ulrich Drepper <drepper@gmail.com>
34345 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34346 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34347 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34348 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34351 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34354 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34355 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34357 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34359 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34360 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34361 script has SORT_BY_INIT_PRIORITY.
34362 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34363 NO_CTORS_DTORS_SECTIONS is defined.
34364 * elf/soinit.c: Likewise.
34365 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34366 NO_CTORS_DTORS_SECTIONS is defined.
34367 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34368 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34369 * sysdeps/sh/init-first.c: Likewise.
34370 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34372 2010-12-24 Ulrich Drepper <drepper@gmail.com>
34374 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34375 always use the slow path.
34377 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34379 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34380 similar rule which adds the sysdep directories to the header search in
34381 order to pick up the correct platform stackinfo.h.
34382 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34383 perform test if it is, otherwise return successfully without testing.
34384 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34385 DEFAULT_STACK_PERMS define in stackinfo.h.
34386 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34387 defined in stackinfo.h.
34388 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34389 DEFAULT_STACK_PERMS defined in stackinfo.h.
34390 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34391 * sysdeps/ia64/stackinfo.h: Likewise.
34392 * sysdeps/s390/stackinfo.h: Likewise.
34393 * sysdeps/sh/stackinfo.h: Likewise.
34394 * sysdeps/sparc/stackinfo.h: Likewise.
34395 * sysdeps/x86_64/stackinfo.h: Likewise.
34396 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34397 PF_X for powerpc64. Retain PF_X for powerpc32.
34399 2010-12-19 Ulrich Drepper <drepper@gmail.com>
34401 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34403 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34404 GETDENTS_64BIT_ALIGNED.
34406 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34408 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34410 2010-12-10 Andreas Schwab <schwab@redhat.com>
34412 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34415 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34416 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34418 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34419 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34421 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34424 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34427 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34429 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34431 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34433 * po/it.po: Update from translation team.
34435 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34437 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34440 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34442 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34444 2010-11-24 Andreas Schwab <schwab@redhat.com>
34446 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34448 (gaih_getanswer_slice): Likewise.
34450 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34452 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34454 2010-05-31 Petr Baudis <pasky@suse.cz>
34457 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34458 silently even in the chroot mode.
34460 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34462 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34463 last patch a bit. Pretty printing
34465 2010-05-31 Petr Baudis <pasky@suse.cz>
34468 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34469 initialization of skip_initgroups_dyn.
34471 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34473 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34474 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34476 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34478 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34480 2010-11-11 Andreas Schwab <schwab@redhat.com>
34482 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34483 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34484 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34485 ($(objpfx)tst-fnmatch-mem): New rule.
34486 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34487 * posix/tst-fnmatch.c (main): Call mtrace.
34489 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34492 Support Intel processor model 6 and model 0x2c.
34494 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34496 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34499 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34502 * string/test-strncasecmp.c (check_result): New function.
34503 (do_one_test): Use it.
34504 (check1): New function.
34505 (test_main): Use it.
34506 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34507 Support strcasecmp and strncasecmp.
34509 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34512 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34513 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34515 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34517 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34519 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34521 * sysdeps/x86_64/multiarch/bzero.S: New file.
34522 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34523 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34524 * sysdeps/x86_64/multiarch/memset.S: New file.
34525 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34526 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34527 Set bit_Prefer_SSE_for_memop for Intel processors.
34528 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34530 (index_Prefer_SSE_for_memop): Define.
34531 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34533 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34535 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34536 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34538 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34541 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34542 (__x86_64_raw_data_cache_size_half): Likewise.
34543 (__x86_64_raw_shared_cache_size): Likewise.
34544 (__x86_64_raw_shared_cache_size_half): Likewise.
34546 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34547 (__x86_64_raw_data_cache_size_half): Likewise.
34548 (__x86_64_raw_shared_cache_size): Likewise.
34549 (__x86_64_raw_shared_cache_size_half): Likewise.
34550 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34551 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34552 and __x86_64_raw_shared_cache_size_half. Round
34553 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34554 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34555 to multiple of 256 bytes.
34557 2010-11-03 Ulrich Drepper <drepper@gmail.com>
34560 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34561 of inacessible symlinks. Verify result of symlink before returning it.
34562 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34563 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34565 2010-10-28 Erich Ritz <erichritz@gmail.com>
34567 * math/math.h (isinf): Fix typo in comment.
34569 2010-11-01 Ulrich Drepper <drepper@gmail.com>
34571 * po/da.po: Update from translation team.
34573 2010-10-26 Ulrich Drepper <drepper@gmail.com>
34575 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34576 is added to the list.
34578 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34579 Ulrich Drepper <drepper@gmail.com>
34581 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34582 the global list here. Move code to...
34583 (_dl_add_to_namespace_list): ...here. New function.
34584 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34585 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34586 * elf/dl-load.c (lose): Don't remove the element from the list.
34587 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34588 (_dl_map_object): Likewise.
34590 2010-10-25 Ulrich Drepper <drepper@gmail.com>
34593 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34594 into all bytes of SSE register.
34595 Patch by Richard Li <richardpku@gmail.com>.
34597 2010-10-24 Ulrich Drepper <drepper@gmail.com>
34600 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34603 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34605 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34606 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34607 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34608 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34613 2010-10-22 Andreas Schwab <schwab@redhat.com>
34615 * include/dlfcn.h (__RTLD_SECURE): Define.
34616 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34617 mode & __RTLD_SECURE instead.
34618 (open_path): Rename preloaded parameter to secure.
34619 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34620 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34621 * elf/dl-deps.c (openaux): Likewise.
34622 * elf/rtld.c (struct map_args): Remove is_preloaded.
34623 (map_doit): Don't use it.
34624 (dl_main): Likewise.
34625 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34626 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34628 2010-09-09 Andreas Schwab <schwab@redhat.com>
34630 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34631 (sysd-rules-targets): Remove duplicates.
34632 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34633 rtld-%.$o dependency.
34635 2010-10-18 Andreas Schwab <schwab@redhat.com>
34637 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34638 _dl_map_object do it.
34640 2010-10-19 Ulrich Drepper <drepper@gmail.com>
34642 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34643 fast fma builtins, define the macros in the C99 standard.
34644 (FP_FAST_FMAF): Likewise.
34645 (FP_FAST_FMAL): Likewise.
34646 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34648 * bits/mathdef.h: Update copyright year.
34649 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34651 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34653 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34654 builtins, define the macros in the C99 standard.
34655 (FP_FAST_FMAF): Likewise.
34656 (FP_FAST_FMAL): Likewise.
34657 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34659 (FP_FAST_FMAF): Likewise.
34661 2010-10-15 Jakub Jelinek <jakub@redhat.com>
34664 * math/libm-test.inc (fma_test): Some new testcases.
34665 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34666 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34667 y and infinite z. Do multiplication by C already in long double.
34668 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34669 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34670 y and infinite z. Do bitwise or of inexact bit into u.d.
34671 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34672 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34673 * sysdeps/i386/fpu/s_fma.S: Removed.
34674 * sysdeps/i386/fpu/s_fmal.S: Removed.
34676 2010-10-16 Jakub Jelinek <jakub@redhat.com>
34679 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34681 computation is not scheduled after fetestexcept. Fix value
34682 of minimum denormal long double.
34684 2010-10-14 Jakub Jelinek <jakub@redhat.com>
34687 * math/libm-test.inc (fma_test): Add some more tests.
34688 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34691 2010-10-15 Andreas Schwab <schwab@redhat.com>
34693 * scripts/data/localplt-s390-linux-gnu.data: New file.
34694 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34696 2010-10-13 Jakub Jelinek <jakub@redhat.com>
34699 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34700 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34702 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34704 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34706 if one of x and y is very large and the other is subnormal.
34707 * sysdeps/s390/fpu/s_fmaf.c: New file.
34708 * sysdeps/s390/fpu/s_fma.c: New file.
34709 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34710 * sysdeps/powerpc/fpu/s_fma.S: New file.
34711 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34712 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34713 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34715 2010-10-12 Jakub Jelinek <jakub@redhat.com>
34718 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34720 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34721 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34722 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34723 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34724 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34725 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34726 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34728 2010-10-12 Ulrich Drepper <drepper@redhat.com>
34731 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34732 * posix/bug-regex31.input: Add test case.
34734 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34736 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34737 * posix/bug-regex31.input: New file.
34740 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34741 (parse_sub_exp): Fix last change, use postorder.
34743 * posix/bug-regex31.c: New file.
34744 * posix/Makefile: Add rules to build and run bug-regex31.
34746 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34749 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34752 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34753 to have entries in sys_siglist.
34756 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34759 2010-10-07 Jakub Jelinek <jakub@redhat.com>
34762 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34763 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34764 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34765 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34766 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34767 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34768 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34769 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34770 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34771 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34772 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34773 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34774 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34775 * math/ftestexcept.c (fetestexcept): Likewise.
34776 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34777 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34778 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34779 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34780 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34781 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34782 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34784 2010-10-11 Ulrich Drepper <drepper@gmail.com>
34787 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34790 2010-10-06 Ulrich Drepper <drepper@gmail.com>
34792 * string/bug-strstr1.c: New file.
34793 * string/Makefile: Add rules to build and run bug-strstr1.
34795 2010-10-05 Eric Blake <eblake@redhat.com>
34798 * string/str-two-way.h (two_way_long_needle): Always clear memory
34799 when skipping input due to the shift table.
34801 2010-10-03 Ulrich Drepper <drepper@gmail.com>
34804 * malloc/mcheck.c: Handle large requests.
34807 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34808 for strncmp and strncasecmp.
34809 * string/stratcliff.c: Add tests for strcmp and strncmp.
34810 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34812 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34814 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34817 2010-09-30 Andreas Jaeger <aj@suse.de>
34819 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34820 (CGROUP_SUPER_MAGIC): Define.
34821 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34822 Handle btrfs and cgroup file systems.
34823 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34826 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
34828 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34829 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34831 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34834 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34835 trying to locate the ELF header.
34837 2010-09-27 Andreas Schwab <schwab@redhat.com>
34840 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34841 Mask out sign-bit copies when constructing f_fsid.
34843 2010-09-24 Petr Baudis <pasky@suse.cz>
34845 * debug/stack_chk_fail_local.c: Add missing licence exception.
34846 * debug/warning-nop.c: Likewise.
34848 2010-09-15 Joseph Myers <joseph@codesourcery.com>
34850 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34851 implementing getdents64 using getdents syscall, set d_type if
34852 __ASSUME_GETDENTS32_D_TYPE.
34854 2010-09-16 Andreas Schwab <schwab@redhat.com>
34856 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34857 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34859 2010-09-21 Ulrich Drepper <drepper@redhat.com>
34862 * posix/unistd.h: Undo change of feature selection for ftruncate from
34865 2010-09-20 Ulrich Drepper <drepper@redhat.com>
34867 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
34870 2010-09-20 Andreas Schwab <schwab@redhat.com>
34872 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34874 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34876 2010-09-14 Andreas Schwab <schwab@redhat.com>
34878 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34879 variables after CHECK_SP call.
34880 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34882 2010-09-13 Andreas Schwab <schwab@redhat.com>
34883 Ulrich Drepper <drepper@redhat.com>
34885 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34886 re-relocationg ld.so.
34887 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34888 _dl_init_paths call.
34889 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34892 2010-09-14 Ulrich Drepper <drepper@redhat.com>
34894 * resolv/res_init.c (__res_vinit): Count the default server we added.
34896 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34897 Ulrich Drepper <drepper@redhat.com>
34900 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34901 (____longjmp_chk): Use %ebx for saving value across system call.
34904 2010-09-06 Andreas Schwab <schwab@redhat.com>
34906 * manual/Makefile: Don't mix pattern rules with normal rules.
34908 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34910 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34912 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34913 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34914 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34915 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34916 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34919 2010-09-04 Ulrich Drepper <drepper@redhat.com>
34922 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34923 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34925 2010-09-02 Ulrich Drepper <drepper@redhat.com>
34927 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34928 * sysdeps/x86_64/addmul_1.S: Likewise.
34929 * sysdeps/x86_64/lshift.S: Likewise.
34930 * sysdeps/x86_64/mul_1.S: Likewise.
34931 * sysdeps/x86_64/rshift.S: Likewise.
34932 * sysdeps/x86_64/sub_n.S: Likewise.
34933 * sysdeps/x86_64/submul_1.S: Likewise.
34935 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34937 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34938 Define __sched_param instead of SCHED_* and sched_param when
34939 <bits/sched.h> is included with __need_schedparam defined.
34940 * bits/sched.h [__need_schedparam]
34941 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
34942 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34943 (__defined_schedparam): Define to 1.
34944 (__sched_param): New structure, identical to sched_param.
34945 (__need_schedparam): Undefine.
34947 2010-08-31 Mike Frysinger <vapier@gentoo.org>
34949 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34950 (epoll_create1): Declare.
34952 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34954 2010-08-31 Andreas Schwab <schwab@redhat.com>
34957 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34958 shifting retval into place.
34960 2010-09-01 Ulrich Drepper <drepper@redhat.com>
34962 * nis/rpcsvc/nis.h: Update copyright notice.
34963 * nis/rpcsvc/nis.x: Likewise.
34964 * nis/rpcsvc/nis_callback.h: Likewise.
34965 * nis/rpcsvc/nis_callback.x: Likewise.
34966 * nis/rpcsvc/nis_object.x: Likewise.
34967 * nis/rpcsvc/nis_tags.h: Likewise.
34968 * nis/rpcsvc/yp.h: Likewise.
34969 * nis/rpcsvc/yp.x: Likewise.
34970 * nis/rpcsvc/ypupd.h: Likewise.
34971 * nis/yp_xdr.c: Likewise.
34972 * nis/ypupdate_xdr.c: Likewise.
34974 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34975 mainly the body of pmap_getport. Add parameters to specify timeouts.
34976 (pmap_getport): Use __libc_rpc_getport.
34977 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34978 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34979 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34981 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34986 2010-08-27 Roland McGrath <roland@redhat.com>
34988 * sysdeps/i386/i686/multiarch/Makefile
34989 (CFLAGS-varshift.c): New variable.
34991 2010-08-27 Ulrich Drepper <drepper@redhat.com>
34993 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34994 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34996 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34998 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35000 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35002 * sysdeps/x86_64/strlen.S: Unroll the loop.
35003 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35004 strlen-sse2 strlen-sse2-bsf.
35005 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35006 __strlen_no_bsf if bit_Slow_BSF is set.
35007 (__strlen_sse42): Removed.
35008 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35009 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35011 2010-08-25 Roland McGrath <roland@redhat.com>
35013 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35014 * sysdeps/x86_64/multiarch/varshift.c: New file.
35015 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35016 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35017 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35018 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35020 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35022 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35023 strlen-sse2 strlen-sse2-bsf.
35024 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35025 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35026 (__strlen_sse2): Removed.
35027 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35028 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35030 bit_Slow_BSF for Atom.
35031 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35032 (index_Slow_BSF): Define.
35033 (HAS_SLOW_BSF): Define.
35035 2010-08-25 Ulrich Drepper <drepper@redhat.com>
35038 * resolv/res_init.c (__res_vinit): When no server address at all
35039 is given default to loopback.
35041 2010-08-24 Roland McGrath <roland@redhat.com>
35043 * configure.in: Remove config-name.h generation.
35044 * configure: Regenerated.
35045 * config-name.in: File removed.
35046 * scripts/config-uname.sh: New file.
35047 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35048 ($(objdir)config-name.h): New target.
35050 * sunrpc/rpc_parse.h: Avoid nested comment.
35052 2010-08-24 Richard Henderson <rth@redhat.com>
35053 Ulrich Drepper <drepper@redhat.com>
35054 H.J. Lu <hongjiu.lu@intel.com>
35056 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35058 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35059 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35060 _mm_alignr_epi8 with _mm_loadu_si128.
35061 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35062 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35063 (__m128i_shift_right): Removed.
35064 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35065 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35066 * sysdeps/x86_64/multiarch/varshift.h: New file.
35067 * sysdeps/x86_64/multiarch/varshift.S: New file.
35069 2010-08-21 Mike Frysinger <vapier@gentoo.org>
35071 * configure.in: Move assembler checks to before sysdep dir checking.
35073 2010-08-20 Petr Baudis <pasky@suse.cz>
35075 * LICENSES: Sync the sunrpc license.
35077 2010-08-19 Ulrich Drepper <drepper@redhat.com>
35079 * sunrpc/auth_des.c: Update copyright notice once again.
35080 * sunrpc/auth_none.c: Likewise.
35081 * sunrpc/auth_unix.c: Likewise.
35082 * sunrpc/authdes_prot.c: Likewise.
35083 * sunrpc/authuxprot.c: Likewise.
35084 * sunrpc/bindrsvprt.c: Likewise.
35085 * sunrpc/clnt_gen.c: Likewise.
35086 * sunrpc/clnt_perr.c: Likewise.
35087 * sunrpc/clnt_raw.c: Likewise.
35088 * sunrpc/clnt_simp.c: Likewise.
35089 * sunrpc/clnt_tcp.c: Likewise.
35090 * sunrpc/clnt_udp.c: Likewise.
35091 * sunrpc/clnt_unix.c: Likewise.
35092 * sunrpc/des_crypt.c: Likewise.
35093 * sunrpc/des_soft.c: Likewise.
35094 * sunrpc/get_myaddr.c: Likewise.
35095 * sunrpc/getrpcport.c: Likewise.
35096 * sunrpc/key_call.c: Likewise.
35097 * sunrpc/key_prot.c: Likewise.
35098 * sunrpc/openchild.c: Likewise.
35099 * sunrpc/pm_getmaps.c: Likewise.
35100 * sunrpc/pm_getport.c: Likewise.
35101 * sunrpc/pmap_clnt.c: Likewise.
35102 * sunrpc/pmap_prot.c: Likewise.
35103 * sunrpc/pmap_prot2.c: Likewise.
35104 * sunrpc/pmap_rmt.c: Likewise.
35105 * sunrpc/rpc/auth.h: Likewise.
35106 * sunrpc/rpc/auth_unix.h: Likewise.
35107 * sunrpc/rpc/clnt.h: Likewise.
35108 * sunrpc/rpc/des_crypt.h: Likewise.
35109 * sunrpc/rpc/key_prot.h: Likewise.
35110 * sunrpc/rpc/netdb.h: Likewise.
35111 * sunrpc/rpc/pmap_clnt.h: Likewise.
35112 * sunrpc/rpc/pmap_prot.h: Likewise.
35113 * sunrpc/rpc/pmap_rmt.h: Likewise.
35114 * sunrpc/rpc/rpc.h: Likewise.
35115 * sunrpc/rpc/rpc_des.h: Likewise.
35116 * sunrpc/rpc/rpc_msg.h: Likewise.
35117 * sunrpc/rpc/svc.h: Likewise.
35118 * sunrpc/rpc/svc_auth.h: Likewise.
35119 * sunrpc/rpc/types.h: Likewise.
35120 * sunrpc/rpc/xdr.h: Likewise.
35121 * sunrpc/rpc_clntout.c: Likewise.
35122 * sunrpc/rpc_cmsg.c: Likewise.
35123 * sunrpc/rpc_common.c: Likewise.
35124 * sunrpc/rpc_cout.c: Likewise.
35125 * sunrpc/rpc_dtable.c: Likewise.
35126 * sunrpc/rpc_hout.c: Likewise.
35127 * sunrpc/rpc_main.c: Likewise.
35128 * sunrpc/rpc_parse.c: Likewise.
35129 * sunrpc/rpc_parse.h: Likewise.
35130 * sunrpc/rpc_prot.c: Likewise.
35131 * sunrpc/rpc_sample.c: Likewise.
35132 * sunrpc/rpc_scan.c: Likewise.
35133 * sunrpc/rpc_scan.h: Likewise.
35134 * sunrpc/rpc_svcout.c: Likewise.
35135 * sunrpc/rpc_tblout.c: Likewise.
35136 * sunrpc/rpc_util.c: Likewise.
35137 * sunrpc/rpc_util.h: Likewise.
35138 * sunrpc/rpcinfo.c: Likewise.
35139 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35140 * sunrpc/rpcsvc/key_prot.x: Likewise.
35141 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35142 * sunrpc/rpcsvc/mount.x: Likewise.
35143 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35144 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35145 * sunrpc/rpcsvc/rex.x: Likewise.
35146 * sunrpc/rpcsvc/rstat.x: Likewise.
35147 * sunrpc/rpcsvc/rusers.x: Likewise.
35148 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35149 * sunrpc/rpcsvc/spray.x: Likewise.
35150 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35151 * sunrpc/rtime.c: Likewise.
35152 * sunrpc/svc.c: Likewise.
35153 * sunrpc/svc_auth.c: Likewise.
35154 * sunrpc/svc_authux.c: Likewise.
35155 * sunrpc/svc_raw.c: Likewise.
35156 * sunrpc/svc_run.c: Likewise.
35157 * sunrpc/svc_simple.c: Likewise.
35158 * sunrpc/svc_tcp.c: Likewise.
35159 * sunrpc/svc_udp.c: Likewise.
35160 * sunrpc/svc_unix.c: Likewise.
35161 * sunrpc/svcauth_des.c: Likewise.
35162 * sunrpc/xcrypt.c: Likewise.
35163 * sunrpc/xdr.c: Likewise.
35164 * sunrpc/xdr_array.c: Likewise.
35165 * sunrpc/xdr_float.c: Likewise.
35166 * sunrpc/xdr_mem.c: Likewise.
35167 * sunrpc/xdr_rec.c: Likewise.
35168 * sunrpc/xdr_ref.c: Likewise.
35169 * sunrpc/xdr_sizeof.c: Likewise.
35170 * sunrpc/xdr_stdio.c: Likewise.
35172 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35175 2010-08-19 Andreas Schwab <schwab@redhat.com>
35177 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35179 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
35181 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35182 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35183 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35184 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35185 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35186 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35187 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35188 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35189 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35190 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35191 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35192 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35193 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35194 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35196 2010-07-26 Anton Blanchard <anton@samba.org>
35198 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35199 * malloc/arena.c (heap_trim): Likewise.
35201 2010-08-16 Ulrich Drepper <drepper@redhat.com>
35203 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35206 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35208 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35210 * sysdeps/i386/elf/Makefile: New file.
35212 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35214 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35215 from fanotify_init.
35216 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35217 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35219 2010-08-15 Ulrich Drepper <drepper@redhat.com>
35221 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35223 * sysdeps/multiarch/strcmp.S: Likewise.
35225 2010-08-14 Ulrich Drepper <drepper@redhat.com>
35227 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35228 strncase_l-nonascii.
35229 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35230 Add strncase_l-ssse3.
35231 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35232 * sysdeps/x86_64/strcmp.S: Likewise.
35233 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35234 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35235 * sysdeps/x86_64/strncase.S: New file.
35236 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35237 * sysdeps/x86_64/strncase_l.S: New file.
35238 * string/Makefile (strop-tests): Add strncasecmp.
35239 * string/test-strncasecmp.c: New file.
35241 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35244 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35245 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35247 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35249 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35251 2010-08-12 Ulrich Drepper <drepper@redhat.com>
35253 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35254 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35255 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35257 2010-05-01 Alan Modra <amodra@gmail.com>
35259 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35260 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35261 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35262 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35263 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35264 tidying. Don't tail-call __sigjmp_save for static lib.
35265 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35267 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35268 (CALL_MCOUNT): Add eh info, and nop after bl.
35269 (TAIL_CALL_SYSCALL_ERROR): New macro.
35270 (PSEUDO_RET): Use it.
35271 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35272 Correct save location of integer regs and cr.
35273 (_dl_profile_resolve): Correct cr save location. Delete nops
35274 after bl when SHARED. Reduce cfi size a little by better
35275 placement of cfi directives.
35276 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35277 make a stack frame. Instead use parm save area as a temp.
35278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35279 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35281 Don't make a stack frame for parent, use parm save area.
35282 Increase child stack frame to 112 bytes. Don't save unused reg,
35283 and adjust reg usage. Set up cfi on error recovery and
35284 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35286 (__makecontext): Add dummy nop after jump to exit.
35287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35288 Use correct parm save area and cr save, reduce stack frame.
35289 Correct cfi for possible PSEUDO_RET frame setup.
35290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35291 Branch to local label emitted by PSEUDO_RET rather than
35294 2010-08-12 Andreas Schwab <schwab@redhat.com>
35297 * locale/programs/locale.c (print_assignment): New function.
35298 (show_locale_vars): Use it.
35300 2010-08-11 Ulrich Drepper <drepper@redhat.com>
35302 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35304 (struct statfs64): Likewise.
35305 (_STATFS_F_FLAGS): Define.
35306 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35307 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35308 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35309 (ST_VALID): Define locally.
35310 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35311 __statvfs_getflags, use the provided value.
35312 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35313 __ASSUME_STATFS_F_FLAGS.
35315 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35317 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35318 Add sys/fanotify.h.
35319 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35320 fanotify_mask for GLIBC_2.13.
35321 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35322 fanotify_init and fanotify_mark.
35323 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35324 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35326 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35328 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35329 prlimit64 for GLIBC_2.13.
35330 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35332 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35335 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35336 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35337 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35340 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35343 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35344 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35346 * nss/Makefile: Add rules to build and run tst-nss-test1.
35347 * shlib-versions: Add entry for libnss_test1.
35348 * nss/nss_test1.c: New file.
35349 * nss/tst-nss-test1.c: New file.
35351 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35352 (__nss_configure_lookup): Set appropriate entry in
35353 __nss_configure_lookup to true.
35354 * nss/nsswitch.h: Define enum with indeces of databases in
35355 databases and __nss_database_custom arrays. Declare
35356 __nss_database_custom.
35357 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35358 to avoid using nscd when custom rules are installed.
35359 * nss/getXXbyYY_r.c: Likewise.
35360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35362 * nss/nss_files/files-parse.c: Whitespace fixes.
35364 2010-08-09 Ulrich Drepper <drepper@redhat.com>
35367 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35368 * posix/fnmatch_loop.c: Likewise.
35370 2010-07-17 Andi Kleen <ak@linux.intel.com>
35372 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35373 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35374 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35375 * Versions.def [GLIBC_2.13]: Add.
35377 2010-08-06 Ulrich Drepper <drepper@redhat.com>
35379 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35380 Also fail if tpwd after pwuid call is NULL.
35382 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35384 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35385 when converting to ms.
35387 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35389 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35390 EOPNOTSUPP errors with ENOTTY.
35391 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35392 EOPNOTSUPP errors with ENOTTY.
35394 2010-07-31 Ulrich Drepper <drepper@redhat.com>
35396 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35397 Add strcasecmp_l-ssse3.
35398 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35400 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35401 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35402 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35404 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35406 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35408 * string/Makefile (strop-tests): Add strcasecmp.
35409 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35410 strcasecmp_l-nonascii.
35411 (gen-as-const-headers): Add locale-defines.sym.
35412 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35413 * sysdeps/x86_64/strcasecmp.S: New file.
35414 * sysdeps/x86_64/strcasecmp_l.S: New file.
35415 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35416 * sysdeps/x86_64/locale-defines.sym: New file.
35417 * string/test-strcasecmp.c: New file.
35419 * string/test-strcasestr.c: Test both ends of the range of characters.
35420 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35422 2010-07-29 Roland McGrath <roland@redhat.com>
35425 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35427 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35429 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35432 2010-07-27 Andreas Schwab <schwab@redhat.com>
35434 * manual/memory.texi (Malloc Tunable Parameters): Document
35437 2010-07-26 Roland McGrath <roland@redhat.com>
35440 * configure.in (-fgnu89-inline check): Set and substitute
35441 gnu89_inline, not libc_cv_gnu89_inline.
35442 * configure: Regenerated.
35443 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35445 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35447 * string/test-strnlen.c: New file.
35448 * string/Makefile (strop-tests): Add strnlen.
35449 * string/tester.c (test_strnlen): Add a few more test cases.
35450 * string/tst-strlen.c: Better error reporting.
35452 * sysdeps/x86_64/strnlen.S: New file.
35454 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35457 lower-latency instructions.
35459 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35461 * string/test-strcasestr.c: New file.
35462 * string/test-strstr.c: New file.
35463 * string/Makefile (strop-tests): Add strstr and strcasestr.
35464 * string/str-two-way.h: Don't undefine MAX.
35465 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35467 2010-07-21 Andreas Schwab <schwab@redhat.com>
35469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35470 strcasestr-nonascii.
35471 (CFLAGS-strcasestr-nonascii.c): Define.
35472 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35473 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35474 Remove unused attribute.
35476 2010-07-20 Roland McGrath <roland@redhat.com>
35478 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35479 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35480 ld.so.cache was broken. With it, there is no way to disable dsocaps
35481 like LD_HWCAP_MASK can disable hwcaps.
35483 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35485 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35487 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35489 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35490 call in strcasestr.
35491 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35492 __strcasestr_sse42_nonascii.
35493 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35494 strcasestr-nonascii.c.
35495 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35497 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35499 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35500 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35501 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35502 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35504 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35506 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35509 2010-07-06 Andreas Schwab <schwab@redhat.com>
35512 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35515 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35517 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35518 _PC_PIPE_BUF using F_GETPIPE_SZ.
35520 2010-07-05 Roland McGrath <roland@redhat.com>
35522 * manual/arith.texi (Rounding Functions): Fix rint description
35523 implicit in round description.
35525 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35527 * elf/Makefile: Fix linking for a few tests to make recent linker
35530 2010-06-30 Andreas Schwab <schwab@redhat.com>
35532 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35533 $(common-objpfx)libc_nonshared.a.
35535 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35537 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35538 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35539 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35540 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35541 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35542 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35543 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35544 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35559 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35560 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35561 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35562 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35563 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35564 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35565 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35566 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35567 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35568 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35569 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35570 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35586 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35588 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35589 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35590 * string/memmove.c (memmove): Renamed to ...
35591 (MEMMOVE): ...this. Default to memmove.
35592 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35593 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35596 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35597 mempcpy-ssse3-back memmove-ssse3-back.
35598 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35599 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35600 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35601 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35602 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35603 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35604 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35605 * sysdeps/x86_64/multiarch/memmove.c: New file.
35606 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35607 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35608 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35609 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35610 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35611 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35613 (index_Fast_Copy_Backward): Define.
35614 (HAS_ARCH_FEATURE): Define.
35615 (HAS_FAST_REP_STRING): Define.
35616 (HAS_FAST_COPY_BACKWARD): Define.
35618 2010-06-21 Andreas Schwab <schwab@redhat.com>
35620 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35621 Restore proper fallback handling.
35623 2010-06-19 Ulrich Drepper <drepper@redhat.com>
35626 * posix/group_member.c (__group_member): Correct checking loop.
35628 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35629 OOM in getpwuid_r correctly. Return error number when the caller
35630 should return, otherwise -1.
35631 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35632 call returning > 0 value.
35633 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35635 2010-06-07 Andreas Schwab <schwab@redhat.com>
35637 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35638 libc_nonshared.a from targets in modules-names.
35640 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35642 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35645 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
35647 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35648 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35649 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35650 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35652 2010-06-02 Andreas Schwab <schwab@redhat.com>
35654 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35656 2010-06-14 Ulrich Drepper <drepper@redhat.com>
35658 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35660 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35661 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35663 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35664 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35667 2010-06-14 Roland McGrath <roland@redhat.com>
35669 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35671 2010-06-07 Jakub Jelinek <jakub@redhat.com>
35673 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35674 __REDIRECT followed by __THROW.
35675 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35676 * posix/getopt.h (getopt): Likewise.
35678 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35680 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35681 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35682 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35684 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35685 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35687 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
35689 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35691 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35695 Properly check family and model.
35697 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35699 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35701 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
35703 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35705 2010-05-21 Ulrich Drepper <drepper@redhat.com>
35707 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35710 2010-05-19 Andreas Schwab <schwab@redhat.com>
35712 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35715 2010-05-21 Andreas Schwab <schwab@redhat.com>
35717 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35718 and internal_recvmmsg.
35719 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35720 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35721 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35722 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35724 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35725 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35726 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35728 2010-05-20 Andreas Schwab <schwab@redhat.com>
35730 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35732 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
35734 POWER7 optimizations.
35735 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35736 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35738 2010-05-19 Ulrich Drepper <drepper@redhat.com>
35740 * version.h: Update for 2.13 development version.
35742 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
35744 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35745 exceptions. Return 0.
35747 2010-05-07 Roland McGrath <roland@redhat.com>
35749 * elf/ldconfig.c (main): Add a const.
35751 2010-05-06 Ulrich Drepper <drepper@redhat.com>
35753 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35754 (args_options): Add no-idn option.
35755 (ahosts_keys_int): Add idn_flags to ai_flags.
35756 (parse_option): Handle 'i' option to clear idn_flags.
35758 * malloc/malloc.c (_int_free): Possible race in the most recently
35759 added check. Only act on the data if no current modification
35762 See ChangeLog.17 for earlier changes.